pages-rights-myrights-myrights.3e147f70.js 26 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-rights-myrights-myrights"],{"2abb":function(t,i,a){"use strict";a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return n})),a.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"app"},[a("v-uni-view",{staticClass:"tabs"},[a("v-uni-text",{class:1==t.type?"cur":"",attrs:{"data-id":"1"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType.apply(void 0,arguments)}}},[t._v("商品权益")]),a("v-uni-text",{class:2==t.type?"cur":"",attrs:{"data-id":"2"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType.apply(void 0,arguments)}}},[t._v("礼品卡")]),a("v-uni-text",{class:3==t.type?"cur":"",attrs:{"data-id":"3"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeType.apply(void 0,arguments)}}},[t._v("名额权益")])],1),1==t.type?[t.list.length?a("v-uni-view",{staticClass:"section"},[a("v-uni-view",{staticClass:"scroll-container"},[a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"catelist"},[t._l(t.list,(function(i,e){return[a("v-uni-view",{key:e+"_0",staticClass:"goods-item",class:0==i.total_num?"empty":""},[a("v-uni-image",{attrs:{src:i.pic,mode:""}}),a("v-uni-view",[a("v-uni-view",{staticClass:"title-wrapper"},[a("v-uni-text",{staticClass:"title"},[t._v(t._s(i.name))])],1),i.sku?a("v-uni-view",{staticClass:"tips"},[a("v-uni-text",[t._v(t._s(i.sku))])],1):t._e(),a("v-uni-view",{staticClass:"tips"},[a("v-uni-text",[t._v("数量:"+t._s(i.num)+"件")])],1),a("v-uni-view",{staticClass:"ctrls"},[a("v-uni-text",{staticClass:"price"},[t._v(t._s(i.price))]),a("v-uni-view",{staticClass:"btns-buygroup"},[t.goodsCartNum(i.id)>0?a("v-uni-view",{staticClass:"icon-minus",attrs:{"data-goods_id":i.id,"data-price":i.price},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.minusToCart.apply(void 0,arguments)}}}):t._e(),t.goodsCartNum(i.id)>0?a("v-uni-text",[t._v(t._s(t.goodsCartNum(i.id)))]):t._e(),a("v-uni-view",{staticClass:"icon-add",attrs:{"data-goods_id":i.id,"data-price":i.price,"data-max":i.num},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.addToCart.apply(void 0,arguments)}}})],1)],1)],1)],1)]}))],2)],1)],1)],1):t._e(),t.totalNum?a("v-uni-view",{staticClass:"bt-fixed"},[a("v-uni-view",{staticClass:"cart"},[a("v-uni-view",{staticClass:"price-wrapper"},[a("v-uni-view",{staticClass:"cart-total"},[t._v("共"+t._s(t.totalNum)+"件,价值")]),a("v-uni-text",{staticClass:"price"},[t._v(t._s(t.totalPrice))])],1),a("v-uni-view",{staticClass:"btn-submit",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toOrder.apply(void 0,arguments)}}},[t._v("兑换")])],1)],1):t._e()]:t._e(),2==t.type?[t.list.length?a("v-uni-view",{staticClass:"section"},[a("v-uni-view",{staticClass:"scroll-container"},[a("v-uni-view",{staticClass:"list"},t._l(t.list,(function(i,e){return a("v-uni-view",{key:e,staticClass:"me-item mcard",class:1==i.show?"":"disabled",attrs:{"data-item":i},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navtoCard.apply(void 0,arguments)}}},[a("v-uni-view",{},[a("v-uni-text",[t._v(t._s(i.name))]),a("v-uni-text",{staticClass:"price"},[t._v(t._s(i.price))])],1),a("v-uni-view",{},[t._v(t._s(i.end_date))])],1)})),1)],1)],1):t._e()]:t._e(),3==t.type?[t.list.length?a("v-uni-view",{staticClass:"section"},[a("v-uni-view",{staticClass:"scroll-container"},[a("v-uni-view",{staticClass:"list"},t._l(t.list,(function(i,e){return a("v-uni-navigator",{key:e,staticClass:"me-item",attrs:{"hover-class":"none",url:"/pages/rights/detail/detail?id="+i.id}},[a("v-uni-text",[t._v(t._s(i.name))]),a("v-uni-text",[t._v("数量 "+t._s(i.num))])],1)})),1)],1)],1):t._e()]:t._e(),t.list.length?t._e():a("v-uni-view",{staticClass:"nodata"},[t._v("暂无数据")])],2)},n=[]},"53f4":function(t,i,a){var e=a("c21b");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("7e9367ee",e,!0,{sourceMap:!1,shadowMode:!1})},"6b68":function(t,i,a){"use strict";var e=a("ddc3"),n=a.n(e);n.a},9777:function(t,i,a){var e=a("24fb"),n=a("1de5"),o=a("f6a0"),r=a("42c3"),d=a("b8d7"),s=a("7cbe"),c=a("43dd"),l=a("2cc4"),b=a("89d8"),f=a("82da"),u=a("e820"),p=a("2334"),g=a("fe07"),v=a("3fd3"),h=a("6de6"),m=a("fb7f"),w=a("cf23"),y=a("fe0a"),k=a("ade1"),x=a("bc22"),_=a("1476"),z=a("ed31"),C=a("59b2"),j=a("0d2b"),T=a("1ded");i=e(!1);var P=n(o),E=n(r),S=n(d),$=n(s),F=n(c),G=n(l),M=n(b),N=n(f),O=n(u),R=n(p),A=n(g),I=n(v),B=n(h),D=n(m),J=n(w),U=n(y),q=n(k),K=n(x),L=n(_),H=n(z),Q=n(C),V=n(j),W=n(T);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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-head[data-v-72900bbf]{display:none}uni-page-body[data-v-72900bbf]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-72900bbf]::-webkit-scrollbar{display:none}.button[data-v-72900bbf]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-72900bbf]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-72900bbf]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-72900bbf]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-72900bbf]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-72900bbf]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-72900bbf]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-72900bbf]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-72900bbf]{display:flex;align-items:center}.addr[data-v-72900bbf]:before{content:"";background:url('+P+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-72900bbf]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-72900bbf]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-72900bbf]{background:url('+E+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-72900bbf]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-72900bbf]{background:url("+S+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-72900bbf]{background:url("+$+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-72900bbf]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+F+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-72900bbf]{background:url("+G+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-72900bbf]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-xnh[data-v-72900bbf]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-72900bbf]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-72900bbf]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-72900bbf]{background:url("+A+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-72900bbf]{background:url("+I+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-72900bbf]{background:url("+B+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-72900bbf]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-72900bbf]{background:url("+J+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-72900bbf]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-72900bbf]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-72900bbf]{background:url("+K+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-72900bbf]{background:url("+L+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-72900bbf]{background:url("+P+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-72900bbf]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-72900bbf]{margin-top:%?12?%;display:flex}.tag[data-v-72900bbf]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-72900bbf]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-72900bbf]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-72900bbf]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-72900bbf]{border-color:#999;color:#333}.btn-page-back[data-v-72900bbf], .btn-page-home[data-v-72900bbf]{position:fixed;background:url("+H+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-72900bbf]{background-image:url("+Q+')}.btns-buygroup[data-v-72900bbf]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-72900bbf]{margin:0 %?15?%}.topinfo[data-v-72900bbf]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-72900bbf]{flex:1}.topinfo .address[data-v-72900bbf]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-72900bbf]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-72900bbf]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-72900bbf]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-72900bbf]{flex-shrink:0}.topinfo .address .range[data-v-72900bbf]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-72900bbf]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-72900bbf]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-72900bbf]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-72900bbf]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-72900bbf]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-72900bbf]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-72900bbf]:after{content:"";background:url('+V+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-72900bbf]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-72900bbf]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-72900bbf]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-72900bbf]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-72900bbf]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-72900bbf]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-72900bbf]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-72900bbf]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-72900bbf]{margin-bottom:%?8?%}.nav-item[data-v-72900bbf]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-72900bbf]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-72900bbf]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-72900bbf]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-72900bbf]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+F+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-72900bbf]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-72900bbf]{color:#999}.nav-item[data-v-72900bbf]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-72900bbf]:after{display:none}.nav-item.help[data-v-72900bbf]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-72900bbf]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-72900bbf]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-72900bbf]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-72900bbf]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-72900bbf]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-72900bbf]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-72900bbf]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-72900bbf], .goods-item.inorder uni-image[data-v-72900bbf]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-72900bbf]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-72900bbf]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-72900bbf]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-72900bbf]{position:relative}.swiper-cont .swiper[data-v-72900bbf]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-72900bbf], .swiper-cont .swiper uni-image[data-v-72900bbf]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-72900bbf]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-72900bbf]{background:url('+W+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-72900bbf]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-72900bbf], .swiper-cont .swiper .videoposter.playing[data-v-72900bbf]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-72900bbf]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-72900bbf]{display:block}.swiper-cont .dots[data-v-72900bbf]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-72900bbf]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-72900bbf]{background-color:#fff;width:%?36?%}.form[data-v-72900bbf]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-72900bbf]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-72900bbf]:last-child{border-bottom:0}.form .form-item .label[data-v-72900bbf]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-72900bbf]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-72900bbf]{flex:1}.form .form-item .content .disabled[data-v-72900bbf]{color:#999}.form .form-item .link[data-v-72900bbf]{color:#00ab78}.form .form-item .checkboxgroup[data-v-72900bbf]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-72900bbf]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-72900bbf]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-72900bbf], .form.mini .content[data-v-72900bbf]{font-size:%?24?%}.form.mini .form-item[data-v-72900bbf]{padding-bottom:%?8?%}",""]),t.exports=i},ac6f:function(t,i,a){t.exports=a.p+"static/img/cardbg.1a883cc1.png"},bf4c:function(t,i,a){"use strict";a.r(i);var e=a("2abb"),n=a("d4a9");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return n[t]}))}(o);a("6b68"),a("d264");var r=a("f0c5"),d=Object(r["a"])(n["default"],e["b"],e["c"],!1,null,"72900bbf",null,!1,e["a"],void 0);i["default"]=d.exports},c21b:function(t,i,a){var e=a("24fb"),n=a("1de5"),o=a("ac6f");i=e(!1);var r=n(o);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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-72900bbf]{background:#f7f7f7;height:100%;display:flex;flex-direction:column}body.?%PAGE?%[data-v-72900bbf]{background:#f7f7f7}.app[data-v-72900bbf]{flex:1;display:flex;flex-direction:column}.app .tabs[data-v-72900bbf]{display:flex;align-items:center;justify-content:center;padding:%?32?% 0}.app .tabs uni-text[data-v-72900bbf]{position:relative;font-size:%?32?%;margin:0 %?32?%;display:flex;flex-direction:column;align-items:center}.app .tabs uni-text[data-v-72900bbf]:after{content:"";width:%?40?%;height:%?6?%;margin-top:%?8?%;border-radius:%?2?%;background-color:initial}.app .tabs uni-text.cur[data-v-72900bbf]{color:#00ab78}.app .tabs uni-text.cur[data-v-72900bbf]:after{background-color:#00ab78}.section[data-v-72900bbf]{display:flex;flex:1;padding:0 %?32?% %?100?%}.section .sider[data-v-72900bbf]{width:%?162?%;display:flex;flex-direction:column;flex-shrink:0}.section .sider uni-text[data-v-72900bbf]{text-align:center;line-height:%?116?%;color:#6d6d6d;font-size:%?24?%}.section .sider uni-text.cur[data-v-72900bbf]{background-color:#fff;color:#333}.section .scroll-container[data-v-72900bbf]{flex:1;position:relative}.section .scroll-container .scroll-wrapper[data-v-72900bbf]{position:absolute;top:0;left:0;right:0;bottom:0}.section .list[data-v-72900bbf]{box-sizing:border-box}.section .list .ad[data-v-72900bbf]{width:100%}.section .list .ad uni-image[data-v-72900bbf]{width:100%;border-radius:%?30?%}.section .list .h3[data-v-72900bbf]{display:block;margin:%?32?% 0;font-size:%?28?%;line-height:%?40?%}.section .list.cart-showed[data-v-72900bbf]{padding-bottom:%?120?%}.section .list .goods-item[data-v-72900bbf]{background-color:#fff;border-radius:%?20?%;padding:%?24?% %?32?%;margin-bottom:%?24?%}.section .list .goods-item .tips[data-v-72900bbf]{margin-top:%?12?%}.section .list .goods-item .ctrls[data-v-72900bbf]{margin-top:%?20?%}.section .list .goods-item .price[data-v-72900bbf]{color:#00ab78}.section .list .me-item[data-v-72900bbf]{background-color:#fff;border-radius:%?20?%;padding:%?62?% %?32?%;margin-bottom:%?24?%;display:flex;justify-content:space-between;font-size:%?28?%}.section .list .me-item.mcard[data-v-72900bbf]{background:url('+r+') no-repeat;background-size:cover;color:#fff;display:flex;flex-direction:column;padding:%?32?%}.section .list .me-item.mcard > uni-view[data-v-72900bbf]{display:flex;justify-content:space-between}.section .list .me-item.mcard > uni-view[data-v-72900bbf]:last-child{margin-top:%?16?%}.section .list .me-item.disabled[data-v-72900bbf]{opacity:.3}.nodata[data-v-72900bbf]{display:flex;flex-direction:column;align-items:center;font-size:%?28?%;color:#999;flex:1;justify-content:center;text-align:center}.nodata uni-image[data-v-72900bbf]{width:%?280?%;display:block;margin-bottom:%?48?%}.nodata uni-text[data-v-72900bbf]{display:block;margin-bottom:%?48?%}.price-types[data-v-72900bbf]{margin-top:%?12?%}.price-types uni-text[data-v-72900bbf]{display:inline-block;padding:0 %?8?%;text-align:center;margin-right:%?16?%;border:%?2?% solid #eee;border-radius:%?5?%}.price-types uni-text.active[data-v-72900bbf]{background-color:#f4f4f4}.bt-fixed[data-v-72900bbf]{position:fixed;left:0;bottom:0;width:100%}.cart[data-v-72900bbf]{width:%?686?%;margin:0 auto;background-color:#fff;border-radius:%?56?%;height:%?96?%;display:flex;align-items:center;justify-content:space-between;margin-bottom:%?16?%}.cart .btn-submit[data-v-72900bbf]{background-color:#00ab78;border-radius:0 %?56?% %?56?% 0;color:#fff;width:%?224?%;text-align:center;line-height:%?96?%;font-size:%?32?%}.cart .cart-total[data-v-72900bbf]{padding-left:%?48?%;padding-right:%?10?%}.cart .price-wrapper[data-v-72900bbf]{display:flex;align-items:center;color:#004535}.cart .price-wrapper .price[data-v-72900bbf]{font-size:%?30?%;font-weight:bolder}.goods-item[data-v-72900bbf]{position:relative}.goods-item.empty[data-v-72900bbf]:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:hsla(0,0%,100%,.6)}',""]),t.exports=i},d264:function(t,i,a){"use strict";var e=a("53f4"),n=a.n(e);n.a},d4a9:function(t,i,a){"use strict";a.r(i);var e=a("ecad"),n=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(i,t,(function(){return e[t]}))}(o);i["default"]=n.a},ddc3:function(t,i,a){var e=a("9777");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=a("4f06").default;n("efa503f0",e,!0,{sourceMap:!1,shadowMode:!1})},ecad:function(t,i,a){"use strict";a("7a82");var e=a("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e(a("5530")),o=e(a("2909"));a("7db0"),a("d3b7"),a("13d5"),a("d81d"),a("acd8"),a("e25e"),a("159b"),a("14d9"),a("99af"),a("c740"),a("a434");var r={data:function(){return{list:[],shoploaded:0,page:1,totalPage:1,cart:[],searchKey:"",type:1}},computed:{goodsCartNum:function(){var t=this;return function(i){var a="c_".concat(i),e=t.cart.find((function(t){return t.key==a}));return e?e.num:0}},totalPrice:function(){return this.cart.map((function(t){return t.price*t.num})).reduce((function(t,i){return t+parseFloat(i)}),0).toFixed(2)},totalNum:function(){return this.cart.map((function(t){return t.num})).reduce((function(t,i){return t+parseInt(i,10)}),0)}},methods:{navtoCard:function(t){var i=t.currentTarget.dataset.item;1==i.show&&(location.href="/pages/rights/card_detail/card_detail?id=".concat(i.id))},changeType:function(t){this.type=t.currentTarget.dataset.id,this.list=[],this.loadGoods()},search:function(){this.loadGoods()},toOrder:function(){var t=[],i=[];this.cart.forEach((function(a){t.push(a.num),i.push(a.goods_id)})),i.length?uni.navigateTo({url:"/pages/rights/check/check?num=".concat(t.join(","),"&goods_id=").concat(i.join(","))}):uni.showToast({icon:"error",title:"未选择商品"})},loadGoods:function(t){var i=this;t||(this.page=1),this.reqByuser({url:"service/agent/?l=my.goodsList",method:"GET",data:{pg:this.page,type:this.type},success:function(a){var e=a.data.data,n=a.data.page||{};i.totalPage=n.total_page||1,i.list=t?i.list.concat(e.list):e.list,uni.stopPullDownRefresh()}})},minusToCart:function(t){var i=t.currentTarget.dataset,a=i.goods_id,e="c_".concat(a),r=(0,o.default)(this.cart),d=r.findIndex((function(t){return t.key==e}));if(-1!==d){var s=Math.max(0,r[d].num-1);s=r[d].num<1?0:s;var c=(0,n.default)((0,n.default)({},r[d]),{},{num:s});s?r.splice(d,1,c):r.splice(d,1)}this.$set(this,"cart",r),uni.setStorageSync("kucuncart",r)},addToCart:function(t){var i=t.currentTarget.dataset,a=i.goods_id,e=i.max,r="c_".concat(a),d={key:r,goods_id:a,price:i.price,num:1},s=(0,o.default)(this.cart),c=s.findIndex((function(t){return t.key==r}));if(-1!==c){var l=parseInt(s[c].num,10)+1;l>=e&&(l=e);var b=(0,n.default)((0,n.default)({},s[c]),{},{num:l});s.splice(c,1,b)}else s.push(d);this.$set(this,"cart",s),uni.setStorageSync("kucuncart",s)}},onShow:function(){this.userInfo.signature&&this.loadGoods()},onReachBottom:function(){this.page<this.totalPage&&(this.page++,this.loadGoods(this.page))},onPullDownRefresh:function(){this.loadGoods()}};i.default=r}}]);