启程易购后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
qicheng_shop_backend/public/static/js/pages-users-distributor-ind...

1 lines
21 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-distributor-index"],{"16a7":function(t,i,e){"use strict";var a=e("9fb6"),r=e.n(a);r.a},"2b00":function(t,i,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3");var r=e("6859"),s=e("f823"),o=e("736f"),n=a(e("b739")),d=e("26cb"),c=e("f26a"),u={components:{ProductWindow:n.default},computed:(0,d.mapGetters)(["viewColor","keyColor"]),data:function(){return{domain:c.HTTP_REQUEST_URL,explainShow:!1,menus:[],fastList:[],userInfo:{},distribution:[],explainTxt:"",attr:{cartAttr:!1,productAttr:[],productSelect:{}},productValue:[],storeInfo:{},attrValue:"",attrTxt:"请选择",cart_num:1,id:0,loadend:!1,loading:!1,loadTitle:"加载更多",where:{page:1,limit:20},openActivity:!1}},onLoad:function(){},onShow:function(){this.bagExplain(),this.productBag(),this.bagRecommend(),this.getUserInfo()},onReachBottom:function(){this.productBag()},methods:{goBuy:function(t){this.id=t.product_id,this.getGoodsDetails(t)},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1)},getGoodsDetails:function(t){uni.showLoading({title:"加载中",mask:!0});var i=this;(0,o.getProductDetail)(t.product_id).then((function(t){uni.hideLoading(),i.attr.cartAttr=!0;var e=t.data;i.$set(i,"storeInfo",e),i.$set(i.attr,"productAttr",t.data.attr),i.$set(i,"productValue",t.data.sku),i.DefaultSelect()})).catch((function(t){uni.hideLoading()}))},ChangeAttr:function(t){var i=this.productValue[t];i&&i.stock>0?(this.$set(this.attr.productSelect,"image",i.image),this.$set(this.attr.productSelect,"price",i.price),this.$set(this.attr.productSelect,"svip_price",i.svip_price),this.$set(this.attr.productSelect,"stock",i.stock),this.$set(this.attr.productSelect,"unique",i.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"attrValue",t),this.$set(this,"attrTxt","已选择")):(this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"svip_price",i.svip_price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择"))},DefaultSelect:function(){var t=this.attr.productAttr,i=[];for(var e in this.productValue)if(this.productValue[e].stock>0){i=this.attr.productAttr.length?e.split(","):[];break}for(var a=0;a<t.length;a++)this.$set(t[a],"index",i[a]);var r=this.productValue[i.join(",")];r&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),this.$set(this.attr.productSelect,"image",r.image),this.$set(this.attr.productSelect,"price",r.price),this.$set(this.attr.productSelect,"svip_price",r.svip_price),this.$set(this.attr.productSelect,"stock",r.stock),this.$set(this.attr.productSelect,"unique",r.unique),this.$set(this,"attrValue",i.join(",")),this.$set(this,"attrTxt","已选择"),0==r.stock?this.$set(this.attr.productSelect,"cart_num",0):this.$set(this.attr.productSelect,"cart_num",1)):!r&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"svip_price",r.svip_price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择")):r||t.length?r&&!t.length&&(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),this.$set(this.attr.productSelect,"image",r.image),this.$set(this.attr.productSelect,"price",r.price),this.$set(this.attr.productSelect,"svip_price",r.svip_price),this.$set(this.attr.productSelect,"stock",r.stock),this.$set(this.attr.productSelect,"unique",r.unique),this.$set(this,"attrValue",i.join(",")),this.$set(this,"attrTxt","已选择"),0==r.stock?this.$set(this.attr.productSelect,"cart_num",0):this.$set(this.attr.productSelect,"cart_num",1)):(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"svip_price",r.svip_price),this.$set(this.attr.productSelect,"stock",this.storeInfo.stock),this.$set(this.attr.productSelect,"unique",this.storeInfo.unique||""),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择"))},ChangeCartNum:function(t){var i=this.productValue[this.attrValue];if(void 0!==i||this.attr.productAttr.length||(i=this.attr.productSelect),void 0!==i){var e=i.stock||0,a=this.attr.productSelect;t?(a.cart_num++,a.cart_num>e&&(this.$set(this.attr.productSelect,"cart_num",e),this.$set(this,"cart_num",e))):(a.cart_num--,a.cart_num<1&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)))}},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},iptCartNum:function(t){this.$set(this.attr.productSelect,"cart_num",t)},goPay:function(){var t=this,i=t.productValue[this.attrValue];if(t.attr.productAttr.length&&0==i.stock)return t.$util.Tips({title:"产品库存不足,请选择其它"});var e={product_id:t.id,cart_num:Number(t.attr.productSelect.cart_num),is_new:1,product_attr_unique:void 0!==t.attr.productSelect?t.attr.productSelect.unique:""};(0,o.postCartAdd)(e).then((function(i){t.attr.cartAttr=!1,uni.navigateTo({url:"/pages/users/order_confirm/index?cartId="+i.data.cart_id})})).catch((function(i){return t.$util.Tips({title:i})}))},godDetail:function(t){(0,s.goShopDetail)(t).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)})}))},productBag:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="",(0,o.productBag)(t.where).then((function(i){var e=i.data.list,a=t.$util.SplitArray(e,t.distribution),r=e.length<t.where.limit;t.loadend=r,t.loading=!1,t.loadTitle=r?"已全部加载":"加载更多",t.$set(t,"distribution",a),t.$set(t.where,"page",t.where.page+1)})).catch((function(i){t.loading=!1,t.loadTitle="加载更多"})))},bagRecommend:function(){var t=this;(0,o.bagRecommend)().then((function(i){t.fastList=i.data.list}))},getUserInfo:function(){var t=this;(0,r.getUserInfo)().then((function(i){t.userInfo=i.data}))},bagExplain:function(){var t=this,i=this;(0,o.bagExplain)().then((function(i){var e=i.data;t.menus=e.data,t.explainTxt=e.explain,t.openActivity=!0})).catch((function(e){return t.openActivity=!1,i.$util.Tips({title:e})}))},explain:function(){this.explainShow=!0},close:function(){this.explainShow=!1}}};i.default=u},"333a":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-3ad20dd2]{background-color:#fff}body.?%PAGE?%[data-v-3ad20dd2]{background-color:#fff}.area-row[data-v-3ad20dd2]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;width:80%;text-align:center}.b-color[data-v-3ad20dd2]{border:%?1?% solid var(--view-theme);background-color:var(--view-theme)}.vip-money[data-v-3ad20dd2]{color:#282828;font-size:%?22?%;margin-left:%?6?%;font-weight:700}.vipImg[data-v-3ad20dd2]{width:%?65?%;height:%?28?%;margin:%?4?% 0 0 %?4?%}.vipImg uni-image[data-v-3ad20dd2]{width:100%;height:100%;display:block}.distributor .headerBg[data-v-3ad20dd2]{width:100%;height:%?371?%;background-size:100% 100%;background-repeat:no-repeat;position:relative}.distributor .headerBg .explain[data-v-3ad20dd2]{position:absolute;top:%?30?%;right:0;width:%?134?%;height:%?40?%;background:linear-gradient(-90deg,#efd7a8,#f8e6c1);border-radius:20px 0 0 20px;color:var(--view-theme);font-size:%?24?%;font-weight:500;text-align:center;line-height:%?40?%}.distributor .headerBg .picTxt[data-v-3ad20dd2]{position:absolute;left:%?60?%;bottom:%?38?%}.distributor .headerBg .picTxt .pictrue[data-v-3ad20dd2]{width:%?84?%;height:%?84?%;border-radius:50%}.distributor .headerBg .picTxt .pictrue uni-image[data-v-3ad20dd2]{width:100%;height:100%;border-radius:50%}.distributor .headerBg .picTxt .text[data-v-3ad20dd2]{font-size:%?34?%;color:#814c07;margin-left:%?19?%;width:%?500?%}.distributor .headerBg .picTxt .info[data-v-3ad20dd2]{font-size:%?28?%;color:#bb8d59;margin-top:%?10?%}.distributor .nav[data-v-3ad20dd2]{padding:0 %?0?% %?30?%;flex-wrap:wrap}.distributor .nav .item[data-v-3ad20dd2]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:25%;margin-top:%?30?%}.distributor .nav .item uni-image[data-v-3ad20dd2]{width:%?48?%;height:%?48?%;border-radius:50%;position:relative;top:%?20?%}.distributor .nav .item .picture[data-v-3ad20dd2]{border:%?40?% solid #fff8ec}.distributor .nav .item .menu-txt[data-v-3ad20dd2]{color:#b99450;font-size:%?32?%;margin-top:%?20?%}.distributor .public_title[data-v-3ad20dd2]{margin-top:%?20?%}.distributor .public_title uni-image[data-v-3ad20dd2]{width:%?119?%;height:%?15?%}.distributor .public_title uni-image.right[data-v-3ad20dd2]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.distributor .public_title .name[data-v-3ad20dd2]{font-size:%?34?%;color:var(--view-theme);margin:0 %?19?%}.distributor .recommend .scroll-product[data-v-3ad20dd2]{white-space:nowrap;margin-top:%?45?%;padding-left:%?30?%;height:%?200?%}.distributor .recommend .scroll-product .scroll-view_x[data-v-3ad20dd2]{height:100%}.distributor .recommend .scroll-product .itemCon[data-v-3ad20dd2]{display:inline-block}.distributor .recommend .scroll-product .itemCon .item[data-v-3ad20dd2]{width:%?430?%;height:%?156?%;margin-right:%?30?%;border-radius:%?8?%;position:relative;box-shadow:0 %?10?% %?20?% %?-5?% #eee}.distributor .recommend .scroll-product .itemCon .item .circular[data-v-3ad20dd2]{width:%?20?%;height:%?20?%;border-radius:50%;position:absolute;top:50%;margin-top:%?-10?%;right:%?40?%;background:var(--view-theme)}.distributor .recommend .scroll-product .itemCon .item .open[data-v-3ad20dd2]{width:%?60?%;-webkit-writing-mode:vertical-lr;writing-mode:vertical-lr;-webkit-writing-mode:tb-lr;writing-mode:tb-lr;color:#fff;height:100%;text-align:center;line-height:%?70?%;border-radius:0 %?8?% %?8?% 0;border:none}.distributor .recommend .scroll-product .itemCon .item .picTxt[data-v-3ad20dd2]{width:%?382?%;height:100%;border-radius:0 %?8?% %?8?% 0;position:absolute;left:0;top:0;background-color:#fff}.distributor .recommend .scroll-product .itemCon .item .picTxt .pictrue[data-v-3ad20dd2]{width:%?156?%;height:100%}.distributor .recommend .scroll-product .itemCon .item .picTxt .pictrue uni-image[data-v-3ad20dd2]{width:100%;height:100%;border-radius:%?8?% 0 0 %?8?%}.distributor .recommend .scroll-product .itemCon .item .picTxt .text[data-v-3ad20dd2]{width:%?210?%;padding-right:%?10?%;box-sizing:border-box}.distributor .recommend .scroll-product .itemCon .item .picTxt .text .name[data-v-3ad20dd2]{width:%?210?%;font-size:%?26?%;color:#282828;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:%?20?%}.distributor .recommend .scroll-product .itemCon .item .picTxt .text .price_count[data-v-3ad20dd2]{height:%?76?%}.distributor .recommend .scroll-product .itemCon .item .picTxt .text .money[data-v-3ad20dd2]{font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.distributor .recommend .scroll-product .itemCon .item .picTxt .text .money .num[data-v-3ad20dd2]{font-size:%?32?%}.distributor .pin .list[data-v-3ad20dd2]{padding-left:%?30?%;margin-top:%?50?%}.distributor .pin .list .item[data-v-3ad20dd2]{position:relative}.distributor .pin .list .item .pictrue[data-v-3ad20dd2]{width:%?210?%;height:%?210?%;border-radius:16px}.distributor .pin .list .item .pictrue uni-image[data-v-3ad20dd2]{width:100%;height:100%}.distributor .pin .list .item ~ .item[data-v-3ad20dd2]{margin-top:%?60?%}.distributor .pin .list .item ~ .item .text[data-v-3ad20dd2]::after{width:100%;height:1px;position:absolute;content:"";top:%?-30?%;background-color:#f0f0f0}.distributor .pin .list .item .text[data-v-3ad20dd2]{position:relative;width:%?460?%;font-size:%?30?%;color:#282828;padding:%?10?% %?30?% %?24?% 0}.distributor .pin .list .item .text .name[data-v-3ad20dd2]{height:%?70?%}.distributor .pin .list .item .text .money[data-v-3ad20dd2]{font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.distributor .pin .list .item .text .money .num[data-v-3ad20dd2]{font-size:%?36?%}.distributor .pin .list .item .text .open[data-v-3ad20dd2]{width:%?144?%;height:%?48?%;border-radius:%?24?%;color:#fff;text-align:center;line-height:%?48?%;font-size:%?24?%;right:%?30?%;border:none;margin-top:%?40?%}.distributor .explainTxt[data-v-3ad20dd2]{position:fixed;top:20%;left:50%;width:%?600?%;background-color:#fff;margin-left:%?-300?%;border-radius:%?8?%;z-index:32;padding:%?33?%;transition:all .3s ease-in-out 0s;opacity:0;-webkit-transform:scale(0);transform:scale(0)}.distributor .explainTxt.on[data-v-3ad20dd2]{opacity:1;-webkit-transform:scale(1);transform:scale(1)}.distributor .explainTxt .name[data-v-3ad20dd2]{font-size:%?38?%;position:relative;text-align:center;color:var(--view-theme)}.distributor .explainTxt .name .iconfont[data-v-3ad20dd2]{position:absolute;color:#999;font-size:%?37?%;top:%?-10?%;right:%?0?%}.distributor .explainTxt .conter[data-v-3ad20dd2]{margin-top:%?30?%;font-size:%?26?%;color:#282828;line-height:1.6;max-height:%?600?%;overflow-y:auto}',""]),t.exports=i},"507e":function(t,i,e){"use strict";e.r(i);var a=e("8903"),r=e("5d9c");for(var s in r)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return r[t]}))}(s);e("16a7");var o=e("f0c5"),n=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"3ad20dd2",null,!1,a["a"],void 0);i["default"]=n.exports},"5d9c":function(t,i,e){"use strict";e.r(i);var a=e("2b00"),r=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=r.a},8903:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"distributor",style:t.viewColor},[e("v-uni-view",{staticClass:"headerBg",style:{"background-image":"url("+t.domain+"/static/diy/distribution"+t.keyColor+".png)"}},[t.openActivity?e("v-uni-view",{staticClass:"explain",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.explain.apply(void 0,arguments)}}},[t._v("分销说明")]):t._e(),e("v-uni-view",{staticClass:"picTxt acea-row row-middle"},[e("v-uni-view",{staticClass:"pictrue"},[t.userInfo.avatar?e("v-uni-image",{staticClass:"avatar",attrs:{src:t.userInfo.avatar}}):e("v-uni-image",{staticClass:"avatar",attrs:{src:"/static/images/f.png",mode:""}})],1),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.userInfo.nickname))]),e("v-uni-view",{staticClass:"info line1"},[t._v("直接推广人越多,获得的奖励越多哦!")])],1)],1)],1),t.menus.length&&t.openActivity?e("v-uni-view",{staticClass:"nav acea-row"},[t._l(t.menus,(function(i,a){return[e("v-uni-view",{key:a+"_0",staticClass:"item"},[e("v-uni-view",{staticClass:"pictrue",staticStyle:{width:"90rpx",height:"90rpx","background-color":"#FFF8EC","border-radius":"100%","text-align":"center"}},[e("v-uni-image",{attrs:{src:i.img}})],1),e("v-uni-view",{staticClass:"menu-txt area-row"},[t._v(t._s(i.title))])],1)]}))],2):t._e(),t.openActivity?e("v-uni-view",{staticClass:"recommend"},[t.fastList.length>0?e("v-uni-view",{staticClass:"public_title acea-row row-center-wrapper"},[e("v-uni-image",{attrs:{src:t.domain+"/static/diy/linefx"+t.keyColor+".png"}}),e("v-uni-view",{staticClass:"name"},[t._v("推荐礼包")]),e("v-uni-image",{staticClass:"right",attrs:{src:t.domain+"/static/diy/linefx"+t.keyColor+".png"}})],1):t._e(),t.fastList.length>0?e("v-uni-view",{staticClass:"scroll-product"},[e("v-uni-scroll-view",{staticClass:"scroll-view_x",staticStyle:{width:"auto",overflow:"hidden"},attrs:{"scroll-x":!0}},[t._l(t.fastList,(function(i,a){return[e("v-uni-view",{key:a+"_0",staticClass:"itemCon"},[e("v-uni-view",{staticClass:"item acea-row row-right"},[e("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.godDetail(i)}}},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:i.image}})],1),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",{staticClass:"name line1"},[t._v(t._s(i.store_name))]),e("v-uni-view",{staticClass:"acea-row row-bottom price_count"},[e("v-uni-view",{staticClass:"money p-color"},[t._v("¥"),e("v-uni-text",{staticClass:"num"},[t._v(t._s(i.price))])],1),i.show_svip_info&&i.show_svip_info.show_svip_price&&i.svip_price?e("v-uni-view",{staticClass:"acea-row row-middle svip-count"},[e("v-uni-text",{staticClass:"vip-money"},[t._v("¥"+t._s(i.svip_price))]),e("v-uni-view",{staticClass:"vipImg"},[e("v-uni-image",{attrs:{src:t.domain+"/static/images/svip.png"}})],1)],1):t._e()],1)],1)],1),e("v-uni-view",{staticClass:"circular"}),e("v-uni-view",{staticClass:"open b-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBuy(i)}}},[t._v("立即开通")])],1)],1)]}))],2)],1):t._e()],1):t._e(),t.openActivity?e("v-uni-view",{staticClass:"pin"},[e("v-uni-view",{staticClass:"public_title acea-row row-center-wrapper"},[e("v-uni-image",{attrs:{src:t.domain+"/static/diy/linefx"+t.keyColor+".png"}}),e("v-uni-view",{staticClass:"name"},[t._v("分销礼包")]),e("v-uni-image",{staticClass:"right",attrs:{src:t.domain+"/static/diy/linefx"+t.keyColor+".png"}})],1),e("v-uni-view",{staticClass:"list"},t._l(t.distribution,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.godDetail(i)}}},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:i.image}})],1),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",{staticClass:"name line1"},[t._v(t._s(i.store_name))]),e("v-uni-view",{staticClass:"acea-row"},[e("v-uni-view",{staticClass:"money p-color"},[t._v("¥"),e("v-uni-text",{staticClass:"num"},[t._v(t._s(i.price))])],1),i.show_svip_info&&i.show_svip_info.show_svip_price&&i.svip_price?e("v-uni-view",{staticClass:"acea-row row-middle svip-count"},[e("v-uni-text",{staticClass:"vip-money"},[t._v("¥"+t._s(i.svip_price))]),e("v-uni-view",{staticClass:"vipImg"},[e("v-uni-image",{attrs:{src:t.domain+"/static/images/svip.png"}})],1)],1):t._e()],1),e("v-uni-view",{staticClass:"open b-color",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goBuy(i)}}},[t._v("立即开通")])],1)],1)})),1),t.distribution.length>0?e("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[e("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],1):t._e(),e("v-uni-view",{staticClass:"explainTxt",class:t.explainShow?"on":""},[e("v-uni-view",{staticClass:"name"},[t._v("分销说明"),e("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.close.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"conter"},[t._v(t._s(t.explainTxt))])],1),t.explainShow?e("v-uni-view",{staticClass:"mask"}):t._e(),e("productWindow",{attrs:{attr:t.attr,isShow:1,iSplus:1,destri:1,svipPrice:!0,id:"product-window"},on:{myevent:function(i){arguments[0]=i=t.$handleEvent(i),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeAttr.apply(void 0,arguments)},attrVal:function(i){arguments[0]=i=t.$handleEvent(i),t.attrVal.apply(void 0,arguments)},iptCartNum:function(i){arguments[0]=i=t.$handleEvent(i),t.iptCartNum.apply(void 0,arguments)},goCat:function(i){arguments[0]=i=t.$handleEvent(i),t.goPay.apply(void 0,arguments)}}})],1)},r=[]},"9fb6":function(t,i,e){var a=e("333a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=e("4f06").default;r("413085c6",a,!0,{sourceMap:!1,shadowMode:!1})},f823:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.goShopDetail=function(t,i){return new Promise((function(i){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type||10===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):i(t)}))},e("d3b7"),e("99af")}}]);