From d3262a8b3710286a0e85f1152ae5be1c6a65b485 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 10 Jan 2020 15:22:29 +0800 Subject: [PATCH] 优化包邮券显示判断 --- vip/index.html | 2 +- vip/static/js/index.2e778484.js | 1 + vip/static/js/index.3eec0254.js | 1 - vip/static/js/pages-GiftPackage-BirthdayGift.275d5105.js | 1 - vip/static/js/pages-GiftPackage-BirthdayGift.8e0b5736.js | 1 + vip/static/js/pages-GiftPackage-EvaluateGift.d0bce90d.js | 1 + vip/static/js/pages-GiftPackage-EvaluateGift.e727476a.js | 1 - vip/static/js/pages-GiftPackage-HolidayGift.697875c1.js | 1 + vip/static/js/pages-GiftPackage-HolidayGift.6b26d5d2.js | 1 - vip/static/js/pages-GiftPackage-NewVipGift.35051f66.js | 1 - vip/static/js/pages-GiftPackage-NewVipGift.c8108f33.js | 1 + 11 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 vip/static/js/index.2e778484.js delete mode 100644 vip/static/js/index.3eec0254.js delete mode 100644 vip/static/js/pages-GiftPackage-BirthdayGift.275d5105.js create mode 100644 vip/static/js/pages-GiftPackage-BirthdayGift.8e0b5736.js create mode 100644 vip/static/js/pages-GiftPackage-EvaluateGift.d0bce90d.js delete mode 100644 vip/static/js/pages-GiftPackage-EvaluateGift.e727476a.js create mode 100644 vip/static/js/pages-GiftPackage-HolidayGift.697875c1.js delete mode 100644 vip/static/js/pages-GiftPackage-HolidayGift.6b26d5d2.js delete mode 100644 vip/static/js/pages-GiftPackage-NewVipGift.35051f66.js create mode 100644 vip/static/js/pages-GiftPackage-NewVipGift.c8108f33.js diff --git a/vip/index.html b/vip/index.html index 0a97f7a..12eee36 100644 --- a/vip/index.html +++ b/vip/index.html @@ -2,4 +2,4 @@ document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' }) var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) - document.write('')
\ No newline at end of file + document.write('')
\ No newline at end of file diff --git a/vip/static/js/index.2e778484.js b/vip/static/js/index.2e778484.js new file mode 100644 index 0000000..d6bd689 --- /dev/null +++ b/vip/static/js/index.2e778484.js @@ -0,0 +1 @@ +(function(e){function n(n){for(var t,r,c=n[0],s=n[1],g=n[2],u=0,l=[];ui.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"4",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},8200:function(t,e,i){var a=i("ea1e");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("1b92ca7d",a,!0,{sourceMap:!1,shadowMode:!1})},a685:function(t,e,i){"use strict";i.r(e);var a=i("309d"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("4a25");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"8acce876",null,!1,a["a"],r);e["default"]=c.exports},ea1e: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 */.image_box[data-v-8acce876]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-8acce876]{width:100%;height:%?690?%}.top[data-v-8acce876]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-8acce876]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-8acce876]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-8acce876]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-8acce876]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-8acce876]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-8acce876]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-8acce876]{float:left;width:64%}.top_item_center_title[data-v-8acce876]{font-size:%?35?%;color:#41d0de;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-8acce876]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-8acce876]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-8acce876]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-8acce876]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-8acce876]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-8acce876]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-8acce876]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-8acce876]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-8acce876]{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-8acce876]{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-8acce876]{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-8acce876]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-8acce876]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-8acce876]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-8acce876]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-8acce876]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-8acce876]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-8acce876]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-8acce876]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-8acce876]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-8acce876]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-8acce876]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-8acce876]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-8acce876]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-8acce876]{height:%?90?%}.foot_button[data-v-8acce876]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_buy[data-v-8acce876]{background:#61d3dd;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-8acce876]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-8acce876]{background-color:#9be0e5}uni-button[data-v-8acce876]:after{border:none}.foot_box_text[data-v-8acce876] img{width:100%}.foot_box_text[data-v-8acce876] .img{line-height:0}body.?%PAGE?%[data-v-8acce876]{background-color:#9be0e5}',""])}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-BirthdayGift.8e0b5736.js b/vip/static/js/pages-GiftPackage-BirthdayGift.8e0b5736.js new file mode 100644 index 0000000..bb76e65 --- /dev/null +++ b/vip/static/js/pages-GiftPackage-BirthdayGift.8e0b5736.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{1824:function(t,e,i){"use strict";i.r(e);var a=i("586e"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;ni.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"4",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},"672e":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},a685:function(t,e,i){"use strict";i.r(e);var a=i("672e"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("c475");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"75df6367",null,!1,a["a"],r);e["default"]=d.exports},c475:function(t,e,i){"use strict";var a=i("2591"),n=i.n(a);n.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-EvaluateGift.d0bce90d.js b/vip/static/js/pages-GiftPackage-EvaluateGift.d0bce90d.js new file mode 100644 index 0000000..0d5e05e --- /dev/null +++ b/vip/static/js/pages-GiftPackage-EvaluateGift.d0bce90d.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"05d2":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},"15d0":function(t,e,i){"use strict";i.r(e);var a=i("05d2"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("6d4e");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d3fe21e6",null,!1,a["a"],r);e["default"]=d.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("7a85"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;ni.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"2",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID,orderType:this.getOrderType,orderNumber:this.getOrderNumber,orderGoodsId:this.getOrderGoodsId},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-EvaluateGift.e727476a.js b/vip/static/js/pages-GiftPackage-EvaluateGift.e727476a.js deleted file mode 100644 index 98c5468..0000000 --- a/vip/static/js/pages-GiftPackage-EvaluateGift.e727476a.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,i){"use strict";i.r(e);var a=i("dca2"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("72c3");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"74c0df2b",null,!1,a["a"],r);e["default"]=c.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("7a85"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;ni.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"2",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID,orderType:this.getOrderType,orderNumber:this.getOrderNumber,orderGoodsId:this.getOrderGoodsId},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},cce8:function(t,e,i){var a=i("d9ea");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("4f90b9c4",a,!0,{sourceMap:!1,shadowMode:!1})},d9ea: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 */.image_box[data-v-74c0df2b]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-74c0df2b]{width:100%;height:%?690?%}.top[data-v-74c0df2b]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-74c0df2b]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-74c0df2b]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-74c0df2b]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-74c0df2b]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-74c0df2b]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-74c0df2b]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-74c0df2b]{float:left;width:64%}.top_item_center_title[data-v-74c0df2b]{font-size:%?35?%;color:#5b98f5;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-74c0df2b]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-74c0df2b]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-74c0df2b]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-74c0df2b]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-74c0df2b]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-74c0df2b]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-74c0df2b]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-74c0df2b]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-74c0df2b]{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-74c0df2b]{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-74c0df2b]{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-74c0df2b]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-74c0df2b]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-74c0df2b]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-74c0df2b]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-74c0df2b]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-74c0df2b]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-74c0df2b]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-74c0df2b]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-74c0df2b]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-74c0df2b]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-74c0df2b]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-74c0df2b]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-74c0df2b]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-74c0df2b]{height:%?90?%}.foot_button[data-v-74c0df2b]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_buy[data-v-74c0df2b]{background:#5d93f5;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-74c0df2b]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-74c0df2b]{background-color:#4784ef}uni-button[data-v-74c0df2b]:after{border:none}.foot_box_text[data-v-74c0df2b] img{width:100%}.foot_box_text[data-v-74c0df2b] .img{line-height:0}body.?%PAGE?%[data-v-74c0df2b]{background-color:#4784ef}',""])},dca2:function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[""==e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),""!=e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-HolidayGift.697875c1.js b/vip/static/js/pages-GiftPackage-HolidayGift.697875c1.js new file mode 100644 index 0000000..ac5088a --- /dev/null +++ b/vip/static/js/pages-GiftPackage-HolidayGift.697875c1.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-HolidayGift"],{1284:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/

0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"3",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},1313:function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image_box"},[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:"../../static/img/holiday00.jpg"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;ni.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"3",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=i},"13d1":function(t,e,a){"use strict";var i=a("7ac4"),n=a.n(i);n.a},2350:function(t,e){function a(t,e){var a=t[1]||"",n=t[3];if(!n)return a;if(e&&"function"===typeof btoa){var o=i(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+a+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=a(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,a){"string"===typeof t&&(t=[[null,t,""]]);for(var i={},n=0;na.parts.length&&(i.parts.length=a.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"1",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},4099:function(t,e,i){"use strict";var a=i("8edb"),n=i.n(a);n.a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;ni.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"1",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;ni.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n