|
@@ -3,7 +3,7 @@
|
|
|
<view class="icon-cont">
|
|
|
<u-icon class="icon" name="checkmark" color="#fff" size="80"></u-icon>
|
|
|
<view>支付成功</view>
|
|
|
- <view class="pay-info"><text>10</text><image src="../../static/ledou.png"></image></view>
|
|
|
+ <view class="pay-info"><text>{{gold}}</text><image src="../../static/ledou.png"></image></view>
|
|
|
</view>
|
|
|
<view class="back-btn">
|
|
|
<u-button type="success" @click="toLuckDraw">去抽奖</u-button>
|
|
@@ -15,12 +15,12 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- orderId: '' //订单id
|
|
|
+ gold: '' //金币
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
console.log(option,'option')
|
|
|
- this.orderId = option.id
|
|
|
+ this.gold = option.gold
|
|
|
},
|
|
|
methods: {
|
|
|
// 去抽奖
|