diff --git a/vip/index.html b/vip/index.html index 686e585..1adec1b 100644 --- a/vip/index.html +++ b/vip/index.html @@ -1,5 +1,5 @@ -新人礼包
\ No newline at end of file + document.write('')
\ No newline at end of file diff --git a/vip/static/css/AssistanceGift.css b/vip/static/css/AssistanceGift.css new file mode 100644 index 0000000..1f73e2d --- /dev/null +++ b/vip/static/css/AssistanceGift.css @@ -0,0 +1,125 @@ +@charset "UTF-8"; + +/* Author XGQ + * 2019-11-12 + */ + +page { + background-color: #d01119; +} + +.page_box { + background-size: cover; + background-position: center; + background-repeat: no-repeat; + background-image: url(/static/img/Abox.png); +} + +.box_top { + margin-top: 120upx; + margin-bottom: 2upx; + justify-content: center; + text-align: center; +} + +.box_top image { + width: 580upx; + height: 134upx; +} + +.box_top_text { + justify-content: center; + text-align: center; +} + +.box_top_text text { + font-size: 35upx; + color: #FFFFFF; +} + +.box_content { + margin-top: 60upx; + justify-content: center; + text-align: center; + margin-bottom: 1upx; +} + +.box_content image { + width: 530upx; + height: 504upx; +} + +.box_content_text { + justify-content: center; + text-align: center; +} + +.box_content_text text { + font-size: 20upx; + color: #FFFFFF; +} + +.box_button { + text-align: center; + margin: 40upx 0upx 0upx 160upx; + background-image: url(/static/img/butt01.png); + background-size: cover; + width: 443upx; + height: 83upx; + line-height: 65upx; +} + +.box_button text { + font-size: 40upx; + color: #D01119; + +} + +.foot_box { + display: flex; + justify-content: center; + margin: 40upx 30upx 10upx 30upx; + border-bottom: 1upx dashed #FFFFFF; +} + +.foot_box_count { + display: flex; + justify-content: center; + margin: 5upx 70upx 0upx 70upx; +} + +.foot_box_title { + display: flex; + justify-content: center; + padding: 5upx 0upx 20upx 0upx; + width: 50%; +} + +.foot_box_title text { + font-size: 27upx; + color: #FFFFFF; +} + +.foot_mode{ + justify-content: center; + display: flex; + margin: 30upx 0upx 20upx 0upx; +} + +.foot_mode text{ + font-size: 27upx; + color: #FFFFFF; +} + +.foot_number{ + justify-content: center; + display: flex; + margin: 25upx 0upx 80upx 0upx; +} + +.foot_number text{ + font-size: 29upx; + color: #FFFFFF; +} + + diff --git a/vip/static/css/ReceiveGift.css b/vip/static/css/ReceiveGift.css new file mode 100644 index 0000000..1f73e2d --- /dev/null +++ b/vip/static/css/ReceiveGift.css @@ -0,0 +1,125 @@ +@charset "UTF-8"; + +/* Author XGQ + * 2019-11-12 + */ + +page { + background-color: #d01119; +} + +.page_box { + background-size: cover; + background-position: center; + background-repeat: no-repeat; + background-image: url(/static/img/Abox.png); +} + +.box_top { + margin-top: 120upx; + margin-bottom: 2upx; + justify-content: center; + text-align: center; +} + +.box_top image { + width: 580upx; + height: 134upx; +} + +.box_top_text { + justify-content: center; + text-align: center; +} + +.box_top_text text { + font-size: 35upx; + color: #FFFFFF; +} + +.box_content { + margin-top: 60upx; + justify-content: center; + text-align: center; + margin-bottom: 1upx; +} + +.box_content image { + width: 530upx; + height: 504upx; +} + +.box_content_text { + justify-content: center; + text-align: center; +} + +.box_content_text text { + font-size: 20upx; + color: #FFFFFF; +} + +.box_button { + text-align: center; + margin: 40upx 0upx 0upx 160upx; + background-image: url(/static/img/butt01.png); + background-size: cover; + width: 443upx; + height: 83upx; + line-height: 65upx; +} + +.box_button text { + font-size: 40upx; + color: #D01119; + +} + +.foot_box { + display: flex; + justify-content: center; + margin: 40upx 30upx 10upx 30upx; + border-bottom: 1upx dashed #FFFFFF; +} + +.foot_box_count { + display: flex; + justify-content: center; + margin: 5upx 70upx 0upx 70upx; +} + +.foot_box_title { + display: flex; + justify-content: center; + padding: 5upx 0upx 20upx 0upx; + width: 50%; +} + +.foot_box_title text { + font-size: 27upx; + color: #FFFFFF; +} + +.foot_mode{ + justify-content: center; + display: flex; + margin: 30upx 0upx 20upx 0upx; +} + +.foot_mode text{ + font-size: 27upx; + color: #FFFFFF; +} + +.foot_number{ + justify-content: center; + display: flex; + margin: 25upx 0upx 80upx 0upx; +} + +.foot_number text{ + font-size: 29upx; + color: #FFFFFF; +} + + diff --git a/vip/static/img/Abox.png b/vip/static/img/Abox.png new file mode 100644 index 0000000..1a4028a --- /dev/null +++ b/vip/static/img/Abox.png diff --git a/vip/static/img/Atop1.png b/vip/static/img/Atop1.png new file mode 100644 index 0000000..300aef3 --- /dev/null +++ b/vip/static/img/Atop1.png diff --git a/vip/static/img/C01.png b/vip/static/img/C01.png new file mode 100644 index 0000000..e9cc6a3 --- /dev/null +++ b/vip/static/img/C01.png diff --git a/vip/static/img/butt01.png b/vip/static/img/butt01.png new file mode 100644 index 0000000..a59805a --- /dev/null +++ b/vip/static/img/butt01.png diff --git a/vip/static/js/index.bab61f4c.js b/vip/static/js/index.bab61f4c.js new file mode 100644 index 0000000..d0b034e --- /dev/null +++ b/vip/static/js/index.bab61f4c.js @@ -0,0 +1 @@ +(function(e){function n(n){for(var a,r,c=n[0],u=n[1],f=n[2],g=0,l=[];gn.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(a=0;ai.parts.length&&(a.parts.length=i.parts.length)}else{var s=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),0==e.data.data.lbIntegralState?t.integralTitle="领取"+e.data.data.lbIntegral+"积分":t.integralTitle="已领取",0==e.data.data.lbGrowthValueState?t.growUpTitle="领取"+e.data.data.lbGrowthValue+"积分":t.growUpTitle="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},onShow:function(){},methods:{integralSubmit:function(){var t=this;if("已领取"==this.integralTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:"4",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.integralTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},growUpSubmit:function(){var t=this;if("已领取"==this.growUpTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:"5",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.growUpTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},itemWareSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})},cardSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})}}};e.default=a},c822:function(t,e,i){"use strict";i.r(e);var a=i("b150"),n=i("14c4");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("ef8e");var s=i("2877"),r=Object(s["a"])(n["default"],a["a"],a["b"],!1,null,"b90444bc",null);e["default"]=r.exports},de35:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */uni-page-body[data-v-b90444bc]{background-color:#fb6451}.image_box[data-v-b90444bc]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.image_box uni-image[data-v-b90444bc]{width:100%;height:%?690?%}.top[data-v-b90444bc]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-b90444bc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.top_box_text[data-v-b90444bc]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-b90444bc]{color:#fb6451;font-size:%?40?%}.top_item[data-v-b90444bc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-b90444bc]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-b90444bc]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-b90444bc]{float:left;width:50%}.top_item_center_title[data-v-b90444bc]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%}.top_item_center_ramke[data-v-b90444bc]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%}.top_item_button[data-v-b90444bc]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-b90444bc]{font-size:%?25?%;background:#fd6969;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-b90444bc]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-b90444bc]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?290?%;margin:%?5?%}.img1[data-v-b90444bc]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg)}.img2[data-v-b90444bc]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg)}.img3[data-v-b90444bc]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg)}.img4[data-v-b90444bc]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png)}.top_card_tite_box[data-v-b90444bc]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.top_card_tite_a[data-v-b90444bc]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-b90444bc]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-b90444bc]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-b90444bc]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-b90444bc]{padding:%?20?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-b90444bc]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-b90444bc]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-b90444bc]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-b90444bc]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-b90444bc]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-b90444bc]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-b90444bc]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-b90444bc]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-b90444bc]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-b90444bc]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-b90444bc]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-b90444bc]{margin:%?50?% %?50?% %?130?% %?50?%;text-align:center}.button[data-v-b90444bc]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-b90444bc]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}uni-button[data-v-b90444bc]:after{border:none}body.?%PAGE?%[data-v-b90444bc]{background-color:#fb6451}',""])},ef8e:function(t,e,i){"use strict";var a=i("5433"),n=i.n(a);n.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-ReceiveGift.19ac808a.js b/vip/static/js/pages-GiftPackage-ReceiveGift.19ac808a.js new file mode 100644 index 0000000..d246545 --- /dev/null +++ b/vip/static/js/pages-GiftPackage-ReceiveGift.19ac808a.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-ReceiveGift"],{"0f1e":function(t,e,n){},1215:function(t,e,n){"use strict";n.r(e);var a=n("0f1e"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=a(i),r=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;in.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(a=0;a