1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-goods_coupon_list-index~pages-columnGoods-goods_list-index~pages-columnGoods-goods~11a3437b"],{"0241":function(t,e,i){"use strict";i.r(e);var n=i("8305"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"0f76":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=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:"store_type"},[i("v-uni-view",{staticClass:"title"},[t._v("店铺类型")]),i("v-uni-view",{staticClass:"brand-wrapper"},[i("v-uni-view",{staticClass:"wrapper"},t._l(t.storeTypeList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item line1",class:e.check?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindChenckType(e,n)}}},[t._v(t._s(e.name))])})),1)],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,n){return i("v-uni-view",{key:n,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)},a=[]},1432:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("4de4"),i("d3b7"),i("159b");var n=i("26cb"),a={props:{brandList:{type:Array},status:{type:Boolean,default:!1},price_on:{type:String,default:""},price_off:{type:String,default:""},activeIndex:{type:Number,default:0}},computed:(0,n.mapGetters)(["viewColor"]),data:function(){return{min:"",max:"",is_trader:"",isShow:!1,list:[],storeTypeList:[{name:"全部",value:"",check:!0},{name:"自营",value:"trader",check:!1},{name:"非自营",value:"trader",check:!1}],activeList:[],showBox:!1,index:this.activeIndex}},mounted:function(){this.list=this.brandList,this.showBox=this.status,this.min=this.price_on,this.max=this.price_off,this.storeTypeList=[{name:"全部",value:"",check:!1},{name:"自营",value:"trader",check:!1},{name:"非自营",value:"trader",check:!1}],this.storeTypeList[this.index]["check"]=!0,this.is_trader=this.storeTypeList[0]["check"]?"":this.storeTypeList[1]["check"]?1:0},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},{name:"非自营",value:"trader",check:!1}],this.storeTypeList[e]["check"]=!0,this.is_trader=this.storeTypeList[0]["check"]?"":this.storeTypeList[1]["check"]?1:0,this.index=e},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},{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,this.index)},close:function(){this.showBox=!1,this.$emit("close")},moveStop:function(){}}};e.default=a},1809:function(t,e,i){"use strict";var n=i("c952"),a=i.n(n);a.a},"1f81":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAATCAMAAACp+6PoAAAAWlBMVEUAAABmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZJqDNWAAAAHXRSTlMAqhzp38+/0svGs5aGgG1gTUc5IwbukHJxPzIvCgAGtv4AAACUSURBVEjHtcpHDgMxDARBJWtzXmfz/9/0SIBBGToPL2QXaH7jht3o8LkR0eDzLiIPTTp3sKsmmw9JsyhQ2W1dtrAehs3vsQ+i4+Nto7LUg08e24pafNK4xssHn0y2/5QfqdxXRObCHJLNrrAXms3PwmY0m+fCLJrNNoWf2rQaNJsD7vE0ZvE40Gxe4+DycU7xjsXkLziLaFJfyLhOAAAAAElFTkSuQmCC"},2096:function(t,e,i){"use strict";i.r(e);var n=i("7a3c"),a=i("0241");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("1809");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"b811ad2a",null,!1,n["a"],void 0);e["default"]=s.exports},"20ce":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG8AAAATCAMAAACp+6PoAAAAZlBMVEUAAADpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPKqB2aAAAAIXRSTlMA/Onfy7+oG9LPxrOrloaAbWBNRzkjHgTukHJxPzIvCgcVzGbCAAAAnUlEQVRIx73QRxLDIBQDUNzAce9OT/79LxnBTAaXtdBG6M1fof4x9aR8+JyLrKhQPInIAx2KC9gVHYhnsek9UHkZC2fJMCs2v5syEZ84u41UlnNwyePqRCkuiawPdPngksl6T+6QyuXxH9gceTOYbF7E54XN5ufGOmw2dxvT2Gyu7Ijb1FaOzeZEJGpWpfoYD2w2D1lt3OPbZncUk38iPXa8mx9k4gAAAABJRU5ErkJggg=="},"51be":function(t,e,i){"use strict";var n=i("d593"),a=i.n(n);a.a},6309:function(t,e,i){"use strict";i.r(e);var n=i("0f76"),a=i("f4d1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("51be");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"11fd0d0c",null,!1,n["a"],void 0);e["default"]=s.exports},"7a3c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=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)},a=[]},8305:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),r=n(i("d05c")),o=i("7af5"),s=i("2fff"),c=i("26cb"),d=n(i("8388")),p=i("3413"),l=(n(i("ddc3")),i("e515")),u=getApp(),f={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,a.default)((0,a.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 n=i.userInfo;n.code=t.code,n.spread=u.globalData.spid,n.spread_code=u.globalData.code,(0,o.commonAuth)({auth:{type:"routine",auth:n}}).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 n=i.data.result.expires_time-r.default.time();e.$store.commit("UPDATE_USERINFO",i.data.result.user),e.$store.commit("LOGIN",{token:i.data.result.token,time:n}),e.$store.commit("SETUID",i.data.result.user.uid),r.default.set(s.EXPIRES_TIME,i.data.result.expires_time,n),r.default.set(s.USER_INFO,i.data.result.user,n),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=f},c7c9:function(t,e,i){var n=i("24fb");e=n(!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-11fd0d0c]{-webkit-animation-duration:.5s;animation-duration:.5s}.right-wrapper[data-v-11fd0d0c]{z-index:99;position:fixed;left:0;top:0;width:100%;height:100%}.right-wrapper .control-wrapper[data-v-11fd0d0c]{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-11fd0d0c]{padding:%?50?% %?26?% %?40?%;background-color:#fff}.right-wrapper .control-wrapper .header .title[data-v-11fd0d0c]{font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .header .input-wrapper[data-v-11fd0d0c]{display:flex;align-items:center;justify-content:space-between;margin-top:%?28?%}.right-wrapper .control-wrapper .header .input-wrapper uni-input[data-v-11fd0d0c]{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-11fd0d0c]{width:%?15?%;height:%?2?%;background:#7d7d7d}.right-wrapper .control-wrapper .content-box[data-v-11fd0d0c]{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-11fd0d0c]{padding:%?40?% 0 %?20?%;font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .content-box .brand-wrapper[data-v-11fd0d0c]{flex:1;overflow:hidden}.right-wrapper .control-wrapper .content-box .brand-wrapper .wrapper[data-v-11fd0d0c]{display:flex;flex-wrap:wrap;padding-bottom:%?20?%}.right-wrapper .control-wrapper .content-box .brand-wrapper .item[data-v-11fd0d0c]{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-11fd0d0c]:nth-child(3n){margin-right:0}.right-wrapper .control-wrapper .content-box .brand-wrapper .item.on[data-v-11fd0d0c]{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-11fd0d0c]{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-11fd0d0c]{margin-left:%?10?%;margin-top:%?5?%;font-size:%?20?%}.right-wrapper .control-wrapper .content-box .foot-btn[data-v-11fd0d0c]{display:flex;align-items:center;justify-content:space-between;padding-bottom:%?30?%}.right-wrapper .control-wrapper .content-box .foot-btn .btn-item[data-v-11fd0d0c]{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-11fd0d0c]{background:var(--view-theme);border-color:var(--view-theme);color:#fff}.right-wrapper .control-wrapper .store_type[data-v-11fd0d0c]{position:relative;margin-top:%?20?%;padding:0 %?26?%;background-color:#fff;overflow:hidden}.right-wrapper .control-wrapper .store_type .title[data-v-11fd0d0c]{padding:%?40?% 0 %?20?%;font-size:%?26?%;font-weight:700;color:#282828}.right-wrapper .control-wrapper .store_type .brand-wrapper[data-v-11fd0d0c]{overflow:hidden}.right-wrapper .control-wrapper .store_type .brand-wrapper .wrapper[data-v-11fd0d0c]{display:flex;flex-wrap:wrap;padding-bottom:%?20?%}.right-wrapper .control-wrapper .store_type .brand-wrapper .item[data-v-11fd0d0c]{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-11fd0d0c]:nth-child(3n){margin-right:0}.right-wrapper .control-wrapper .store_type .brand-wrapper .item.on[data-v-11fd0d0c]{background:var(--view-minorColor);border:1px solid var(--view-theme);color:var(--view-theme)}.right-wrapper .right-bg[data-v-11fd0d0c]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}',""]),t.exports=e},c952:function(t,e,i){var n=i("fcaf");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("90a99aa4",n,!0,{sourceMap:!1,shadowMode:!1})},d593:function(t,e,i){var n=i("c7c9");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("108201b9",n,!0,{sourceMap:!1,shadowMode:!1})},f4d1:function(t,e,i){"use strict";i.r(e);var n=i("1432"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},fcaf:function(t,e,i){var n=i("24fb");e=n(!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-b811ad2a]{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-b811ad2a]{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-b811ad2a]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-b811ad2a]{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-b811ad2a]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-b811ad2a]{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-b811ad2a]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-b811ad2a]{width:%?500?%}.flex[data-v-b811ad2a]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-b811ad2a]{font-weight:700;background-color:#e93323;\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-b811ad2a]{font-size:%?28?%;color:#fff}.mask[data-v-b811ad2a]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e}}]);
|