diff --git a/vip/index.html b/vip/index.html index 5983d30..83b6429 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.4518bc49.js b/vip/static/js/index.df019510.js index e2e0cf8..2629439 100644 --- a/vip/static/js/index.4518bc49.js +++ b/vip/static/js/index.df019510.js @@ -1 +1 @@ -(function(e){function n(n){for(var t,r,s=n[0],c=n[1],g=n[2],f=0,l=[];f0?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("———— 点击加载更多 ————")])],1):t._e(),this.contentList.length<=0?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("暂无领取记录")])],1):t._e()],2):t._e(),1==this.isChackBox?i("v-uni-view",[i("v-uni-view",{staticClass:"remark_box",domProps:{innerHTML:t._s(this.countRemark)}}),""!=this.countRemark?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("———— 已到底 ————")])],1):t._e(),""==this.countRemark?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("暂无活动详情")])],1):t._e()],1):t._e(),i("v-uni-view",{staticClass:"foot_receive"},[i("v-uni-text",[t._v("已有"+t._s(this.countNumber)+"人领取了任务")])],1)],1)},a=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return a}),i.d(e,"a",function(){return n})},f45d:function(t,e,i){"use strict";var n=i("d292"),o=i.n(n);o.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-AssistanceAct.87c644b3.js b/vip/static/js/pages-GiftPackage-AssistanceAct.87c644b3.js deleted file mode 100644 index 5036df4..0000000 --- a/vip/static/js/pages-GiftPackage-AssistanceAct.87c644b3.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-AssistanceAct"],{"075e":function(t,e,i){var n=i("3a5a");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("2b9e6782",n,!0,{sourceMap:!1,shadowMode:!1})},2777:function(t,e,i){"use strict";var n,o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"fab-box fab",class:{leftBottom:t.leftBottom,rightBottom:t.rightBottom,leftTop:t.leftTop,rightTop:t.rightTop}},[i("v-uni-view",{staticClass:"fab-circle",class:{left:"left"===t.horizontal&&"horizontal"===t.direction,top:"top"===t.vertical&&"vertical"===t.direction,bottom:"bottom"===t.vertical&&"vertical"===t.direction,right:"right"===t.horizontal&&"horizontal"===t.direction},style:{"background-color":t.styles.buttonColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"icon icon-jia",class:{active:t.showContent}})],1),i("v-uni-view",{staticClass:"fab-content",class:{left:"left"===t.horizontal,right:"right"===t.horizontal,flexDirection:"vertical"===t.direction,flexDirectionStart:t.flexDirectionStart,flexDirectionEnd:t.flexDirectionEnd},style:{width:t.boxWidth,height:t.boxHeight,background:t.styles.backgroundColor}},[t.flexDirectionStart||t.horizontalLeft?i("v-uni-view",{staticClass:"fab-item first"}):t._e(),t._l(t.content,function(e,n){return i("v-uni-view",{key:n,staticClass:"fab-item",class:{active:t.showContent},style:{color:e.active?t.styles.selectedColor:t.styles.color},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.taps(n,e)}}},[i("v-uni-text",{staticClass:"text"},[t._v(t._s(e.text))])],1)}),t.flexDirectionEnd||t.horizontalRight?i("v-uni-view",{staticClass:"fab-item first"}):t._e()],2)],1)],1)},a=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return a}),i.d(e,"a",function(){return n})},"312c":function(t,e,i){"use strict";i.r(e);var n=i("2777"),o=i("5bd3");for(var a in o)"default"!==a&&function(t){i.d(e,t,function(){return o[t]})}(a);i("f45d");var c,r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"07772d4e",null,!1,n["a"],c);e["default"]=s.exports},"3a5a":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-28\r\n */.box[data-v-5eadb952]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.background_img[data-v-5eadb952]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/assis00.png);background-size:100% 100%}.top_img[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_img uni-image[data-v-5eadb952]{width:%?626?%;height:%?145?%;padding-top:%?130?%}.top_img uni-text[data-v-5eadb952]{font-size:%?32?%;color:#fff;padding-top:%?20?%}.top_title_img[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_title_img uni-image[data-v-5eadb952]{width:%?530?%;height:%?504?%;padding-top:%?50?%;padding-bottom:%?30?%}.top_title_img uni-text[data-v-5eadb952]{font-size:%?25?%;color:#fff}.top_button_img[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center;margin-top:%?50?%;margin-bottom:%?50?%}.top_button_img uni-text[data-v-5eadb952]{font-size:%?40?%;color:#d01119;background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/assis02.png);background-size:cover;width:%?443?%;height:%?83?%;line-height:%?70?%}.content_title_box[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-bottom:%?40?%;border-bottom:%?1?% solid #ffd500}.content_title_title[data-v-5eadb952]{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;-webkit-align-content:center;align-content:center;width:50%;text-align:center;color:#fff;font-size:%?27?%;border-left:%?1?% solid #ffd500;border-right:%?1?% solid #ffd500;border-top:%?1?% solid #ffd500;margin:%?10?% %?40?% %?0?% %?40?%;padding:%?8?%}.content_title_title uni-image[data-v-5eadb952]{width:%?30?%;height:%?30?%;margin-right:%?10?%}.content_title_chack_bg[data-v-5eadb952]{background:#ffd500}.content_box[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-top:%?20?%}.content_box_gift[data-v-5eadb952]{width:60%;font-size:%?25?%;color:#fff;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}.content_box_remark[data-v-5eadb952]{width:15%;font-size:%?25?%;color:#fff;text-decoration:underline;text-align:center}.remark_box[data-v-5eadb952]{margin:%?20?% %?40?% %?0?% %?40?%;font-size:%?25?%;color:#fff;line-height:%?40?%}.foot_load[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:%?25?%;color:#fff;margin-top:%?50?%}.foot_receive[data-v-5eadb952]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:%?25?%;color:#fff;margin-top:%?30?%;margin-bottom:%?60?%}.font_color[data-v-5eadb952]{color:#b9b5b5;text-decoration:underline}.font_color_f[data-v-5eadb952]{color:#fff;text-decoration:underline}uni-page-body[data-v-5eadb952]{background:#d01119}body.?%PAGE?%[data-v-5eadb952]{background:#d01119}',""])},"3ed0":function(t,e,i){"use strict";var n=i("075e"),o=i.n(n);o.a},"42dd":function(t,e,i){"use strict";i.r(e);var n=i("a190"),o=i("a3ba");for(var a in o)"default"!==a&&function(t){i.d(e,t,function(){return o[t]})}(a);i("3ed0");var c,r=i("f0c5"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"5eadb952",null,!1,n["a"],c);e["default"]=s.exports},"54c4":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'.fab-box[data-v-07772d4e]{position:fixed;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;z-index:2}.fab-box.top[data-v-07772d4e]{width:%?70?%;height:%?70?%;right:%?30?%;bottom:%?200?%;border:1px #5989b9 solid;background:#69c;border-radius:%?10?%;color:#fff;-webkit-transition:all .3;transition:all .3;opacity:0}.fab-box.active[data-v-07772d4e]{opacity:1}.fab-box.fab[data-v-07772d4e]{z-index:10}.fab-box.fab.leftBottom[data-v-07772d4e]{left:%?30?%;bottom:%?200?%}.fab-box.fab.leftTop[data-v-07772d4e]{left:%?30?%;top:%?80?%;\ntop:calc(%?80?% + var(--window-top))\n}.fab-box.fab.rightBottom[data-v-07772d4e]{right:%?30?%;bottom:%?200?%}.fab-box.fab.rightTop[data-v-07772d4e]{right:%?30?%;top:%?80?%;\ntop:calc(%?80?% + var(--window-top))\n}.fab-circle[data-v-07772d4e]{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;position:absolute;width:%?70?%;height:%?70?%;background:#3c3e49;border-radius:50%;box-shadow:0 0 5px 2px rgba(0,0,0,.2);z-index:11}.fab-circle.left[data-v-07772d4e]{left:0}.fab-circle.right[data-v-07772d4e]{right:0}.fab-circle.top[data-v-07772d4e]{top:0}.fab-circle.bottom[data-v-07772d4e]{bottom:0}.fab-circle .icon-jia[data-v-07772d4e]{color:#fff;font-size:%?50?%;-webkit-transition:all .3s;transition:all .3s}.fab-circle .icon-jia.active[data-v-07772d4e]{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.fab-content[data-v-07772d4e]{background:#69c;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;border-radius:%?100?%;overflow:hidden;box-shadow:0 0 5px 2px rgba(0,0,0,.1);-webkit-transition:all .2s;transition:all .2s;width:%?70?%}.fab-content.left[data-v-07772d4e]{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.fab-content.right[data-v-07772d4e]{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.fab-content.flexDirection[data-v-07772d4e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.fab-content.flexDirectionStart[data-v-07772d4e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.fab-content.flexDirectionEnd[data-v-07772d4e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.fab-content .fab-item[data-v-07772d4e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:%?70?%;height:%?70?%;font-size:%?24?%;color:#fff;opacity:0;-webkit-transition:opacity .2s;transition:opacity .2s}.fab-content .fab-item.active[data-v-07772d4e]{opacity:1}.fab-content .fab-item .content-image[data-v-07772d4e]{width:%?30?%;height:%?30?%;margin-bottom:%?5?%}.fab-content .fab-item.first[data-v-07772d4e]{width:%?70?%}@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1028200_xhbo4rn58rp.ttf?t=1548214263520) format("truetype")}.icon[data-v-07772d4e]{font-family:iconfont!important;font-size:18px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-jia[data-v-07772d4e]:before{content:"\\E630"}.icon-arrow-up[data-v-07772d4e]:before{content:"\\E603"}',""])},"5bd3":function(t,e,i){"use strict";i.r(e);var n=i("66a0"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,function(){return n[t]})}(a);e["default"]=o.a},"66a0":function(t,e,i){"use strict";var n=i("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("f499")),a=n(i("5176")),c={props:{pattern:{type:Object,default:function(){return{}}},horizontal:{type:String,default:"left"},vertical:{type:String,default:"bottom"},direction:{type:String,default:"horizontal"},content:{type:Array,default:function(){return[]}}},data:function(){return{fabShow:!1,flug:!0,showContent:!1,styles:{color:"#ffffff",selectedColor:"#007AFF",backgroundColor:"#000000",buttonColor:"#000000"}}},created:function(){0===this.top&&(this.fabShow=!0),this.styles=(0,a.default)({},this.styles,this.pattern)},methods:{open:function(){this.showContent=!this.showContent},taps:function(t,e){this.$emit("trigger",{index:t,item:e}),this.showContent=!1},getPosition:function(t,e,i){return 0===t?this.horizontal===e&&this.vertical===i:1===t?this.direction===e&&this.vertical===i:2===t?this.direction===e&&this.horizontal===i:this.showContent&&this.direction===e?this.contentWidth:this.contentWidthMin}},watch:{pattern:function(t,e){console.log((0,o.default)(t)),this.styles=(0,a.default)({},this.styles,t)}},computed:{contentWidth:function(t){return uni.upx2px(70*(this.content.length+1)+20)+"px"},contentWidthMin:function(){return uni.upx2px(70)+"px"},boxWidth:function(){return this.getPosition(3,"horizontal")},boxHeight:function(){return this.getPosition(3,"vertical")},leftBottom:function(){return this.getPosition(0,"left","bottom")},rightBottom:function(){return this.getPosition(0,"right","bottom")},leftTop:function(){return this.getPosition(0,"left","top")},rightTop:function(){return this.getPosition(0,"right","top")},flexDirectionStart:function(){return this.getPosition(1,"vertical","top")},flexDirectionEnd:function(){return this.getPosition(1,"vertical","bottom")},horizontalLeft:function(){return this.getPosition(2,"horizontal","left")},horizontalRight:function(){return this.getPosition(2,"horizontal","right")}}};e.default=c},a190:function(t,e,i){"use strict";var n,o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("uni-fab",{attrs:{pattern:t.pattern,content:t.content,horizontal:t.horizontal,vertical:t.vertical,direction:t.direction},on:{trigger:function(e){arguments[0]=e=t.$handleEvent(e),t.trigger.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"background_img"},[i("v-uni-view",{staticClass:"top_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/assis01.png"}}),i("v-uni-text",[t._v("机会总是留给最有行动力的人")])],1),i("v-uni-view",{staticClass:"top_title_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/assis03.png"}}),i("v-uni-text",[t._v("活动时间:"+t._s(this.activityDate))])],1),i("v-uni-view",{staticClass:"top_button_img"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getAssistanceList.apply(void 0,arguments)}}},[t._v("立即领取")])],1)],1),i("v-uni-view",{staticClass:"content_title_box"},[i("v-uni-view",{class:0==this.isChackBox?"content_title_title content_title_chack_bg":"content_title_title",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoGift.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/assis11.png"}}),i("v-uni-text",[t._v("我的任务")])],1),i("v-uni-view",{class:1==this.isChackBox?"content_title_title content_title_chack_bg":"content_title_title",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoRemark.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/assis12.png"}}),i("v-uni-text",[t._v("活动说明")])],1)],1),0==this.isChackBox?i("v-uni-view",[t._l(t.contentList,function(e,n){return i("v-uni-view",{key:n,staticClass:"content_box"},[i("v-uni-view",{staticClass:"content_box_gift"},[i("v-uni-text",[t._v(t._s(e.helpTaskName))])],1),e.zlHelpNum!=e.helpNum?i("v-uni-view",{staticClass:"content_box_remark font_color_f"},[i("v-uni-text",[t._v(t._s(e.zlHelpNum)+"/"+t._s(e.helpNum))])],1):t._e(),e.zlHelpNum==e.helpNum?i("v-uni-view",{staticClass:"content_box_remark font_color"},[i("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goToGiftList(e.id,e)}}},[t._v("查看详情")])],1):t._e()],1)}),this.contentList.length>0?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("———— 点击加载更多 ————")])],1):t._e(),this.contentList.length<=0?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("暂无领取记录")])],1):t._e()],2):t._e(),1==this.isChackBox?i("v-uni-view",[i("v-uni-view",{staticClass:"remark_box",domProps:{innerHTML:t._s(this.countRemark)}}),""!=this.countRemark?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("———— 已到底 ————")])],1):t._e(),""==this.countRemark?i("v-uni-view",{staticClass:"foot_load"},[i("v-uni-text",[t._v("暂无活动详情")])],1):t._e()],1):t._e(),i("v-uni-view",{staticClass:"foot_receive"},[i("v-uni-text",[t._v("已有"+t._s(this.countNumber)+"人领取了任务")])],1)],1)},a=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return a}),i.d(e,"a",function(){return n})},a3ba:function(t,e,i){"use strict";i.r(e);var n=i("cc8b"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,function(){return n[t]})}(a);e["default"]=o.a},cc8b:function(t,e,i){"use strict";var n=i("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("312c")),a={components:{uniFab:o.default},data:function(){return{helpID:"",isChackBox:!1,activityDate:"",countNumber:"0",countRemark:"",getStorageID:"",getUserID:"",getHelpID:"",contentList:[],horizontal:"right",vertical:"bottom",direction:"horizontal",pattern:{color:"#ffffff",backgroundColor:"#000000",selectedColor:"#FF0000",buttonColor:"#000000"},content:[{text:"首页",active:!1},{text:"助力",active:!1},{text:"我的",active:!1}]}},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.GetList(),this.GetCount()},onShow:function(){},methods:{GetList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/help/act/judge",data:{userId:this.getUserID,storeId:this.getStorageID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(t.activityDate=t.ToDate(e.data.data.beginDate)+" 至 "+t.ToDate(e.data.data.endDate),t.countRemark=e.data.data.remark,t.countNumber=e.data.data.vipActNum,t.getHelpID=e.data.data.id,t.GetMyTaskList()):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},GetMyTaskList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/help/help/user/page",data:{helpId:this.getHelpID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?t.contentList=e.data.data.pageData:console.log(e.data.msg),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},GetCount:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/help/involve/help/act/people/count",data:{helpId:this.getHelpID,storeId:this.getStorageID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.data.countAll),t.countNumber=e.data.data.countAll):console.log(e.data.msg),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},getAssistanceList:function(){uni.navigateTo({url:"/pages/GiftPackage/AssistanceList?helpid="+this.getHelpID+"&stoid="+this.getStorageID+"&userid="+this.getUserID})},gotoGift:function(){this.isChackBox=!1},gotoRemark:function(){this.isChackBox=!0},goToGiftList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=2&stoid="+this.getStorageID+"&userid="+this.getHelpID+"&id="+t})},TimeToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var o=e.getDate();o=o<10?"0"+o:o;var a=e.getHours();a=a<10?"0"+a:a;var c=e.getMinutes();c=c<10?"0"+c:c;var r=e.getSeconds();return r=r<10?"0"+r:r,i+"-"+n+"-"+o+" "+a+":"+c+":"+r},ToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var o=e.getDate();return o=o<10?"0"+o:o,i+"-"+n+"-"+o},DateToTime:function(t){var e=new Date(t);return e.getTime()},trigger:function(t){this.content.map(function(e,i){e.active=i==t.index});0==t.index?window.location.href=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html":1==t.index?uni.navigateTo({url:"../GiftPackage/AssistanceAct?stoid="+this.getStorageID+"&userid="+this.getUserID}):2==t.index&&(window.location.href=this.$GetInfo.HtmlHttp+"/mobile/user/index/stoid/"+this.getStorageID)}}};e.default=a},d292:function(t,e,i){var n=i("54c4");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("44c530c0",n,!0,{sourceMap:!1,shadowMode:!1})},f45d:function(t,e,i){"use strict";var n=i("d292"),o=i.n(n);o.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-AssistanceGiftList.2765cb11.js b/vip/static/js/pages-GiftPackage-AssistanceGiftList.2765cb11.js new file mode 100644 index 0000000..80e27fa --- /dev/null +++ b/vip/static/js/pages-GiftPackage-AssistanceGiftList.2765cb11.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-AssistanceGiftList"],{2777:function(t,e,i){"use strict";var o,a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"fab-box fab",class:{leftBottom:t.leftBottom,rightBottom:t.rightBottom,leftTop:t.leftTop,rightTop:t.rightTop}},[i("v-uni-view",{staticClass:"fab-circle",class:{left:"left"===t.horizontal&&"horizontal"===t.direction,top:"top"===t.vertical&&"vertical"===t.direction,bottom:"bottom"===t.vertical&&"vertical"===t.direction,right:"right"===t.horizontal&&"horizontal"===t.direction},style:{"background-color":t.styles.buttonColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"icon icon-jia",class:{active:t.showContent}})],1),i("v-uni-view",{staticClass:"fab-content",class:{left:"left"===t.horizontal,right:"right"===t.horizontal,flexDirection:"vertical"===t.direction,flexDirectionStart:t.flexDirectionStart,flexDirectionEnd:t.flexDirectionEnd},style:{width:t.boxWidth,height:t.boxHeight,background:t.styles.backgroundColor}},[t.flexDirectionStart||t.horizontalLeft?i("v-uni-view",{staticClass:"fab-item first"}):t._e(),t._l(t.content,function(e,o){return i("v-uni-view",{key:o,staticClass:"fab-item",class:{active:t.showContent},style:{color:e.active?t.styles.selectedColor:t.styles.color},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.taps(o,e)}}},[i("v-uni-text",{staticClass:"text"},[t._v(t._s(e.text))])],1)}),t.flexDirectionEnd||t.horizontalRight?i("v-uni-view",{staticClass:"fab-item first"}):t._e()],2)],1)],1)},n=[];i.d(e,"b",function(){return a}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return o})},3071:function(t,e,i){"use strict";i.r(e);var o=i("5984"),a=i("ebf4");for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);i("c549");var r,f=i("f0c5"),s=Object(f["a"])(a["default"],o["b"],o["c"],!1,null,"f4f8a03e",null,!1,o["a"],r);e["default"]=s.exports},"312c":function(t,e,i){"use strict";i.r(e);var o=i("2777"),a=i("5bd3");for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);i("f45d");var r,f=i("f0c5"),s=Object(f["a"])(a["default"],o["b"],o["c"],!1,null,"07772d4e",null,!1,o["a"],r);e["default"]=s.exports},3607:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-f4f8a03e]{-webkit-align-content:center;align-content:center}.box_top[data-v-f4f8a03e]{width:100%}.box_top uni-image[data-v-f4f8a03e]{width:100%}.box_title[data-v-f4f8a03e]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-f4f8a03e]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-f4f8a03e]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-f4f8a03e]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-f4f8a03e]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-f4f8a03e]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-f4f8a03e]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-f4f8a03e]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-f4f8a03e]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-f4f8a03e]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-f4f8a03e]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-f4f8a03e]{width:100%;height:100%}.box_ware_item[data-v-f4f8a03e]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-f4f8a03e]{font-size:%?28?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-f4f8a03e]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-f4f8a03e]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-f4f8a03e]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-f4f8a03e]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-f4f8a03e]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-f4f8a03e]{font-size:%?20?%}.foot_box[data-v-f4f8a03e]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-f4f8a03e]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-f4f8a03e]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-f4f8a03e]{height:%?90?%}.foot_button[data-v-f4f8a03e]{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_left[data-v-f4f8a03e]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-f4f8a03e]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-f4f8a03e]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_buy_font[data-v-f4f8a03e]{background:#999}.foot_button_intalge[data-v-f4f8a03e]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-f4f8a03e]{background-color:#e85f93}.foot_box_remark[data-v-f4f8a03e] img{width:100%}.foot_box_remark[data-v-f4f8a03e] .img{line-height:0}body.?%PAGE?%[data-v-f4f8a03e]{background-color:#e85f93}',""])},"54c4":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'.fab-box[data-v-07772d4e]{position:fixed;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;z-index:2}.fab-box.top[data-v-07772d4e]{width:%?70?%;height:%?70?%;right:%?30?%;bottom:%?200?%;border:1px #5989b9 solid;background:#69c;border-radius:%?10?%;color:#fff;-webkit-transition:all .3;transition:all .3;opacity:0}.fab-box.active[data-v-07772d4e]{opacity:1}.fab-box.fab[data-v-07772d4e]{z-index:10}.fab-box.fab.leftBottom[data-v-07772d4e]{left:%?30?%;bottom:%?200?%}.fab-box.fab.leftTop[data-v-07772d4e]{left:%?30?%;top:%?80?%;\ntop:calc(%?80?% + var(--window-top))\n}.fab-box.fab.rightBottom[data-v-07772d4e]{right:%?30?%;bottom:%?200?%}.fab-box.fab.rightTop[data-v-07772d4e]{right:%?30?%;top:%?80?%;\ntop:calc(%?80?% + var(--window-top))\n}.fab-circle[data-v-07772d4e]{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;position:absolute;width:%?70?%;height:%?70?%;background:#3c3e49;border-radius:50%;box-shadow:0 0 5px 2px rgba(0,0,0,.2);z-index:11}.fab-circle.left[data-v-07772d4e]{left:0}.fab-circle.right[data-v-07772d4e]{right:0}.fab-circle.top[data-v-07772d4e]{top:0}.fab-circle.bottom[data-v-07772d4e]{bottom:0}.fab-circle .icon-jia[data-v-07772d4e]{color:#fff;font-size:%?50?%;-webkit-transition:all .3s;transition:all .3s}.fab-circle .icon-jia.active[data-v-07772d4e]{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.fab-content[data-v-07772d4e]{background:#69c;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;border-radius:%?100?%;overflow:hidden;box-shadow:0 0 5px 2px rgba(0,0,0,.1);-webkit-transition:all .2s;transition:all .2s;width:%?70?%}.fab-content.left[data-v-07772d4e]{-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.fab-content.right[data-v-07772d4e]{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.fab-content.flexDirection[data-v-07772d4e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.fab-content.flexDirectionStart[data-v-07772d4e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.fab-content.flexDirectionEnd[data-v-07772d4e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.fab-content .fab-item[data-v-07772d4e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:%?70?%;height:%?70?%;font-size:%?24?%;color:#fff;opacity:0;-webkit-transition:opacity .2s;transition:opacity .2s}.fab-content .fab-item.active[data-v-07772d4e]{opacity:1}.fab-content .fab-item .content-image[data-v-07772d4e]{width:%?30?%;height:%?30?%;margin-bottom:%?5?%}.fab-content .fab-item.first[data-v-07772d4e]{width:%?70?%}@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1028200_xhbo4rn58rp.ttf?t=1548214263520) format("truetype")}.icon[data-v-07772d4e]{font-family:iconfont!important;font-size:18px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-jia[data-v-07772d4e]:before{content:"\\E630"}.icon-arrow-up[data-v-07772d4e]:before{content:"\\E603"}',""])},5984:function(t,e,i){"use strict";var o,a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("uni-fab",{attrs:{pattern:t.pattern,content:t.content,horizontal:t.horizontal,vertical:t.vertical,direction:t.direction},on:{trigger:function(e){arguments[0]=e=t.$handleEvent(e),t.trigger.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"box_top"},[i("v-uni-image",{attrs:{src:this.giftImage}})],1),i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"top_title"},[i("v-uni-text",[t._v(t._s(this.giftTitle))])],1),i("v-uni-view",{staticClass:"top_price"},[this.giftPrice>0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[this.giftType>0?i("v-uni-text",[t._v("已领:"+t._s(this.giftQty)+"件")]):t._e(),this.giftType<=0?i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,o){return i("v-uni-view",{key:o,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2),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_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[0==this.isBuy?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetHome.apply(void 0,arguments)}}},[t._v("返回首页")])],1):t._e(),1==this.isBuy?i("v-uni-view",{staticClass:"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("一键全部领取")])],1):t._e()],1)],1)},n=[];i.d(e,"b",function(){return a}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return o})},"5bd3":function(t,e,i){"use strict";i.r(e);var o=i("66a0"),a=i.n(o);for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);e["default"]=a.a},"66a0":function(t,e,i){"use strict";var o=i("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(i("f499")),n=o(i("5176")),r={props:{pattern:{type:Object,default:function(){return{}}},horizontal:{type:String,default:"left"},vertical:{type:String,default:"bottom"},direction:{type:String,default:"horizontal"},content:{type:Array,default:function(){return[]}}},data:function(){return{fabShow:!1,flug:!0,showContent:!1,styles:{color:"#ffffff",selectedColor:"#007AFF",backgroundColor:"#000000",buttonColor:"#000000"}}},created:function(){0===this.top&&(this.fabShow=!0),this.styles=(0,n.default)({},this.styles,this.pattern)},methods:{open:function(){this.showContent=!this.showContent},taps:function(t,e){this.$emit("trigger",{index:t,item:e}),this.showContent=!1},getPosition:function(t,e,i){return 0===t?this.horizontal===e&&this.vertical===i:1===t?this.direction===e&&this.vertical===i:2===t?this.direction===e&&this.horizontal===i:this.showContent&&this.direction===e?this.contentWidth:this.contentWidthMin}},watch:{pattern:function(t,e){console.log((0,a.default)(t)),this.styles=(0,n.default)({},this.styles,t)}},computed:{contentWidth:function(t){return uni.upx2px(70*(this.content.length+1)+20)+"px"},contentWidthMin:function(){return uni.upx2px(70)+"px"},boxWidth:function(){return this.getPosition(3,"horizontal")},boxHeight:function(){return this.getPosition(3,"vertical")},leftBottom:function(){return this.getPosition(0,"left","bottom")},rightBottom:function(){return this.getPosition(0,"right","bottom")},leftTop:function(){return this.getPosition(0,"left","top")},rightTop:function(){return this.getPosition(0,"right","top")},flexDirectionStart:function(){return this.getPosition(1,"vertical","top")},flexDirectionEnd:function(){return this.getPosition(1,"vertical","bottom")},horizontalLeft:function(){return this.getPosition(2,"horizontal","left")},horizontalRight:function(){return this.getPosition(2,"horizontal","right")}}};e.default=r},c549:function(t,e,i){"use strict";var o=i("cbf6"),a=i.n(o);a.a},cbf6:function(t,e,i){var o=i("3607");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("4f06").default;a("5a168da3",o,!0,{sourceMap:!1,shadowMode:!1})},d292:function(t,e,i){var o=i("54c4");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("4f06").default;a("44c530c0",o,!0,{sourceMap:!1,shadowMode:!1})},ebf4:function(t,e,i){"use strict";i.r(e);var o=i("f051"),a=i.n(o);for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);e["default"]=a.a},f051:function(t,e,i){"use strict";var o=i("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a=o(i("312c")),n={components:{uniFab:a.default},data:function(){return{getDate:(new Date).getTime(),isBuy:0,getGiftID:"",getHelpID:"",getStorageID:"",giftImage:"",giftTitle:"",giftDate:"",giftstarTime:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",giftState:"",wareCard:[],horizontal:"right",vertical:"bottom",direction:"horizontal",pattern:{color:"#ffffff",backgroundColor:"#000000",selectedColor:"#FF0000",buttonColor:"#000000"},content:[{text:"首页",active:!1},{text:"助力",active:!1},{text:"我的",active:!1}]}},onLoad:function(t){document.addEventListener("WeixinJSBridgeReady",function(){WeixinJSBridge.call("hideOptionMenu")}),this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getHelpID=t.helpid,this.getGiftID=t.id,this.GetMyGiftList()},onShow:function(){this.giftRemark=this.giftRemark.replace(/

0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[this.giftType>0?i("v-uni-text",[t._v("已领:"+t._s(this.giftQty)+"件")]):t._e(),this.giftType<=0?i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,o){return i("v-uni-view",{key:o,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2),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_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[0==this.isBuy?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetHome.apply(void 0,arguments)}}},[t._v("返回首页")])],1):t._e(),1==this.isBuy?i("v-uni-view",{staticClass:"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("一键全部领取")])],1):t._e()],1)],1)},n=[];i.d(e,"b",function(){return a}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return o})},"9d78":function(t,e,i){"use strict";var o=i("7a65"),a=i.n(o);a.a},d292:function(t,e,i){var o=i("54c4");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("4f06").default;a("44c530c0",o,!0,{sourceMap:!1,shadowMode:!1})},ebf4:function(t,e,i){"use strict";i.r(e);var o=i("f051"),a=i.n(o);for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);e["default"]=a.a},f051:function(t,e,i){"use strict";var o=i("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a=o(i("312c")),n={components:{uniFab:a.default},data:function(){return{getDate:(new Date).getTime(),isBuy:0,getGiftID:"",getHelpID:"",getStorageID:"",giftImage:"",giftTitle:"",giftDate:"",giftstarTime:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",giftState:"",wareCard:[],horizontal:"right",vertical:"bottom",direction:"horizontal",pattern:{color:"#ffffff",backgroundColor:"#000000",selectedColor:"#FF0000",buttonColor:"#000000"},content:[{text:"首页",active:!1},{text:"助力",active:!1},{text:"我的",active:!1}]}},onLoad:function(t){this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getHelpID=t.helpid,this.getGiftID=t.id,this.GetMyGiftList()},onShow:function(){this.giftRemark=this.giftRemark.replace(/

0&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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,t.textTitle=e.data.data.actIntro)):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},"5cee":function(t,e,i){"use strict";var a=i("309e"),o=i.n(a);o.a},a685:function(t,e,i){"use strict";i.r(e);var a=i("37c3"),o=i("1824");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("5cee");var s,c=i("f0c5"),d=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"c03b4fd4",null,!1,a["a"],s);e["default"]=d.exports},e54d: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-c03b4fd4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-c03b4fd4]{width:100%;height:%?690?%}.top[data-v-c03b4fd4]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-c03b4fd4]{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-c03b4fd4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-c03b4fd4]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-c03b4fd4]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-c03b4fd4]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-c03b4fd4]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-c03b4fd4]{float:left;width:64%}.top_item_center_title[data-v-c03b4fd4]{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-c03b4fd4]{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-c03b4fd4]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-c03b4fd4]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-c03b4fd4]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-c03b4fd4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-c03b4fd4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-c03b4fd4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-c03b4fd4]{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-c03b4fd4]{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-c03b4fd4]{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-c03b4fd4]{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-c03b4fd4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-c03b4fd4]{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}.top_card_counte uni-text[data-v-c03b4fd4]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-c03b4fd4]{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}.top_card_remak uni-text[data-v-c03b4fd4]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-c03b4fd4]{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}.top_card_number uni-text[data-v-c03b4fd4]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-c03b4fd4]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-c03b4fd4]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-c03b4fd4]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-c03b4fd4]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-c03b4fd4]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-c03b4fd4]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-c03b4fd4]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-c03b4fd4]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-c03b4fd4]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-c03b4fd4]{height:%?90?%}.foot_button[data-v-c03b4fd4]{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-c03b4fd4]{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-c03b4fd4]{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-c03b4fd4]{background-color:#9be0e5}uni-button[data-v-c03b4fd4]:after{border:none}.foot_box_text[data-v-c03b4fd4] img{width:100%}.foot_box_text[data-v-c03b4fd4] .img{line-height:0}body.?%PAGE?%[data-v-c03b4fd4]{background-color:#9be0e5}',""])}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-BirthdayGift.b2e668ff.js b/vip/static/js/pages-GiftPackage-BirthdayGift.b2e668ff.js new file mode 100644 index 0000000..2d4e718 --- /dev/null +++ b/vip/static/js/pages-GiftPackage-BirthdayGift.b2e668ff.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{"0d40":function(t,e,i){var a=i("2715");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("66afdfcc",a,!0,{sourceMap:!1,shadowMode:!1})},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},2715: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-3c2a987c]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-3c2a987c]{width:100%;height:%?690?%}.top[data-v-3c2a987c]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-3c2a987c]{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-3c2a987c]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-3c2a987c]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-3c2a987c]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-3c2a987c]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-3c2a987c]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-3c2a987c]{float:left;width:64%}.top_item_center_title[data-v-3c2a987c]{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-3c2a987c]{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-3c2a987c]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-3c2a987c]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-3c2a987c]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-3c2a987c]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-3c2a987c]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-3c2a987c]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-3c2a987c]{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-3c2a987c]{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-3c2a987c]{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-3c2a987c]{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-3c2a987c]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-3c2a987c]{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}.top_card_counte uni-text[data-v-3c2a987c]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-3c2a987c]{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}.top_card_remak uni-text[data-v-3c2a987c]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-3c2a987c]{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}.top_card_number uni-text[data-v-3c2a987c]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-3c2a987c]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-3c2a987c]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-3c2a987c]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-3c2a987c]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-3c2a987c]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-3c2a987c]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-3c2a987c]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-3c2a987c]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-3c2a987c]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-3c2a987c]{height:%?90?%}.foot_button[data-v-3c2a987c]{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-3c2a987c]{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-3c2a987c]{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-3c2a987c]{background-color:#9be0e5}uni-button[data-v-3c2a987c]:after{border:none}.foot_box_text[data-v-3c2a987c] img{width:100%}.foot_box_text[data-v-3c2a987c] .img{line-height:0}body.?%PAGE?%[data-v-3c2a987c]{background-color:#9be0e5}',""])},"586e":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){document.addEventListener("WeixinJSBridgeReady",function(){WeixinJSBridge.call("hideOptionMenu")}),this.getActId=t.actId,this.getActType=t.actType,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){""==this.textTitle?this.textTitle="暂无详情......":this.textTitle=this.textTitle.replace(/

0&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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,t.textTitle=e.data.data.actIntro)):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},a685:function(t,e,i){"use strict";i.r(e);var a=i("acf5"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("e75b");var c,s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"3c2a987c",null,!1,a["a"],c);e["default"]=r.exports},acf5: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||null==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),"1"!=e.isPack||null==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v(t._s(e.sum)+"元券")])],1):t._e(),"1"==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v("包邮券")])],1):t._e(),i("v-uni-view",{staticClass:"top_card_remak"},[0==e.buySum||null==e.buySum?i("v-uni-text",[t._v("满0元可以用")]):t._e(),e.buySum>0?i("v-uni-text",[t._v("满"+t._s(e.buySum)+"元可以用")]):t._e()],1),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/integral.png"}}),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/growup.png"}}),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})},e75b:function(t,e,i){"use strict";var a=i("0d40"),n=i.n(a);n.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-EvaluateGift.02e0f9af.js b/vip/static/js/pages-GiftPackage-EvaluateGift.02e0f9af.js deleted file mode 100644 index 568cb81..0000000 --- a/vip/static/js/pages-GiftPackage-EvaluateGift.02e0f9af.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("7568"),o=i("1d95");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("6525");var s,r=i("f0c5"),d=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"50954866",null,!1,a["a"],s);e["default"]=d.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("7a85"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"42e2":function(t,e,i){var a=i("d3e8");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("ba150b46",a,!0,{sourceMap:!1,shadowMode:!1})},6525:function(t,e,i){"use strict";var a=i("42e2"),o=i.n(a);o.a},7568:function(t,e,i){"use strict";var a,o=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||null==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),"1"!=e.isPack||null==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v(t._s(e.sum)+"元券")])],1):t._e(),"1"==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v("包邮券")])],1):t._e(),i("v-uni-view",{staticClass:"top_card_remak"},[0==e.buySum||null==e.buySum?i("v-uni-text",[t._v("满0元可以用")]):t._e(),e.buySum>0?i("v-uni-text",[t._v("满"+t._s(e.buySum)+"元可以用")]):t._e()],1),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/integral.png"}}),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/growup.png"}}),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)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})},"7a85":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:"",getOrderType:"",getOrderNumber:"",getOrderGoodsId:"",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.getOrderType=t.orderType,this.getOrderNumber=t.orderNumber,this.getOrderGoodsId=t.orderGoodsId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/

