1身份证图片限制,活动时间上下间距

This commit is contained in:
张凯 2025-06-14 11:38:40 +08:00
parent 94204a46c5
commit b2a19df218
2 changed files with 13 additions and 9 deletions

View File

@ -13,18 +13,18 @@
<view style="min-height: 100vh;margin-top: 80rpx;">
<view class="flex hdkuai flex-column" v-for="(item, index) in list" :key="index">
<view style="margin:0 30rpx;">
<view style="margin:30rpx;">
<span class="text_h">活动时间
{{ dateWeeks(item.detail.start_time) + '-'+dateWeekends(item.detail.end_time)}}</span>
</view>
<span class="line"></span>
<view style="margin:0 30rpx;" class="flex" @click="toInfo(item.activity_id)">
<view style="margin:30rpx;" class="flex" @click="toInfo(item.activity_id)">
<image class="tut" :src="item.detail.images[0]"></image>
<view style="margin-left: 20rpx;width: 80%;">
<view>
<span>{{ item.detail.title }}</span>
</view>
<view style="margin-top: 40rpx;" class="flex flex-between align-items">
<view style="margin-top: 30rpx;" class="flex flex-between align-items">
<span style="font-size: 32rpx;">{{ item.totalprice }}</span>
<span style="font-size: 26rpx;color: #9C9C9C;">购买数量{{ item.num }}</span>
</view>
@ -485,8 +485,8 @@
.hdkuai {
background: #FFFFFF;
width: 690rpx;
height: 360rpx;
justify-content: space-around;
// height: 360rpx;
// justify-content: space-around;
margin: 30rpx;
border-radius: 18rpx;
@ -509,7 +509,7 @@
}
.foot_btn {
margin: 0 30rpx;
margin: 30rpx;
justify-content: space-between;
font-size: 28rpx;
color: #323232;

View File

@ -23,7 +23,7 @@
@delete="deletePic" @oversize="oversize" :maxSize="1 * 1024 * 1024"
:maxCount="1">
<view style="width: 330rpx;height: 100px;">
<image v-if="form.back_img==''" src="/static/index/bei.png" style="width: 100%;" mode="widthFix"></image>
<image v-if="form.back_img == ''" src="/static/index/bei.png" style="width: 100%;" mode="widthFix"></image>
<image v-else :src="imgUrl+form.back_img" style="width: 330rpx;height: 100px;" mode="aspectFit"></image>
</view>
</u-upload>
@ -64,7 +64,7 @@
@click="protocolClick" @clickOne="protocolClick" ></cc-protocolBox>
</view>
<view v-if="agree" class="btn_1" @click="save()">提交信息</view>
<view v-if="!agree" class="btn_2">提交信息</view>
<view v-if="!agree" class="btn_2s">提交信息</view>
</view>
<u-popup @touchmove.native.stop.prevent :closeable="false" :show="show" :round="10" mode="center"
@ -121,6 +121,10 @@
this.getAgreement();
},
methods: {
oversize(e) {
this.$u.toast("请传1MB以内大小的图片");
return false;
},
protocolClick(tag) {
this.show=true;
},
@ -261,7 +265,7 @@
margin: 0 auto;
margin-top: 50rpx;
}
.btn_2 {
.btn_2s {
width: 95%;
height: 90rpx;
background: #C1C1C1;