|
@@ -67,7 +67,7 @@
|
|
|
<view v-show="item.prizeType == 1" class="card-text-2">已存入您的<br />微信零钱
|
|
<view v-show="item.prizeType == 1" class="card-text-2">已存入您的<br />微信零钱
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view v-show="item.prizeType == 2" class="card-text-1">再来一包</view>
|
|
|
|
|
|
|
+ <view v-show="item.prizeType == 2" class="card-text-1">{{item.price}}元换购</view>
|
|
|
<view v-show="item.prizeType == 2" class="card-img-item">
|
|
<view v-show="item.prizeType == 2" class="card-img-item">
|
|
|
<image style="height:100rpx" :src="item.img" mode="heightFix"></image>
|
|
<image style="height:100rpx" :src="item.img" mode="heightFix"></image>
|
|
|
</view>
|
|
</view>
|
|
@@ -87,7 +87,8 @@
|
|
|
<u-popup :show="showWin" :round="10" mode="center" @close="close" @open="open" :closeable='true'>
|
|
<u-popup :show="showWin" :round="10" mode="center" @close="close" @open="open" :closeable='true'>
|
|
|
<view class="popup-flex">
|
|
<view class="popup-flex">
|
|
|
<view class="popup-content-scroll">
|
|
<view class="popup-content-scroll">
|
|
|
- <view class="popup-title" v-if="prizeJson.prizeType == 4 || prizeJson.prize_type == 4" >恭喜您,抽中积分</view>
|
|
|
|
|
|
|
+ <view class="popup-title" v-if="prizeJson.prizeType == 4 || prizeJson.prize_type == 4">
|
|
|
|
|
+ 恭喜您,抽中积分</view>
|
|
|
<view class="popup-title" v-else>恭喜您,中奖啦</view>
|
|
<view class="popup-title" v-else>恭喜您,中奖啦</view>
|
|
|
<view class="card-logo-popup">
|
|
<view class="card-logo-popup">
|
|
|
<image class="card_logo"
|
|
<image class="card_logo"
|
|
@@ -97,7 +98,8 @@
|
|
|
<view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_text1">
|
|
<view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_text1">
|
|
|
现金红包</view>
|
|
现金红包</view>
|
|
|
<view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_text1">
|
|
<view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_text1">
|
|
|
- 再来一包</view>
|
|
|
|
|
|
|
+ <view>加{{prizeJson.price}}元换购</view>
|
|
|
|
|
+ {{prizeJson.prize_name}}一包</view>
|
|
|
<view v-show="prizeJson.prizeType == 4 || prizeJson.prize_type == 4" class="popup_text1">
|
|
<view v-show="prizeJson.prizeType == 4 || prizeJson.prize_type == 4" class="popup_text1">
|
|
|
活动积分奖励</view>
|
|
活动积分奖励</view>
|
|
|
<view class="center">
|
|
<view class="center">
|
|
@@ -126,7 +128,7 @@
|
|
|
<view class="center pupup_text3">
|
|
<view class="center pupup_text3">
|
|
|
所获积分可前往积分商城兑换商品
|
|
所获积分可前往积分商城兑换商品
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -211,7 +213,8 @@
|
|
|
money: '',
|
|
money: '',
|
|
|
prizeType: '',
|
|
prizeType: '',
|
|
|
isFlipping: false,
|
|
isFlipping: false,
|
|
|
- point: ''
|
|
|
|
|
|
|
+ point: '',
|
|
|
|
|
+ price: ''
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/two.png',
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/two.png',
|
|
@@ -224,7 +227,8 @@
|
|
|
money: '',
|
|
money: '',
|
|
|
prizeType: '',
|
|
prizeType: '',
|
|
|
isFlipping: false,
|
|
isFlipping: false,
|
|
|
- point: ''
|
|
|
|
|
|
|
+ point: '',
|
|
|
|
|
+ price: ''
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/three.png',
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/three.png',
|
|
@@ -237,7 +241,8 @@
|
|
|
money: '',
|
|
money: '',
|
|
|
prizeType: '',
|
|
prizeType: '',
|
|
|
isFlipping: false,
|
|
isFlipping: false,
|
|
|
- point: ''
|
|
|
|
|
|
|
+ point: '',
|
|
|
|
|
+ price: ''
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/four.png',
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/four.png',
|
|
@@ -250,7 +255,8 @@
|
|
|
money: '',
|
|
money: '',
|
|
|
prizeType: '',
|
|
prizeType: '',
|
|
|
isFlipping: false,
|
|
isFlipping: false,
|
|
|
- point: ''
|
|
|
|
|
|
|
+ point: '',
|
|
|
|
|
+ price: ''
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/five.png',
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/five.png',
|
|
@@ -263,7 +269,8 @@
|
|
|
money: '',
|
|
money: '',
|
|
|
prizeType: '',
|
|
prizeType: '',
|
|
|
isFlipping: false,
|
|
isFlipping: false,
|
|
|
- point: ''
|
|
|
|
|
|
|
+ point: '',
|
|
|
|
|
+ price: ''
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/six.png',
|
|
front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/six.png',
|
|
@@ -276,7 +283,8 @@
|
|
|
money: '',
|
|
money: '',
|
|
|
prizeType: '',
|
|
prizeType: '',
|
|
|
isFlipping: false,
|
|
isFlipping: false,
|
|
|
- point: ''
|
|
|
|
|
|
|
+ point: '',
|
|
|
|
|
+ price: ''
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
@@ -310,7 +318,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- goShop(){
|
|
|
|
|
|
|
+ goShop() {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: '/pages/cjx/shop/shop?type=0'
|
|
url: '/pages/cjx/shop/shop?type=0'
|
|
|
});
|
|
});
|
|
@@ -327,6 +335,7 @@
|
|
|
this.cards[i].checkStauts = true
|
|
this.cards[i].checkStauts = true
|
|
|
}
|
|
}
|
|
|
this.cards[i].img = list['card' + i].img;
|
|
this.cards[i].img = list['card' + i].img;
|
|
|
|
|
+ this.cards[i].price = list['card' + i].price;
|
|
|
this.cards[i].flipped = true;
|
|
this.cards[i].flipped = true;
|
|
|
this.cards[i].prizeType = list['card' + i].prize_type == undefined ? list['card' + i].prizeType : list[
|
|
this.cards[i].prizeType = list['card' + i].prize_type == undefined ? list['card' + i].prizeType : list[
|
|
|
'card' + i].prize_type;
|
|
'card' + i].prize_type;
|
|
@@ -437,6 +446,8 @@
|
|
|
that.totalDetail[i].prizeType :
|
|
that.totalDetail[i].prizeType :
|
|
|
that.totalDetail[i].prize_type;
|
|
that.totalDetail[i].prize_type;
|
|
|
that.cards[i].img = that.totalDetail[i].img;
|
|
that.cards[i].img = that.totalDetail[i].img;
|
|
|
|
|
+
|
|
|
|
|
+ that.cards[i].price = that.totalDetail[i].price;
|
|
|
that.cards[i].money = that.totalDetail[i].money;
|
|
that.cards[i].money = that.totalDetail[i].money;
|
|
|
that.cards[i].point = that.totalDetail[i].point;
|
|
that.cards[i].point = that.totalDetail[i].point;
|
|
|
that.cards[i].prizeName = that.totalDetail[i].prizeName == undefined ?
|
|
that.cards[i].prizeName = that.totalDetail[i].prizeName == undefined ?
|
|
@@ -786,11 +797,12 @@
|
|
|
.card_logo {
|
|
.card_logo {
|
|
|
height: 80rpx;
|
|
height: 80rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.card_jf {
|
|
.card_jf {
|
|
|
height: 120rpx;
|
|
height: 120rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .jf_text{
|
|
|
|
|
|
|
+ .jf_text {
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
font-size: 50rpx;
|
|
font-size: 50rpx;
|
|
|
color: #E22ADD;
|
|
color: #E22ADD;
|