1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tray-page-order-orderDetail"],{"106a":function(e,t,n){"use strict";n.r(t);var a=n("b80d"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},1106:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.startRefundApi=t.getTrayInfoApi=t.getPayMethodApi=t.getOrderListApi=t.getOrderDetailApi=t.getOrderChartReportDetailApi=t.getOrderChartReportApi=t.getOrderChartApi=t.getIngOrderApi=t.getAbnormalOrderApi=t.createPayScoreOrderApi=t.bindTrayApi=t.bindOrderApi=t.bindCardApi=t.applyRefundApi=void 0;var i=a(n("7653"));t.getIngOrderApi=function(){return i.default.post("api/user.tray.tray_order/getIngOrder")};t.bindTrayApi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return i.default.post("api/user.tray.tray_order/bindTray",{plate_no:e,out_order_no:t})};t.getOrderListApi=function(e,t){return i.default.get("api/user.tray.tray_order/getOrderList",{page:e,pageSize:t})};t.getOrderDetailApi=function(e){return i.default.get("api/user.tray.tray_order/getOrderDetail",{id:e})};t.getOrderChartApi=function(e){return i.default.get("api/user.tray.nutrition_analysis/index",{date:e})};t.getAbnormalOrderApi=function(){return i.default.get("api/user.tray.tray_order/getAbnormalOrder")};t.startRefundApi=function(e){return i.default.post("api/user.tray.tray_order/startRefund",{id:e})};t.applyRefundApi=function(e){return i.default.post("api/user.tray.tray_order/applyRefund",e)};t.getOrderChartReportApi=function(){return i.default.get("api/user.tray.nutrition_analysis/report")};t.getOrderChartReportDetailApi=function(e){return i.default.get("api/user.tray.nutrition_analysis/reportDetail",e)};t.createPayScoreOrderApi=function(e){return i.default.post("api/user.tray.tray_order/createPayScoreOrder",{plate_no:e})};t.getPayMethodApi=function(e){return i.default.get("api/user.tray.tray_order/getPayMethod",{plate_no:e})};t.bindCardApi=function(e){return i.default.post("api/user.tray.user/bindCard",{card_no:e})};t.bindOrderApi=function(e){return i.default.post("api/user.tray.tray_order/bindOrder",{order_id:e})};t.getTrayInfoApi=function(e){return i.default.get("api/user.tray.tray_order/getTrayInfo",{plate_no:e})}},"1aa8":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.flexCenter[data-v-70c67e3e]{display:flex;align-items:center;justify-content:space-between}.flexColumn[data-v-70c67e3e]{display:flex;flex-direction:column;justify-content:space-between}.flex[data-v-70c67e3e]{display:flex}.orderDetail[data-v-70c67e3e]{color:#555;background:#f6f7f9;min-height:100vh;padding-bottom:%?130?%}.orderDetail .content[data-v-70c67e3e]{padding:%?35?% %?30?% %?50?%}.orderDetail .content .chartData[data-v-70c67e3e]{width:92vw;margin-top:%?20?%;min-height:%?300?%;background-color:#fff;border-radius:%?20?%;background-color:#fff;padding:%?20?%;margin-bottom:%?20?%;margin-top:%?-22?%}.orderDetail .footerBtn[data-v-70c67e3e]{position:fixed;bottom:0;left:0;width:100%;padding:%?18?% %?30?%;font-size:%?32?%;color:#555;background:#fff;border-top:1px solid #ededed}.orderDetail .footerBtn .nums[data-v-70c67e3e]{font-size:%?48?%;color:#000}.orderDetail .footerBtn .rightBtn[data-v-70c67e3e]{background:#fcbe11;border-radius:%?70?%;color:#000;font-size:%?32?%;padding:%?20?% %?70?%;text-align:center}.tipBox[data-v-70c67e3e]{display:flex;flex-direction:column;align-items:center}.tipBox .tipBtn[data-v-70c67e3e]{color:#0ab644;background:rgba(10,182,68,.1);border-radius:%?20?% %?20?% %?20?% %?20?%;width:100%;padding:%?20?%;text-align:center;margin-bottom:%?10?%}.tipBox .tipsText[data-v-70c67e3e]{font-size:%?28?%;color:#555}.tipBox .tipsText.red[data-v-70c67e3e]{color:#e55e5e}.orderContent .time[data-v-70c67e3e]{font-size:%?34?%;padding:%?20?% 0}.orderContent .handleBox[data-v-70c67e3e]{font-size:%?24?%}.orderContent .handleBox .btn[data-v-70c67e3e]{min-width:%?120?%;padding:%?4?% %?10?%;text-align:center;background:#fff;border-radius:%?8?% %?8?% %?8?% %?8?%;border:1px solid #d8cfa6;margin-left:%?10?%}.orderContent .foodsBox[data-v-70c67e3e]{padding:%?44?% 0}.orderContent .food[data-v-70c67e3e]{background:#fff;border-radius:%?20?%;padding:%?47?% %?34?%;margin-bottom:%?18?%}.orderContent .food .icon[data-v-70c67e3e]{width:%?148?%;height:%?148?%;border-radius:%?20?%;margin-right:%?34?%}.orderContent .food .foodDetail[data-v-70c67e3e]{font-size:%?32?%;color:#666}.orderContent .food .foodDetail .top[data-v-70c67e3e]{color:#222}.orderContent .food .foodDetail .price[data-v-70c67e3e]{color:#e55e5e}.orderContent .food .foodDetail .price .nums[data-v-70c67e3e]{font-size:%?46?%}.orderContent .orderInfo .title[data-v-70c67e3e]{font-size:%?34?%}.orderContent .orderInfo .info[data-v-70c67e3e]{font-size:%?30?%;padding:%?24?%;border-radius:%?20?%;background:#fff;color:#666;margin:%?28?% 0 %?40?%}.orderContent .orderInfo .info .col[data-v-70c67e3e]{padding-bottom:%?54?%}.orderContent .orderInfo .info .col[data-v-70c67e3e]:last-child{padding-bottom:0}.orderContent .btnHandle[data-v-70c67e3e]{width:100%;background:#fcbe11;border-radius:%?70?%;color:#000;font-size:%?32?%;padding:%?20?%;text-align:center}.orderContent .table[data-v-70c67e3e]{width:100%;margin-top:%?20?%;background-color:#fff;border-radius:%?20?%;background-color:#fff;padding:%?20?%;margin-bottom:%?20?%;margin-top:%?-22?%}.orderContent .table .table-header[data-v-70c67e3e]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:%?20?% 0;border-bottom:1px solid #e5e5e5}.orderContent .table .table-header .header-item[data-v-70c67e3e]{font-size:%?28?%;color:#666;width:33.3%;text-align:center}.orderContent .table .table-row[data-v-70c67e3e]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:%?20?% 0;border-bottom:1px solid #e5e5e5}.orderContent .table .table-row .row-item[data-v-70c67e3e]{font-size:%?28?%;color:#666;width:33.3%;text-align:center}.orderContent .table .table-footer[data-v-70c67e3e]{height:%?100?%;width:100%;display:flex;text-align:center;align-items:center;justify-content:center}.expansion[data-v-70c67e3e]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-70c67e3e]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .line1[data-v-70c67e3e]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .line2[data-v-70c67e3e]{width:100%;text-align:center;font-size:%?34?%;color:#666}.expansion .expansion_box .line3[data-v-70c67e3e]{width:100%;display:flex;justify-items:center;align-items:flex-end;justify-content:space-between;margin-top:%?30?%;margin-bottom:%?42?%}.expansion .expansion_box .line3 .left[data-v-70c67e3e]{width:%?150?%;height:%?159?%;background:url(https://qny.wdsp666.com/uploads/images/202309121602469113e2963.png);background-repeat:no-repeat;background-size:cover;margin-left:%?20?%}.expansion .expansion_box .line3 .left .price[data-v-70c67e3e]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?60?%}.expansion .expansion_box .line3 .left .price .price_detail[data-v-70c67e3e]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .left .price .price_detail .price_unit[data-v-70c67e3e]{font-size:%?31?%}.expansion .expansion_box .line3 .left .price .price_detail .price_num[data-v-70c67e3e]{font-size:%?46?%;font-weight:700}.expansion .expansion_box .line3 .left .price .price_description[data-v-70c67e3e]{font-size:%?21?%}.expansion .expansion_box .line3 .mid[data-v-70c67e3e]{width:%?56?%;height:%?32?%;align-self:center}.expansion .expansion_box .line3 .mid img[data-v-70c67e3e]{width:100%;height:100%}.expansion .expansion_box .line3 .right[data-v-70c67e3e]{width:%?191?%;height:%?207?%;background:url(https://qny.wdsp666.com/uploads/images/2023091216032261b8c0006.png);background-repeat:no-repeat;background-size:cover;margin-right:%?17?%}.expansion .expansion_box .line3 .right .price[data-v-70c67e3e]{width:100%;display:flex;flex-direction:column;align-items:center;color:#f04f14;justify-content:center;height:100%;padding-bottom:%?45?%}.expansion .expansion_box .line3 .right .price .price_detail[data-v-70c67e3e]{width:100%;height:%?50?%;display:flex;justify-content:center;align-items:center}.expansion .expansion_box .line3 .right .price .price_detail .price_unit[data-v-70c67e3e]{font-size:%?34?%}.expansion .expansion_box .line3 .right .price .price_detail .price_num[data-v-70c67e3e]{font-size:%?69?%;font-weight:700}.expansion .expansion_box .line3 .right .price .price_description[data-v-70c67e3e]{font-size:%?22?%;margin-top:%?12?%}.expansion .expansion_box .line4[data-v-70c67e3e]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4);margin-top:%?30?%}.expansion .expansion_close[data-v-70c67e3e]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-70c67e3e]{width:%?60?%;height:%?60?%}',""]),e.exports=t},2949:function(e,t,n){"use strict";n.r(t);var a=n("75e5"),i=n("5e27");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("5daf");var r=n("828b"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"70c67e3e",null,!1,a["a"],void 0);t["default"]=c.exports},"2be4":function(e,t,n){"use strict";n.r(t);var a=n("ba055"),i=n("106a");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("4834");var r=n("828b"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"2b7b9084",null,!1,a["a"],void 0);t["default"]=c.exports},4834:function(e,t,n){"use strict";var a=n("49b0"),i=n.n(a);i.a},"49b0":function(e,t,n){var a=n("b345");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("6020ef36",a,!0,{sourceMap:!1,shadowMode:!1})},"51f2":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("4626"),n("5ac7"),n("5c47"),n("2c10"),n("aa9c"),n("fd3c"),n("d4b5");var i=a(n("2634")),o=a(n("2fdc")),r=a(n("39d8")),c=n("1106"),s=a(n("34cae")),l=a(n("8c27")),d=(n("165b"),n("262c")),u=n("9a0a"),p=a(n("2be4")),f={components:{PaySelectModal:s.default,loading:l.default,UpdateMobileInfo:p.default},data:function(){var e;return{orderDetail:null,plate_no:"",showSelectPayWayModal:!1,loadingShow:!1,q:"",params:"",auto_scan:!0,timer:null,chartOpts:{color:["#EC808D","#FACD91","#C280FF","#81D3F8"],padding:[40,15,0,15],dataLabel:!0,textColor:"#F01515",textSize:18,xAxis:{disableGrid:!0,calibration:!1},yAxis:(e={disabled:!0,gridColor:"rgba(230,230,230,0.6)"},(0,r.default)(e,"disabled",!0),(0,r.default)(e,"showTitle",!0),(0,r.default)(e,"disableGrid",!0),(0,r.default)(e,"gridType","dash"),(0,r.default)(e,"dashLength","4"),(0,r.default)(e,"data",[{axisLineColor:"#FFFFFF"}]),e),legend:{show:!1,position:"top",float:"right"},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.04}}},chartData:{},chartFlag:!1,total_kcal:0,recommend_kcal:"",err_msg:"",expansion_show:!1,options:null,plates_no:[],pay_button_show:!0,plate_no_show:{},need_bind_plate_no:"",recharge_plate_no:"",plate_no_not_bind_by_not_pay_order:"",is_first:0,pay_method:"credit",out_order_no:"",go_score_pay:!1,order_id:0,lat:0,lng:0,agent_address:"",showSetMobileModal:!1,is_bind_mobile:!1,bind_plate_no:""}},onLoad:function(e){var t=this;return(0,o.default)((0,i.default)().mark((function n(){return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.options=e,e.recharge_plate_no&&(t.recharge_plate_no=e.recharge_plate_no),e.plate_no_not_bind_by_not_pay_order&&(t.plate_no_not_bind_by_not_pay_order=e.plate_no_not_bind_by_not_pay_order);case 3:case"end":return n.stop()}}),n)})))()},onShow:function(){var e=this;return(0,o.default)((0,i.default)().mark((function t(){return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.orderDetail&&(e.timer||(e.timer=setInterval((function(){e.getOrderDetailNoOpration()}),5e3)));case 1:case"end":return t.stop()}}),t)})))()},onUnload:function(){console.log("我离开了"),clearInterval(this.timer),this.timer=null},methods:{bindOrder:function(e){var t=this;return(0,c.bindOrderApi)(e).then((function(e){return console.log("res",e),t.orderDetail=e.data,!1}))},bindTray:function(e){var t=this;return(0,o.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t,a.bind_plate_no=e,n.next=4,t.getUserInfo();case 4:if(t.is_bind_mobile){n.next=7;break}return console.log("先绑定手机号"),n.abrupt("return");case 7:return n.next=9,t.getTrayInfo(e);case 9:if(console.log("this.lat",t.lat),console.log("this.lng",t.lng),(0,d.setLocationInfoToCache)({lat:t.lat,lng:t.lng,address:t.agent_address}),console.log("去到这里了",e),!t.plates_no.includes(e)){n.next=16;break}return uni.showToast({title:"该餐盘已绑定",icon:"none"}),n.abrupt("return");case 16:uni.showModal({title:"确认绑定该托盘吗",content:e,success:function(){var n=(0,o.default)((0,i.default)().mark((function n(o){return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!o.confirm){n.next=11;break}if(t.orderDetail){n.next=8;break}return n.next=4,a.getPayMethod(e);case 4:if("payscore"!=a.pay_method&&"together"!=a.pay_method){n.next=8;break}return n.next=7,a.createPayScoreOrder(e);case 7:return n.abrupt("return");case 8:setTimeout((function(){a.bindNotConfirm(e,a.out_order_no)}),1e3),n.next=12;break;case 11:a.orderDetail||uni.navigateTo({url:"/pages/index/index"});case 12:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()});case 17:case"end":return n.stop()}}),n)})))()},getTrayInfo:function(e){var t=this;return(0,o.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t,n.abrupt("return",(0,c.getTrayInfoApi)(e).then((function(e){console.log("res",e),a.lat=e.lat,a.lng=e.lng,a.agent_address=e.agent_address})));case 2:case"end":return n.stop()}}),n)})))()},startScan:function(){var e=this;e.auto_scan=!1,uni.scanCode({success:function(t){if(console.log("res",t),t.result){var n="",a=t.result.match(/plate_no=([^&]+)/);if(a)n=a[1]||"";else{var i=t.result.match(/card_no=([^&]+)/);if(!i)return uni.showToast({title:"扫码失败",icon:"none"}),!1;n=i[1]||""}n?(e.plate_no=n,e.bindTray(n)):uni.showToast({title:"扫码失败",icon:"none"})}}})},getOrderDetail:function(){var e=arguments,t=this;return(0,o.default)((0,i.default)().mark((function n(){var a,o;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=e.length>0&&void 0!==e[0]&&e[0],console.log("xxxxxx 我又来了"),o=t,!t.recharge_plate_no){n.next=13;break}if(t.orderDetail){n.next=11;break}return n.next=7,o.getPayMethod(t.recharge_plate_no);case 7:if("payscore"!=o.pay_method&&"together"!=o.pay_method){n.next=11;break}return n.next=10,o.createPayScoreOrder(t.recharge_plate_no);case 10:return n.abrupt("return");case 11:return setTimeout((function(){o.bindNotConfirm(t.recharge_plate_no,o.out_order_no)}),1e3),n.abrupt("return");case 13:(0,c.getIngOrderApi)().then((function(e){if(console.log("resss",e),e.data)for(var n in e.data.list)o.plate_no_show[n]=!0;if(t.orderDetail=e.data,o.checkPayButton(),o.timer||(o.timer=setInterval((function(){o.getOrderDetailNoOpration()}),5e3)),t.orderDetail){for(var i in t.orderDetail.list)t.plates_no.push(i);t.total_kcal=e.data.stat.calorie,t.recommend_kcal=e.data.stat.recommend_kcal;var r=["#EC808D","#FACD91","#C280FF","#81D3F8"],c=e.data.y.map((function(e,t){return{value:e,color:r[t]}}));t.total_kcal>0&&(t.chartFlag=!0);var s={categories:e.data.x,series:[{name:"摄入情况",data:c,legendShape:"circle"}]};t.chartData=JSON.parse(JSON.stringify(s))}t.orderDetail&&t.plate_no?t.bindTray(t.plate_no):!t.orderDetail&&t.plate_no?a&&t.bindTray(t.plate_no):t.orderDetail&&!t.plate_no?o.auto_scan=!1:t.orderDetail||t.plate_no||(console.log("扫一扫开始了"),o.auto_scan&&0==o.go_score_pay&&o.startScan())}));case 14:case"end":return n.stop()}}),n)})))()},checkPayButton:function(){if(this.orderDetail){var e=new Date(this.orderDetail.modifyTime).getTime();(new Date).getTime()-e<12e4?this.pay_button_show=!1:this.pay_button_show=!0}},getOrderDetailNoOpration:function(){var e=this;(0,c.getIngOrderApi)().then((function(t){if(console.log("resss",t),e.orderDetail=t.data,e.orderDetail){e.go_score_pay=!1,e.checkPayButton(),e.total_kcal=t.data.stat.calorie,e.recommend_kcal=t.data.stat.recommend_kcal;var n=["#EC808D","#FACD91","#C280FF","#81D3F8"],a=t.data.y.map((function(e,t){return{value:e,color:n[t]}}));e.total_kcal>0&&(e.chartFlag=!0);var i={categories:t.data.x,series:[{name:"摄入情况",data:a,legendShape:"circle"}]};e.chartData=JSON.parse(JSON.stringify(i))}e.timer||(e.timer=setInterval((function(){e.getOrderDetailNoOpration()}),5e3))}))},pay:function(){console.log(123),this.showSelectPayWayModal=!0},successPayEvent:function(){var e=this;clearInterval(this.timer),this.timer=null,this.showSelectPayWayModal=!1,this.plate_no_not_bind_by_not_pay_order?setTimeout((function(){(0,c.bindTrayApi)(e.plate_no_not_bind_by_not_pay_order).then((function(e){console.log("res",e),uni.reLaunch({url:"/pages/index/index"})}))}),1e3):uni.reLaunch({url:"/pages/index/index"})},failPayEvent:function(){},cancelPayEvent:function(){},handleToDetail:function(){console.log(111),uni.navigateTo({url:"/tray-page/order/orderAnalysis"})},expansion_close:function(){this.expansion_show=!1},toRecharge:function(){uni.navigateTo({url:"/system-page/balance-recharge/index?plate_no="+this.need_bind_plate_no+"&path=2"})},changeShow:function(e){var t=JSON.parse(JSON.stringify(this.plate_no_show));t[e]=!t[e],this.plate_no_show=t,console.log(this.plate_no_show)},createPayScoreOrder:function(e){var t=this;uni.showLoading({title:"加载中",mask:!0}),(0,c.createPayScoreOrderApi)(e).then((function(n){console.log("res_score",n);var a=n;t.out_order_no=a.out_order_no,t.go_score_pay=!0,wx.openBusinessView({businessType:"wxpayScoreUse",extraData:{mch_id:a.mchid,package:a.package,timestamp:a.timestamp,nonce_str:a.nonce,sign_type:"HMAC-SHA256",sign:a.sign},success:function(){setTimeout((function(){t.bindNotConfirm(e,t.out_order_no)}),1e3)},fail:function(){uni.showToast({title:"fail",icon:"none"})},complete:function(){}})})).catch((function(e){console.log("err",e),uni.hideLoading(),uni.showToast({title:e.msg,icon:"none"})}))},getPayMethod:function(e){var t=this;return(0,o.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t,n.next=3,(0,c.getPayMethodApi)(e).then((function(e){a.pay_method=e.data}));case 3:case"end":return n.stop()}}),n)})))()},bindNotConfirm:function(e,t){var n=this;uni.showLoading({title:"绑定中",mask:!0}),(0,c.bindTrayApi)(e,t).then((function(e){uni.hideLoading(),n.plate_no="",n.recharge_plate_no="",n.getOrderDetailNoOpration()})).catch((function(t){n.need_bind_plate_no=e,console.log("err",t),uni.hideLoading(),2==t.code?uni.showModal({title:"绑盘失败",content:t.msg,confirmText:"前往充值",cancelText:"留在当前",success:function(e){e.confirm&&n.toRecharge()}}):3==t.code?(n.err_msg=t.msg,n.expansion_show=!0):4==t.code?uni.showModal({title:"订单未支付",content:t.msg,confirmText:"前往支付",showCancel:!1,success:function(e){e.confirm&&(0,c.getAbnormalOrderApi)().then((function(e){if(n.orderDetail=e.data,n.orderDetail){n.total_kcal=e.data.stat.total,n.recommend_kcal=e.data.stat.recommend_kcal;var t=["#EC808D","#FACD91","#C280FF","#81D3F8"],a=e.data.y.map((function(e,n){return{value:e,color:t[n]}}));n.total_kcal>0&&(n.chartFlag=!0);var i={categories:e.data.x,series:[{name:"摄入情况",data:a,legendShape:"circle"}]};n.chartData=JSON.parse(JSON.stringify(i))}}))}}):5==t.code?uni.showModal({title:"绑盘失败",content:t.msg,confirmText:"确定",cancelText:"取消",success:function(e){uni.reLaunch({url:"/pages/index/index"})}}):uni.showToast({title:t.msg,icon:"none"})}))},mobileUpdatedEvent:function(){console.log("手机号码更新成功"),this.bindTray(this.bind_plate_no)},handleUpdateInfoModalCloseEvent:function(){this.showSetMobileModal=!1},getUserInfo:function(){var e=this;return(0,o.default)((0,i.default)().mark((function t(){return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.getUserInfoApi)().then((function(t){console.log("res",t),t.userInfo.mobile?e.is_bind_mobile=!0:e.showSetMobileModal=!0})));case 1:case"end":return t.stop()}}),t)})))()}}};t.default=f},"5daf":function(e,t,n){"use strict";var a=n("d6c31"),i=n.n(a);i.a},"5e27":function(e,t,n){"use strict";n.r(t);var a=n("51f2"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},"6cf7":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.updateMobileByWechatAuthApi=t.updateMobileApi=t.sendVerifyCodeApi=t.getRegCodeApi=t.getI18nApi=t.checkMobileAccountApi=t.changePwdApi=void 0;var i=a(n("7653"));t.sendVerifyCodeApi=function(e){var t=e.mobile,n=e.countryCodeText;return i.default.post("api/user.system.code/getCode",{mobile:t,countryCodeText:n})};t.getRegCodeApi=function(e){var t=e.mobile,n=e.countryCodeText,a=e.captcha_code,o=e.captcha_key;return i.default.post("api/user.system.code/getRegCode",{mobile:t,countryCodeText:n,captcha_code:a,captcha_key:o})};t.updateMobileApi=function(e){var t=e.mobile,n=e.code,a=e.phone_area;return i.default.post("api/user.member.account/moblieBind",{mobile:t,code:n,phone_area:a})};t.updateMobileByWechatAuthApi=function(e){var t=e.mobile,n=e.phone_area;return i.default.post("api/user.member.account/moblieBindByWechatAuth",{mobile:t,phone_area:n})};t.checkMobileAccountApi=function(e){var t=e.mobile,n=e.phone_area;return i.default.post("api/user.member.account/checkMobileAccountApi",{mobile:t,phone_area:n})};t.getI18nApi=function(){return i.default.get("api/user.system.code/getI18n")};t.changePwdApi=function(e){return i.default.post("api/user.member.account/changePwd",e)}},"75e5":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var a={loading:n("8c27").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[e.orderDetail?n("v-uni-view",{staticClass:"orderDetail"},[n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"tipBox"},[n("v-uni-view",{staticClass:"tipBtn"},[e._v("可以取餐啦!")]),n("v-uni-view",{staticClass:"tipsText"},[e._v("请把餐盘放在餐盘放置区进行取餐哦")]),n("v-uni-view",{staticClass:"tipsText red"},[e._v("(取餐后自动计算商品明细)")])],1),n("v-uni-view",{staticClass:"orderContent"},[n("v-uni-view",{staticClass:"time flexCenter"},[n("v-uni-text",[e._v("进行中")]),n("v-uni-text",[e._v(e._s(e.orderDetail.end_dinner_time)+"结束")])],1),e._l(e.orderDetail.list,(function(t,a){return n("v-uni-view",{key:a},[n("v-uni-view",{staticClass:"handleBox flexCenter"},[n("v-uni-text",[e._v("餐盘"+e._s(a))]),n("v-uni-view",{staticClass:"handle flex",staticStyle:{"align-items":"center"}},[n("v-uni-view",{staticClass:"btn"},[e._v(e._s(a))]),e.plate_no_show[a]?n("v-uni-text",{staticClass:"tn-icon-down",staticStyle:{"margin-left":"10prx","font-size":"40rpx"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeShow(a)}}}):n("v-uni-text",{staticClass:"tn-icon-up",staticStyle:{"margin-left":"10prx","font-size":"40rpx"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeShow(a)}}})],1)],1),n("v-uni-view",{staticClass:"foodsBox"},[e.plate_no_show[a]?n("v-uni-view",{staticClass:"table"},[n("v-uni-view",{staticClass:"table-header"},[n("v-uni-view",{staticClass:"header-item"},[e._v("菜品名称")]),n("v-uni-view",{staticClass:"header-item"},[e._v("重量(g)")]),n("v-uni-view",{staticClass:"header-item"},[e._v("价格(元)")])],1),e._l(t,(function(t,a){return n("v-uni-view",{key:a,staticClass:"table-row"},[n("v-uni-view",{staticClass:"row-item"},[e._v(e._s(t.name))]),n("v-uni-view",{staticClass:"row-item"},[e._v(e._s(t.weight))]),n("v-uni-view",{staticClass:"row-item"},[e._v(e._s(t.payable/100))])],1)}))],2):e._e()],1)],1)})),n("v-uni-view",{staticClass:"chartData"},[n("v-uni-view",{staticStyle:{"font-size":"17px","margin-top":"10rpx","margin-left":"10rpx"}},[n("v-uni-text",[e._v("营养分析:")])],1),e.chartFlag?n("v-uni-view",{staticClass:"chartBox"},[n("v-uni-text",{staticStyle:{"font-size":"40rpx","text-align":"center","/* margin-top":"35rpx","*/position":"relative",top:"42rpx",left:"220rpx"}},[e._v("总热量:"+e._s(e.total_kcal)+"(Kcal)")]),n("v-uni-view",[n("v-uni-view",[n("v-uni-text",{staticStyle:{color:"#C4C4C4",position:"relative",top:"-90rpx",left:"170rpx"}},[e._v("(建议摄入"+e._s(e.recommend_kcal)+"千卡)")]),n("v-uni-text",{staticStyle:{color:"#36B9F3","font-size":"30rpx",position:"relative",left:"220rpx",top:"-90rpx"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.handleToDetail.apply(void 0,arguments)}}},[e._v("查看详情>>")])],1),e.show?e._e():n("v-uni-view",{staticStyle:{"min-height":"600rpx"}},[n("qiun-data-charts",{attrs:{canvas2d:!0,type:"column",opts:e.chartOpts,chartData:e.chartData}})],1)],1)],1):n("v-uni-view",{staticStyle:{display:"flex","justify-content":"space-around","flex-direction":"column","align-items":"center"}},[n("v-uni-text",{staticStyle:{"margin-top":"60rpx",color:"#31CBCB","font-size":"32rpx"}},[e._v("建议摄入"+e._s(e.recommend_kcal)+"千卡")]),n("v-uni-text",{staticStyle:{color:"#36B9F3","font-size":"30rpx",position:"relative",left:"250rpx",top:"-140rpx"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.handleToDetail.apply(void 0,arguments)}}},[e._v("查看详情>>")])],1)],1),n("v-uni-view",{staticClass:"orderInfo"},[n("v-uni-view",{staticClass:"title"},[e._v("支付信息")]),n("v-uni-view",{staticClass:"info"},[n("v-uni-view",{staticClass:"col flexCenter"},[n("v-uni-text",{staticClass:"left"},[e._v("订单号码")]),n("v-uni-text",{staticClass:"right"},[e._v(e._s(e.orderDetail.order_sn))])],1),n("v-uni-view",{staticClass:"col flexCenter"},[n("v-uni-text",{staticClass:"left"},[e._v("订单类型")]),n("v-uni-text",{staticClass:"right"},[e._v("微信订单")])],1),n("v-uni-view",{staticClass:"col flexCenter"},[n("v-uni-text",{staticClass:"left"},[e._v("支付明细(应付)")]),n("v-uni-text",{staticClass:"right"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderDetail.total_fee))])],1),n("v-uni-view",{staticClass:"col flexCenter"},[n("v-uni-text",{staticClass:"left"},[e._v("支付明细(实付)")]),n("v-uni-text",{staticClass:"right"},[e._v(e._s(e.CurrencyUnit)+e._s(e.orderDetail.total_fee))])],1),n("v-uni-view",{staticClass:"col flexCenter"},[n("v-uni-text",{staticClass:"left"},[e._v("订单状态")]),n("v-uni-text",{staticClass:"right"},[e._v("进行中")])],1),n("v-uni-view",{staticClass:"col flexCenter"},[n("v-uni-text",{staticClass:"left"},[e._v("下单时间")]),n("v-uni-text",{staticClass:"right"},[e._v(e._s(e.orderDetail.createTime))])],1)],1)],1),n("v-uni-view",{staticClass:"btnHandle",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.startScan.apply(void 0,arguments)}}},[e._v("继续绑盘")])],2)],1),n("v-uni-view",{staticClass:"footerBtn flexCenter"},[n("v-uni-view",{staticClass:"left"},[e._v("总计"+e._s(e.CurrencyUnit)),n("v-uni-text",{staticClass:"nums"},[e._v(e._s(e.orderDetail.total_fee))])],1),e.pay_button_show?n("div",{staticClass:"rightBtn",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.pay.apply(void 0,arguments)}}},[e._v("结算")]):e._e()],1)],1):n("v-uni-view",{staticClass:"orderDetail",staticStyle:{display:"flex","flex-direction":"column-reverse"}},[n("v-uni-view",{staticClass:"orderContent"},[n("v-uni-view",{staticClass:"btnHandle",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.startScan.apply(void 0,arguments)}}},[e._v("继续绑盘")])],1)],1),e.loadingShow?n("loading"):e._e(),n("pay-select-modal",{attrs:{"order-id":e.orderDetail.id,"order-type":"tray"},on:{success:function(t){arguments[0]=t=e.$handleEvent(t),e.successPayEvent.apply(void 0,arguments)},fail:function(t){arguments[0]=t=e.$handleEvent(t),e.failPayEvent.apply(void 0,arguments)},cancel:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelPayEvent.apply(void 0,arguments)}},model:{value:e.showSelectPayWayModal,callback:function(t){e.showSelectPayWayModal=t},expression:"showSelectPayWayModal"}}),e.expansion_show?n("v-uni-view",{staticClass:"expansion"},[n("v-uni-view",{staticClass:"expansion_box"},[n("v-uni-view",{staticClass:"line1"},[e._v("余额不足提醒")]),n("v-uni-view",{staticClass:"line2"},[e._v(e._s(e.err_msg))]),n("v-uni-view",{staticClass:"line4",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toRecharge.apply(void 0,arguments)}}},[e._v("立即充值")])],1),n("v-uni-view",{staticClass:"expansion_close"},[n("img",{attrs:{src:"https://qny.wdsp666.com/uploads/images/20230912165851ec7463500.png",alt:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.expansion_close.apply(void 0,arguments)}}})])],1):e._e(),n("update-mobile-info",{on:{updated:function(t){arguments[0]=t=e.$handleEvent(t),e.mobileUpdatedEvent.apply(void 0,arguments)},close:function(t){arguments[0]=t=e.$handleEvent(t),e.handleUpdateInfoModalCloseEvent.apply(void 0,arguments)}},model:{value:e.showSetMobileModal,callback:function(t){e.showSetMobileModal=t},expression:"showSetMobileModal"}})],1)},o=[]},"9a0a":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.wechatGetPhoneNumberApi=t.updateUserInfoApi=t.setContactApi=t.myAuthcode=t.getUserInfoApi=t.deleteAccountApi=t.currentCredit2Api=t.checkPwdSetApi=void 0;var i=a(n("7653"));t.getUserInfoApi=function(){return i.default.get("api/user.member.mine/index")};t.updateUserInfoApi=function(e){return i.default.post("api/user.member.account/completeInfo",e)};t.wechatGetPhoneNumberApi=function(e){return i.default.post("api/user.member.account/wechatGetPhoneNumber",e)};t.setContactApi=function(e){return i.default.post("api/user.member.mine/setContact",e)};t.deleteAccountApi=function(){return i.default.post("api/user.member.account/deleteAccount")};t.myAuthcode=function(e){return i.default.post("api/user.member.credit.credit_authcode/myAuthcode",e)};t.currentCredit2Api=function(e){return i.default.get("api/user.member.credit.credit_authcode/currentCredit2",e)};t.checkPwdSetApi=function(e){return i.default.post("api/user.member.account/checkPwdSet",e)}},b345:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.smm[data-v-2b7b9084]{\n /* title */\n /* 手机号码 */\n /* 验证码 */\n /* 保存按钮 */}.smm__title[data-v-2b7b9084]{font-size:%?34?%}.smm__title .type-btn[data-v-2b7b9084]{color:#ffca28;margin:0;padding:0;font-size:%?26?%;display:inline-block;padding-left:%?20?%}.smm__mobile[data-v-2b7b9084]{margin-top:%?40?%}.smm__mobile .mobile__title[data-v-2b7b9084]{font-size:%?22?%}.smm__mobile .mobile__data[data-v-2b7b9084]{margin-top:%?16?%;width:100%;padding:%?26?% %?20?%;border-radius:%?10?%}.smm__mobile .mobile__data .input[data-v-2b7b9084]{color:#080808;width:100%;background-color:initial}.smm__mobile .mobile__data .btn[data-v-2b7b9084]{color:#ffca28;margin:0;padding:0;font-size:%?28?%;display:block;width:%?200?%}.smm__captcha[data-v-2b7b9084]{margin-top:%?40?%}.smm__captcha .captcha__title[data-v-2b7b9084]{font-size:%?22?%}.smm__captcha .captcha__data[data-v-2b7b9084]{margin-top:%?16?%;width:100%;padding:%?26?% %?20?%;border-radius:%?10?%}.smm__captcha .captcha__data .input[data-v-2b7b9084]{color:#080808;flex-grow:1;background-color:initial}.smm__captcha .captcha__data .get-captcha[data-v-2b7b9084]{color:#ffca28}.smm__submit-btn[data-v-2b7b9084]{width:100%;background-color:#ffca28;color:#080808;color:#fff;margin-top:%?60?%;border-radius:%?10?%;padding:%?25?%;font-size:%?32?%}.smm__submit-btn.disabled[data-v-2b7b9084]{background-color:#e6e6e6!important}',""]),e.exports=t},b80d:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("5c47"),n("0506");var i=a(n("dc1f")),o=a(n("e456")),r=n("165b"),c=n("419c"),s=n("0b25"),l=n("262c"),d=n("6cf7"),u=n("9a0a"),p=a(n("ae59")),f=n("9d0a"),h={options:{virtualHost:!0},props:{value:{type:Boolean,default:!1},setting:{type:Boolean,default:!1}},mixins:[i.default],components:{BottomModal:o.default},data:function(){return{openModal:!1,mobile:"",captcha:"",countDownTimer:null,countDownSecond:180,hasBind:0,isAuthPhone:0,mobileAuth:0,type:2}},watch:{value:{handler:function(e){this.openModal=e,this.getUniacidInfo(),e&&this.setting&&this.getUserInfo()},immediate:!0}},computed:{captchaText:function(){return this.countDownTimer?"重新获取(".concat(this.countDownSecond,"秒)"):"获取验证码"}},methods:{getUserInfo:function(){try{var e=(0,l.getUserInfoFromCache)(),t=e.mobile;this.mobile=t||""}catch(n){(0,f.showToast)({title:"获取用户信息失败, 请重新登录"}),uni.navigateTo({url:"/user-info-page/login/login?from=expireLogin"})}},getUniacidInfo:function(){var e=this;(0,s.getUniacidInfoApi)().then((function(t){e.mobileAuth=t.user_mobile_auth}))},getCaptcha:function(){var e=this;this.mobile?p.default.mobile(this.mobile)?this.countDownTimer?(0,f.showToast)({title:"请".concat(this.countDownSecond,"秒后重试")}):(0,d.sendVerifyCodeApi)({mobile:this.mobile}).then((function(t){(0,f.showToast)({title:"发送成功"}),e.countDownSecond=180,e.countDownTimer=setInterval((function(){e.countDownSecond--,e.countDownSecond<=0&&(clearInterval(e.countDownTimer),e.countDownTimer=null)}),1e3)})).catch((function(e){(0,f.showToast)({title:e.msg})})):(0,f.showToast)({title:"请输入正确的手机号码"}):(0,f.showToast)({title:"请输入手机号码"})},showContrimModel:function(){if(this.mobile)if(/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(this.mobile)){var e=this;uni.showModal({title:"提示",content:"请确认您的手机号,您的手机号后续可能会被用做订单联系号码,建议反馈沟通等,为了保障售后服务能及时联系到您,请仔细填写!",success:function(t){if(t.confirm)e.submitMobile();else if(t.cancel)return}})}else uni.showToast({title:"手机号格式不正确,请输入11位手机格式",icon:"none"});else(0,f.showToast)({title:"手机号不能为空"})},submitMobile:function(){if(console.log(this.mobileAuth,"mobileAuth"),1!==this.type||1!=this.mobileAuth||0!==this.isAuthPhone)if(this.mobile&&(this.captcha||2!==this.type)){var e=d.updateMobileApi;1===this.type&&(e=d.updateMobileByWechatAuthApi);var t=this;(0,d.checkMobileAccountApi)({mobile:this.mobile}).then((function(n){t.hasBind=n.data,t.hasBind>0?uni.showModal({title:"是否合并账号",content:"您的手机号码已绑定过账号,如果合并则会清空当前账号内所有信息,包含余额、订单等,请谨慎操作。",showCancel:!0,success:function(n){n.confirm?(console.log("用户点击确定"),e({mobile:t.mobile,code:t.captcha||""}).then((function(e){var n=e.data;-1==n?((0,r.clearCache)(),(0,f.showToast)({title:"合并账号成功,请重新登录",callback:function(){(0,c.navPage)("/user-info-page/login/login","reLaunch")}})):((0,f.showToast)({title:"绑定成功"}),(0,l.setUserInfoToCache)({mobile:t.mobile}),t.bottomModalCloseEvent(),t.$emit("updated",t.mobile))})).catch((function(e){(0,f.showToast)({title:e.msg})}))):n.cancel&&console.log("用户点击取消")}}):e({mobile:t.mobile,code:t.captcha||""}).then((function(e){(0,f.showToast)({title:"绑定成功"}),(0,l.setUserInfoToCache)({mobile:t.mobile}),t.bottomModalCloseEvent(),t.$emit("updated",t.mobile)})).catch((function(e){(0,f.showToast)({title:e.msg})}))}))}else(0,f.showToast)({title:"手机号、验证码不能为空"});else(0,f.showToast)({title:"请授权手机号"})},bottomModalCloseEvent:function(){this.captcha="",this.$emit("input",!1),this.$emit("close")},getPhoneNumberByWechat:function(e){var t=this;console.log(e);var n=e.detail||{},a=n.code,i=void 0===a?"":a;i&&(0,u.wechatGetPhoneNumberApi)({code:i}).then((function(e){var n,a;null!==e&&void 0!==e&&null!==(n=e.data)&&void 0!==n&&n.phoneNumber&&(t.mobile=null===e||void 0===e||null===(a=e.data)||void 0===a?void 0:a.phoneNumber,t.isAuthPhone=1,t.submitMobile())})).catch((function(e){(0,f.showToast)({title:e.msg})})),console.log()}}};t.default=h},ba055:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("bottom-modal",{on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.bottomModalCloseEvent.apply(void 0,arguments)}},model:{value:e.openModal,callback:function(t){e.openModal=t},expression:"openModal"}},[n("v-uni-view",{staticClass:"smm__title"},[e._v("设置手机号码"),n("v-uni-text",{staticClass:"type-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.type=1===e.type?2:1}}},[e._v(e._s(1===e.type?"验证码模式":1==e.mobileAuth?"授权模式":"输入模式"))])],1),2==e.type||0==e.mobileAuth?n("v-uni-view",{staticClass:"smm__mobile"},[n("v-uni-view",{staticClass:"mobile__title tn-color-gray"},[e._v("手机号码")]),n("v-uni-view",{staticClass:"mobile__data tn-bg-gray--light tn-flex-row-center"},[n("v-uni-input",{staticClass:"input",attrs:{type:"number",disabled:1===e.type&&1==e.mobileAuth,placeholder:"请输入手机号码","placeholder-style":"color: #AAAAAA;"},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}}),1===e.type&&1==e.mobileAuth?n("v-uni-button",{staticClass:"get-captcha btn",style:[{color:e.themeBgColor}],attrs:{"open-type":"getPhoneNumber"},on:{getphonenumber:function(t){arguments[0]=t=e.$handleEvent(t),e.getPhoneNumberByWechat.apply(void 0,arguments)}}},[e._v("授权手机号")]):e._e()],1)],1):e._e(),2===e.type?n("v-uni-view",{staticClass:"smm__captcha"},[n("v-uni-view",{staticClass:"captcha__title tn-color-gray"},[e._v("验证码")]),n("v-uni-view",{staticClass:"captcha__data tn-bg-gray--light tn-flex-row-center"},[n("v-uni-input",{staticClass:"input",attrs:{type:"number",placeholder:"请输入验证码","placeholder-style":"color: #AAAAAA;"},model:{value:e.captcha,callback:function(t){e.captcha=t},expression:"captcha"}}),n("v-uni-view",{staticClass:"get-captcha",style:[{color:e.themeBgColor}],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.getCaptcha.apply(void 0,arguments)}}},[e._v(e._s(e.captchaText))])],1)],1):e._e(),2==e.type?n("v-uni-view",{staticClass:"smm__submit-btn tn-flex-center",class:[{disabled:!e.mobile||!e.captcha&&2===e.type}],style:[e.themeBtnStyle],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.submitMobile.apply(void 0,arguments)}}},[e._v("保 存")]):e._e(),1==e.type&&0==e.mobileAuth?n("v-uni-view",{staticClass:"smm__submit-btn tn-flex-center",class:[{disabled:!e.mobile}],style:[e.themeBtnStyle],attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.showContrimModel.apply(void 0,arguments)}}},[e._v("保 存")]):e._e(),1==e.type&&1==e.mobileAuth?n("v-uni-button",{staticClass:"smm__submit-btn tn-flex-center",staticStyle:{height:"80rpx",color:"#000000"},attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150,"open-type":"getPhoneNumber"},on:{getphonenumber:function(t){arguments[0]=t=e.$handleEvent(t),e.getPhoneNumberByWechat.apply(void 0,arguments)}}},[e._v("授权手机号")]):e._e()],1)},i=[]},d6c31:function(e,t,n){var a=n("1aa8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("6a7234df",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|