diff --git a/manifest.json b/manifest.json index 2de9381..d98864e 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "惠农生活", "appid" : "__UNI__3A527D1", "description" : "", - "versionName" : "1.7.2", - "versionCode" : 172, + "versionName" : "1.7.3", + "versionCode" : 173, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/newActivity/invitation/invitation.vue b/pages/newActivity/invitation/invitation.vue index b467ad1..6b61fcd 100644 --- a/pages/newActivity/invitation/invitation.vue +++ b/pages/newActivity/invitation/invitation.vue @@ -58,7 +58,7 @@ 恭喜你!成功获得 - 500 + 购买指定商品可直接抵扣使用 2024-10-10 18:00:00过期 @@ -107,7 +107,11 @@ export default { info: { user_info: [] }, - status: 1, //0不可开, 1可开, 2已开 + red_packet: { + amount: '0.00', + end_time: '' + }, + status: 0, //0不可开, 1可开, 2已开 } }, onLoad() {}, @@ -134,16 +138,22 @@ export default { this.$refs.redPacket.close(); }, // 打开红包 - openRedPacket(){ + async openRedPacket(){ this.$refs.redPacket.close(); - this.$nextTick(()=>{ - this.$u.sleep(800).then(()=>{ - this.status = 2; - this.$u.sleep(100).then(()=>{ - this.open(); + try{ + let {data} = await storeActivityReceive(); + this.$nextTick(()=>{ + this.red_packet = data.result; + this.$u.sleep(800).then(()=>{ + this.status = 2; + this.$u.sleep(100).then(()=>{ + this.open(); + }) }) }) - }) + }catch(e){ + Toast(e) + } } }, onPullDownRefresh() { diff --git a/static/test/DFH.png b/static/test/DFH.png deleted file mode 100644 index 5cd03c5..0000000 Binary files a/static/test/DFH.png and /dev/null differ diff --git a/static/test/DPJ.png b/static/test/DPJ.png deleted file mode 100644 index 3a9216d..0000000 Binary files a/static/test/DPJ.png and /dev/null differ diff --git a/static/test/DSH.png b/static/test/DSH.png deleted file mode 100644 index 3949fce..0000000 Binary files a/static/test/DSH.png and /dev/null differ diff --git a/static/test/DZGL.png b/static/test/DZGL.png deleted file mode 100644 index 016c3a8..0000000 Binary files a/static/test/DZGL.png and /dev/null differ diff --git a/static/test/FPGL.png b/static/test/FPGL.png deleted file mode 100644 index 10f4039..0000000 Binary files a/static/test/FPGL.png and /dev/null differ diff --git a/static/test/GZDP.png b/static/test/GZDP.png deleted file mode 100644 index c6a5419..0000000 Binary files a/static/test/GZDP.png and /dev/null differ diff --git a/static/test/KH.png b/static/test/KH.png deleted file mode 100644 index 52772c2..0000000 Binary files a/static/test/KH.png and /dev/null differ diff --git a/static/test/LLJL.png b/static/test/LLJL.png deleted file mode 100644 index 702997c..0000000 Binary files a/static/test/LLJL.png and /dev/null differ diff --git a/static/test/SH.png b/static/test/SH.png deleted file mode 100644 index f191a19..0000000 Binary files a/static/test/SH.png and /dev/null differ diff --git a/static/test/SJRZ.png b/static/test/SJRZ.png deleted file mode 100644 index e0f6e70..0000000 Binary files a/static/test/SJRZ.png and /dev/null differ diff --git a/static/test/SYS.png b/static/test/SYS.png deleted file mode 100644 index 29421cc..0000000 Binary files a/static/test/SYS.png and /dev/null differ diff --git a/static/test/SZ.png b/static/test/SZ.png deleted file mode 100644 index 41579df..0000000 Binary files a/static/test/SZ.png and /dev/null differ diff --git a/static/test/WDSC.png b/static/test/WDSC.png deleted file mode 100644 index 6a92d86..0000000 Binary files a/static/test/WDSC.png and /dev/null differ diff --git a/static/test/WTFK.png b/static/test/WTFK.png deleted file mode 100644 index 9a71bb3..0000000 Binary files a/static/test/WTFK.png and /dev/null differ