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