This commit is contained in:
weipengfei 2024-01-19 18:40:55 +08:00
parent 2755927c6d
commit b0663749e4
16 changed files with 21 additions and 11 deletions

View File

@ -2,8 +2,8 @@
"name" : "惠农生活", "name" : "惠农生活",
"appid" : "__UNI__3A527D1", "appid" : "__UNI__3A527D1",
"description" : "", "description" : "",
"versionName" : "1.7.2", "versionName" : "1.7.3",
"versionCode" : 172, "versionCode" : 173,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@ -58,7 +58,7 @@
<image class="img" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/9bafd202401191526406639.png"></image> <image class="img" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/9bafd202401191526406639.png"></image>
<view class="p_text" style="bottom: 60rpx;"> <view class="p_text" style="bottom: 60rpx;">
<view class="smoll">恭喜你成功获得</view> <view class="smoll">恭喜你成功获得</view>
<view class="smoll red_count"><text class="count">500</text></view> <view class="smoll red_count"><text class="count"></text></view>
<view class="big2">购买指定商品可直接抵扣使用</view> <view class="big2">购买指定商品可直接抵扣使用</view>
<view class="smoll">2024-10-10 18:00:00过期</view> <view class="smoll">2024-10-10 18:00:00过期</view>
<image @click="close()" class="btn_img" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/385f4202401191532068870.png"></image> <image @click="close()" class="btn_img" mode="widthFix" src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/385f4202401191532068870.png"></image>
@ -107,7 +107,11 @@ export default {
info: { info: {
user_info: [] user_info: []
}, },
status: 1, //0 1 2 red_packet: {
amount: '0.00',
end_time: ''
},
status: 0, //0 1 2
} }
}, },
onLoad() {}, onLoad() {},
@ -134,9 +138,12 @@ export default {
this.$refs.redPacket.close(); this.$refs.redPacket.close();
}, },
// //
openRedPacket(){ async openRedPacket(){
this.$refs.redPacket.close(); this.$refs.redPacket.close();
try{
let {data} = await storeActivityReceive();
this.$nextTick(()=>{ this.$nextTick(()=>{
this.red_packet = data.result;
this.$u.sleep(800).then(()=>{ this.$u.sleep(800).then(()=>{
this.status = 2; this.status = 2;
this.$u.sleep(100).then(()=>{ this.$u.sleep(100).then(()=>{
@ -144,6 +151,9 @@ export default {
}) })
}) })
}) })
}catch(e){
Toast(e)
}
} }
}, },
onPullDownRefresh() { onPullDownRefresh() {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 922 B