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
9.3 KiB
1 line
9.3 KiB
2 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["shopstore-pages-service"],{"0769":function(t,i,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("c223");var a=n(e("2634")),s=n(e("2fdc")),o=n(e("9b1b")),r=e("8f59"),c=n(e("e693")),u={components:{serviceListItem:c.default},data:function(){return{options:{},loading:!0,param:{page:1},list:{data:[]},count:{}}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo},location:function(t){return t.user.location}}),onLoad:function(t){this.options=t,this.$util.setNavigationBarColor({bg:this.primaryColor}),this.$util.showLoading(),this.initIndex()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:(0,o.default)((0,o.default)({},(0,r.mapMutations)([])),{},{initIndex:function(){var t=arguments,i=this;return(0,s.default)((0,a.default)().mark((function e(){var n;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.length>0&&void 0!==t[0]&&t[0],n||!i.$jweixin.isWechat()){e.next=5;break}return e.next=4,i.$jweixin.initJssdk();case 4:i.$jweixin.wxReady((function(){i.$jweixin.hideOptionMenu()}));case 5:i.getList();case 6:case"end":return e.stop()}}),e)})))()},initRefresh:function(){var t=this;return(0,s.default)((0,a.default)().mark((function i(){return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.param.page=1,i.next=3,t.initIndex(!0);case 3:case"end":return i.stop()}}),i)})))()},getList:function(){var t=this;return(0,s.default)((0,a.default)().mark((function i(){var e,n,s,o;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return e=t.list,n=t.param,s=t.options.id,n.id=s,i.next=5,t.$api.shopstore.storeServiceList(n);case 5:o=i.sent,1==t.param.page||(o.data=e.data.concat(o.data)),t.list=o,t.loading=!1,t.$util.hideAll();case 9:case"end":return i.stop()}}),i)})))()}})};i.default=u},"269e":function(t,i,e){"use strict";e.r(i);var n=e("bb21"),a=e("5f06");for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);var o=e("828b"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"e7aeb094",null,!1,n["a"],void 0);i["default"]=r.exports},"37c2":function(t,i,e){"use strict";var n=e("4059"),a=e.n(n);a.a},4059:function(t,i,e){var n=e("9047");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("54e7e89c",n,!0,{sourceMap:!1,shadowMode:!1})},4492:function(t,i,e){"use strict";e.r(i);var n=e("9924"),a=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=a.a},"5f06":function(t,i,e){"use strict";e.r(i);var n=e("0769"),a=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=a.a},9047:function(t,i,e){var n=e("c86c");i=n(!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
|