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 lines
4.2 KiB
1 lines
4.2 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-service-cate"],{3290:function(t,e,n){"use strict";n.r(e);var i=n("b22c"),a=n("76d2");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("ecf2");var c=n("828b"),s=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"032b4b8a",null,!1,i["a"],void 0);e["default"]=s.exports},"76d2":function(t,e,n){"use strict";n.r(e);var i=n("9f93"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},"9f93":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("c223");var a=i(n("2634")),r=i(n("2fdc")),c=i(n("9b1b")),s=n("8f59"),o={components:{},data:function(){return{isLoad:!1,options:{},lockTap:!1}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},service_all_cate:function(t){return t.service.service_all_cate}}),onLoad:function(t){this.options=t,this.initIndex()},methods:(0,c.default)((0,c.default)({},(0,s.mapMutations)(["updateUserItem","updateOrderItem"])),{},{initIndex:function(){var t=this;return(0,r.default)((0,a.default)().mark((function e(){return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.$jweixin.isWechat()){e.next=4;break}return e.next=3,t.$jweixin.initJssdk();case 3:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 4:t.$util.setNavigationBarColor({bg:t.primaryColor}),t.isLoad=!0;case 6:case"end":return e.stop()}}),e)})))()},goDetail:function(t){var e=this.service_all_cate[t],n=e.id,i=e.title,a="/user/pages/service/list?id=".concat(n,"&title=").concat(i);this.$util.goUrl({url:a})}})};e.default=o},b22c: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:"user-service-cate"},[n("v-uni-view",{staticClass:"flex-warp ml-md mr-md"},t._l(t.service_all_cate,(function(e,i){return n("v-uni-view",{key:i,staticClass:"list-item flex-center flex-column",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail(i)}}},[n("v-uni-image",{staticClass:"cover radius",attrs:{mode:"aspectFill",src:e.cover}}),n("v-uni-view",{staticClass:"text mt-sm f-caption ellipsis"},[t._v(t._s(e.title))])],1)})),1),n("v-uni-view",{staticClass:"space-footer"})],1):t._e()},a=[]},c532:function(t,e,n){var i=n("c86c");e=i(!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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-032b4b8a]{background:#fff}body.?%PAGE?%[data-v-032b4b8a]{background:#fff}.user-service-cate .flex-warp .list-item[data-v-032b4b8a]{width:%?142?%;margin-top:%?40?%}.user-service-cate .flex-warp .list-item .cover[data-v-032b4b8a]{width:%?94?%;height:%?94?%}.user-service-cate .flex-warp .list-item .text[data-v-032b4b8a]{color:#484848}',""]),t.exports=e},eb32:function(t,e,n){var i=n("c532");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("05ca6e23",i,!0,{sourceMap:!1,shadowMode:!1})},ecf2:function(t,e,n){"use strict";var i=n("eb32"),a=n.n(i);a.a}}]); |