王总上门按摩后台代码
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.
 
 
 
 
 
shangmenanmo/public/h6/static/js/pages-service.739d270b.js

1 lines
31 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-service"],{"002b":function(t,e,i){"use strict";i.r(e);var n=i("fb12"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"0a0b":function(t,e,i){"use strict";i.r(e);var n=i("d11f"),a=i("c1da");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("9b56");var s=i("828b"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"6d126cdb",null,!1,n["a"],void 0);e["default"]=c.exports},"2c6d":function(t,e,i){var n=i("c86c");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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.pages-home .search-box[data-v-6d126cdb]{width:100%;bottom:0;z-index:9;overflow:hidden}.pages-home .recommend-technician[data-v-6d126cdb]{white-space:nowrap;width:%?690?%}.pages-home .recommend-technician .recommend-item[data-v-6d126cdb]{display:inline-block}.pages-home .recommend-technician .recommend-item.type-1[data-v-6d126cdb]{width:%?180?%;margin-left:%?26?%}.pages-home .recommend-technician .recommend-item.type-1 .cover[data-v-6d126cdb]{width:%?180?%;height:%?180?%}.pages-home .recommend-technician .recommend-item.type-1 .ellipsis[data-v-6d126cdb]{max-width:%?180?%}.pages-home .recommend-technician .recommend-item.type-2[data-v-6d126cdb]{width:%?203?%;height:%?151?%;background:#f4f6f7;border-radius:%?12?%;margin-left:%?20?%}.pages-home .recommend-technician .recommend-item.type-2 .cover[data-v-6d126cdb]{width:%?70?%;height:%?70?%}.pages-home .recommend-technician .recommend-item.type-2 .ellipsis[data-v-6d126cdb]{max-width:%?82?%}.pages-home .recommend-technician .recommend-item.type-2 .iconyduixingxingshixin[data-v-6d126cdb]{font-size:%?26?%;background-image:-webkit-linear-gradient(270deg,#fad961,#f76b1c)}.pages-home .recommend-technician .recommend-item.type-2 .star-text[data-v-6d126cdb]{height:%?26?%;color:#ff9519;margin-left:%?6?%}.pages-home .recommend-technician .recommend-item.type-2 .new-technician[data-v-6d126cdb]{width:%?67?%;height:%?30?%;border-radius:%?8?%;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.pages-home .recommend-technician .recommend-item[data-v-6d126cdb]:nth-child(1){margin-left:0}.pages-home .list-item .cover[data-v-6d126cdb]{width:%?180?%;height:%?180?%}.pages-home .list-item .time-long[data-v-6d126cdb]{min-width:%?72?%;height:%?30?%;padding:0 %?5?%;background:linear-gradient(270deg,#4c545a,#282b34);border-radius:%?4?%;font-size:%?20?%;color:#ffeeb9;margin-right:%?16?%}.pages-home .list-item .f-icontext[data-v-6d126cdb]{font-size:%?18?%}.pages-home .list-item .text-delete[data-v-6d126cdb]{font-size:%?24?%;color:#b9b9b9}.pages-home .list-item .item-btn[data-v-6d126cdb]{width:%?150?%;height:%?52?%;border-radius:%?100?%}.radius-top[data-v-6d126cdb]{border-radius:%?30?% %?30?% 0 0}.coupon-popup[data-v-6d126cdb]{width:%?658?%;height:%?865?%;position:relative}.coupon-popup .bg-img[data-v-6d126cdb]{width:100%;height:100%}.coupon-popup .icon-close[data-v-6d126cdb]{font-size:%?60?%;position:absolute;top:%?50?%;right:%?60?%;z-index:999}.coupon-popup .coupon-info[data-v-6d126cdb]{position:absolute;width:100%;height:100%;bottom:0;left:0}.coupon-popup .coupon-info .tops[data-v-6d126cdb]{width:%?480?%;color:#fb4523;position:absolute;top:%?260?%}.coupon-popup .coupon-info .tops > uni-view[data-v-6d126cdb]:nth-child(1){font-weight:700;font-size:%?30?%}.coupon-popup .coupon-info .lists[data-v-6d126cdb]{width:%?500?%;height:%?300?%;padding:%?10?%;overflow-x:hidden;position:absolute;bottom:%?222?%}.coupon-popup .coupon-info .lists .list[data-v-6d126cdb]{width:%?420?%;height:%?130?%;margin-bottom:%?10?%;margin-top:%?5?%;position:relative}.coupon-popup .coupon-info .lists .list > uni-image[data-v-6d126cdb]{width:100%;height:100%}.coupon-popup .coupon-info .lists .list > uni-view[data-v-6d126cdb]{position:absolute;width:100%;height:100%;top:0;left:%?8?%}.coupon-popup .coupon-info .lists .list > uni-view > uni-view[data-v-6d126cdb]:nth-child(1){width:38%}.coupon-popup .coupon-info .lists .list > uni-view > uni-view[data-v-6d126cdb]:nth-child(2){display:flex;justify-content:center;flex:1;padding:0 %?15?%;box-sizing:border-box}.coupon-popup .coupon-info .lists .list > uni-view .price[data-v-6d126cdb]{font-size:%?30?%;color:#fb4523}.coupon-popup .coupon-info .lists .list > uni-view .title[data-v-6d126cdb]{font-size:%?30?%;line-height:%?36?%;font-weight:700}.coupon-popup .coupon-info .lists .list > uni-view .price_text[data-v-6d126cdb]{color:#ccc}.coupon-popup uni-view.btns[data-v-6d126cdb]{width:100%;position:absolute;height:%?82?%;bottom:%?0?%;left:0}.coupon-popup uni-view.btns > uni-view[data-v-6d126cdb]{width:%?422?%;height:%?82?%;border-radius:%?40?%;font-size:%?34?%;color:#fff}.servetip[data-v-6d126cdb]{font-size:%?28?%;font-weight:400;display:flex;justify-content:space-between;align-items:center;margin:%?22?% 0}.servefc[data-v-6d126cdb]{display:flex;align-items:center}.van-image[data-v-6d126cdb]{position:relative;display:inline-block}.van-img[data-v-6d126cdb]{width:100%;height:100%}.margin-20[data-v-6d126cdb]{margin:.53333rem}',""]),t.exports=e},"37c2":function(t,e,i){"use strict";var n=i("4059"),a=i.n(n);a.a},4059:function(t,e,i){var n=i("9047");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("54e7e89c",n,!0,{sourceMap:!1,shadowMode:!1})},4492:function(t,e,i){"use strict";i.r(e);var n=i("9924"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"7d54":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:"custom-tabbar fix flex-center fill-base b-1px-t"},t._l(t.configInfo.tabBar,(function(e,n){return i("v-uni-view",{key:n,staticClass:"flex-center flex-column mt-sm",style:{width:100/t.configInfo.tabBar.length+"%",color:t.cur==e.id?t.primaryColor:"#666"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.changeTab(e)}}},[i("i",{staticClass:"iconfont",class:t.cur==e.id?e.selected_img:e.default_img}),i("v-uni-image",{staticStyle:{width:"45rpx",height:"45rpx"},attrs:{src:t.cur==e.id?e.selected_img:e.default_img}}),i("v-uni-view",{staticClass:"text"},[t._v(t._s(e.name))])],1)})),1)},a=[]},9047:function(t,e,i){var n=i("c86c");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/* 图片尺寸 */\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:%?72?%;height:%?30?%;padding:0 %?5?%;background:linear-gradient(270deg,#4c545a,#282b34);border-radius:%?4?%;font-size:%?20?%;color:#ffeeb9;margin-right:%?16?%}.service-list-item .list-item .f-icontext[data-v-ccee17ba]{font-size:%?18?%}.service-list-item .list-item .text-delete[data-v-ccee17ba]{font-size:%?24?%;color:#b9b9b9}.service-list-item .list-item .item-btn[data-v-ccee17ba]{min-width:%?150?%;height:%?52?%;padding:0 %?10?%;border-radius:%?100?%}.servefc[data-v-ccee17ba]{display:flex;align-items:center}',""]),t.exports=e},9924:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("c223");var n=i("8f59"),a={components:{},props:{from:{type:String,default:function(){return"list"}},sid:{type:Number,default:function(){return 0}},info:{type:Object,default:function(){return{}}},maxWidth:{type:String,default:function(){return"490rpx"}}},data:function(){return{textType:{1:"可服务",2:"服务中",3:"可预约",4:"不可预约"}}},computed:(0,n.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),methods:{goDetail:function(){var t=this.info.id,e=this.sid,i=void 0===e?0:e,n="/user/pages/detail?id=".concat(t,"&store_id=").concat(i);this.$util.goUrl({url:n})},toChoose:function(){var t=this.from;if("technician-info"!=t){var e=this.info.id,i=this.sid,n=void 0===i?0:i,a="/user/pages/choose-technician?id=".concat(e,"&store_id=").concat(n);this.$util.goUrl({url:a})}else this.$emit("order")},toEmit:function(t){this.$emit(t)}}};e.default=a},"9b56":function(t,e,i){"use strict";var n=i("aa26"),a=i.n(n);a.a},"9ff0":function(t,e,i){var n=i("c86c");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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.custom-tabbar[data-v-5f3efd3c]{height:%?98?%;bottom:0;height:calc(%?98?% + env(safe-area-inset-bottom) / 2);padding-bottom:calc(env(safe-area-inset-bottom) / 2)}.custom-tabbar .iconfont[data-v-5f3efd3c]{font-size:%?40?%}.custom-tabbar .text[data-v-5f3efd3c]{font-size:%?22?%;margin-top:%?5?%;height:%?32?%}',""]),t.exports=e},aa26:function(t,e,i){var n=i("2c6d");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("4a31efa5",n,!0,{sourceMap:!1,shadowMode:!1})},c1da:function(t,e,i){"use strict";i.r(e);var n=i("f163"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},c825: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:"service-list-item"},[i("v-uni-view",{staticClass:"list-item flex-warp",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goDetail.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"cover radius-16"},[i("v-uni-view",{staticClass:"h5-image cover radius-16",style:{backgroundImage:"url('"+t.info.cover+"')"}})],1),i("v-uni-view",{staticClass:"flex-1 ml-md",style:{maxWidth:t.maxWidth}},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"f-title c-title text-bold max-270 ellipsis"},[t._v(t._s(t.info.title))]),i("v-uni-view",{staticClass:"f-caption c-caption"},[t._v("超"+t._s(t.info.total_sale)+"人选择")])],1),i("v-uni-view",{staticClass:"f-caption c-caption mt-sm mb-sm ellipsis",staticStyle:{height:"36rpx"}},[t._v(t._s(t.info.sub_title||""))]),1*t.info.material_price>0?i("v-uni-view",{staticClass:"f-caption c-caption"},[t._v("物料费:¥"+t._s(t.info.material_price))]):t._e(),i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"flex-y-center f-desc c-caption max-350 ellipsis"},[i("v-uni-view",{staticClass:"flex-y-baseline f-icontext c-orange text-bold mr-sm"},[i("b",{staticClass:"f-caption c-orange"},[t._v("¥")]),i("v-uni-view",{staticClass:"f-md-title"},[t._v(t._s(t.info.price))])],1),t.info.init_price?i("v-uni-view",{staticClass:"text-delete"},[t._v("¥"+t._s(t.info.init_price))]):t._e(),i("v-uni-view",{staticClass:"servefc ml-md"},[i("i",{staticClass:"iconfont icon-shijian",style:{color:t.primaryColor}}),i("span",{staticClass:"f-caption c-title ml-sm"},[t._v(t._s(t.info.time_long)+"分钟")])])],1),i("auth",{staticStyle:{width:"190rpx"},attrs:{needAuth:t.userInfo&&(!t.userInfo.phone||!t.userInfo.nickName),must:!0,type:t.userInfo.phone?"userInfo":"phone"},on:{go:function(e){arguments[0]=e=t.$handleEvent(e),t.toChoose.apply(void 0,arguments)},click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view"),i("v-uni-view",{staticClass:"item-btn flex-center f-caption c-base",style:{background:"linear-gradient(68deg, "+t.primaryColor+", "+t.subColor+")"}},[t._v(t._s("technician-info"==t.from?"立即预约":"选择"+t.$t("action.attendantName")))])],1)],1)],1)],1)],1)],1)},a=[]},c891:function(t,e,i){var n=i("9ff0");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("4bc89a6a",n,!0,{sourceMap:!1,shadowMode:!1})},cd75:function(t,e,i){"use strict";var n=i("c891"),a=i.n(n);a.a},d11f: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 t.isLoad?i("v-uni-view",{staticClass:"pages-home"},[i("v-uni-view",{class:[{rel:t.banner.length>0}],style:{height:t.banner.length>0?"484rpx":"84rpx"}},[t.banner.length>0?i("banner",{attrs:{list:t.banner,margin:0,autoplay:!0,indicatorActiveColor:t.primaryColor,dotWidth:20,dotBottom:30},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.goBanner.apply(void 0,arguments)}}}):t._e(),i("v-uni-view",{staticClass:"search-box flex-center fill-base",class:[{"mt-md":0==t.banner.length},{abs:t.banner.length>0}],style:{color:t.primaryColor}},[i("v-uni-view",{staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"servetip pl-lg pr-lg pt-sm pb-sm"},t._l(t.servefc,(function(e,n){return i("v-uni-view",{key:n,staticClass:"servefc",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toJump("servefc",n)}}},[i("i",{staticClass:"iconfont",class:e.icon}),i("span",{staticClass:"ml-sm"},[t._v(t._s(e.text))])])})),1)],1)],1)],1),t.service_cate.length>0?i("v-uni-view",{staticClass:"fill-base pl-md pr-md",staticStyle:{overflow:"hidden"}},[i("column",{attrs:{list:t.service_cate,indicatorActiveColor:t.primaryColor,colNum:5,rowNum:2},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.goCate.apply(void 0,arguments)}}})],1):t._e(),t.recommend_list&&t.recommend_list.length>0?i("v-uni-view",{staticClass:"fill-base pl-lg pr-lg pb-lg"},[i("v-uni-view",{staticClass:"flex-between pb-lg",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.$util.goUrl({url:"/pages/technician",openType:"reLaunch"})}}},[i("v-uni-view",{staticClass:"f-st-title text-bold flex-between"},[i("v-uni-view",{staticClass:"mr-md",staticStyle:{width:"15px",height:"17px"}},[i("v-uni-image",{staticClass:"van-img",staticStyle:{"object-fit":"cover"},attrs:{src:"/static/img/icon_technician.png"}})],1),t._v(t._s("推荐"+t.$t("action.attendantName")))],1),i("v-uni-view",{staticClass:"flex-y-center f-caption c-caption"},[t._v("查看更多"),i("i",{staticClass:"iconfont icon-right",staticStyle:{"font-size":"24rpx"}})])],1),i("v-uni-scroll-view",{staticClass:"recommend-technician",attrs:{"scroll-x":!0}},[t._l(t.recommend_list,(function(e,n){return[1==t.recommend_style?i("v-uni-view",{key:n+"_0",staticClass:"recommend-item type-1",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toTechnician(n)}}},[i("v-uni-view",{staticClass:"cover radius-16"},[i("v-uni-view",{staticClass:"h5-image cover radius-16",style:{backgroundImage:"url('"+e.work_img+"')"}})],1),i("v-uni-view",{staticClass:"flex-center f-desc c-title text-bold mt-md"},[i("v-uni-view",{staticClass:"ellipsis"},[t._v(t._s(e.coach_name))])],1),i("v-uni-view",{staticClass:"flex-center"},[e.is_new?i("v-uni-view",{staticClass:"new-technician flex-center f-icontext radius",style:{height:"33rpx",width:"80rpx",color:t.primaryColor,border:"1rpx solid "+t.primaryColor}},[t._v("新人")]):i("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v("30天接单"+t._s(e.order_count||0))])],1)],1):t._e(),2==t.recommend_style?i("v-uni-view",{key:n+"_1",staticClass:"recommend-item type-2 pd-md",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toTechnician(n)}}},[i("v-uni-view",{staticClass:"flex-center pb-sm"},[i("v-uni-view",{staticClass:"cover radius"},[i("v-uni-view",{staticClass:"h5-image cover radius",style:{backgroundImage:"url('"+e.work_img+"')"}})],1),i("v-uni-view",{staticClass:"flex-1 ml-sm"},[i("v-uni-view",{staticClass:"f-desc ellipsis"},[t._v(t._s(e.coach_name))]),i("v-uni-view",{staticClass:"flex-y-baseline",staticStyle:{"margin-top":"4rpx"}},[i("i",{staticClass:"iconfont iconyduixingxingshixin icon-font-color"}),i("v-uni-view",{staticClass:"star-text flex-y-center f-caption"},[t._v(t._s(e.star))])],1)],1)],1),i("v-uni-view",{staticClass:"flex-center"},[e.is_new?i("v-uni-view",{staticClass:"new-technician flex-center f-icontext radius",style:{height:"33rpx",width:"80rpx",color:t.primaryColor,border:"1rpx solid "+t.primaryColor}},[t._v("新人")]):i("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v("30天接单"+t._s(e.order_count||0))])],1)],1):t._e()]}))],2)],1):t._e(),i("v-uni-view",{staticClass:"fill-base pl-lg pr-lg"},[i("v-uni-view",{staticClass:"fill-base flex-between"},[i("v-uni-view",{staticClass:"f-st-title text-bold flex-between"},[i("v-uni-view",{staticClass:"mr-md",staticStyle:{width:"15px",height:"17px"}},[i("v-uni-image",{staticClass:"van-img",staticStyle:{"object-fit":"cover"},attrs:{src:"/static/img/icon_project.png"}})],1),t._v("推荐项目")],1)],1)],1),t._l(t.list.data,(function(t,e){return i("v-uni-view",{key:e,staticClass:"fill-base pd-lg b-1px-b"},[i("service-list-item",{attrs:{info:t}})],1)})),t.loading?i("load-more",{attrs:{noMore:t.list.current_page>=t.list.last_page&&t.list.data.length>0,loading:t.loading}}):t._e(),!t.loading&&t.list.data.length<=0&&1==t.list.current_page?i("abnor"):t._e(),i("v-uni-view",{staticClass:"space-footer"}),i("uni-popup",{ref:"coupon_item",attrs:{type:"center",maskClick:!1}},[i("v-uni-view",{staticClass:"coupon-popup flex-center"},[i("v-uni-view",{staticClass:"h5-image bg-img",style:{backgroundImage:"url('https://lbqnyv2.migugu.com/bianzu3.png')"}}),i("i",{staticClass:"iconfont icon-close c-base",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.$refs.coupon_item.close()}}}),i("v-uni-view",{staticClass:"coupon-info flex-center flex-column"},[i("v-uni-view",{staticClass:"tops flex-center flex-column"},[i("v-uni-view",{},[t._v("成功领取")]),i("v-uni-view",{},[t._v("卡券将放入“我的-我的卡券”")])],1),i("v-uni-view",{staticClass:"lists flex-center"},[i("v-uni-scroll-view",{staticStyle:{width:"420rpx",height:"100%"},attrs:{"scroll-y":!0}},t._l(t.couponList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"list flex-between"},[i("v-uni-image",{attrs:{src:"https://lbqny.migugu.com/admin/anmo/coupon/coupon.png",mode:"aspectFill"}}),i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"flex-center flex-column"},[i("v-uni-view",{staticClass:"price"},[t._v(t._s(e.discount))]),i("v-uni-view",{staticClass:"price_text"},[t._v(t._s(1*e.full>0?"满"+e.full+"可用":"立减"))])],1),i("v-uni-view",{staticClass:"title flex-y-center"},[i("v-uni-view",{staticClass:"ellipsis-3"},[t._v(t._s(e.title))])],1)],1)],1)})),1)],1)],1),i("v-uni-view",{staticClass:"btns flex-center",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.userGetCoupon.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex-center"},[t._v("领取到卡包")])],1)],1)],1),i("v-uni-view",{style:{height:t.configInfo.tabbarHeight+"px"}}),i("tabbar",{attrs:{cur:1}})],2):t._e()},a=[]},e693:function(t,e,i){"use strict";i.r(e);var n=i("c825"),a=i("4492");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("37c2");var s=i("828b"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"ccee17ba",null,!1,n["a"],void 0);e["default"]=c.exports},ea26:function(t,e,i){"use strict";i.r(e);var n=i("7d54"),a=i("002b");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("cd75");var s=i("828b"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"5f3efd3c",null,!1,n["a"],void 0);e["default"]=c.exports},f163:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("18f7"),i("de6c"),i("c223"),i("2797"),i("aa9c"),i("4100");var a=n(i("9b1b")),o=n(i("2634")),s=n(i("2fdc")),c=i("8f59"),r=n(i("cf61")),u=n(i("e693")),l=n(i("ea26")),d={components:{serviceListItem:u.default,tabbar:l.default},data:function(){return{couponList:[],isLoad:!1,options:{},loading:!0,lockTap:!1,servefc:[{icon:"icon-kzj",text:"实名认证"},{icon:"icon-kpk",text:"爽约包赔"},{icon:"icon-sybp",text:"超时秒退"},{icon:"icon-kzz",text:"资质证书"}]}},computed:(0,c.mapState)({pageActive:function(t){return t.service.pageActive},activeIndex:function(t){return t.service.activeIndex},tabList:function(t){return t.service.tabList},param:function(t){return t.service.param},list:function(t){return t.service.list},banner:function(t){return t.service.banner},service_cate:function(t){return t.service.service_cate},recommend_list:function(t){return t.service.recommend_list},recommend_style:function(t){return t.service.recommend_style},primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},autograph:function(t){return t.user.autograph},userInfo:function(t){return t.user.userInfo},location:function(t){return t.user.location},isGzhLogin:function(t){return t.user.isGzhLogin},haveShieldOper:function(t){return t.user.haveShieldOper}}),onLoad:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function i(){return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return e.$util.showLoading(),i.next=3,e.updateCommonOptions(t);case 3:return t=i.sent,e.options=t,uni.onNetworkStatusChange((function(t){var i=t.isConnected;!i||e.pageActive||e.initIndex()})),i.next=8,e.initIndex();case 8:case"end":return i.stop()}}),i)})))()},onShow:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){return(0,o.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.toAppShare();case 4:2==t.haveShieldOper&&(t.initIndex(),t.updateUserItem({key:"haveShieldOper",val:0})),t.pageActive&&t.userInfo.id&&t.getCouponList();case 6:case"end":return e.stop()}}),e)})))()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.loading=!0,this.getList(this.param.page+1))},onShareAppMessage:function(t){var e=this.userInfo.id,i=void 0===e?0:e,n="/pages/service?pid=".concat(i);return this.$util.log(n),{title:"",imageUrl:"",path:n}},methods:(0,a.default)((0,a.default)((0,a.default)({},(0,c.mapActions)(["getConfigInfo","getUserInfo","updateCommonOptions","getServiceIndex","getServiceList"])),(0,c.mapMutations)(["updateServiceItem","updateTechnicianItem","updateUserItem"])),{},{initIndex:function(){var t=arguments,e=this;return(0,s.default)((0,o.default)().mark((function i(){var n,a,s,c,r,u,l,d,f,p,v,m,h,g,b,w,x,_,C,y,I;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n=t.length>0&&void 0!==t[0]&&t[0],a=e.options.pid,s=void 0===a?0:a,n||!e.pageActive||s){i.next=7;break}return e.isLoad=!0,e.loading=!1,e.$util.hideAll(),i.abrupt("return");case 7:if(c=e.isGzhLogin,r=e.userInfo.id,u=void 0===r?0:r,s&&!u&&(c?setTimeout((function(){e.getUserInfo()}),1e3):e.getUserInfo()),e.configInfo.id&&!n){i.next=13;break}return i.next=13,e.getConfigInfo();case 13:if(l=e.location,d=e.configInfo.plugAuth,f=void 0===d?{}:d,p=f.recommend,v=void 0!==p&&p,!v||l.lat){i.next=30;break}if(!e.$jweixin.isWechat()){i.next=29;break}return e.$util.showLoading(),i.next=21,e.$jweixin.wxReady2();case 21:return i.next=23,e.$jweixin.getWxLocation();case 23:m=i.sent,h=m.latitude,g=void 0===h?0:h,b=m.longitude,w=void 0===b?0:b,l={lng:w,lat:g,address:"定位失败",province:"",city:"",district:""};case 29:e.updateUserItem({key:"location",val:l});case 30:return x=l,_=x.lng,C=void 0===_?0:_,y=x.lat,I=void 0===y?0:y,i.next=33,e.getServiceIndex({lat:I,lng:C});case 33:if(e.updateServiceItem({key:"pageActive",val:!0}),e.isLoad=!0,!e.userInfo.id){i.next=40;break}return i.next=38,Promise.all([e.getList(1),e.getCouponList()]);case 38:i.next=42;break;case 40:return i.next=42,e.getList(1);case 42:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.initIndex(!0)},toAppShare:function(){var t=this,e=this.userInfo.id,i=void 0===e?0:e,n=r.default.siteroot,a=n.split("/index.php")[0],o="".concat(a,"/h5/#/pages/service?pid=").concat(i);this.$jweixin.wxReady((function(){t.$jweixin.showOptionMenu(),t.$jweixin.shareAppMessage("首页","",o,""),t.$jweixin.shareTimelineMessage("首页",o,"")}))},goBanner:function(t){var e=t.connect_type,i=t.type_id,n=void 0===i?0:i,a=t.img;switch(e){case 1:this.$util.previewImage({current:a,urls:[a]});break;case 2:this.$util.goUrl({url:"/user/pages/article?id=".concat(n)});break}},goCate:function(t){var e=t.id,i=t.title,n=t.url,a=void 0===n?"":n,o=a||"/user/pages/service/list?id=".concat(e,"&title=").concat(i);this.$util.goUrl({url:o})},userGetCoupon:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=[],t.couponList.forEach((function(t){i.push(t.id)})),e.next=4,t.$api.service.userGetCoupon({coupon_id:i});case 4:e.sent,t.$util.showToast({title:"领取成功"}),setTimeout((function(){t.$util.goUrl({url:"/user/pages/coupon/list"})}),1e3),t.$refs.coupon_item.close(),t.loading=!1,t.$util.hideAll();case 10:case"end":return e.stop()}}),e)})))()},getCouponList:function(){var t=this;return(0,s.default)((0,o.default)().mark((function e(){var i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.service.couponList();case 2:i=e.sent,t.couponList=i,i.length>0&&t.isLoad&&t.$refs.coupon_item.open(),t.loading=!1,t.$util.hideAll();case 7:case"end":return e.stop()}}),e)})))()},getList:function(){var t=arguments,e=this;return(0,s.default)((0,o.default)().mark((function i(){var n,a,s,c,r,u,l,d,f;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n=t.length>0&&void 0!==t[0]?t[0]:0,n&&(a=e.$util.deepCopy(e.param),a.page=n,e.updateServiceItem({key:"param",val:a})),e.list,s=e.param,c=e.tabList,r=e.activeIndex,u=c[r],l=u.sort,d=u.sign,f=0==r||1==d?"":"desc",s.sort="".concat(l," ").concat(f),i.next=8,e.getServiceList(s);case 8:e.loading=!1,e.$util.hideAll();case 10:case"end":return i.stop()}}),i)})))()},handerTabChange:function(t){this.updateServiceItem({key:"activeIndex",val:t});var e=this.$util.deepCopy(this.tabList),i=e[t],n=i.is_sign,a=i.sign;n&&(e[t].sign=0==a?1:0),this.updateServiceItem({key:"tabList",val:e}),this.$util.showLoading(),uni.pageScrollTo({scrollTop:0}),this.getList(1)},toTechnician:function(t){var e=this.recommend_list[t],i=e.id,n=e.city_id,a=e.coach_name;this.updateTechnicianItem({key:"pageActive",val:!1}),this.$util.goUrl({url:"/pages/technician?coach_id=".concat(i,"&coach_name=").concat(a,"&city_id=").concat(n),openType:"reLaunch"})}})};e.default=d},fb12:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("9b1b")),o=n(i("2634")),s=n(i("2fdc"));i("64aa"),i("5c47"),i("8f71"),i("bf0f");var c=i("8f59"),r={components:{},props:{cur:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:(0,c.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,s.default)((0,o.default)().mark((function e(){var i,n,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=t,n=uni.getSystemInfoSync().windowHeight,a=i.configInfo.navBarHeight,setTimeout((function(){var e=uni.createSelectorQuery().in(i);e.select(".custom-tabbar").boundingClientRect((function(e){var o=n-e.height-a,s=i.$util.deepCopy(t.configInfo);s.curSysHeight=o,s.tabbarHeight=e.height,i.updateConfigItem({key:"configInfo",val:s})})).exec()}),600);case 4:case"end":return e.stop()}}),e)})))()},methods:(0,a.default)((0,a.default)((0,a.default)({},(0,c.mapActions)(["getConfigInfo"])),(0,c.mapMutations)(["updateConfigItem"])),{},{changeTab:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function i(){var n,a,s,c,r,u,l;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t.id){i.next=5;break}return i.next=3,e.getConfigInfo();case 3:n=e.configInfo.tabBar.filter((function(e){return e.name==t.name})),t=n[0];case 5:if(a=t,s=a.id,c=e.activeIndex,r=e.cur,u=e.userPageType,l={1:"/pages/service",2:"/pages/technician",3:"/pages/dynamic",4:"/pages/order?tab=".concat(c),5:"/pages/mine?type=".concat(u),6:"/pages/shopstore",7:"/pages/map"},s!=r){i.next=10;break}return i.abrupt("return");case 10:e.$util.goUrl({url:l[s],openType:"reLaunch"});case 11:case"end":return i.stop()}}),i)})))()}})};e.default=r}}]);