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.
1 line
16 KiB
1 line
16 KiB
5 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shopstore"],{"15d8":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530")),o=i(n("c7eb")),r=i(n("1da1"));n("a9e3"),n("ac1f"),n("4de4"),n("d3b7");var s=n("26cb"),c={components:{},props:{cur:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},commonOptions:function(t){return t.user.commonOptions},userPageType:function(t){return t.user.userPageType},activeIndex:function(t){return t.order.activeIndex}}),mounted:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){var n,i,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=t,i=uni.getSystemInfoSync().windowHeight,a=n.configInfo.navBarHeight,setTimeout((function(){var e=uni.createSelectorQuery().in(n);e.select(".custom-tabbar").boundingClientRect((function(e){var o=i-e.height-a,r=n.$util.deepCopy(t.configInfo);r.curSysHeight=o,r.tabbarHeight=e.height,n.updateConfigItem({key:"configInfo",val:r})})).exec()}),600);case 4:case"end":return e.stop()}}),e)})))()},methods:(0,a.default)((0,a.default)((0,a.default)({},(0,s.mapActions)(["getConfigInfo"])),(0,s.mapMutations)(["updateConfigItem"])),{},{changeTab:function(t){var e=this;return(0,r.default)((0,o.default)().mark((function n(){var i,a,r,s,c,u,f;return(0,o.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.id){n.next=5;break}return n.next=3,e.getConfigInfo();case 3:i=e.configInfo.tabBar.filter((function(e){return e.name==t.name})),t=i[0];case 5:if(a=t,r=a.id,s=e.activeIndex,c=e.cur,u=e.userPageType,f={1:"/pages/service",2:"/pages/technician",3:"/pages/dynamic",4:"/pages/order?tab=".concat(s),5:"/pages/mine?type=".concat(u),6:"/pages/shopstore",7:"/pages/map"},r!=c){n.next=10;break}return n.abrupt("return");case 10:e.$util.goUrl({url:f[r],openType:"reLaunch"});case 11:case"end":return n.stop()}}),n)})))()}})};e.default=c},"1b3c":function(t,e,n){"use strict";n.r(e);var i=n("15d8"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"38f1":function(t,e,n){"use strict";var i=n("80c8"),a=n.n(i);a.a},"3e5f":function(t,e,n){"use strict";n.r(e);var i=n("4c59"),a=n("55a7");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("bc6e");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"4f1b948d",null,!1,i["a"],void 0);e["default"]=s.exports},"4c59":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isLoad?n("v-uni-view",{staticClass:"pages-shopstore"},[t.configInfo.plugAuth.store?[n("fixed",[n("search",{attrs:{type:"input",padding:30,radius:0,backgroundColor:"#fff",placeholder:"请输入门店名称"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.toSearch.apply(void 0,arguments)}}})],1),t._l(t.list.data,(function(e,i){return n("v-uni-view",{key:i,staticClass:"list-item flex-center pd-lg mt-md ml-md mr-md fill-base radius-16",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(i)}}},[n("v-uni-view",{staticClass:"item-img radius-16"},[n("v-uni-view",{staticClass:"h5-image item-img radius-16",style:{backgroundImage:"url('"+e.cover+"')"}})],1),n("v-uni-view",{staticClass:"flex-1 ml-md max-510"},[n("v-uni-view",{staticClass:"flex-y-center f-title c-title"},[n("v-uni-view",{staticClass:"text-bold max-380 ellipsis"},[t._v(t._s(e.title))]),n("v-uni-view",{staticClass:"store-status-btn flex-center ml-sm f-icontext",style:{color:1==e.work_status?t.primaryColor:"#888",borderColor:1==e.work_status?t.primaryColor:"#888"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toPre
|