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
7.5 KiB
1 lines
7.5 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-bad-comments-choice"],{"062b":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isLoad?i("v-uni-view",{staticClass:"order"},[i("fixed",[i("v-uni-view",{staticClass:"fare-top rel"},[i("v-uni-view",{staticClass:"abs fare-top-bgcolor",style:{backgroundColor:t.primaryColor}}),i("v-uni-view",{staticClass:"pl-lg pr-lg fill-base flex flex-y-center fare-search box-shadow"},[i("search",{staticClass:"flex-1",attrs:{type:"input",confirmSearch:!1,padding:0,radius:30,placeholder:"输入服务名称或订单号"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.toSearch.apply(void 0,arguments)}}})],1)],1)],1),i("v-uni-view",{staticClass:"order-list pd-md"},[t._l(t.list.data,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"order-item fill-base pl-lg pr-lg pb-lg radius-16 mb-md",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setOrderState(a)}}},[i("v-uni-view",{staticClass:"order-item-title b-1px-b flex-y-center"},[t.current==a?i("v-uni-view",{staticClass:"icon-radio-fill iconfont",staticStyle:{"font-size":"20px"},style:{color:t.primaryColor}}):i("v-uni-view",{staticClass:"icon-xuanze iconfont",staticStyle:{"font-size":"20px",color:"#BEC3CE"}}),i("v-uni-view",{staticClass:"f-paragraph c-paragraph pl-md"},[t._v("订单号 "+t._s(e.order_code))])],1),t._l(e.order_goods,(function(a,n){return i("v-uni-view",{key:n,staticClass:"flex-y-center pt-md"},[i("v-uni-image",{staticClass:"item-image radius-16",attrs:{mode:"aspectFill",src:a.goods_cover}}),i("v-uni-view",{staticClass:"pl-md"},[i("v-uni-view",{staticClass:"f-mini-title text-bold"},[t._v(t._s(a.goods_name))]),i("v-uni-view",{staticClass:"c-caption f-caption pt-md pb-md"},[i("v-uni-text",{staticClass:"pr-md"},[t._v("预约时间")]),i("v-uni-text",[t._v(t._s(e.start_time))])],1),i("v-uni-view",{staticClass:"flex-y-center c-warning",staticStyle:{"line-height":"1"}},[i("v-uni-text",{staticClass:"text-bold f-icontext"},[t._v("¥")]),i("v-uni-text",{staticClass:"f-sm-title text-bold"},[t._v(t._s(a.true_price))])],1)],1)],1)}))],2)]}))],2),i("v-uni-view",{staticClass:"space-max-footer"}),i("fix-bottom-button",{attrs:{text:[{text:"关闭",type:"cancel"},{text:"确定",type:"confirm"}],bgColor:"#fff",classType:2},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.$util.goUrl({url:1,openType:"navigateBack"})},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}})],1):t._e()},n=[]},4096:function(t,e,i){var a=i("f69c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("6dd290da",a,!0,{sourceMap:!1,shadowMode:!1})},"812e":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("c223");var n=a(i("2634")),r=a(i("2fdc")),o=i("8f59"),s={data:function(){return{loading:!0,isLoad:!1,current:-1,param:{page:1,limit:10},list:{data:[]},id:0}},computed:(0,o.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}}),onLoad:function(t){this.$util.setNavigationBarColor({bg:this.primaryColor}),this.id=t.id,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:{initIndex:function(){var t=arguments,e=this;return(0,r.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!e.$jweixin.isWechat()){i.next=5;break}return i.next=4,e.$jweixin.initJssdk();case 4:e.$jweixin.wxReady((function(){e.$jweixin.hideOptionMenu()}));case 5:e.getList();case 6:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var i,a,r,o,s;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.$util.showLoading(),i=t.id,a=void 0===i?0:i,r=t.list,o=t.param,e.next=4,t.$api.technician.appealOrder(o);case 4:s=e.sent,s.data.map((function(e,i){e.id==a&&(t.current=i)})),1==t.param.page||(s.data=r.data.concat(s.data)),t.list=s,t.isLoad=!0,t.loading=!1,t.$util.hideAll();case 10:case"end":return e.stop()}}),e)})))()},toSearch:function(t){var e=this;setTimeout((function(){e.param.name=t,e.current=-1,e.initRefresh()}),1e3)},setOrderState:function(t){this.current=t},confirm:function(){var t=this.current,e=void 0===t?-1:t;-1!=e?(this.$util.getPage(-1).orderInfo=this.list.data[e],this.$util.goUrl({url:1,openType:"navigateBack"})):this.$util.showToast({title:"请选择订单"})}}};e.default=s},"9bd1":function(t,e,i){"use strict";i.r(e);var a=i("062b"),n=i("b068");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("dfb1");var o=i("828b"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"a462b3f2",null,!1,a["a"],void 0);e["default"]=s.exports},b068:function(t,e,i){"use strict";i.r(e);var a=i("812e"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},dfb1:function(t,e,i){"use strict";var a=i("4096"),n=i.n(a);n.a},f69c:function(t,e,i){var a=i("c86c");e=a(!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/* 文章场景相关 */.order .fare-top[data-v-a462b3f2]{padding-top:%?10?%}.order .fare-top .fare-top-bgcolor[data-v-a462b3f2]{height:%?60?%;top:0;left:0;width:100%;z-index:-1}.order .fare-search[data-v-a462b3f2]{height:%?130?%;border-radius:%?40?%;overflow:hidden;margin-bottom:%?-2?%}.order .fare-search .fare-top-time[data-v-a462b3f2]{width:%?70?%;height:%?70?%}.order .fare-search .fare-top-time .fare-top-bg[data-v-a462b3f2]{width:%?70?%;height:%?70?%;border-radius:%?70?%;opacity:.1}.order .order-list .order-item-title[data-v-a462b3f2]{line-height:%?95?%;height:%?95?%}.order .order-list .item-image[data-v-a462b3f2]{width:%?155?%;height:%?155?%;overflow:hidden;vertical-align:bottom}.order .box-footer[data-v-a462b3f2]{position:fixed;bottom:0;width:100%;left:0;padding-left:%?40?%;padding-right:%?40?%}.order .box-footer .btn[data-v-a462b3f2]{height:%?90?%;line-height:%?90?%;border-radius:%?90?%}.order .box-footer .btn1[data-v-a462b3f2]{border:1px solid #ccc}',""]),t.exports=e}}]); |