Merge branch 'main' of http://49.235.147.88:3000/zhangkai/dyqc_hdapp
This commit is contained in:
commit
fbfd89f2ec
@ -65,7 +65,7 @@
|
||||
<view class="second-box flex align-items space-between" v-if="detail.join_info">
|
||||
<view class="flex align-items" v-if="detail.join_info.users">
|
||||
<u-avatar-group :urls="detail.join_info.users" keyName="avatar" size="30" gap="0.3"
|
||||
:maxCount="3"></u-avatar-group>
|
||||
:maxCount="4"></u-avatar-group>
|
||||
<image src="/static/index/dian.png"
|
||||
:class="detail.join_info.users && detail.join_info.users.length > 0 ? '' : 'smalld'"
|
||||
style="width: 58rpx;height: 58rpx;margin-left:-20rpx;z-index: 1;"></image>
|
||||
|
@ -64,7 +64,7 @@
|
||||
<view class="second-box flex align-items space-between" v-if="detail.join_info">
|
||||
<view class="flex align-items" v-if="detail.join_info.users">
|
||||
<u-avatar-group :urls="detail.join_info.users" keyName="avatar" size="30" gap="0.3"
|
||||
:maxCount="3"></u-avatar-group>
|
||||
:maxCount="4"></u-avatar-group>
|
||||
<image src="/static/index/dian.png"
|
||||
:class="detail.join_info.users && detail.join_info.users.length > 0 ? '' : 'smalld'"
|
||||
style="width: 58rpx;height: 58rpx;margin-left:-20rpx;z-index: 1;"></image>
|
||||
|
@ -43,7 +43,7 @@
|
||||
|
||||
<span class="title white-space">{{ item.title }}</span>
|
||||
<span class="first-image flex align-items" style="margin-top: 20rpx; width: 100%">
|
||||
<image :src="item.user.avatar" style="width: 36rpx; height: 36rpx;border-radius: 80rpx;"></image>
|
||||
<image :src="item.user.avatar" style="width: 36rpx; height: 36rpx;border-radius: 50%;"></image>
|
||||
<span style="color: #9c9c9c; margin-left: 10rpx;">{{
|
||||
item.user.nickname
|
||||
}}</span>
|
||||
|
@ -48,7 +48,8 @@
|
||||
</view>
|
||||
<view class="row-right" @click="choose()" style="width: 70%;">
|
||||
<text
|
||||
:style="form.address == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{ form.address == '' ? '请填写地址' : form.address }}</text>
|
||||
:style="form.address == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{
|
||||
form.address == '' ? '请填写地址' : form.address }}</text>
|
||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
@ -69,7 +70,9 @@
|
||||
<view class="row-right" @click="dateShowHidden()" style="width: 70%;">
|
||||
<!-- <input type="text" placeholder="请选择活动时间" class="input" disabled="true" v-model="form.time"
|
||||
placeholder-class="plasty" style="width: auto;"/> -->
|
||||
<text :style="form.time == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{ form.time == '' ? '请选择活动时间' : form.time }}</text>
|
||||
<text
|
||||
:style="form.time == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{
|
||||
form.time == '' ? '请选择活动时间' : form.time }}</text>
|
||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
@ -84,7 +87,8 @@
|
||||
<!-- <input type="text" placeholder="请选择活动分类" class="input" disabled="true"
|
||||
v-model="form.cate_idsName" placeholder-class="plasty" /> -->
|
||||
<text
|
||||
:style="form.cate_idsName == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{ form.cate_idsName == '' ? '请选择活动分类' : form.cate_idsName }}</text>
|
||||
:style="form.cate_idsName == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{
|
||||
form.cate_idsName == '' ? '请选择活动分类' : form.cate_idsName }}</text>
|
||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||
</span>
|
||||
</view>
|
||||
@ -99,8 +103,8 @@
|
||||
<view class="row-right" @click="tuikuan = true">
|
||||
<!-- <input type="text" placeholder="请选择退款政策" class="input" disabled="true"
|
||||
v-model="form.refund_idn" placeholder-class="plasty_c" /> -->
|
||||
<text
|
||||
style="font-size: 28rpx;color: #FF4810;">{{ form.refund_idn == '' ? '请选择退款政策' : form.refund_idn }}</text>
|
||||
<text style="font-size: 28rpx;color: #FF4810;">{{ form.refund_idn == '' ? '请选择退款政策' :
|
||||
form.refund_idn }}</text>
|
||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||
</view>
|
||||
</view>
|
||||
@ -142,7 +146,8 @@
|
||||
<span style="color: #3D3D3D;">*</span>
|
||||
活动价格
|
||||
</view>
|
||||
<view class="row-right" style="font-size:28rpx;color:#FF4810;font-weight: 600;" @click="priceShow = true">
|
||||
<view class="row-right" style="font-size:28rpx;color:#FF4810;font-weight: 600;"
|
||||
@click="priceShow = true">
|
||||
<!-- <input type="digit" placeholder="请填写活动价格" class="input" v-model="priceName"
|
||||
placeholder-class="plasty" /> -->
|
||||
<view>
|
||||
@ -335,26 +340,27 @@
|
||||
<long-date v-if="birthShow" chooseNum="90" @select="birthConfirm($event, bmIndex)"></long-date>
|
||||
</view>
|
||||
</u-popup>
|
||||
<u-popup :show="priceShow" :round="20" :closeable="true" mode="bottom" @close="priceShow = false;">
|
||||
<view
|
||||
style="padding: 26rpx;font-size: 36rpx;font-weight: 400;color: #3D3D3D;text-align: center;font-weight: 600;">
|
||||
请输入活动价格
|
||||
<u-popup :show="priceShow" :round="20" :closeable="false" mode="bottom" @close="priceShow = false;">
|
||||
<view style="display: flex;justify-content: space-between;align-items: center;padding: 0px 40rpx;">
|
||||
<view style="color: #9C9C9C;font-size: 28rpx;" @click="priceShow = false">取消</view>
|
||||
<view
|
||||
style="padding: 26rpx;font-size: 36rpx;font-weight: 400;color: #3D3D3D;text-align: center;font-weight: 600;">
|
||||
活动价格
|
||||
</view>
|
||||
<view style="color: #3D3D3D;font-size: 28rpx;" @click="priceDo">确定</view>
|
||||
</view>
|
||||
<view style="padding: 0rpx 30rpx;">
|
||||
<view style="display: flex;align-items: center;justify-content: space-between;padding: 30rpx 0rpx;">
|
||||
<view style="font-size: 30rpx;">
|
||||
活动价格
|
||||
</view>
|
||||
<view style="width: 75%;">
|
||||
<input :cursor-spacing="300" type="digit" placeholder="请填写活动价格" class="input"
|
||||
v-model="price" />
|
||||
<view style="padding: 30rpx 0rpx;border: 2px solid #EEEEEE;border-radius: 20rpx;">
|
||||
<view>
|
||||
<input focus :cursor-spacing="300" type="digit" placeholder="请输入" v-model="price"
|
||||
style="text-align: center;" />
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 1px;background-color: #eeeeee;width: 100%;"></view>
|
||||
<view style="font-size: 24rpx;color: #FF4810;margin-top: 20rpx;">注意:【活动金额为0时,将不支持自动退款。若金额设置为1或以上,可设置其他退款政策。】</view>
|
||||
</view>
|
||||
<view style="margin-top: 40rpx;">
|
||||
<!-- <view style="margin-top: 40rpx;">
|
||||
<view class="btn_1" @click="priceDo" style="margin: 0 auto;">确认</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</u-popup>
|
||||
<!-- 活动时间 -->
|
||||
<!-- <u-datetime-picker @cancel="datecel" ref="dateRef" title="开始时间" :minDate="minDate" confirmText="下一步"
|
||||
@ -388,7 +394,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
price:'',
|
||||
price: '',
|
||||
priceName: '免费',
|
||||
priceShow: false,
|
||||
bmIndex: 1,
|
||||
@ -524,8 +530,14 @@ export default {
|
||||
methods: {
|
||||
priceDo() {
|
||||
var price = this.price;
|
||||
console.log(price);
|
||||
if(price=='' || price==null || price==undefined || price==0){
|
||||
this.priceName = '免费';
|
||||
this.priceShow = false;
|
||||
return;
|
||||
}
|
||||
//判断金额不能小于1
|
||||
if(price<1){
|
||||
if (price < 1) {
|
||||
uni.showToast({
|
||||
title: '活动价格不能小于1.00',
|
||||
icon: 'none',
|
||||
@ -1354,10 +1366,10 @@ export default {
|
||||
this.fileList1 = [];
|
||||
this.agree = false;
|
||||
this.list1 = '';
|
||||
this.price='';
|
||||
this.priceName='免费';
|
||||
this.price = '';
|
||||
this.priceName = '免费';
|
||||
this.form = {
|
||||
qunQrcode:'',
|
||||
qunQrcode: '',
|
||||
cate_ids: '',
|
||||
// 活动分类名字
|
||||
cate_idsName: "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user