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([["user-pages-service-list"],{2712: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")),l={components:{serviceListItem:c.default},data:function(){return{options:{},param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),onLoad:function(t){var i=t.title,e=void 0===i?0:i;this.options=t,uni.setNavigationBarTitle({title:e}),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)(["updateUserItem","updateOrderItem"])),{},{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:return e.next=7,i.getList();case 7:i.$util.setNavigationBarColor({bg:i.primaryColor});case 8:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},toSearch:function(t){this.param.page=1,this.param.title=t,this.getList()},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.cate_id=s,i.next=5,t.$api.service.serviceList(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=l},"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},7747:function(t,i,e){"use strict";e.r(i);var n=e("bafd"),a=e("e914");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,"dd7219c4",null,!1,n["a"],void 0);i["default"]=r.exports},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/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.service-list-item .list-item .cover[data-v-ccee17ba]{width:%?180?%;height:%?180?%}.service-list-item .list-item .time-long[data-v-ccee17ba]{min-width:
|