|
@@ -16,7 +16,7 @@
|
|
<view class="wait_score">{{ scoreInfo.wait_score ? scoreInfo.wait_score : 0 }}</view>
|
|
<view class="wait_score">{{ scoreInfo.wait_score ? scoreInfo.wait_score : 0 }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="right_box">
|
|
|
|
|
|
+ <view class="right_box" v-if="show_lottery">
|
|
<navigator url="/pages/score/lottery" class="lottery_enter">
|
|
<navigator url="/pages/score/lottery" class="lottery_enter">
|
|
<image class="lottery_img" src="https://mall.findit.ltd/uploads/images/default/lottery_record.png" mode=""></image>
|
|
<image class="lottery_img" src="https://mall.findit.ltd/uploads/images/default/lottery_record.png" mode=""></image>
|
|
<view class="lottery_text">点我抽奖</view>
|
|
<view class="lottery_text">点我抽奖</view>
|
|
@@ -73,6 +73,7 @@ export default {
|
|
listKey: 0,
|
|
listKey: 0,
|
|
listLength: 0,
|
|
listLength: 0,
|
|
active_id: 0,
|
|
active_id: 0,
|
|
|
|
+ show_lottery:0,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -129,6 +130,13 @@ export default {
|
|
this.scoreInfo = re.data;
|
|
this.scoreInfo = re.data;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ // 请求
|
|
|
|
+ this.$http.request('api/lottery_score/get_detail').then((re) => {
|
|
|
|
+ // 成功结果
|
|
|
|
+ if (re.code == 'success') {
|
|
|
|
+ this.show_lottery = 1;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
_handleBack() {
|
|
_handleBack() {
|