0&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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,t.textTitle=e.data.data.actIntro)):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},d3e8: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-50954866]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-50954866]{width:100%;height:%?690?%}.top[data-v-50954866]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-50954866]{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-50954866]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-50954866]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-50954866]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-50954866]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-50954866]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-50954866]{float:left;width:64%}.top_item_center_title[data-v-50954866]{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-50954866]{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-50954866]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-50954866]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-50954866]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-50954866]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-50954866]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-50954866]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-50954866]{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-50954866]{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-50954866]{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-50954866]{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-50954866]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-50954866]{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}.top_card_counte uni-text[data-v-50954866]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-50954866]{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}.top_card_remak uni-text[data-v-50954866]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-50954866]{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}.top_card_number uni-text[data-v-50954866]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-50954866]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-50954866]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-50954866]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-50954866]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-50954866]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-50954866]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-50954866]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-50954866]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-50954866]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-50954866]{height:%?90?%}.foot_button[data-v-50954866]{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-50954866]{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-50954866]{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-50954866]{background-color:#4784ef}uni-button[data-v-50954866]:after{border:none}.foot_box_text[data-v-50954866] img{width:100%}.foot_box_text[data-v-50954866] .img{line-height:0}body.?%PAGE?%[data-v-50954866]{background-color:#4784ef}',""])}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-EvaluateGift.36227f43.js b/vip/static/js/pages-GiftPackage-EvaluateGift.36227f43.js new file mode 100644 index 0000000..bc93808 --- /dev/null +++ b/vip/static/js/pages-GiftPackage-EvaluateGift.36227f43.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,i){"use strict";i.r(e);var a=i("907f"),o=i("1d95");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("77fb");var s,r=i("f0c5"),d=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"095e1e32",null,!1,a["a"],s);e["default"]=d.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("7a85"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"323c":function(t,e,i){var a=i("85c2");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("0a00e3ae",a,!0,{sourceMap:!1,shadowMode:!1})},"77fb":function(t,e,i){"use strict";var a=i("323c"),o=i.n(a);o.a},"7a85":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:"",getOrderType:"",getOrderNumber:"",getOrderGoodsId:"",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){document.addEventListener("WeixinJSBridgeReady",function(){WeixinJSBridge.call("hideOptionMenu")}),this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.getOrderType=t.orderType,this.getOrderNumber=t.orderNumber,this.getOrderGoodsId=t.orderGoodsId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/

0&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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,t.textTitle=e.data.data.actIntro)):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},"85c2":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-095e1e32]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-095e1e32]{width:100%;height:%?690?%}.top[data-v-095e1e32]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-095e1e32]{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-095e1e32]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-095e1e32]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-095e1e32]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-095e1e32]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-095e1e32]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-095e1e32]{float:left;width:64%}.top_item_center_title[data-v-095e1e32]{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-095e1e32]{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-095e1e32]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-095e1e32]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-095e1e32]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-095e1e32]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-095e1e32]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-095e1e32]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-095e1e32]{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-095e1e32]{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-095e1e32]{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-095e1e32]{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-095e1e32]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-095e1e32]{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}.top_card_counte uni-text[data-v-095e1e32]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-095e1e32]{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}.top_card_remak uni-text[data-v-095e1e32]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-095e1e32]{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}.top_card_number uni-text[data-v-095e1e32]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-095e1e32]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-095e1e32]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-095e1e32]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-095e1e32]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-095e1e32]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-095e1e32]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-095e1e32]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-095e1e32]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-095e1e32]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-095e1e32]{height:%?90?%}.foot_button[data-v-095e1e32]{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-095e1e32]{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-095e1e32]{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-095e1e32]{background-color:#4784ef}uni-button[data-v-095e1e32]:after{border:none}.foot_box_text[data-v-095e1e32] img{width:100%}.foot_box_text[data-v-095e1e32] .img{line-height:0}body.?%PAGE?%[data-v-095e1e32]{background-color:#4784ef}',""])},"907f":function(t,e,i){"use strict";var a,o=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||null==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),"1"!=e.isPack||null==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v(t._s(e.sum)+"元券")])],1):t._e(),"1"==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v("包邮券")])],1):t._e(),i("v-uni-view",{staticClass:"top_card_remak"},[0==e.buySum||null==e.buySum?i("v-uni-text",[t._v("满0元可以用")]):t._e(),e.buySum>0?i("v-uni-text",[t._v("满"+t._s(e.buySum)+"元可以用")]):t._e()],1),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/integral.png"}}),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/growup.png"}}),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)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-HolidayGift.011a9430.js b/vip/static/js/pages-GiftPackage-HolidayGift.011a9430.js new file mode 100644 index 0000000..e41310e --- /dev/null +++ b/vip/static/js/pages-GiftPackage-HolidayGift.011a9430.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-HolidayGift"],{"07bd":function(t,e,i){"use strict";var a,o=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:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/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||null==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),"1"!=e.isPack||null==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v(t._s(e.sum)+"元券")])],1):t._e(),"1"==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v("包邮券")])],1):t._e(),i("v-uni-view",{staticClass:"top_card_remak"},[0==e.buySum||null==e.buySum?i("v-uni-text",[t._v("满0元可以用")]):t._e(),e.buySum>0?i("v-uni-text",[t._v("满"+t._s(e.buySum)+"元可以用")]):t._e()],1),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/integral.png"}}),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/growup.png"}}),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)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})},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){document.addEventListener("WeixinJSBridgeReady",function(){WeixinJSBridge.call("hideOptionMenu")}),this.getActId=t.actId,this.getActType=t.actType,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/

0&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},"6f71":function(t,e,i){var a=i("f558");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("bf930ed4",a,!0,{sourceMap:!1,shadowMode:!1})},"84a3":function(t,e,i){"use strict";i.r(e);var a=i("1284"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},a444:function(t,e,i){"use strict";i.r(e);var a=i("07bd"),o=i("84a3");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("c3dc");var s,d=i("f0c5"),r=Object(d["a"])(o["default"],a["b"],a["c"],!1,null,"1d50aeb2",null,!1,a["a"],s);e["default"]=r.exports},c3dc:function(t,e,i){"use strict";var a=i("6f71"),o=i.n(a);o.a},f558: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-1d50aeb2]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-1d50aeb2]{width:100%;height:%?690?%}.top[data-v-1d50aeb2]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-1d50aeb2]{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-1d50aeb2]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_item[data-v-1d50aeb2]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-1d50aeb2]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-1d50aeb2]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-1d50aeb2]{float:left;width:64%}.top_item_center_title[data-v-1d50aeb2]{font-size:%?35?%;color:#fb6451;-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-1d50aeb2]{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_card[data-v-1d50aeb2]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-1d50aeb2]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-1d50aeb2]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-1d50aeb2]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-1d50aeb2]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-1d50aeb2]{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-1d50aeb2]{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-1d50aeb2]{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-1d50aeb2]{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-1d50aeb2]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-1d50aeb2]{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}.top_card_counte uni-text[data-v-1d50aeb2]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-1d50aeb2]{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}.top_card_remak uni-text[data-v-1d50aeb2]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-1d50aeb2]{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}.top_card_number uni-text[data-v-1d50aeb2]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-1d50aeb2]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-1d50aeb2]{height:%?216?%;width:100%}.foot_box[data-v-1d50aeb2]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-1d50aeb2]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-1d50aeb2]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-1d50aeb2]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button_text[data-v-1d50aeb2]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-1d50aeb2]{height:%?90?%}.foot_button[data-v-1d50aeb2]{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_notbuy[data-v-1d50aeb2]{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-1d50aeb2]{background-color:#ffb72d}uni-button[data-v-1d50aeb2]:after{border:none}.top_box_text uni-text[data-v-1d50aeb2]{color:#ffb72d;font-size:%?40?%}.top_item_center_title uni-text[data-v-1d50aeb2]{color:#ffb72d}.button[data-v-1d50aeb2]{margin:0 %?30?%;background:#ffdb97;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.top_item_number[data-v-1d50aeb2]{float:right;font-size:%?25?%;color:#ffb72d;padding-right:%?10?%}.top_box_image uni-button[data-v-1d50aeb2]{margin:%?15?% %?95?% %?0?% %?95?%;background:#ffb72d;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_button_buy[data-v-1d50aeb2]{background:#ffb72d;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_box_text[data-v-1d50aeb2] img{width:100%}.foot_box_text[data-v-1d50aeb2] .img{line-height:0}body.?%PAGE?%[data-v-1d50aeb2]{background-color:#ffb72d}',""])}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-HolidayGift.90dc3f46.js b/vip/static/js/pages-GiftPackage-HolidayGift.90dc3f46.js deleted file mode 100644 index 29f493d..0000000 --- a/vip/static/js/pages-GiftPackage-HolidayGift.90dc3f46.js +++ /dev/null @@ -1 +0,0 @@ -(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.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/

0&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},4177:function(t,e,i){var a=i("9782");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("065a34b2",a,!0,{sourceMap:!1,shadowMode:!1})},"6cdc":function(t,e,i){"use strict";var a=i("4177"),o=i.n(a);o.a},"84a3":function(t,e,i){"use strict";i.r(e);var a=i("1284"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},9782: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-186b2b47]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-186b2b47]{width:100%;height:%?690?%}.top[data-v-186b2b47]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-186b2b47]{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-186b2b47]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_item[data-v-186b2b47]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-186b2b47]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-186b2b47]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-186b2b47]{float:left;width:64%}.top_item_center_title[data-v-186b2b47]{font-size:%?35?%;color:#fb6451;-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-186b2b47]{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_card[data-v-186b2b47]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-186b2b47]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-186b2b47]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-186b2b47]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-186b2b47]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-186b2b47]{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-186b2b47]{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-186b2b47]{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-186b2b47]{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-186b2b47]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-186b2b47]{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}.top_card_counte uni-text[data-v-186b2b47]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-186b2b47]{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}.top_card_remak uni-text[data-v-186b2b47]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-186b2b47]{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}.top_card_number uni-text[data-v-186b2b47]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-186b2b47]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-186b2b47]{height:%?216?%;width:100%}.foot_box[data-v-186b2b47]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-186b2b47]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-186b2b47]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-186b2b47]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button_text[data-v-186b2b47]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-186b2b47]{height:%?90?%}.foot_button[data-v-186b2b47]{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_notbuy[data-v-186b2b47]{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-186b2b47]{background-color:#ffb72d}uni-button[data-v-186b2b47]:after{border:none}.top_box_text uni-text[data-v-186b2b47]{color:#ffb72d;font-size:%?40?%}.top_item_center_title uni-text[data-v-186b2b47]{color:#ffb72d}.button[data-v-186b2b47]{margin:0 %?30?%;background:#ffdb97;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.top_item_number[data-v-186b2b47]{float:right;font-size:%?25?%;color:#ffb72d;padding-right:%?10?%}.top_box_image uni-button[data-v-186b2b47]{margin:%?15?% %?95?% %?0?% %?95?%;background:#ffb72d;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_button_buy[data-v-186b2b47]{background:#ffb72d;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_box_text[data-v-186b2b47] img{width:100%}.foot_box_text[data-v-186b2b47] .img{line-height:0}body.?%PAGE?%[data-v-186b2b47]{background-color:#ffb72d}',""])},a444:function(t,e,i){"use strict";i.r(e);var a=i("dd06"),o=i("84a3");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("6cdc");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"186b2b47",null,!1,a["a"],s);e["default"]=c.exports},dd06:function(t,e,i){"use strict";var a,o=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:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/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||null==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||null==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/integral.png"}}),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/growup.png"}}),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)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-NewVipGift.676b265a.js b/vip/static/js/pages-GiftPackage-NewVipGift.676b265a.js deleted file mode 100644 index 70d1b70..0000000 --- a/vip/static/js/pages-GiftPackage-NewVipGift.676b265a.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{"0435":function(t,e,i){var a=i("4954");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("1a54eef8",a,!0,{sourceMap:!1,shadowMode:!1})},"0a4e":function(t,e,i){"use strict";var a=i("0435"),o=i.n(a);o.a},2583: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.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},4954: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-776c1e89]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-776c1e89]{width:100%;height:%?690?%}.top[data-v-776c1e89]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-776c1e89]{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-776c1e89]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-776c1e89]{color:#fb6451;font-size:%?40?%}.top_item[data-v-776c1e89]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-776c1e89]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-776c1e89]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-776c1e89]{float:left;width:64%}.top_item_center_title[data-v-776c1e89]{font-size:%?35?%;color:#fb6451;-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-776c1e89]{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-776c1e89]{float:right;font-size:%?25?%;color:#e4010c;padding-right:%?10?%}.top_card[data-v-776c1e89]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-776c1e89]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-776c1e89]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-776c1e89]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-776c1e89]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-776c1e89]{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-776c1e89]{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-776c1e89]{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-776c1e89]{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-776c1e89]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-776c1e89]{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}.top_card_counte uni-text[data-v-776c1e89]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-776c1e89]{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}.top_card_remak uni-text[data-v-776c1e89]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-776c1e89]{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}.top_card_number uni-text[data-v-776c1e89]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-776c1e89]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-776c1e89]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-776c1e89]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-776c1e89]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-776c1e89]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-776c1e89]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-776c1e89]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-776c1e89]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-776c1e89]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-776c1e89]{height:%?90?%}.foot_button[data-v-776c1e89]{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-776c1e89]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-776c1e89]{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-776c1e89]{background-color:#fb6451}uni-button[data-v-776c1e89]:after{border:none}.foot_box_text[data-v-776c1e89] img{width:100%}.foot_box_text[data-v-776c1e89] .img{line-height:0}body.?%PAGE?%[data-v-776c1e89]{background-color:#fb6451}',""])},8167:function(t,e,i){"use strict";i.r(e);var a=i("2583"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},a5ed:function(t,e,i){"use strict";var a,o=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:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip00.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/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.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||null==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||null==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/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.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/integral.png"}}),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/growup.png"}}),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)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})},be2b:function(t,e,i){"use strict";i.r(e);var a=i("a5ed"),o=i("8167");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("0a4e");var s,c=i("f0c5"),r=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"776c1e89",null,!1,a["a"],s);e["default"]=r.exports}}]); \ No newline at end of file diff --git a/vip/static/js/pages-GiftPackage-NewVipGift.7eb987d6.js b/vip/static/js/pages-GiftPackage-NewVipGift.7eb987d6.js new file mode 100644 index 0000000..d473600 --- /dev/null +++ b/vip/static/js/pages-GiftPackage-NewVipGift.7eb987d6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{"134a":function(t,e,i){var a=i("ad9a");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("3d332fbf",a,!0,{sourceMap:!1,shadowMode:!1})},2583: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){document.addEventListener("WeixinJSBridgeReady",function(){WeixinJSBridge.call("hideOptionMenu")}),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.cardShow=!0,t.cards=e.data.data.lbCoupons),e.data.data.lbSM.length>0&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>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),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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.showLoading({title:"加载中",mask:!0}),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})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},"52a3":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:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip00.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/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.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||null==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),"1"!=e.isPack||null==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v(t._s(e.sum)+"元券")])],1):t._e(),"1"==e.isPack?i("v-uni-view",{staticClass:"top_card_counte"},[i("v-uni-text",[t._v("包邮券")])],1):t._e(),i("v-uni-view",{staticClass:"top_card_remak"},[0==e.buySum||null==e.buySum?i("v-uni-text",[t._v("满0元可以用")]):t._e(),e.buySum>0?i("v-uni-text",[t._v("满"+t._s(e.buySum)+"元可以用")]):t._e()],1),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/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.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/integral.png"}}),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/growup.png"}}),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})},"5f5d":function(t,e,i){"use strict";var a=i("134a"),n=i.n(a);n.a},8167:function(t,e,i){"use strict";i.r(e);var a=i("2583"),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},ad9a: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-144161df]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-144161df]{width:100%;height:%?690?%}.top[data-v-144161df]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-144161df]{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-144161df]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-144161df]{color:#fb6451;font-size:%?40?%}.top_item[data-v-144161df]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-144161df]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-144161df]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-144161df]{float:left;width:64%}.top_item_center_title[data-v-144161df]{font-size:%?35?%;color:#fb6451;-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-144161df]{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-144161df]{float:right;font-size:%?25?%;color:#e4010c;padding-right:%?10?%}.top_card[data-v-144161df]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-144161df]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-144161df]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-144161df]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-144161df]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-144161df]{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-144161df]{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-144161df]{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-144161df]{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-144161df]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-144161df]{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}.top_card_counte uni-text[data-v-144161df]{color:#fff;font-size:%?40?%;line-height:%?60?%}.top_card_remak[data-v-144161df]{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}.top_card_remak uni-text[data-v-144161df]{font-size:%?20?%;color:#fff;line-height:%?35?%}.top_card_number[data-v-144161df]{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}.top_card_number uni-text[data-v-144161df]{font-size:%?20?%;color:#fff;line-height:%?25?%}.top_box_image[data-v-144161df]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-144161df]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-144161df]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-144161df]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-144161df]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-144161df]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-144161df]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-144161df]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-144161df]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-144161df]{height:%?90?%}.foot_button[data-v-144161df]{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-144161df]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-144161df]{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-144161df]{background-color:#fb6451}uni-button[data-v-144161df]:after{border:none}.foot_box_text[data-v-144161df] img{width:100%}.foot_box_text[data-v-144161df] .img{line-height:0}body.?%PAGE?%[data-v-144161df]{background-color:#fb6451}',""])},be2b:function(t,e,i){"use strict";i.r(e);var a=i("52a3"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("5f5d");var s,d=i("f0c5"),r=Object(d["a"])(n["default"],a["b"],a["c"],!1,null,"144161df",null,!1,a["a"],s);e["default"]=r.exports}}]); \ No newline at end of file diff --git a/vip/static/js/pages-Login-index.18038c93.js b/vip/static/js/pages-Login-index.18038c93.js new file mode 100644 index 0000000..d5e34e7 --- /dev/null +++ b/vip/static/js/pages-Login-index.18038c93.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{2740:function(t,i,n){"use strict";n.r(i);var a=n("a8c9"),e=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(i,t,function(){return a[t]})}(o);i["default"]=e.a},8048:function(t,i,n){i=t.exports=n("2350")(!1),i.push([t.i,".fist_box[data-v-240696dc]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?40?%}.fist_box uni-text[data-v-240696dc]{font-size:%?40?%}",""])},"84db":function(t,i,n){"use strict";var a=n("b3d3"),e=n.n(a);e.a},a8c9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{NewVip:function(){uni.navigateTo({url:"../GiftPackage/NewVipGift?actId=13&actType=3&giftBagId=80&storeId=1&userId=1433390"})},Birthday:function(){uni.navigateTo({url:"../GiftPackage/BirthdayGift?actId=13&actType=3&giftBagId=30&storeId=1&userId=1433390"})},Evaluate:function(){uni.navigateTo({url:"../GiftPackage/EvaluateGift?actId=13&actType=3&giftBagId=30&storeId=1&userId=1433390&orderNumber=1006561&orderType=1&orderGoodsId=000"})},Holiday:function(){uni.navigateTo({url:"../GiftPackage/HolidayGift?actId=13&actType=3&storeId=1&userId=1433390"})},Assistance:function(){uni.navigateTo({url:"../GiftPackage/AssistanceAct?stoid=1&userid=5682278"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})}}};i.default=a},b3d3:function(t,i,n){var a=n("8048");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var e=n("4f06").default;e("551df82f",a,!0,{sourceMap:!1,shadowMode:!1})},ba928:function(t,i,n){"use strict";var a,e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",[n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.NewVip.apply(void 0,arguments)}}},[t._v("新人有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Birthday.apply(void 0,arguments)}}},[t._v("生日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Evaluate.apply(void 0,arguments)}}},[t._v("评价有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Holiday.apply(void 0,arguments)}}},[t._v("节日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Assistance.apply(void 0,arguments)}}},[t._v("助力活动")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.MyGiftPack.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1)},o=[];n.d(i,"b",function(){return e}),n.d(i,"c",function(){return o}),n.d(i,"a",function(){return a})},d58b:function(t,i,n){"use strict";n.r(i);var a=n("ba928"),e=n("2740");for(var o in e)"default"!==o&&function(t){n.d(i,t,function(){return e[t]})}(o);n("84db");var c,u=n("f0c5"),s=Object(u["a"])(e["default"],a["b"],a["c"],!1,null,"240696dc",null,!1,a["a"],c);i["default"]=s.exports}}]); \ No newline at end of file diff --git a/vip/static/js/pages-Login-index.281ac0b3.js b/vip/static/js/pages-Login-index.281ac0b3.js deleted file mode 100644 index 8c63268..0000000 --- a/vip/static/js/pages-Login-index.281ac0b3.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{2162:function(t,i,n){"use strict";var e,a=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",[n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.NewVip.apply(void 0,arguments)}}},[t._v("新人有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Birthday.apply(void 0,arguments)}}},[t._v("生日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Evaluate.apply(void 0,arguments)}}},[t._v("评价有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Holiday.apply(void 0,arguments)}}},[t._v("节日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.Assistance.apply(void 0,arguments)}}},[t._v("助力活动")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.MyGiftPack.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1)},c=[];n.d(i,"b",function(){return a}),n.d(i,"c",function(){return c}),n.d(i,"a",function(){return e})},2740:function(t,i,n){"use strict";n.r(i);var e=n("a8c9"),a=n.n(e);for(var c in e)"default"!==c&&function(t){n.d(i,t,function(){return e[t]})}(c);i["default"]=a.a},"43ad":function(t,i,n){var e=n("75c6");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("4f06").default;a("b7df6c24",e,!0,{sourceMap:!1,shadowMode:!1})},"75c6":function(t,i,n){i=t.exports=n("2350")(!1),i.push([t.i,".fist_box[data-v-77bcbefe]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?40?%}.fist_box uni-text[data-v-77bcbefe]{font-size:%?40?%}",""])},a8c9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{NewVip:function(){uni.navigateTo({url:"../GiftPackage/NewVipGift?actId=13&actType=3&giftBagId=80&storeId=1&userId=1433390"})},Birthday:function(){uni.navigateTo({url:"../GiftPackage/BirthdayGift?actId=13&actType=3&giftBagId=30&storeId=1&userId=1433390"})},Evaluate:function(){uni.navigateTo({url:"../GiftPackage/EvaluateGift?actId=13&actType=3&giftBagId=30&storeId=1&userId=1433390&orderNumber=1006561&orderType=1&orderGoodsId=000"})},Holiday:function(){uni.navigateTo({url:"../GiftPackage/HolidayGift?actId=13&actType=3&storeId=1&userId=1433390"})},Assistance:function(){uni.navigateTo({url:"../GiftPackage/AssistanceAct?stoid=1&userid=5682278"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})}}};i.default=e},d58b:function(t,i,n){"use strict";n.r(i);var e=n("2162"),a=n("2740");for(var c in a)"default"!==c&&function(t){n.d(i,t,function(){return a[t]})}(c);n("d5e9");var o,u=n("f0c5"),s=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,"77bcbefe",null,!1,e["a"],o);i["default"]=s.exports},d5e9:function(t,i,n){"use strict";var e=n("43ad"),a=n.n(e);a.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-MyGiftPack-GiftPackBuy.831b79c3.js b/vip/static/js/pages-MyGiftPack-GiftPackBuy.831b79c3.js deleted file mode 100644 index 52cb8a1..0000000 --- a/vip/static/js/pages-MyGiftPack-GiftPackBuy.831b79c3.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackBuy"],{"0203":function(t,e,n){"use strict";n.r(e);var i=n("2730"),o=n("89bc");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("614e");var r,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"0c6e2058",null,!1,i["a"],r);e["default"]=s.exports},"0548":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */uni-page-body[data-v-0c6e2058]{background-color:#fb7454}.top_img[data-v-0c6e2058]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-0c6e2058]{width:100%}.top_title[data-v-0c6e2058]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-0c6e2058]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-0c6e2058]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-0c6e2058]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-0c6e2058]{font-size:%?30?%;color:#000}.content_box[data-v-0c6e2058]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-0c6e2058]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-0c6e2058]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-0c6e2058]{width:100%;height:%?230?%}.content_box_title[data-v-0c6e2058]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-0c6e2058]{font-size:%?30?%;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/** 隐藏超出的内容 **/}.content_ware_type[data-v-0c6e2058]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-0c6e2058]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-0c6e2058]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-0c6e2058]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;position:relative}.box_button_remark[data-v-0c6e2058]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-0c6e2058]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-0c6e2058]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-0c6e2058]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-0c6e2058]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-0c6e2058]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-0c6e2058]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-0c6e2058]{font-size:%?25?%;color:#fff}.foot_empty[data-v-0c6e2058]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-0c6e2058]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-0c6e2058]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-0c6e2058]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-0c6e2058]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-0c6e2058]{background-color:#fb7454}',""])},"0e8a":function(t,e,n){var i=n("0548");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("6da7f548",i,!0,{sourceMap:!1,shadowMode:!1})},2730:function(t,e,n){"use strict";var i,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGift.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,i){return n("v-uni-view",{key:i,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.lbId,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}})],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.lbId,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),e.payMoney>0&&e.payIntegral>0?n("v-uni-text",[t._v("/")]):t._e(),e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[n("v-uni-text",[t._v("活动结束时间:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-view",{staticClass:"box_button_remark"},[n("v-uni-text",[t._v("已售:"+t._s(e.giftQty)+"件")])],1),e.payMoney>0?n("v-uni-view",{class:e.payMoney>0&e.payIntegral>0?"box_button_dui":"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),e.payIntegral>0?n("v-uni-view",{class:(e.payMoney,e.payIntegral,"box_button_buy")},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_dui"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e()],1)],1)}),1==this.isEmpty?n("v-uni-view",{staticClass:"foot_empty"},[n("v-uni-view",[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift07.png"}})],1),n("v-uni-view",[n("v-uni-text",[t._v("当前暂无礼包")])],1),n("v-uni-view",{staticClass:"foot_empty_button"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},a=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i})},"3a9c":function(t,e,n){"use strict";var i,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},a=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i})},"614e":function(t,e,n){"use strict";var i=n("0e8a"),o=n.n(i);o.a},6447:function(t,e,n){var i=n("7bf1");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("e8132bde",i,!0,{sourceMap:!1,shadowMode:!1})},"793c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=i},"7bf1":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"89bc":function(t,e,n){"use strict";n.r(e);var i=n("acf7"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,function(){return i[t]})}(a);e["default"]=o.a},"8b7c":function(t,e,n){"use strict";n.r(e);var i=n("3a9c"),o=n("aea3");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("a66d");var r,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"9a2b4550",null,!1,i["a"],r);e["default"]=s.exports},a66d:function(t,e,n){"use strict";var i=n("6447"),o=n.n(i);o.a},acf7:function(t,e,n){"use strict";var i=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("8b7c")),a={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:o.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onShow:function(){},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{MyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/MyGiftPack?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=1&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},GetBuyPrice:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID,buyFrom:"1"},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),console.log(n.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+n.getStorageID+"/order_sn/"+t.data.data.orderSn),window.location.href=n.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+n.getStorageID+"&order_sn="+t.data.data.orderSn+"&recharge_type=6"):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},getList:function(){var t=this;if(0!=t.loadingType)return!1;t.loadingType=1,uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/page",data:{storeId:t.getStorageID,userId:t.getUserID,page:t.page,pageSize:t.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{for(var n=0;n0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),e.payMoney>0&&e.payIntegral>0?n("v-uni-text",[t._v("/")]):t._e(),e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[n("v-uni-text",[t._v("活动结束时间:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-view",{staticClass:"box_button_remark"},[n("v-uni-text",[t._v("已售:"+t._s(e.giftQty)+"件")])],1),e.payMoney>0?n("v-uni-view",{class:e.payMoney>0&e.payIntegral>0?"box_button_dui":"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),e.payIntegral>0?n("v-uni-view",{class:(e.payMoney,e.payIntegral,"box_button_buy")},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_dui"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e()],1)],1)}),1==this.isEmpty?n("v-uni-view",{staticClass:"foot_empty"},[n("v-uni-view",[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift07.png"}})],1),n("v-uni-view",[n("v-uni-text",[t._v("当前暂无礼包")])],1),n("v-uni-view",{staticClass:"foot_empty_button"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},a=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i})},"361d":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */uni-page-body[data-v-7c54c6e0]{background-color:#fb7454}.top_img[data-v-7c54c6e0]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-7c54c6e0]{width:100%}.top_title[data-v-7c54c6e0]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-7c54c6e0]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-7c54c6e0]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-7c54c6e0]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-7c54c6e0]{font-size:%?30?%;color:#000}.content_box[data-v-7c54c6e0]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-7c54c6e0]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-7c54c6e0]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-7c54c6e0]{width:100%;height:%?230?%}.content_box_title[data-v-7c54c6e0]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-7c54c6e0]{font-size:%?30?%;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/** 隐藏超出的内容 **/}.content_ware_type[data-v-7c54c6e0]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-7c54c6e0]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-7c54c6e0]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-7c54c6e0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;position:relative}.box_button_remark[data-v-7c54c6e0]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-7c54c6e0]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-7c54c6e0]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-7c54c6e0]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-7c54c6e0]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-7c54c6e0]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-7c54c6e0]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-7c54c6e0]{font-size:%?25?%;color:#fff}.foot_empty[data-v-7c54c6e0]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-7c54c6e0]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-7c54c6e0]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-7c54c6e0]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-7c54c6e0]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-7c54c6e0]{background-color:#fb7454}',""])},"3a9c":function(t,e,n){"use strict";var i,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},a=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i})},4841:function(t,e,n){"use strict";var i=n("c61e"),o=n.n(i);o.a},6447:function(t,e,n){var i=n("7bf1");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("e8132bde",i,!0,{sourceMap:!1,shadowMode:!1})},"793c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=i},"7bf1":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"89bc":function(t,e,n){"use strict";n.r(e);var i=n("acf7"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,function(){return i[t]})}(a);e["default"]=o.a},"8b7c":function(t,e,n){"use strict";n.r(e);var i=n("3a9c"),o=n("aea3");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("a66d");var c,r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"9a2b4550",null,!1,i["a"],c);e["default"]=s.exports},a66d:function(t,e,n){"use strict";var i=n("6447"),o=n.n(i);o.a},acf7:function(t,e,n){"use strict";var i=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("8b7c")),a={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:o.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.page=1,this.pageSize=10,this.loadingType=0,this.getList(),document.addEventListener("WeixinJSBridgeReady",function(){WeixinJSBridge.call("hideOptionMenu")})},onShow:function(){},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{MyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/MyGiftPack?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=1&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},GetBuyPrice:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID,buyFrom:"1"},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),console.log(n.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+n.getStorageID+"/order_sn/"+t.data.data.orderSn),window.location.href=n.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+n.getStorageID+"&order_sn="+t.data.data.orderSn+"&recharge_type=6"):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},getList:function(){var t=this;if(0!=t.loadingType)return!1;t.loadingType=1,uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/page",data:{storeId:t.getStorageID,userId:t.getUserID,page:t.page,pageSize:t.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{for(var n=0;n0?e("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?e("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?e("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?e("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),e("v-uni-view",{staticClass:"top_foot"},[e("v-uni-view",{staticClass:"top_foot_price"},[e("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),e("v-uni-view",{staticClass:"top_foot_qty"},[this.giftType>0?e("v-uni-text",[t._v("已领:"+t._s(this.giftQty)+"件")]):t._e(),this.giftType<=0?e("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")]):t._e()],1)],1)],1),e("v-uni-view",{staticClass:"box_ware"},[e("v-uni-view",{staticClass:"box_ware_title"},[e("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(i,a){return e("v-uni-view",{key:a,staticClass:"box_ware_box"},[e("v-uni-view",{staticClass:"box_ware_img"},[1==i.lbType?e("v-uni-image",{attrs:{src:""==i.wareImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+i.wareImage}}):t._e(),2==i.lbType?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==i.lbType?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==i.lbType?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==i.lbType?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),e("v-uni-view",{staticClass:"box_ware_item"},[e("v-uni-view",{staticClass:"box_ware_item_title"},[e("v-uni-text",[t._v(t._s(i.couponName))])],1),e("v-uni-view",{staticClass:"box_ware_item_price"},[e("v-uni-text")],1),e("v-uni-view",{staticClass:"box_ware_item_qty"},[e("v-uni-text",[t._v("数量:"+t._s(i.num))])],1),e("v-uni-view",{staticClass:"box_ware_code"},[0==t.isBuy&1==i.lbType&t.getDate>=t.DateToTime(t.giftstarTime.replace(/-/g,"/"))&t.getDate<=t.DateToTime(t.giftDate.replace(/-/g,"/"))?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetQrCode.apply(void 0,arguments)}}}):t._e(),0==t.isBuy&1==i.lbType&(t.getDatet.DateToTime(t.giftDate.replace(/-/g,"/")))?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift08.png"}}):t._e(),0==t.isBuy&2==i.lbType?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetWebHttp(0)}}}):t._e(),0==t.isBuy&3==i.lbType?e("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetWebHttp(1)}}}):t._e(),0==t.isBuy&i.lbType>3?e("v-uni-text",[t._v("奖励已发放")]):t._e()],1)],1)],1)})],2),e("v-uni-view",{staticClass:"foot_box"},[e("v-uni-view",{staticClass:"foot_box_title"},[e("v-uni-text",[t._v("活动说明")])],1),e("v-uni-view",{staticClass:"foot_box_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),e("v-uni-view",{staticClass:"foot_empty"}),1==this.isBuy?e("v-uni-view",{staticClass:"foot_button"},[this.giftPrice>0&&this.giftIntegral>0?e("v-uni-view",{staticClass:"foot_button_left"},[e("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),this.giftPrice>0&&this.giftIntegral>0?e("v-uni-view",{staticClass:"foot_button_right"},[e("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e(),this.giftPrice>0&&this.giftIntegral<=0?e("v-uni-view",{staticClass:"foot_button_buy"},[e("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),this.giftPrice<=0&&this.giftIntegral>0?e("v-uni-view",{staticClass:"foot_button_intalge"},[e("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e()],1):t._e(),0==this.isBuy?e("v-uni-view",{staticClass:"foot_button"},[0==this.giftState&this.getDate>=t.DateToTime(this.giftstarTime.replace(/-/g,"/"))&this.getDatet.DateToTime(this.giftDate.replace(/-/g,"/"))?e("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[e("v-uni-text",[t._v("商品兑换时间已过")])],1):t._e(),1==this.giftState?e("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[e("v-uni-text",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.GetQrCode.apply(void 0,arguments)}}},[t._v("商品已核销")])],1):t._e(),2==this.giftState?e("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[e("v-uni-text",[t._v("无核销商品")])],1):t._e()],1):t._e()],1)},n=[];e.d(i,"b",function(){return o}),e.d(i,"c",function(){return n}),e.d(i,"a",function(){return a})},c6b3:function(t,i,e){i=t.exports=e("2350")(!1),i.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-4a0c0bb4]{-webkit-align-content:center;align-content:center}.box_top[data-v-4a0c0bb4]{width:100%}.box_top uni-image[data-v-4a0c0bb4]{width:100%}.box_title[data-v-4a0c0bb4]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-4a0c0bb4]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-4a0c0bb4]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-4a0c0bb4]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-4a0c0bb4]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-4a0c0bb4]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-4a0c0bb4]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-4a0c0bb4]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-4a0c0bb4]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-4a0c0bb4]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-4a0c0bb4]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-4a0c0bb4]{width:100%;height:100%}.box_ware_item[data-v-4a0c0bb4]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-4a0c0bb4]{font-size:%?28?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-4a0c0bb4]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-4a0c0bb4]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-4a0c0bb4]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-4a0c0bb4]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-4a0c0bb4]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-4a0c0bb4]{font-size:%?20?%}.foot_box[data-v-4a0c0bb4]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-4a0c0bb4]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-4a0c0bb4]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-4a0c0bb4]{height:%?90?%}.foot_button[data-v-4a0c0bb4]{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_left[data-v-4a0c0bb4]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-4a0c0bb4]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-4a0c0bb4]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_buy_font[data-v-4a0c0bb4]{background:#999}.foot_button_intalge[data-v-4a0c0bb4]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-4a0c0bb4]{background-color:#e85f93}.foot_box_remark[data-v-4a0c0bb4] img{width:100%}.foot_box_remark[data-v-4a0c0bb4] .img{line-height:0}body.?%PAGE?%[data-v-4a0c0bb4]{background-color:#e85f93}',""])},d292:function(t,i,e){var a=e("54c4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("44c530c0",a,!0,{sourceMap:!1,shadowMode:!1})},f45d:function(t,i,e){"use strict";var a=e("d292"),o=e.n(a);o.a}}]); \ No newline at end of file diff --git a/vip/static/js/pages-MyGiftPack-GiftPackList.df0042fb.js b/vip/static/js/pages-MyGiftPack-GiftPackList.df0042fb.js deleted file mode 100644 index 7f6f2c5..0000000 --- a/vip/static/js/pages-MyGiftPack-GiftPackList.df0042fb.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{1735:function(t,e,i){"use strict";var o=i("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a=o(i("312c")),n={components:{uniFab:a.default},data:function(){return{getDate:(new Date).getTime(),isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftstarTime:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",giftState:"",wareCard:[],horizontal:"right",vertical:"bottom",direction:"horizontal",pattern:{color:"#ffffff",backgroundColor:"#000000",selectedColor:"#FF0000",buttonColor:"#000000"},content:[{text:"首页",active:!1},{text:"礼包",active:!1},{text:"我的",active:!1}]}},onLoad:function(t){this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getGiftID=t.id,console.log(this.isBuy+"||"+this.getStorageID+"||"+this.getUserID+"||"+this.getGiftID)},onShow:function(){0==this.isBuy?this.GetMyGiftList():this.GetBuyGiftList(),this.giftRemark=this.giftRemark.replace(/

0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[this.giftType>0?i("v-uni-text",[t._v("已领:"+t._s(this.giftQty)+"件")]):t._e(),this.giftType<=0?i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,o){return i("v-uni-view",{key:o,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"box_ware_code"},[0==t.isBuy&1==e.lbType&t.getDate>=t.DateToTime(t.giftstarTime.replace(/-/g,"/"))&t.getDate<=t.DateToTime(t.giftDate.replace(/-/g,"/"))?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}}):t._e(),0==t.isBuy&1==e.lbType&(t.getDatet.DateToTime(t.giftDate.replace(/-/g,"/")))?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift08.png"}}):t._e(),0==t.isBuy&2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(0)}}}):t._e(),0==t.isBuy&3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(1)}}}):t._e(),0==t.isBuy&e.lbType>3?i("v-uni-text",[t._v("奖励已发放")]):t._e()],1)],1)],1)})],2),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_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),1==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[this.giftPrice>0&&this.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_left"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_right"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e(),this.giftPrice>0&&this.giftIntegral<=0?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),this.giftPrice<=0&&this.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_intalge"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e()],1):t._e(),0==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[0==this.giftState&this.getDate>=t.DateToTime(this.giftstarTime.replace(/-/g,"/"))&this.getDatet.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("商品兑换时间已过")])],1):t._e(),1==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("商品已核销")])],1):t._e(),2==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("无核销商品")])],1):t._e()],1):t._e()],1)},n=[];i.d(e,"b",function(){return a}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return o})},"916e":function(t,e,i){"use strict";i.r(e);var o=i("1735"),a=i.n(o);for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);e["default"]=a.a},"91fb":function(t,e,i){"use strict";i.r(e);var o=i("88fb"),a=i("916e");for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);i("a9b6");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"0b23ce25",null,!1,o["a"],r);e["default"]=c.exports},a45e:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-0b23ce25]{-webkit-align-content:center;align-content:center}.box_top[data-v-0b23ce25]{width:100%}.box_top uni-image[data-v-0b23ce25]{width:100%}.box_title[data-v-0b23ce25]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-0b23ce25]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-0b23ce25]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-0b23ce25]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-0b23ce25]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-0b23ce25]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-0b23ce25]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-0b23ce25]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-0b23ce25]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-0b23ce25]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-0b23ce25]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-0b23ce25]{width:100%;height:100%}.box_ware_item[data-v-0b23ce25]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-0b23ce25]{font-size:%?28?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-0b23ce25]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-0b23ce25]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-0b23ce25]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-0b23ce25]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-0b23ce25]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-0b23ce25]{font-size:%?20?%}.foot_box[data-v-0b23ce25]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-0b23ce25]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-0b23ce25]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-0b23ce25]{height:%?90?%}.foot_button[data-v-0b23ce25]{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_left[data-v-0b23ce25]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-0b23ce25]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-0b23ce25]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_buy_font[data-v-0b23ce25]{background:#999}.foot_button_intalge[data-v-0b23ce25]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-0b23ce25]{background-color:#e85f93}.foot_box_remark[data-v-0b23ce25] img{width:100%}.foot_box_remark[data-v-0b23ce25] .img{line-height:0}body.?%PAGE?%[data-v-0b23ce25]{background-color:#e85f93}',""])},a9b6:function(t,e,i){"use strict";var o=i("7f59"),a=i.n(o);a.a},d292:function(t,e,i){var o=i("54c4");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("4f06").default;a("44c530c0",o,!0,{sourceMap:!1,shadowMode:!1})},f45d:function(t,e,i){"use strict";var o=i("d292"),a=i.n(o);a.a}}]); \ No newline at end of file