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.
 
 
 
 
 
crmeb_php/public/static/js/pages-store-list-index.914b...

1 lines
41 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-list-index"],{"007b":function(t,e,i){"use strict";i.r(e);var a=i("8877"),o=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"073a":function(t,e,i){"use strict";i.r(e);var a=i("4c7f"),o=i("007b");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("c440");var r=i("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"c9ea9550",null,!1,a["a"],void 0);e["default"]=s.exports},"1c6c":function(t,e,i){"use strict";var a=i("d630"),o=i.n(a);o.a},"289e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAATCAMAAACp+6PoAAAAZlBMVEUAAADpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPKqB2aAAAAIXRSTlMA/Onfy7+oG9LPxrOrloaAbWBNRzkjHgTukHJxPzIvCgcVzGbCAAAAnUlEQVRIx73QRxLDIBQDUNzAce9OT/79LxnBTAaXtdBG6M1fof4x9aR8+JyLrKhQPInIAx2KC9gVHYhnsek9UHkZC2fJMCs2v5syEZ84u41UlnNwyePqRCkuiawPdPngksl6T+6QyuXxH9gceTOYbF7E54XN5ufGOmw2dxvT2Gyu7Ijb1FaOzeZEJGpWpfoYD2w2D1lt3OPbZncUk38iPXa8mx9k4gAAAABJRU5ErkJggg=="},"2b3a":function(t,e,i){"use strict";i.r(e);var a=i("8cdc"),o=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"493d":function(t,e,i){"use strict";i.r(e);var a=i("e933"),o=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"4c7f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"right-wrapper",style:t.viewColor,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.moveStop.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"control-wrapper animated",class:t.showBox?"slideInRight":""},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"title"},[t._v("价格区间")]),i("v-uni-view",{staticClass:"input-wrapper"},[i("v-uni-input",{attrs:{placeholder:"最低价",type:"number"},model:{value:t.min,callback:function(e){t.min=e},expression:"min"}}),i("v-uni-view",{staticClass:"line"}),i("v-uni-input",{attrs:{placeholder:"最高价",type:"number"},model:{value:t.max,callback:function(e){t.max=e},expression:"max"}})],1)],1),i("v-uni-view",{staticClass:"content-box"},[i("v-uni-view",{staticClass:"title"},[t._v("品牌")]),i("v-uni-view",{staticClass:"brand-wrapper"},[i("v-uni-scroll-view",{style:{height:t.isShow?"90%":"250rpx"},attrs:{"scroll-y":t.isShow}},[i("v-uni-view",{staticClass:"wrapper"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item line1",class:e.check?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindChenck(e)}}},[t._v(t._s(e.brand_name))])})),1)],1),!t.isShow&&t.list.length>9?i("v-uni-view",{staticClass:"btns",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!0}}},[t._v("展开全部"),i("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1):t._e(),t.isShow&&t.list.length>9?i("v-uni-view",{staticClass:"btns",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isShow=!1}}},[t._v("收起"),i("v-uni-text",{staticClass:"iconfont icon-xiangshang"})],1):t._e()],1),i("v-uni-view",{staticClass:"foot-btn"},[i("v-uni-view",{staticClass:"btn-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.reset.apply(void 0,arguments)}}},[t._v("重置")]),i("v-uni-view",{staticClass:"btn-item confirm",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1),i("v-uni-view",{staticClass:"right-bg",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)},o=[]},"576b":function(t,e,i){var a=i("24fb"),o=i("1de5"),n=i("9920"),r=i("f3f7"),s=i("289e");e=a(!1);var c=o(n),d=o(r),p=o(s);e.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/* 文章场景相关 */.productList .search[data-v-5c0ff044]{width:100%;height:%?86?%;padding:0 %?20?%;box-sizing:border-box;position:fixed;left:0;top:0;z-index:9;background-color:var(--view-theme)}.productList .search .back[data-v-5c0ff044]{display:flex;align-items:center;width:%?40?%;height:%?60?%}.productList .search .back .iconfont[data-v-5c0ff044]{color:#fff;font-size:%?36?%}.productList .search .input[data-v-5c0ff044]{width:%?570?%;height:%?60?%;background-color:#fff;border-radius:%?50?%;padding:0 %?20?%;box-sizing:border-box}.productList .search .input uni-input[data-v-5c0ff044]{flex:1;height:100%;font-size:%?26?%;margin-left:%?10?%}.productList .search .input .placeholder[data-v-5c0ff044]{color:#999}.productList .search .input .iconfont[data-v-5c0ff044]{font-size:%?35?%;color:#555}.productList .search .icon-pailie[data-v-5c0ff044],\n.productList .search .icon-tupianpailie[data-v-5c0ff044]{color:#fff;width:%?62?%;font-size:%?40?%;height:%?86?%;line-height:%?86?%}.font_bg-red.type2[data-v-5c0ff044]{background-color:#fd6523}.productList .nav-wrapper[data-v-5c0ff044]{z-index:9;position:fixed;left:0;top:0;width:100%;margin-top:%?86?%;background-color:#e93323}.productList .nav-wrapper .tab-bar[data-v-5c0ff044]{display:flex;align-items:center}.productList .nav-wrapper .tab-bar .tab-item[data-v-5c0ff044]{position:relative;flex:1;display:flex;justify-content:center;align-items:center;padding:%?8?% 0 %?20?%;color:#fff;font-size:%?28?%;font-weight:700}.productList .nav-wrapper .tab-bar .tab-item[data-v-5c0ff044]::after{content:" ";position:absolute;left:50%;bottom:%?18?%;width:%?30?%;height:%?3?%;background:transparent;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.productList .nav-wrapper .tab-bar .tab-item.on[data-v-5c0ff044]::after{background:#fff}.item_tags[data-v-5c0ff044]{margin-top:%?16?%}.item_tags .tags_item[data-v-5c0ff044]{display:inline-block;font-size:%?20?%;text-align:center;border-radius:%?5?%;padding:0 %?4?%;line-height:%?28?%;margin-right:%?8?%}.item_tags .tags_item.ticket[data-v-5c0ff044]{color:var(--view-theme);border:1px solid var(--view-theme)}.item_tags .tags_item.delivery[data-v-5c0ff044]{color:#ff9000;border:1px solid #ff9000}.productList .nav[data-v-5c0ff044]{height:%?86?%;color:#454545;font-size:%?28?%;background-color:#fff;display:flex;justify-content:space-between;padding:0 %?28?%}.productList .nav .item[data-v-5c0ff044]{display:flex;align-items:center;justify-content:center;flex:1}.productList .nav .item.t-color[data-v-5c0ff044]{font-weight:700}.productList .nav .item uni-image[data-v-5c0ff044]{width:%?15?%;height:%?19?%;margin-left:%?10?%}.productList .list[data-v-5c0ff044]{padding:0 %?20?%;margin-top:%?168?%}.productList .list.on[data-v-5c0ff044]{background-color:#fff;border-top:1px solid #f6f6f6;background:#fff}.productList .list .item[data-v-5c0ff044]{position:relative;width:%?345?%;margin-top:%?20?%;background-color:#fff;border-radius:%?20?%;borderbottom:1px solid #f5f5f5}.productList .list .item.on[data-v-5c0ff044]{width:100%;display:flex;padding:%?30?% 0;margin:0;border-bottom:none}.productList .list .item.on[data-v-5c0ff044]::before{content:" ";position:absolute;top:0;right:%?20?%;left:%?250?%;border-top:1px solid #f5f5f5}.productList .list .item .pictrue[data-v-5c0ff044]{position:relative;width:100%;height:%?345?%;position:relative}.border-picture[data-v-5c0ff044]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:%?16?%;background:50%/cover no-repeat}.productList .list .item .pictrue.on[data-v-5c0ff044]{width:%?260?%;height:%?260?%}.productList .list .item .pictrue uni-image[data-v-5c0ff044]{width:100%;height:100%;border-radius:%?20?% %?20?% 0 0}.productList .list .item .pictrue uni-image.on[data-v-5c0ff044]{border-radius:%?16?%}.productList .list .item .text[data-v-5c0ff044]{padding:%?20?% %?17?% %?26?% %?17?%;font-size:%?30?%;color:#282828}.productList .list .item .name[data-v-5c0ff044]{display:flex;align-items:center}.productList .list .item .text.on[data-v-5c0ff044]{width:%?450?%;padding:0 0 0 %?22?%}.productList .list .item .text.on .item_bot[data-v-5c0ff044], .productList .list .item .text.on .name[data-v-5c0ff044]{width:100%}.productList .list .item .text .money[data-v-5c0ff044]{display:flex;align-items:center;font-size:%?26?%;font-weight:700;margin-top:%?8?%;color:var(--view-priceColor)}.productList .list .item .text .money .num[data-v-5c0ff044]{font-size:%?34?%}.productList .list .item .text .money .ticket[data-v-5c0ff044]{margin-left:%?10?%;padding:0 %?5?%;font-weight:400;font-size:%?20?%;border:1px solid var(--view-theme);border-radius:%?4?%}.productList .list .item .text .money .ticket-big[data-v-5c0ff044]{display:flex;align-items:center;justify-content:center;width:auto;padding:0 %?10?%;height:%?28?%;margin-left:%?10?%;background-image:url('+c+");background-size:100% 100%;font-size:%?20?%;font-weight:400}.productList .list .item .text .score[data-v-5c0ff044]{margin-top:%?10?%;color:#737373;font-size:%?20?%}.productList .list .item .text .company[data-v-5c0ff044]{display:flex;align-items:center;color:#666;font-size:%?20?%}.productList .list .item .text .company .store_name[data-v-5c0ff044]{max-width:%?180?%}.productList .list .item .text .company .flex[data-v-5c0ff044]{display:flex;align-items:center;margin-left:%?10?%;color:#282828}.productList .list .item .text .company .flex .iconfont[data-v-5c0ff044]{font-size:%?16?%;margin-top:%?4?%}.productList .list .item .foot-bar[data-v-5c0ff044]{width:100%;height:%?52?%;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(-90deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:0 0 %?16?% %?16?%;color:#fff;font-size:%?24?%}.productList .list .item .foot-bar .icon-fenxiang[data-v-5c0ff044]{font-size:%?24?%;margin-right:%?10?%}.productList .list .item .foot-bar.on[data-v-5c0ff044]{position:absolute;right:0;bottom:%?40?%;width:%?180?%;height:%?44?%;border-radius:%?22?%}.noCommodity[data-v-5c0ff044]{background-color:#fff;padding-bottom:%?30?%}.noCommodity .pictrue[data-v-5c0ff044]{margin:0 auto}.spin[data-v-5c0ff044]{display:block;-webkit-transform:rotate(180deg);transform:rotate(180deg);font-size:%?36?%}.icon-xiala1[data-v-5c0ff044]{margin-top:%?6?%}.icon-shaixuan[data-v-5c0ff044]{font-size:%?30?%;margin-left:%?10?%}.down-wrapper .bg[data-v-5c0ff044]{z-index:8;position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.down-wrapper .down-box[data-v-5c0ff044]{z-index:8;position:fixed;left:0;top:%?170?%;width:100%;padding:0 %?40?% %?28?% %?74?%;background-color:#f8f8f8;border-radius:0 0 %?24?% %?24?%}.down-wrapper .down-box .down-item[data-v-5c0ff044]{margin-top:%?28?%;font-size:%?24?%;color:#454545}.down-wrapper .down-box .down-item.on[data-v-5c0ff044]{color:var(--view-theme)}.down-wrapper .down-box .down-item .iconfont[data-v-5c0ff044]{color:var(--view-theme);font-size:%?20?%;float:right}.store-wrapper[data-v-5c0ff044]{margin-top:%?240?%;border-top:1px solid #f6f6f6}.store-wrapper .star-box[data-v-5c0ff044]{display:flex;align-items:center}.store-wrapper .star-box .star[data-v-5c0ff044]{position:relative;width:%?111?%;height:%?19?%;background:url("+d+");background-size:%?111?% %?19?%}.store-wrapper .star-box .star-active[data-v-5c0ff044]{position:absolute;left:0;top:0;width:%?111?%;height:%?19?%;overflow:hidden;background:url("+p+");background-size:%?111?% %?19?%}.store-wrapper .star-box .num[data-v-5c0ff044]{color:#e93323;font-size:%?24?%;margin-left:%?10?%}.store-wrapper .store-item[data-v-5c0ff044]{margin-bottom:%?12?%;padding:%?40?% %?20?%;background-color:#fff}.store-wrapper .store-item .head[data-v-5c0ff044]{display:flex;align-items:center;justify-content:space-between}.store-wrapper .store-item .head .left-wrapper[data-v-5c0ff044]{display:flex;align-items:center}.store-wrapper .store-item .head .left-wrapper .logo[data-v-5c0ff044]{width:%?80?%;height:%?80?%}.store-wrapper .store-item .head .left-wrapper .logo uni-image[data-v-5c0ff044]{width:%?80?%;height:%?80?%;border-radius:%?6?%}.store-wrapper .store-item .head .left-wrapper .con-box[data-v-5c0ff044]{margin-left:%?20?%}.store-wrapper .store-item .head .left-wrapper .con-box .name[data-v-5c0ff044]{font-size:%?30?%;color:#333;font-weight:700}.store-wrapper .store-item .head .link[data-v-5c0ff044]{width:%?114?%;height:%?50?%;line-height:%?50?%;background:linear-gradient(-90deg,#f67a38,#f11b09);border-radius:%?25?%;text-align:center;color:#fff;font-size:%?24?%}.store-wrapper .store-item .pic-wrapper[data-v-5c0ff044]{display:flex;margin-top:%?30?%}.store-wrapper .store-item .pic-wrapper .pic-item[data-v-5c0ff044]{position:relative;width:%?226?%;height:%?226?%;margin-right:%?16?%}.store-wrapper .store-item .pic-wrapper .pic-item uni-image[data-v-5c0ff044]{width:%?226?%;height:%?226?%;border-radius:%?16?%}.store-wrapper .store-item .pic-wrapper .pic-item .price[data-v-5c0ff044]{position:absolute;right:0;bottom:0;height:%?36?%;padding:0 %?10?%;line-height:%?36?%;text-align:center;background:rgba(0,0,0,.5);border-radius:%?16?% %?2?% %?16?% %?2?%;color:#fff;font-size:%?24?%}.store-wrapper .store-item .pic-wrapper .pic-item .price uni-text[data-v-5c0ff044]{font-size:%?18?%}.store-wrapper .store-item .pic-wrapper .pic-item[data-v-5c0ff044]:nth-child(3n){margin-right:0}",""]),t.exports=e},"5bc3":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var a={WaterfallsFlow:i("d920").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"productList"},[i("v-uni-view",{staticClass:"search acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"back",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.set_where(1)}}},[i("v-uni-view",{staticClass:"iconfont icon-xiangzuo"})],1),i("v-uni-view",{staticClass:"input acea-row row-between-wrapper"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo"}),i("v-uni-input",{attrs:{placeholder:"搜索商品名称","placeholder-class":"placeholder","confirm-type":"search",name:"search",value:t.where.keyword},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmit.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"iconfont",class:1==t.is_switch?"icon-pailie":"icon-tupianpailie",staticStyle:{"text-align":"right"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Changswitch.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"nav-wrapper"},[i("v-uni-view",{staticClass:"nav acea-row row-middle"},[i("v-uni-view",{staticClass:"item",class:{"t-color":t.downKey>0&&0==t.firstKey},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.downStatus=!t.downStatus}}},[t._v(t._s(t.downMenu[t.downKey].title)),t.downStatus?i("v-uni-text",{staticClass:"iconfont icon-xiala1"}):i("v-uni-text",{staticClass:"iconfont icon-xiala1 spin"})],1),i("v-uni-view",{staticClass:"item",class:{"t-color":3==t.firstKey},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.set_where(3)}}},[t._v("销量")]),i("v-uni-view",{staticClass:"item",class:{"t-color":2==t.firstKey},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.set_where(2)}}},[t._v("价格"),1==t.price?i("v-uni-image",{attrs:{src:t.domain+"/static/diy/up"+t.keyColor+".png"}}):2==t.price?i("v-uni-image",{attrs:{src:t.domain+"/static/diy/down"+t.keyColor+".png"}}):i("v-uni-image",{attrs:{src:"/static/images/horn.png"}})],1),i("v-uni-view",{staticClass:"item",class:{"t-color":4==t.firstKey},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindRight.apply(void 0,arguments)}}},[t._v("筛选"),i("v-uni-text",{staticClass:"iconfont icon-shaixuan"})],1)],1)],1),1==t.tabIndex?[t.is_switch?i("v-uni-view",{staticClass:"list"},[i("WaterfallsFlow",{attrs:{wfList:t.productList,type:1},on:{itemTap:function(e){arguments[0]=e=t.$handleEvent(e),t.godDetail.apply(void 0,arguments)},goShop:function(e){arguments[0]=e=t.$handleEvent(e),t.goShop.apply(void 0,arguments)}}}),t.productList.length>0?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],1):i("v-uni-view",{staticClass:"list acea-row row-between-wrapper on"},[t._l(t.productList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item on",attrs:{"hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.godDetail(e)}}},[i("v-uni-view",{staticClass:"pictrue on"},[i("v-uni-image",{staticClass:"on",attrs:{src:e.image}}),e.border_pic?i("v-uni-view",{staticClass:"border-picture",style:{backgroundImage:"url("+e.border_pic+")"}}):t._e(),e.activity&&"1"===e.activity.type?i("v-uni-text",{staticClass:"pictrue_log_class",class:!0===t.is_switch?"pictrue_log_big":"pictrue_log"},[t._v("秒杀")]):t._e(),e.activity&&"2"===e.activity.type?i("v-uni-text",{staticClass:"pictrue_log_class",class:!0===t.is_switch?"pictrue_log_big":"pictrue_log"},[t._v("砍价")]):t._e(),e.activity&&"3"===e.activity.type?i("v-uni-text",{staticClass:"pictrue_log_class",class:!0===t.is_switch?"pictrue_log_big":"pictrue_log"},[t._v("拼团")]):t._e()],1),i("v-uni-view",{staticClass:"text on acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"name"},[i("v-uni-text",{staticClass:"name_text line2"},[t._v(t._s(e.store_name))])],1),i("v-uni-view",{staticClass:"item_bot"},[i("v-uni-view",{staticClass:"money on"},[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.price))])],1),0!=e.product_type||e.issetCoupon||1==e.delivery_free?i("v-uni-view",{staticClass:"item_tags"},[0!=e.product_type?i("v-uni-text",{class:"font_bg-red type"+e.product_type},[t._v(t._s(1==e.product_type?"秒杀":2==e.product_type?"预售":3==e.product_type?"助力":4==e.product_type?"拼团":""))]):t._e(),e.issetCoupon?i("v-uni-text",{staticClass:"tags_item ticket"},[t._v("领券")]):t._e(),1==e.delivery_free?i("v-uni-text",{staticClass:"tags_item delivery"},[t._v("包邮")]):t._e()],1):t._e(),i("v-uni-view",{staticClass:"score"},[t._v(t._s(e.rate)+"评分 "+t._s(e.reply_count)+"条评论")]),e.merchant?i("v-uni-view",{staticClass:"company",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goShop(e.mer_id)}}},[i("v-uni-view",{staticClass:"store_name line1"},[t._v(t._s(e.merchant.mer_name))]),i("v-uni-view",{staticClass:"flex"},[t._v("进店"),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1):t._e()],1)],1),e.max_extension>0&&(0==e.product_type||2==e.product_type)?[i("v-uni-view",{staticClass:"foot-bar on"},[1==t.is_switch?i("v-uni-text",{staticClass:"iconfont icon-fenxiang"}):t._e(),t._v("最高赚 ¥"+t._s(e.max_extension))],1)]:t._e()],2)})),t.productList.length>0?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],2),0==t.productList.length&&t.where.page>1?i("v-uni-view",{staticClass:"noCommodity"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:"/static/images/noCart.png"}}),i("v-uni-view",[t._v("暂无商品,去看点什么吧")])],1),1==t.recommend_switch?i("recommend",{attrs:{hostProduct:t.hostProduct}}):t._e()],1):t._e()]:t._e(),t.rightBox?i("rightSlider",{attrs:{status:t.rightBox,price_on:t.price_on,price_off:t.price_off,brandList:t.brandList},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],2),t.downStatus?i("v-uni-view",{staticClass:"down-wrapper"},[i("v-uni-view",{staticClass:"bg"}),i("v-uni-view",{staticClass:"down-box"},t._l(t.downMenu,(function(e,a){return i("v-uni-view",{key:e.key,staticClass:"down-item",class:{on:a==t.downKey},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindDown(e,a)}}},[t._v(t._s(e.title)),a==t.downKey?i("v-uni-text",{staticClass:"iconfont icon-gou"}):t._e()],1)})),1)],1):t._e(),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},n=[]},8877:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4de4"),i("d3b7"),i("159b");var a=i("26cb"),o={props:{brandList:{type:Array},status:{type:Boolean,default:!1},price_on:{type:String,default:""},price_off:{type:String,default:""}},computed:(0,a.mapGetters)(["viewColor"]),data:function(){return{min:"",max:"",is_trader:"",isShow:!1,list:[],storeTypeList:[{name:"全部",value:"",check:!0},{name:"自营",value:"trader",check:!1}],activeList:[],showBox:!1}},mounted:function(){this.list=this.brandList,this.showBox=this.status,this.min=this.price_on,this.max=this.price_off},methods:{bindChenck:function(t){t.check=!t.check,this.arrFilter()},bindChenckType:function(t,e){this.storeTypeList=[{name:"全部",value:"",check:!1},{name:"自营",value:"trader",check:!1}],this.storeTypeList[e]["check"]=!0,this.is_trader=this.storeTypeList[0]["check"]?"":1},arrFilter:function(){this.activeList=this.list.filter((function(t){return 1==t.check}))},reset:function(){this.list.forEach((function(t,e){t.check=!1})),this.storeTypeList=[{name:"全部",value:"",check:!0},{name:"自营",value:"trader",check:!1}],this.min=this.max="",this.arrFilter()},confirm:function(){this.arrFilter();var t={brandList:this.activeList,price_on:this.min,price_off:this.max,status:!1,is_trader:this.is_trader};this.showBox=!1,this.$emit("confirm",t)},close:function(){this.showBox=!1,this.$emit("close")},moveStop:function(){}}};e.default=o},"8cdc":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("5530"));i("99af"),i("d81d"),i("d3b7"),i("159b"),i("14d9"),i("26e9");var n=i("111c"),r=a(i("5380")),s=a(i("073a")),c=a(i("d920")),d=i("3b3e"),p=i("4f1b"),l=a(i("f272")),f=i("26cb"),u=i("bd9e"),h=i("8342"),v=(getApp(),{computed:(0,p.configMap)({hide_mer_status:0,recommend_switch:0},(0,f.mapGetters)(["uid","isLogin","viewColor","keyColor"])),components:{recommend:r.default,rightSlider:s.default,WaterfallsFlow:c.default,authorize:l.default},watch:{tabIndex:function(t,e){1==t?(this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)):(this.downStatus=!1,this.storeMerchantList())}},data:function(){return{domain:h.HTTP_REQUEST_URL,productList:[],is_switch:!0,where:{mer_cate_id:"",order:"",price_on:"",price_off:"",brand_id:"",keyword:"",page:1,limit:30},price:0,stock:0,nows:!1,loadend:!1,loading:!1,loadTitle:"加载更多",title:"",hostProduct:[],hotPage:1,hotLimit:10,hotScroll:!1,rightBox:!1,brandList:[],downKey:0,downStatus:!1,downMenu:[{title:"综合",key:1},{title:"评分",key:2},{title:"新品",key:3}],firstKey:0,tabIndex:1,storeList:[],sotreParam:{keyword:"",page:1,limit:10,order:""},storeKey:0,storeScroll:!0,mer_id:"",sortId:"",price_on:"",price_off:"",isAuto:!1,isShowAuth:!1}},onLoad:function(t){this.$set(this.where,"mer_cate_id",t.id||""),this.$set(this,"mer_id",t.mer_id||""),this.title=t.title||"",this.$set(this.where,"keyword",t.searchValue||""),this.get_product_list(),this.get_host_product()},onReady:function(){},mounted:function(){},methods:{goShop:function(t){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)})},storeMerchantList:function(){var t=this;this.storeScroll&&(0,n.storeMerchantList)({keyword:this.where.keyword,page:this.sotreParam.page,limit:this.sotreParam.limit,order:this.sotreParam.order}).then((function(e){t.storeScroll=e.data.list.length>=t.sotreParam.limit,t.sotreParam.page+=1,t.storeList=t.storeList.concat(e.data.list)}))},storeTab:function(t){this.storeKey=t,this.sotreParam.order=0==t?"":1==t?"sales":"rate",this.sotreParam.page=1,this.storeScroll=!0,this.storeList=[],this.storeMerchantList()},bindRight:function(){this.price=0,this.firstKey=4,this.getBrandlist()},getBrandlist:function(){var t=this,e=[];(0,n.getBrandlist)({mer_cate_id:this.where.mer_cate_id,keyword:this.where.keyword,mer_id:this.mer_id}).then((function(i){e=i.data.list.map((function(t){return(0,o.default)((0,o.default)({},t),{},{check:!1})})),t.where.brand_id.length>0&&t.where.brand_id.forEach((function(t,i){e.forEach((function(e,i){e&&t==e.brand_id&&(e.check=!0)}))})),t.brandList=e,t.rightBox=!0}))},onLoadFun:function(t){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},godDetail:function(t){var e=this;(0,u.goShopDetail)(t,this.uid).then((function(i){e.isLogin?(0,d.initiateAssistApi)(t.activity_id).then((function(t){var e=t.data.product_assist_set_id;uni.hideLoading(),uni.navigateTo({url:"/pages/activity/assist_detail/index?id="+e})})).catch((function(t){uni.showToast({title:t,icon:"none"})})):(e.isAuto=!0,e.isShowAuth=!0)}))},confirm:function(t){this.price_on=t.price_on,this.price_off=t.price_off;var e=[];0==t.brandList.length?this.where.brand_id="":(t.brandList.forEach((function(t){e.push(t.brand_id)})),this.where.brand_id=e),this.rightBox=t.status,this.where.price_on=t.price_on,this.where.price_off=t.price_off,this.where.mer_id=this.mer_id,this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)},close:function(){this.rightBox=!1},bindDown:function(t,e){this.firstKey=0,0==e?this.where.order="":1==e?this.where.order="rate":2==e&&(this.where.order="is_new"),this.downKey=e,this.downStatus=!1,this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)},Changswitch:function(){this.is_switch=!this.is_switch},searchSubmit:function(t){this.$set(this.where,"keyword",t.detail.value),1==this.tabIndex?(this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)):(this.sotreParam.page=1,this.storeScroll=!0,this.storeList=[],this.storeMerchantList())},get_host_product:function(){var t=this;t.hotScroll||(0,n.getProductHot)(t.hotPage,t.hotLimit).then((function(e){t.hotPage++,t.hotScroll=e.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data.list)}))},set_where:function(t){switch(t){case 1:uni.navigateBack();break;case 2:this.firstKey=t,0==this.price?(this.price=1,this.where.order="price_asc"):1==this.price?(this.price=2,this.where.order="price_desc"):2==this.price&&(this.price=0,this.where.order=""),this.$set(this.where,"page",1),this.get_product_list(!0);break;case 3:this.price=0,this.loadend=!1,this.$set(this.where,"order","sales"),this.$set(this.where,"page",1),this.get_product_list(!0),this.firstKey=t;break}this.loadend=!1,this.$set(this.where,"page",1),this.get_product_list(!0)},get_product_list:function(t){var e=this;e.loadend||e.loading||(!0===t&&e.$set(e,"productList",[]),e.loading=!0,e.loadTitle="",(0,n.merchantProduct)(e.mer_id,e.where).then((function(t){var i=t.data.list,a=e.$util.SplitArray(i,e.productList),o=i.length<e.where.limit;e.loadend=o,e.loading=!1,e.loadTitle=o?"已全部加载":"加载更多",e.$set(e,"productList",a),e.$set(e.where,"page",e.where.page+1)})).catch((function(t){e.loading=!1,e.loadTitle="加载更多"})))}},onReachBottom:function(){1==this.tabIndex?this.productList.length>0?this.get_product_list():this.get_host_product():this.storeMerchantList()},onPullDownRefresh:function(){var t=this;setTimeout((function(){var e=t.productList.reverse();t.productList=e,uni.stopPullDownRefresh()}),500)},onPageScroll:function(){uni.$emit("scroll")}});e.default=v},"8ef1":function(t,e,i){"use strict";i.r(e);var a=i("5bc3"),o=i("2b3a");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("c96d");var r=i("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"5c0ff044",null,!1,a["a"],void 0);e["default"]=s.exports},a296:function(t,e,i){var a=i("24fb");e=a(!1),e.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/* 文章场景相关 */.Popup[data-v-ac292046]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000}.Popup .logo-auth[data-v-ac292046]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-ac292046]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-ac292046]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-ac292046]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-ac292046]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-ac292046]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-ac292046]{width:%?500?%}.flex[data-v-ac292046]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-ac292046]{font-weight:700;background-color:#e93323;\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-ac292046]{font-size:%?28?%;color:#fff}.mask[data-v-ac292046]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},ba3d:function(t,e,i){var a=i("576b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("09995c82",a,!0,{sourceMap:!1,shadowMode:!1})},c15c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[i("v-uni-view",{staticClass:"logo-auth"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.routine_logo,mode:"aspectFit"}})],1),t.isWeixin?i("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):i("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?i("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):i("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),i("v-uni-view",{staticClass:"bottom flex"},[i("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),i("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?i("v-uni-text",{staticClass:"text"},[t._v("去授权")]):i("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},o=[]},c440:function(t,e,i){"use strict";var a=i("d55f"),o=i.n(a);o.a},c96d:function(t,e,i){"use strict";var a=i("ba3d"),o=i.n(a);o.a},d55f:function(t,e,i){var a=i("dbbc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("49421594",a,!0,{sourceMap:!1,shadowMode:!1})},d630:function(t,e,i){var a=i("a296");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("8f383f98",a,!0,{sourceMap:!1,shadowMode:!1})},dbbc:function(t,e,i){var a=i("24fb");e=a(!1),e.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/* 文章场景相关 */.slideInRight[data-v-c9ea9550]{-webkit-animation-duration:.5s;animation-duration:.5s}.right-wrapper[data-v-c9ea9550]{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%}.right-wrapper .control-wrapper[data-v-c9ea9550]{z-index:90;position:absolute;right:0;top:0;display:flex;flex-direction:column;width:%?635?%;height:100%;background-color:#f5f5f5}.right-wrapper .control-wrapper .header[data-v-c9ea9550]{padding:%?50?% %?26?% %?40?%;background-color:#fff}.right-wrapper .control-wrapper .header .title[data-v-c9ea9550]{font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .header .input-wrapper[data-v-c9ea9550]{display:flex;align-items:center;justify-content:space-between;margin-top:%?28?%}.right-wrapper .control-wrapper .header .input-wrapper uni-input[data-v-c9ea9550]{width:%?260?%;height:%?56?%;padding:0 %?10?%;background:#f2f2f2;border-radius:%?28?%;font-size:%?22?%;text-align:center}.right-wrapper .control-wrapper .header .input-wrapper .line[data-v-c9ea9550]{width:%?15?%;height:%?2?%;background:#7d7d7d}.right-wrapper .control-wrapper .content-box[data-v-c9ea9550]{position:relative;flex:1;display:flex;flex-direction:column;margin-top:%?20?%;padding:0 %?26?%;background-color:#fff;overflow:hidden}.right-wrapper .control-wrapper .content-box .title[data-v-c9ea9550]{padding:%?40?% 0 %?20?%;font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .content-box .brand-wrapper[data-v-c9ea9550]{flex:1;overflow:hidden}.right-wrapper .control-wrapper .content-box .brand-wrapper .wrapper[data-v-c9ea9550]{display:flex;flex-wrap:wrap;padding-bottom:%?20?%}.right-wrapper .control-wrapper .content-box .brand-wrapper .item[data-v-c9ea9550]{display:block;width:%?186?%;height:%?56?%;line-height:%?56?%;text-align:center;background:#f2f2f2;border-radius:%?28?%;margin-top:%?25?%;padding:0 %?10?%;margin-right:%?12?%}.right-wrapper .control-wrapper .content-box .brand-wrapper .item[data-v-c9ea9550]:nth-child(3n){margin-right:0}.right-wrapper .control-wrapper .content-box .brand-wrapper .item.on[data-v-c9ea9550]{background:var(--view-minorColor);border:1px solid var(--view-theme);color:var(--view-theme)}.right-wrapper .control-wrapper .content-box .brand-wrapper .btns[data-v-c9ea9550]{display:flex;align-items:center;justify-content:center;padding-top:%?10?%;font-size:%?22?%;color:#999}.right-wrapper .control-wrapper .content-box .brand-wrapper .btns .iconfont[data-v-c9ea9550]{margin-left:%?10?%;margin-top:%?5?%;font-size:%?20?%}.right-wrapper .control-wrapper .content-box .foot-btn[data-v-c9ea9550]{display:flex;align-items:center;justify-content:space-between;padding-bottom:%?30?%}.right-wrapper .control-wrapper .content-box .foot-btn .btn-item[data-v-c9ea9550]{display:flex;align-items:center;justify-content:center;width:%?286?%;height:%?68?%;background:#fff;border:1px solid #aaa;border-radius:%?34?%;font-size:%?26?%;color:#282828}.right-wrapper .control-wrapper .content-box .foot-btn .btn-item.confirm[data-v-c9ea9550]{background:var(--view-theme);border-color:var(--view-theme);color:#fff}.right-wrapper .control-wrapper .store_type[data-v-c9ea9550]{position:relative;margin-top:%?20?%;padding:0 %?26?%;background-color:#fff;overflow:hidden}.right-wrapper .control-wrapper .store_type .title[data-v-c9ea9550]{padding:%?40?% 0 %?20?%;font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .store_type .brand-wrapper[data-v-c9ea9550]{overflow:hidden}.right-wrapper .control-wrapper .store_type .brand-wrapper .wrapper[data-v-c9ea9550]{display:flex;flex-wrap:wrap;padding-bottom:%?20?%}.right-wrapper .control-wrapper .store_type .brand-wrapper .item[data-v-c9ea9550]{display:block;width:%?186?%;height:%?56?%;line-height:%?56?%;text-align:center;background:#f2f2f2;border-radius:%?28?%;margin-top:%?25?%;padding:0 %?10?%;margin-right:%?12?%}.right-wrapper .control-wrapper .store_type .brand-wrapper .item[data-v-c9ea9550]:nth-child(3n){margin-right:0}.right-wrapper .control-wrapper .store_type .brand-wrapper .item.on[data-v-c9ea9550]{background:var(--view-minorColor);border:1px solid var(--view-theme);color:var(--view-theme)}.right-wrapper .right-bg[data-v-c9ea9550]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}',""]),t.exports=e},e933:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("5530")),n=a(i("ff56")),r=i("31bd"),s=i("5cac"),c=i("26cb"),d=a(i("dae1")),p=i("4f1b"),l=(a(i("8b6a")),i("713c")),f=getApp(),u={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,o.default)((0,o.default)({},(0,c.mapGetters)(["isLogin","userInfo","viewColor"])),(0,p.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,l.toLogin)(!0)},getUserProfile:function(){var t=this,e=this;d.default.getUserProfile().then((function(i){var a=i.userInfo;a.code=t.code,a.spread=f.globalData.spid,a.spread_code=f.globalData.code,(0,r.commonAuth)({auth:{type:"routine",auth:a}}).then((function(i){if(200!=i.data.status)return uni.setStorageSync("auth_token",i.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var a=i.data.result.expires_time-n.default.time();e.$store.commit("UPDATE_USERINFO",i.data.result.user),e.$store.commit("LOGIN",{token:i.data.result.token,time:a}),e.$store.commit("SETUID",i.data.result.user.uid),n.default.set(s.EXPIRES_TIME,i.data.result.expires_time,a),n.default.set(s.USER_INFO,i.data.result.user,a),t.$emit("onLoadFun",i.data.result.user),i.data.result.user.isNew&&t.mp_is_new&&(t.editModal=!0)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.message,icon:"none",duration:2e3})}))})).catch((function(t){uni.hideLoading()}))},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1)}}};e.default=u},f272:function(t,e,i){"use strict";i.r(e);var a=i("c15c"),o=i("493d");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("1c6c");var r=i("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"ac292046",null,!1,a["a"],void 0);e["default"]=s.exports},f3f7:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAATCAMAAACp+6PoAAAAWlBMVEUAAABmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZJqDNWAAAAHXRSTlMAqhzp38+/0svGs5aGgG1gTUc5IwbukHJxPzIvCgAGtv4AAACUSURBVEjHtcpHDgMxDARBJWtzXmfz/9/0SIBBGToPL2QXaH7jht3o8LkR0eDzLiIPTTp3sKsmmw9JsyhQ2W1dtrAehs3vsQ+i4+Nto7LUg08e24pafNK4xssHn0y2/5QfqdxXRObCHJLNrrAXms3PwmY0m+fCLJrNNoWf2rQaNJsD7vE0ZvE40Gxe4+DycU7xjsXkLziLaFJfyLhOAAAAAElFTkSuQmCC"}}]);