|
@@ -120,14 +120,15 @@
|
|
</view>
|
|
</view>
|
|
<view class="lottery-content win_4" v-if="winTypes == 'win_4'">
|
|
<view class="lottery-content win_4" v-if="winTypes == 'win_4'">
|
|
<view class="lottery-title">
|
|
<view class="lottery-title">
|
|
- <view>请输入支付密码</view>
|
|
|
|
|
|
+ <!-- <view>请输入支付密码</view>
|
|
<view class="pay-info">支付<text>{{luckDraw.purchaseTimesGold}}</text><image src="../../static/ledou.png"></image></view>
|
|
<view class="pay-info">支付<text>{{luckDraw.purchaseTimesGold}}</text><image src="../../static/ledou.png"></image></view>
|
|
<view>
|
|
<view>
|
|
<u-input v-model="payPws" :focus="focus" trim type="password" :border="true" :password-icon="true" placeholder="请输入支付密码"></u-input>
|
|
<u-input v-model="payPws" :focus="focus" trim type="password" :border="true" :password-icon="true" placeholder="请输入支付密码"></u-input>
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
|
|
+ 确定支付乐豆,继续抽奖
|
|
</view>
|
|
</view>
|
|
<view class="lottery-confrim-btn" @click="toPaySubmit">
|
|
<view class="lottery-confrim-btn" @click="toPaySubmit">
|
|
- 确定支付
|
|
|
|
|
|
+ 确定
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</u-popup>
|
|
</u-popup>
|
|
@@ -209,17 +210,17 @@ export default {
|
|
watch: {
|
|
watch: {
|
|
showLottery(newValue, oldValue) {
|
|
showLottery(newValue, oldValue) {
|
|
if(!newValue){
|
|
if(!newValue){
|
|
- this.handleInitCanvas()
|
|
|
|
|
|
+ // this.handleInitCanvas()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // 重新生成
|
|
|
|
|
|
+ // 重置
|
|
handleInitCanvas() {
|
|
handleInitCanvas() {
|
|
clearCacheFile();
|
|
clearCacheFile();
|
|
this.targetName = '';
|
|
this.targetName = '';
|
|
- this.prizeList = [];
|
|
|
|
- this.getPrizeList();
|
|
|
|
|
|
+ this.prizeList = []
|
|
|
|
+ this.getPrizeList()
|
|
},
|
|
},
|
|
// 获取亦获奖列表
|
|
// 获取亦获奖列表
|
|
getDrawList(){
|
|
getDrawList(){
|
|
@@ -389,9 +390,9 @@ export default {
|
|
},
|
|
},
|
|
// 支付确定
|
|
// 支付确定
|
|
toPaySubmit(){
|
|
toPaySubmit(){
|
|
- if(this.payPws != ''){
|
|
|
|
|
|
+ // if(this.payPws != ''){
|
|
let params = {
|
|
let params = {
|
|
- "payPwd": this.payPws,
|
|
|
|
|
|
+ // "payPwd": this.payPws,
|
|
"payGold": this.luckDraw.purchaseTimesGold,
|
|
"payGold": this.luckDraw.purchaseTimesGold,
|
|
"luckyDrawNo": this.luckDraw.luckyDrawNo
|
|
"luckyDrawNo": this.luckDraw.luckyDrawNo
|
|
}
|
|
}
|
|
@@ -403,12 +404,12 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
- uni.showToast({
|
|
|
|
- icon: 'none',
|
|
|
|
- title: '请输入支付密码'
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ // }else{
|
|
|
|
+ // uni.showToast({
|
|
|
|
+ // icon: 'none',
|
|
|
|
+ // title: '请输入支付密码'
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
// 文字滚动
|
|
// 文字滚动
|
|
scrollAnimate() {
|
|
scrollAnimate() {
|