1、首页的发布者名省略
2、支付页面的活动名不省略 3、修改头像弹框的样式:按钮往下移,弹框加圆角 4、发布信息的标题加到30字,包括重发页面和草稿箱页面
This commit is contained in:
parent
43fb021c39
commit
7034317437
@ -20,7 +20,7 @@
|
||||
<image v-if="detail.images" :src="detail.images[0]" mode=""
|
||||
style="width: 159rpx;height: 159rpx;border-radius: 18rpx;"></image>
|
||||
<view class="flex align-items flex-column" style="margin-left: 20rpx;">
|
||||
<span class="first-name white-space" style="font-weight: 600;">{{ detail.title }}</span>
|
||||
<span class="first-name" style="font-weight: 600;">{{ detail.title }}</span>
|
||||
<view class="rbot flex align-items">
|
||||
<image src="/static/center/address.png" mode=""
|
||||
style="width: 32rpx;height: 32rpx;margin-right: 20rpx;"></image>
|
||||
@ -1136,7 +1136,8 @@ export default {
|
||||
}
|
||||
|
||||
.first-name {
|
||||
width: 430rpx;
|
||||
// width: 430rpx auto;
|
||||
max-width: 470rpx;
|
||||
// height: 77rpx;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 600;
|
||||
|
@ -15,14 +15,14 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<u-popup :show="imageShow" mode="center" closeable closeOnClickOverlay @close="imageShow=false">
|
||||
<u-popup :show="imageShow" mode="center" closeable :closeOnClickOverlay="false" @close="imageShow=false" :custom-style="popupStyRe">
|
||||
<view class="popup_box">
|
||||
<view class="popup_title">更换图片</view>
|
||||
<button class="popup_button" type="default" plain="true" open-type="chooseAvatar"
|
||||
@chooseavatar="chooseavatar">
|
||||
<u-image shape="circle" width="140rpx" height="140rpx" :src="upAvatar" mode="aspectFill"></u-image>
|
||||
</button>
|
||||
<view style="width: 80% !important;margin-top: 20px;">
|
||||
<view style="width: 80% !important;position: relative;top: 20rpx;margin-top: 60rpx;">
|
||||
<u-button shape="circle" @click="confirmImage" :customStyle="avatarShowStyle">
|
||||
完成
|
||||
</u-button>
|
||||
@ -168,6 +168,17 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
popupStyRe: {
|
||||
// width: '540rpx',
|
||||
padding: '24rpx 24rpx 24rpx 24rpx',
|
||||
// height: '384rpx',
|
||||
margin: '0 auto', // 水平居中
|
||||
display: 'flex',
|
||||
justifyContent: 'start',
|
||||
alignItems: 'center',
|
||||
flexColumn: 'column',
|
||||
borderRadius: '30rpx'
|
||||
},
|
||||
baseUrl: 'https://naweigetetest2.hschool.com.cn/',
|
||||
typeop: '',
|
||||
avatarStyle: {
|
||||
@ -887,12 +898,14 @@
|
||||
|
||||
|
||||
.popup_box {
|
||||
border-radius: 30rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 20px;
|
||||
padding: 15px;
|
||||
|
||||
|
||||
.popup_title {
|
||||
width: 500rpx;
|
||||
|
@ -12,10 +12,10 @@
|
||||
<view class="first flex flex-column align-items justify-start">
|
||||
<view class="row flex align-items" style="margin-top: 25rpx;">
|
||||
<span>
|
||||
<input type="text" maxlength="20" placeholder="填写清晰的活动标题" class="inputl"
|
||||
<input type="text" maxlength="30" placeholder="填写清晰的活动标题" class="inputl"
|
||||
v-model="form.title" placeholder-class="bttop" @input="handleUsernameChange"/>
|
||||
</span>
|
||||
<span style="font-size: 24rpx;color: #9C9C9C;">(必填20字内)</span>
|
||||
<span style="font-size: 24rpx;color: #9C9C9C;">(必填30字内)</span>
|
||||
</view>
|
||||
|
||||
|
||||
|
@ -12,10 +12,10 @@
|
||||
<view class="first flex flex-column align-items justify-start">
|
||||
<view class="row flex align-items" style="margin-top: 25rpx;">
|
||||
<span>
|
||||
<input type="text" maxlength="20" placeholder="填写清晰的活动标题" class="inputl"
|
||||
<input type="text" maxlength="30" placeholder="填写清晰的活动标题" class="inputl"
|
||||
v-model="form.title" placeholder-class="bttop" />
|
||||
</span>
|
||||
<span style="font-size: 24rpx;color: #9C9C9C;">(必填20字内)</span>
|
||||
<span style="font-size: 24rpx;color: #9C9C9C;">(必填30字内)</span>
|
||||
</view>
|
||||
|
||||
|
||||
|
@ -11,10 +11,10 @@
|
||||
<view class="first flex flex-column align-items justify-start">
|
||||
<view class="row flex align-items" style="margin-top: 25rpx;">
|
||||
<span>
|
||||
<input type="text" maxlength="20" placeholder="填写清晰的活动标题" class="inputl"
|
||||
<input type="text" maxlength="30" placeholder="填写清晰的活动标题" class="inputl"
|
||||
v-model="form.title" placeholder-class="bttop" @input="handleUsernameChange" />
|
||||
</span>
|
||||
<span style="font-size: 24rpx;color: #9C9C9C;">(必填20字内)</span>
|
||||
<span style="font-size: 24rpx;color: #9C9C9C;">(必填30字内)</span>
|
||||
</view>
|
||||
|
||||
|
||||
|
@ -72,13 +72,13 @@
|
||||
|
||||
<view class="flex" style="margin-top: 30rpx">
|
||||
<view class="right flex flex-column" style="align-items: self-start">
|
||||
<span class="title white-space">{{ item.title }}</span>
|
||||
<span class="title white-space" style="wi">{{ item.title }}</span>
|
||||
<view class="first-image flex align-items" style="margin-top: 20rpx;width: 100%;">
|
||||
<image v-if="cate_ids != 1" :src="item.user.avatar"
|
||||
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
|
||||
<image v-else :src="item.headimage"
|
||||
style="width: 36rpx;height: 36rpx;border-radius: 80rpx;"></image>
|
||||
<span v-if="cate_ids != 1" style="color: #9C9C9C;margin-left: 10rpx;">{{
|
||||
<span v-if="cate_ids != 1" class="white-space" style="color: #9C9C9C;margin-left: 10rpx;width: 220rpx;">{{
|
||||
item.user.nickname }}</span>
|
||||
<span v-else class="white-space"
|
||||
style="color: #9C9C9C;margin-left: 10rpx;width: 220rpx;">{{
|
||||
@ -1067,6 +1067,8 @@ export default {
|
||||
|
||||
.title {
|
||||
width: 95%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user