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
23 KiB
1 lines
23 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-map~pages-technician~shopstore-pages-technician~user-pages-choose-technician~user-pages-collect"],{"0ffa":function(t,i,e){var n=e("c2df");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("0594599b",n,!0,{sourceMap:!1,shadowMode:!1})},"4ab5":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/* 文章场景相关 */.technician-list-item .list-item .top-tag[data-v-3903532a]{width:%?40?%;height:%?30?%;color:#b75e1d;background:linear-gradient(90deg,#dfb885,#fce0ad);border-radius:%?8?% 0 %?8?% 0;top:0;left:0}.technician-list-item .list-item .item-img[data-v-3903532a]{width:%?124?%;height:%?124?%}.technician-list-item .list-item .king-img[data-v-3903532a]{width:%?90?%;height:%?90?%;top:%?110?%;left:%?-15?%;z-index:1}.technician-list-item .list-item .top-img[data-v-3903532a]{width:%?146?%;height:%?140?%;top:%?-7?%;left:%?-11?%}.technician-list-item .list-item .hot-img[data-v-3903532a]{width:%?75?%;height:%?51?%;top:%?77?%;left:%?25?%}.technician-list-item .list-item .new-img[data-v-3903532a]{width:%?38?%;height:%?52?%;top:%?83?%;left:%?78?%}.technician-list-item .list-item .item-tag[data-v-3903532a]{width:%?100?%;height:%?32?%;color:#000;background:hsla(0,0%,84.7%,.3);margin-top:%?19?%;margin-bottom:%?6?%}.technician-list-item .list-item .more-img[data-v-3903532a]{width:%?94?%;height:%?33?%;border-radius:3px;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.technician-list-item .list-item .can-service-btn[data-v-3903532a]{height:%?80?%;margin-bottom:%?30?%;width:%?130?%}.technician-list-item .list-item .can-service-btn .bg[data-v-3903532a]{width:%?64?%;height:%?28?%;opacity:.1;border-radius:%?3?%;top:0;left:0;z-index:1}.technician-list-item .list-item .can-service-btn .text[data-v-3903532a]{height:%?40?%;line-height:%?40?%;text-align:center;width:100%}.technician-list-item .list-item .can-service-btn .time[data-v-3903532a]{height:%?40?%;line-height:%?40?%;text-align:center;width:100%}.technician-list-item .list-item .iconyduixingxingshixin[data-v-3903532a]{font-size:%?28?%;background-image:-webkit-linear-gradient(270deg,#fad961,#f76b1c)}.technician-list-item .list-item .star-text[data-v-3903532a]{color:#ff9519;margin-left:%?6?%}.technician-list-item .list-item .order-num[data-v-3903532a]{color:#4d4d4d;margin-left:%?16?%}.technician-list-item .list-item .item-btn[data-v-3903532a]{width:%?130?%;height:%?52?%;border-radius:%?100?%}',""]),t.exports=i},"4db8":function(t,i,e){"use strict";e.r(i);var n=e("9b69"),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},5719:function(t,i,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(e("2634")),s=n(e("2fdc")),c=n(e("9b1b"));e("64aa"),e("c223");var o=e("8f59"),r={components:{},props:{from:{type:String,default:function(){return"list"}},sid:{type:Number,default:function(){return 0}}},data:function(){return{info:{},showType:"",car_info:{},serviceList:[],commentList:[],loading:!0,lockTap:!1}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},plugAuth:function(t){return t.config.configInfo.plugAuth},userInfo:function(t){return t.user.userInfo}}),methods:(0,c.default)((0,c.default)({},(0,o.mapActions)([])),{},{toShowPopup:function(t,i){var e=this;return(0,s.default)((0,a.default)().mark((function n(){var s,c;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.info=t,e.showType=i,"technician"!=i){n.next=11;break}if(s=e.info.is_work,c=void 0===s?0:s,c){n.next=6;break}return n.abrupt("return");case 6:return e.serviceList=[],n.next=9,e.getServiceList();case 9:n.next=13;break;case 11:return n.next=13,e.getCommentList();case 13:e.$refs.technician_item.open();case 14:case"end":return n.stop()}}),n)})))()},getCommentList:function(){var t=this;return(0,s.default)((0,a.default)().mark((function i(){var e,n;return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return e=t.info.id,n={coach_id:e,page:1},i.next=4,t.$api.service.commentList(n);case 4:t.commentList=i.sent,t.loading=!1;case 6:case"end":return i.stop()}}),i)})))()},getServiceList:function(){var t=arguments,i=this;return(0,s.default)((0,a.default)().mark((function e(){var n,s,c,o,r,l;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.length>0&&void 0!==t[0]&&t[0],s=i.info.id,e.next=4,i.$api.service.coachServiceList({coach_id:s});case 4:c=e.sent,o=c.data,r=c.car_count,l=c.car_price,n||(i.serviceList=o),i.car_info={car_count:r,car_price:l},i.loading=!1;case 11:case"end":return e.stop()}}),e)})))()},goDetail:function(t){var i=this.serviceList[t].id,e=this.sid,n=void 0===e?0:e,a="/user/pages/detail?id=".concat(i,"&store_id=").concat(n);this.$util.goUrl({url:a})},changeNum:function(t,i){var e=this;return(0,s.default)((0,a.default)().mark((function n(){var s,c,o,r,l,u,f,d,p,m;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(s=e.info.id,c=e.serviceList[i],o=c.id,r=c.car_num,l=void 0===r?0:r,u=c.car_id,f=void 0===u?0:u,!e.lockTap){n.next=4;break}return n.abrupt("return");case 4:if(e.lockTap=!0,d=t>0?"addCar":"delCar",p=t>0?{service_id:o,coach_id:s,num:1}:{id:f,num:1},"delCar"!=d||p.id){n.next=10;break}return e.lockTap=!1,n.abrupt("return");case 10:return n.prev=10,n.next=13,e.$api.order[d](p);case 13:return m=n.sent,e.serviceList[i].car_num=l+t,m&&t>0&&!f&&(e.serviceList[i].car_id=m),e.serviceList[i].car_num<1&&(e.serviceList[i].car_id=0),n.next=19,e.getServiceList(!0);case 19:e.lockTap=!1,n.next=25;break;case 22:n.prev=22,n.t0=n["catch"](10),e.lockTap=!1;case 25:case"end":return n.stop()}}),n,null,[[10,22]])})))()},toOrder:function(){if(this.car_info.car_count<1)this.$util.showToast({title:"请选择服务"});else{var t=this.info.id;this.$refs.technician_item.close(),this.$util.goUrl({url:"/user/pages/order?id=".concat(t)})}},toEmit:function(t){this.$emit(t)}})};i.default=r},7227:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"technician-list-item"},[e("v-uni-view",{staticClass:"list-item flex-center pd-lg fill-base radius-16 rel"},[1==t.info.coach_type_status?e("v-uni-image",{staticClass:"king-img abs",attrs:{mode:"aspectFill",src:"https://lbqny.migugu.com/admin/anmo/mine/king.gif"}}):t._e(),e("v-uni-view",{staticClass:"flex-center flex-column"},[e("v-uni-view",{staticClass:"item-img rel"},[e("v-uni-view",{staticClass:"item-img radius"},[e("v-uni-view",{staticClass:"h5-image item-img radius",style:{backgroundImage:"url('"+t.info.work_img+"')"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toPreviewImage("work_img")}}})],1),t.info.coach_type_status?e("v-uni-view",{staticClass:"h5-image abs",class:[t.imgType[t.info.coach_type_status]+"-img"],style:{backgroundImage:3===t.info.coach_type_status?"url('https://lbqny.migugu.com/admin/anmo/mine/"+t.imgType[t.info.coach_type_status]+".png')":"url('https://lbqny.migugu.com/admin/anmo/mine/"+t.imgType[t.info.coach_type_status]+".gif')"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),1==t.info.coach_type_status&&t.toPreviewImage("work_img")}}}):t._e()],1),e("v-uni-view",{staticClass:"item-tag flex-center f-icontext c-base radius-20",style:{background:1===t.info.text_type?t.service_btn_color:3==t.info.text_type?t.primaryColor:4==t.info.text_type?"#e1493b":"",color:1===t.info.text_type?t.service_font_color:[3,4].includes(t.info.text_type)?"#fff":""}},[t._v(t._s(t.textType[t.info.text_type]))])],1),e("v-uni-view",{staticClass:"flex-1 ml-md max-510"},[e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goInfo.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"flex-y-center f-title c-title"},[e("v-uni-view",{staticClass:"text-bold max-200 ellipsis"},[t._v(t._s(t.info.coach_name))]),e("v-uni-view",{staticClass:"more-img flex-center ml-sm f-icontext ml-lg",style:{color:t.primaryColor,border:"1rpx solid "+t.primaryColor},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toPreviewImage("self_img")}}},[t._v("生活照")])],1),e("v-uni-view",{staticClass:"flex-y-center f-icontext mt-sm"},[e("v-uni-view",{staticClass:"flex-y-center"},[e("i",{staticClass:"iconfont iconyduixingxingshixin icon-font-color"}),e("v-uni-view",{staticClass:"star-text"},[t._v(t._s(t.info.star))])],1),e("v-uni-view",{staticClass:"order-num"},[t._v("已服务 "+t._s(t.info.order_num>9999?"9999+":t.info.order_num)+"单")])],1),e("v-uni-view",{staticClass:"flex-y-center f-icontext mt-sm mb-sm"},[e("v-uni-view",{staticClass:"flex-center"},[e("i",{staticClass:"iconfont iconjuli",style:{color:t.primaryColor}}),e("v-uni-view",{staticClass:"f-desc c-title ml-sm"},[t._v(t._s(t.info.distance))])],1)],1)],1),t.info.near_time?e("v-uni-view",{staticClass:"can-service-btn f-caption c-base radius-10",style:{border:"2rpx solid "+t.primaryColor}},[e("v-uni-view",{staticClass:"text",style:{background:"linear-gradient(68deg, "+t.primaryColor+", "+t.subColor+")"}},[t._v("最早可约")]),e("v-uni-view",{staticClass:"time",style:{color:t.primaryColor}},[t._v(t._s("时间"+t.info.near_time))])],1):t._e()],1),e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{staticClass:"flex-y-center f-desc c-caption"},[e("v-uni-view",{staticClass:"flex-y-center",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goInfo.apply(void 0,arguments)}}},["collect"!=t.from&&t.plugAuth.store&&t.info.store&&t.info.store.id?[e("i",{staticClass:"iconfont iconshangjia_1 c-caption mr-sm"}),t._v("商家")]:"collect"!=t.from&&t.info.admin_id&&t.info.admin_name&&t.merchantAuth?[e("i",{staticClass:"iconfont iconshangjia_1 c-caption mr-sm"}),t._v(t._s(t.info.admin_name))]:[e("i",{staticClass:"iconfont iconxiangqing c-caption mr-sm"}),t._v("详情")]],2),e("v-uni-view",{staticClass:"flex-y-center ml-lg",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toEmit("comment")}}},[e("i",{staticClass:"iconfont iconpinglun mr-sm"}),t._v(t._s(t.info.comment_num>9999?"9999+":t.info.comment_num))]),e("v-uni-view",{staticClass:"flex-y-center ml-lg",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toEmit("collect")}}},[e("i",{staticClass:"iconfont mr-sm",class:[{iconshoucang1:!t.info.is_collect},{iconshoucang2:t.info.is_collect}],style:{color:t.info.is_collect?t.primaryColor:""}}),t._v(t._s(t.info.collect_num>9999?"9999+":t.info.collect_num))])],1),e("auth",{staticStyle:{width:"130rpx"},attrs:{needAuth:t.userInfo&&(!t.userInfo.phone||!t.userInfo.nickName),must:!0,type:t.userInfo.phone?"userInfo":"phone"},on:{go:function(i){arguments[0]=i=t.$handleEvent(i),t.toEmit("order")},click:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i)}}},[e("v-uni-view",{staticClass:"item-btn flex-center f-desc c-base",style:{background:"linear-gradient(68deg, "+t.primaryColor+", "+t.subColor+")"}},[t._v("预约TA")])],1)],1)],1)],1)],1)},a=[]},"9af1":function(t,i,e){"use strict";var n=e("a09a"),a=e.n(n);a.a},"9b69":function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("8f59"),a={components:{},props:{from:{type:String,default:function(){return"list"}},info:{type:Object,default:function(){return{}}}},data:function(){return{imgType:{1:"top",2:"hot",3:"new"},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},plugAuth:function(t){return t.config.configInfo.plugAuth},merchantAuth:function(t){return t.config.merchantAuth},service_btn_color:function(t){return t.config.configInfo.service_btn_color},service_font_color:function(t){return t.config.configInfo.service_font_color},userInfo:function(t){return t.user.userInfo}}),methods:{toPreviewImage:function(t){var i=this.info[t];"work_img"==t&&(i=[i]),this.$util.previewImage({current:i[0],urls:i})},goInfo:function(){var t=this.info,i=t.id,e=t.store,n=void 0===e?{}:e,a=t.admin_id,s=void 0===a?0:a,c=t.admin_name,o=this.from,r=this.plugAuth,l=void 0===r?{}:r,u=this.merchantAuth,f=void 0===u?0:u;this.$util.goUrl({url:"collect"!=o&&l.store&&n&&n.id?"/shopstore/pages/detail?id=".concat(n.id):"collect"!=o&&f&&s&&c?"/user/pages/merchant-info?id=".concat(s):"/user/pages/technician-info?id=".concat(i)})},toEmit:function(t){this.$emit(t)}}};i.default=a},a09a:function(t,i,e){var n=e("4ab5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("1f14c60a",n,!0,{sourceMap:!1,shadowMode:!1})},a0e3:function(t,i,e){"use strict";e.r(i);var n=e("7227"),a=e("4db8");for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);e("9af1");var c=e("828b"),o=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"3903532a",null,!1,n["a"],void 0);i["default"]=o.exports},b854:function(t,i,e){"use strict";var n=e("0ffa"),a=e.n(n);a.a},ba2d:function(t,i,e){"use strict";e.r(i);var n=e("dd3b"),a=e("e72c");for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);e("b854");var c=e("828b"),o=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"6c7e767a",null,!1,n["a"],void 0);i["default"]=o.exports},c2df: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/* 文章场景相关 */.technician-list-popup .technician-popup[data-v-6c7e767a]{border-radius:%?20?% %?20?% 0 0}.technician-list-popup .technician-popup .item-avatar[data-v-6c7e767a]{width:%?88?%;height:%?88?%;background:#f4f6f8}.technician-list-popup .technician-popup .icon-close[data-v-6c7e767a]{font-size:%?50?%;top:%?30?%;right:%?30?%}.technician-list-popup .technician-popup .technician-text[data-v-6c7e767a]{max-height:%?150?%}.technician-list-popup .technician-popup .list-content[data-v-6c7e767a]{max-height:50vh}.technician-list-popup .technician-popup .list-content .list-message .item-avatar[data-v-6c7e767a]{width:%?52?%;height:%?52?%;background:#f4f6f8}.technician-list-popup .technician-popup .list-content .list-message .iconyduixingxingshixin[data-v-6c7e767a]{font-size:%?28?%;margin-right:%?5?%;font-size:%?28?%}.technician-list-popup .technician-popup .order-btn[data-v-6c7e767a]{width:%?200?%;height:%?72?%}',""]),t.exports=i},dd3b:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"technician-list-popup"},[e("uni-popup",{ref:"technician_item",attrs:{type:"bottom"}},[e("v-uni-view",{staticClass:"technician-popup fill-base"},[e("v-uni-view",{staticClass:"pd-lg rel",class:[{"flex-center":"technician-info"==t.from&&"message"==t.showType||"technician"==t.showType},{"flex-warp":"message"==t.showType}]},[e("v-uni-image",{staticClass:"item-avatar radius",attrs:{mode:"aspectFill",src:t.info.work_img}}),e("i",{staticClass:"iconfont icon-close abs",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.$refs.technician_item.close()}}}),e("v-uni-view",{staticClass:"flex-1 ml-md"},[e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{staticClass:"flex-y-baseline f-caption c-caption"},[e("v-uni-view",{staticClass:"f-title c-title text-bold mr-sm max-350 ellipsis"},[t._v(t._s(t.info.coach_name))]),t._v("从业"+t._s(t.info.work_time)+"年")],1)],1),"technician-info"!=t.from&&"message"==t.showType?e("v-uni-scroll-view",{staticClass:"technician-text f-caption c-caption mt-sm",attrs:{"scroll-y":!0},on:{touchmove:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i)}}},[t._v(t._s(t.info.text))]):t._e()],1)],1),e("v-uni-view",{staticClass:"space-sm fill-body"}),e("v-uni-scroll-view",{staticClass:"list-content",attrs:{"scroll-y":!0},on:{touchmove:function(i){i.stopPropagation(),i.preventDefault(),arguments[0]=i=t.$handleEvent(i)}}},["technician"==t.showType?t._l(t.serviceList,(function(i,n){return e("v-uni-view",{key:n,staticClass:"list-item flex-center pd-lg fill-base radius-16",class:[{"b-1px-t":0!=n}]},[e("v-uni-image",{staticClass:"avatar lg radius-16",attrs:{mode:"aspectFill",src:i.cover},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goDetail(n)}}}),e("v-uni-view",{staticClass:"flex-1 ml-md"},[e("v-uni-view",{staticClass:"f-sm-title c-title text-bold max-510 ellipsis",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goDetail(n)}}},[t._v(t._s(i.title))]),e("v-uni-view",{staticClass:"f-caption c-caption mt-sm mb-sm ellipsis"},[t._v("超"+t._s(i.total_sale)+"人选择")]),e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{staticClass:"flex-y-baseline flex-1"},[e("v-uni-view",{staticClass:"flex-y-baseline f-icontext c-orange text-bold mr-sm"},[e("b",{staticClass:"f-paragraph c-orange"},[t._v("¥")]),e("v-uni-view",{staticClass:"f-big-title"},[t._v(t._s(i.price))])],1),i.init_price?e("v-uni-view",{staticClass:"text-delete mr-sm c-caption f-desc"},[t._v("¥"+t._s(i.init_price))]):t._e(),e("v-uni-view",{staticClass:"flex-y-baseline flex-1 c-caption f-desc"},[e("i",{staticClass:"iconfont icon-shijian mr-sm",style:{color:t.primaryColor}}),t._v(t._s(i.time_long)+"分钟")])],1),e("v-uni-view",{staticClass:"flex-warp"},[i.car_num?[e("v-uni-button",{staticClass:"reduce",style:{borderColor:t.primaryColor,color:t.primaryColor},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.changeNum(-1,n)}}},[e("i",{staticClass:"iconfont icon-jian-bold"})]),e("v-uni-button",{staticClass:"addreduce clear-btn"},[t._v(t._s(i.car_num||0))])]:t._e(),e("v-uni-button",{staticClass:"add",style:{background:t.primaryColor,borderColor:t.primaryColor},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.changeNum(1,n)}}},[e("i",{staticClass:"iconfont icon-jia-bold"})])],2)],1)],1)],1)})):t._e(),"message"==t.showType?t._l(t.commentList.data,(function(i,n){return e("v-uni-view",{key:n,staticClass:"list-message flex-warp pd-lg",class:[{"b-1px-t":0!=n}]},[e("v-uni-image",{staticClass:"item-avatar radius",attrs:{mode:"aspectFill",src:i.avatarUrl}}),e("v-uni-view",{staticClass:"flex-1 ml-md"},[e("v-uni-view",{staticClass:"flex-between"},[e("v-uni-view",{staticClass:"flex-y-center"},[e("v-uni-view",{staticClass:"f-paragraph c-title mr-md"},[t._v(t._s(i.nickName))]),e("v-uni-view",{staticClass:"flex-warp"},t._l(5,(function(t,n){return e("i",{key:n,staticClass:"iconfont iconyduixingxingshixin icon-font-color",style:{backgroundImage:n<i.star?"-webkit-linear-gradient(270deg, #FAD961 0%, #F76B1C 100%)":"-webkit-linear-gradient(270deg, #f4f6f8 0%, #ccc 100%)"}})})),0)],1),e("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v(t._s(i.create_time))])],1),e("v-uni-view",{staticClass:"flex-warp mt-sm"},t._l(i.lable_text,(function(i,n){return e("v-uni-view",{key:n,staticClass:"pt-sm pb-sm pl-md pr-md mt-sm mr-sm radius fill-body f-caption c-desc"},[t._v(t._s(i))])})),1),e("v-uni-view",{staticClass:"f-caption c-caption mt-md"},[e("v-uni-text",{staticStyle:{"word-break":"break-all"},attrs:{decode:"emsp"}},[t._v(t._s(i.text))])],1)],1)],1)})):t._e()],2),!t.loading&&("technician"==t.showType&&t.serviceList&&t.serviceList.length<=0||"message"==t.showType&&t.commentList&&t.commentList.data&&t.commentList.data.length<=0)?e("v-uni-view",{staticStyle:{margin:"0 100rpx"}},[e("abnor")],1):t._e(),"message"==t.showType&&t.commentList.last_page>1?[e("v-uni-view",{staticClass:"space-lg b-1px-t"}),e("v-uni-view",{staticClass:"more-btn flex-center f-paragraph c-base radius",staticStyle:{width:"300rpx",height:"80rpx",margin:"0 auto"},style:{background:t.primaryColor},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.$refs.technician_item.close(),t.$util.goUrl({url:"/user/pages/comment?id="+t.info.id})}}},[t._v("查看更多")]),e("v-uni-view",{staticClass:"space-lg"})]:t._e(),"technician"==t.showType&&t.car_info.car_count>0?e("v-uni-view",{staticClass:"flex-between pd-lg b-1px-t"},[e("v-uni-view",{staticClass:"flex-center"},[t._v("合计:"),e("v-uni-view",{staticClass:"f-title c-warning text-bold ml-sm"},[t._v("¥"+t._s(t.car_info.car_price))])],1),e("v-uni-view",{staticClass:"order-btn flex-center f-desc c-base radius",style:{background:"linear-gradient(68deg, "+t.primaryColor+", "+t.subColor+")"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.toOrder.apply(void 0,arguments)}}},[t._v("提交订单")])],1):t._e(),e("v-uni-view",{staticClass:"space-safe"})],2)],1)],1)},a=[]},e72c:function(t,i,e){"use strict";e.r(i);var n=e("5719"),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}}]); |