| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50262ed7"],{"11bb":function(t,e,i){t.exports=i.p+"img/pic_map_shopMengZheng.71b42733.png"},1658:function(t,e,i){t.exports=i.p+"img/logo_memberShip.d29be70c.png"},5142:function(t,e,i){t.exports=i.p+"img/pic_testNeedsKnow.b5eb7a9b.png"},"5ad8":function(t,e,i){},"7bdb":function(t,e,i){"use strict";i("5ad8")},adbc:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"mainPage"}},[t._m(0),e("div",{staticClass:"title"},[1==t.pageType?e("span",[t._v("场馆地图")]):t._e(),2==t.pageType?e("span",[t._v("测评须知")]):t._e(),e("img",{attrs:{src:i("8b19"),width:"69px",height:"86px"}}),e("em",{staticClass:"button",on:{click:function(e){return t.onGoNewPage("testMemberNavi")}}},[t._v("主页")])]),2==t.pageType?e("div",{staticClass:"context",staticStyle:{"margin-top":"90px"}},[t.orderShop?e("div",{staticClass:"appointStatus",staticStyle:{"margin-bottom":"30px"}},[t._m(1),e("div",{staticClass:"contentLine"},[e("span",[t._v("测试时间:")]),e("em",[t._v(t._s(t.orderTime))])]),e("div",{staticClass:"contentLine",on:{click:function(e){t.pageType=1}}},[e("span",[t._v("训练场馆:")]),e("em",[t._v(t._s(t.orderShop))])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("商家地址:")]),e("em",[t._v(t._s(t.orderAddress))])]),e("div",{staticClass:"contentTime"},[e("div",{staticClass:"timeText"},[e("span",[t._v("距离测评:")]),e("em",[t._v(t._s(t.timeBetWeen))])]),e("div",{class:[{disableButton:t.cancelDisable(t.orderTime)},{cancelButton:!t.cancelDisable(t.orderTime)}],on:{click:function(e){return t.cancelAppointment()}}},[t._v(" 取消预约 ")])])]):t._e(),t._m(2)]):t._e(),1==t.pageType?e("div",{staticClass:"context",staticStyle:{"margin-top":"90px"}},[t._m(3),t._m(4),t._m(5)]):t._e(),e("alert",{ref:"alertPart"})],1)},n=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"topBC"},[e("img",{attrs:{src:i("1658"),width:"110px",height:"45px"}})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"contentTitle"},[e("span",[t._v("预约成功")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"testNeedsKnown"},[e("img",{attrs:{src:i("5142")}}),e("span",[t._v("联系电话:156 8940 9077 (董老师)")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"addressDetail"},[e("div",{staticClass:"contentTitle"},[e("span",[t._v("英泓小飞龙蒙正店")])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("地址:")]),e("em",[t._v("济南市云翔路515号负一层")])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("电话:")]),e("em",[t._v("156 8940 9077 (董老师)")])]),e("div",{staticClass:"picLine"},[e("img",{attrs:{src:i("11bb")}})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"addressDetail"},[e("div",{staticClass:"contentTitle"},[e("span",[t._v("英泓小飞龙奥龙店")])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("地址:")]),e("em",[t._v("济南市东荷路888号(奥龙学校对面)")])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("电话:")]),e("em",[t._v("156 8940 9077 (董老师)")])]),e("div",{staticClass:"picLine"},[e("img",{attrs:{src:i("fa86")}})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"addressDetail"},[e("div",{staticClass:"contentTitle"},[e("span",[t._v("英泓小飞龙恒大帝景店")])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("地址:")]),e("em",[t._v("济南市文化东路63号恒大帝景五号楼底商3-204")])]),e("div",{staticClass:"contentLine"},[e("span",[t._v("电话:")]),e("em",[t._v("156 8940 9077 (董老师)")])]),e("div",{staticClass:"picLine"},[e("img",{attrs:{src:i("c1e4")}})])])}],r=(i("b0c0"),i("14d9"),i("b8a1")),a=i("a8da"),o=i("2dc0"),c=i("ec45"),p=(i("411c"),i("7b16"),i("4328")),d={data:function(){return{pageType:1,oftId:"2",phone:"2",orderTime:"2022-09-09 12:22",orderShop:"333",orderAddress:"444",timeBetWeen:""}},mounted:function(){null!=this.$route.query.pageType&&(this.pageType=this.$route.query.pageType,2==this.pageType&&(this.oftId=this.$route.query.oftId,this.phone=this.$route.query.phone,this.orderTime=this.$route.query.orderTime,this.orderShop=this.$route.query.orderShop,this.orderAddress=this.$route.query.orderAddress,this.timeBetWeen=this.getTimeBetweenStr(this.orderTime)))},destroyed:function(){},watch:{$route:function(t){"testMembershipAddress"==t.name&&null!=this.$route.query.pageType&&(this.pageType=this.$route.query.pageType,2==this.pageType&&(this.oftId=this.$route.query.oftId,this.phone=this.$route.query.phone,this.orderTime=this.$route.query.orderTime,this.orderShop=this.$route.query.orderShop,this.orderAddress=this.$route.query.orderAddress,this.timeBetWeen=this.getTimeBetweenStr(this.orderTime)))},active:function(){}},methods:{alertInfo:function(t){this.$refs.alertPart.openSimpleDialog(t)},onGoNewPage:function(t){this.$router.push({path:"/"+t})},goPage:function(t){this.$router.push({path:t})},cancelAppointment:function(){var t=this,e=this;e.cancelDisable(e.orderTime)||this.$confirm("确定要取消预约吗?","提示",{type:"warning"}).then((function(i){var s=i.result;if(s){var n={oftId:e.oftId,phone:e.phone},a=p.stringify(n);Object(r["s"])(a).then((function(i){var s=i;0==s.Code?t.$confirm("取消成功").then((function(e){e.result;t.$router.push({path:"/testMemberNavi"})})):e.alertInfo(s.Memo)}))}}))},cancelDisable:function(t){var e=this,i=e.getTimeDiffGetArr(t)[0]<1&&e.getTimeDiffGetArr(t)[1]<1&&e.getTimeDiffGetArr(t)[2]<61;return i},getTimeDiffGetArr:function(t){return timeDiffGetArr(timeNow(),t)},getTimeBetweenStr:function(t){var e=timeDiffGetArr(timeNow(),t),i="";return e[0]>0&&(i+=e[0]+" 天 "),e[1]>0&&(i+=e[1]+" 小时 "),e[2]>0&&(i+=e[2]+" 分 "),i}},beforeDestroy:function(){},beforeRouteEnter:function(t,e,i){i((function(e){t.name}))},components:{bottomTab:a["a"],alert:o["a"],DatePicker:c["default"]}},u=d,h=(i("7bdb"),i("2877")),l=Object(h["a"])(u,s,n,!1,null,"4a568cfe",null);e["default"]=l.exports},c1e4:function(t,e,i){t.exports=i.p+"img/pic_map_shopHengDa.a16a3943.png"},fa86:function(t,e,i){t.exports=i.p+"img/pic_map_shopAoLong.db030bdc.png"}}]);
- //# sourceMappingURL=chunk-50262ed7.undefined.1721638539370.js.map
|