|
@@ -57,7 +57,7 @@
|
|
|
<span class="linexx">*</span> <span>最多报名人数</span>
|
|
|
</view>
|
|
|
<view class="lineRight">
|
|
|
- <input type="text" v-model="number" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
|
|
|
+ <input type="number" v-model="number" placeholder="请输入" class="lineRightInput" placeholder-class="inputPlace">
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="line">
|
|
@@ -77,7 +77,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="line">
|
|
|
+ <view class="line" v-if="payType==1">
|
|
|
<view class="lineLeft">
|
|
|
<span class="linexx">*</span> <span>支付金额</span>
|
|
|
</view>
|
|
@@ -101,11 +101,11 @@
|
|
|
<view class="lineTitle">主图</view>
|
|
|
<view class="lineMS">此图在活动顶部显示,建议宽度750px</view>
|
|
|
<view class="lineImgBOx">
|
|
|
- <view class="lineimghz" v-if="img">
|
|
|
+ <view class="lineimghz" v-if="img" >
|
|
|
<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimgzt" >
|
|
|
- <img :src="img" alt="" class="lineimg">
|
|
|
+ <img :src="img" alt="" class="lineimg" @click="previewImage(img)">
|
|
|
</view>
|
|
|
- <view class="lineimghz" @click="upimgzt">
|
|
|
+ <view class="lineimghz" @click="upimgzt" v-if="!img">
|
|
|
<img src="../../static/img/scimg.png" alt="" class="lineimg">
|
|
|
</view>
|
|
|
</view>
|
|
@@ -116,7 +116,7 @@
|
|
|
<view class="lineImgBOx">
|
|
|
<view class="lineimghz" v-for="(item,index) in imgListArr">
|
|
|
<img src="../../static/img/del.png" alt="" class="lineimgdel" @click="delimg(index)" >
|
|
|
- <img :src="item" alt="" class="lineimg">
|
|
|
+ <img :src="item" alt="" class="lineimg" @click="previewImage(item)">
|
|
|
</view>
|
|
|
<view class="lineimghz" @click="upimg">
|
|
|
<img src="../../static/img/scimg.png" alt="" class="lineimg">
|
|
@@ -206,6 +206,19 @@
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ previewImage(img){
|
|
|
+ var arr=[]
|
|
|
+ arr.push(img)
|
|
|
+ uni.previewImage({
|
|
|
+ urls: arr,
|
|
|
+ longPressActions: {
|
|
|
+ itemList: ['发送给朋友', '保存图片',],
|
|
|
+ success: function(data) {},
|
|
|
+ fail: function(err) {}
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
getDetails(){
|
|
|
uni.showLoading({
|
|
|
title: '加载中'
|
|
@@ -320,7 +333,7 @@
|
|
|
duration: 2000
|
|
|
});
|
|
|
return false;
|
|
|
- }else if(this.money!=0&&this.money==''){
|
|
|
+ }else if(this.money!=0&&this.money==''&&payType==1){
|
|
|
uni.showToast({
|
|
|
title: '请输入支付金额',
|
|
|
icon:'none',
|
|
@@ -604,6 +617,7 @@
|
|
|
.lineRightInput{
|
|
|
font-size: 28rpx;
|
|
|
color:#3C3C3C ;
|
|
|
+ width: 500rpx;
|
|
|
}
|
|
|
.lineRight{
|
|
|
color:#3C3C3C ;
|
|
@@ -616,6 +630,7 @@
|
|
|
}
|
|
|
.box{
|
|
|
background: #ffffff;
|
|
|
+ padding-bottom: 30rpx;
|
|
|
}
|
|
|
.kk{
|
|
|
background:#F4F5F7;
|