| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50465c46"],{"045c":function(t,e,n){t.exports=n.p+"img/shop2.9b179b9e.jpg"},"08fe":function(t,e,n){},"29ee":function(t,e,n){"use strict";n("08fe")},"2bd2":function(t,e,n){var r=n("02ba"),i=n("40ac").f,a=Function.prototype,o=a.toString,u=/^\s*function ([^ (]*)/,s="name";r&&!(s in a)&&i(a,s,{configurable:!0,get:function(){try{return o.call(this).match(u)[1]}catch(t){return""}}})},"2dc0":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("mu-dialog",{attrs:{title:"通知",width:"360",open:t.openSimple},on:{"update:open":function(e){t.openSimple=e}}},[t._v(" "+t._s(t.text)+" "),n("mu-button",{attrs:{slot:"actions",flat:"",color:"primary"},on:{click:t.closeSimpleDialog},slot:"actions"},[t._v("关闭")])],1)],1)},i=[],a={data:function(){return{openSimple:!1,text:""}},methods:{openSimpleDialog:function(t){this.openSimple=!0,this.text=t},closeSimpleDialog:function(){this.openSimple=!1}}},o=a,u=n("cba8"),s=Object(u["a"])(o,r,i,!1,null,"5a3ccfc4",null);e["a"]=s.exports},"31d9":function(t,e,n){t.exports=n.p+"img/shop6.d0612495.png"},"5e82":function(t,e,n){t.exports=n.p+"img/shop_friends.da6d374d.png"},6939:function(t,e,n){t.exports=n.p+"img/banner.e70f9803.png"},"86fc":function(t,e,n){},"9a4b":function(t,e,n){t.exports=n.p+"img/shop.e2f887d4.jpg"},"9ba7c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"mainPage"}},[r("img",{attrs:{src:n("6939"),width:"100%"}}),r("span",{staticClass:"shopNum"},[t._v(" 俱乐部场馆共 "+t._s(t.list.length)+" 处 ")]),r("ul",{staticClass:"list"},[t._l(t.list,(function(e){return 1==parseInt(e.Status)?r("li",{on:{click:function(n){return t.goAppoint(e)}}},[r("div",{staticClass:"lt"},[r("img",{directives:[{name:"show",rawName:"v-show",value:3==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 3"}],attrs:{src:n("045c"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:4==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 4"}],attrs:{src:n("9a4b"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:5==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 5"}],attrs:{src:n("ac30"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:6==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 6"}],attrs:{src:n("31d9"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:7==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 7"}],attrs:{src:n("a926"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:10==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 10"}],attrs:{src:n("5e82"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:8==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 8"}],attrs:{src:n("5e82"),width:"100%",height:"100%"}}),r("img",{directives:[{name:"show",rawName:"v-show",value:11==parseInt(e.ShopID),expression:"parseInt(l.ShopID) == 11"}],attrs:{src:n("c2fc"),width:"100%",height:"100%"}})]),r("div",{staticClass:"rt"},[3==e.ShopID?r("h4",{staticStyle:{"background-color":"#FFA310"}},[t._v(t._s(e.ShopName.slice(5)))]):t._e(),4==e.ShopID?r("h4",{staticStyle:{"background-color":"#37CB00"}},[t._v(t._s(e.ShopName.slice(5)))]):t._e(),5==e.ShopID?r("h4",{staticStyle:{"background-color":"#028FE1"}},[t._v(t._s(e.ShopName.slice(5)))]):t._e(),6==e.ShopID?r("h4",{staticStyle:{"background-color":"#d624e1"}},[t._v(t._s(e.ShopName))]):t._e(),7==e.ShopID?r("h4",{staticStyle:{"background-color":"#13e15c"}},[t._v(t._s(e.ShopName))]):t._e(),10==e.ShopID?r("h4",{staticStyle:{"background-color":"#13e15c"}},[t._v(t._s(e.ShopName))]):t._e(),8==e.ShopID?r("h4",{staticStyle:{"background-color":"#4a13e1"}},[t._v(t._s(e.ShopName))]):t._e(),11==e.ShopID?r("h4",{staticStyle:{"background-color":"#f05171"}},[t._v(t._s(e.ShopName))]):t._e(),r("span",[t._v("今日预约名额剩余 "),e.RemainOrdernum>0?r("i",[t._v(t._s(e.RemainOrdernum))]):t._e(),0==e.RemainOrdernum?r("i",{staticClass:"red"},[t._v(t._s(e.RemainOrdernum))]):t._e(),t._v(" 人")]),r("span",[t._v("地址:"+t._s(e.Addr))]),1==e.WxStatus&&1==e.IsJoin?r("em",{staticClass:"green"},[t._v("点击预约")]):r("em",{staticClass:"red"},[t._v("不可预约")])])]):t._e()})),""==t.list?r("div",{staticClass:"tips"},[r("p",{staticStyle:{"text-align":"center"}},[t._v(" 暂无可预约的门店 ")])]):t._e()],2),r("bottomTab",{attrs:{curTab:t.thisTab}}),r("alert",{ref:"alertPart"})],1)},i=[],a=(n("2bd2"),n("b8a1")),o=n("a8da"),u=n("2dc0"),s=(n("82ae"),n("379d"),n("fed1")),c={data:function(){return{thisTab:"预约课程",shopNum:0,recordNum:0,Dannum:0,GetHotelCounts:0,GetDetectorNum:0,currShopId:0,list:[]}},mounted:function(){this.getManagerSelfQuery()},destroyed:function(){},watch:{$route:function(t){"main"==t.name&&this.getList()},active:function(){this.getList()}},methods:{alertInfo:function(t){this.$refs.alertPart.openSimpleDialog(t)},getManagerSelfQuery:function(){var t=this,e=this,n={token:localStorage.token},r=s.stringify(n);Object(a["o"])(r).then((function(n){var r=n;0==r.Code?(t.currShopId=r.Rs.ShopId,t.getList()):(e.alertInfo(r.Memo),1010==r.Code&&(localStorage.clear(),console.log(1010),e.$router.push({path:"/login"})))}))},getList:function(){var t=this,e=this,n={token:localStorage.token},r=s.stringify(n);Object(a["D"])(r).then((function(n){var r=n;0==r.Code?(e.list=r.Rs,e.list&&(e.shopNum=r.Rs.length)):(e.alertInfo(r.Memo),1004==r.Code&&(localStorage.clear(),console.log(1010),t.$router.push({path:"/login"})))}))},onGoNewPage:function(t){this.$router.push({path:"/"+t})},goPage:function(t){this.$router.push({path:t})},goAppoint:function(t){var e=this;return 0==t.IsJoin?(e.alertInfo("您不是该店会员,不可预约"),!1):2==t.Status?(e.alertInfo(t.name+"不可预约"),!1):void this.$router.push({path:"/appoint",query:{shopId:t.ShopID}})}},beforeRouteEnter:function(t,e,n){n((function(e){""==t.name&&e.getList()}))},components:{bottomTab:o["a"],alert:u["a"]}},d=c,p=(n("deea"),n("cba8")),h=Object(p["a"])(d,r,i,!1,null,"5cfe0a6b",null);e["default"]=h.exports},a8da:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"bottomTab"}},[n("mu-container",{staticStyle:{width:"100%"},attrs:{color:"primary"}},[n("mu-bottom-nav",{attrs:{value:t.nowTab,color:"#E75296"}},t._l(t.tabs,(function(t){return n("mu-bottom-nav-item",{key:t.tabindex,attrs:{title:t.name,icon:t.src,to:t.class,value:t.name}})})),1)],1)],1)},i=[],a={data:function(){return{nowTab:this.curTab,tabs:[{name:"预约课程",class:"/",src:" ",tabindex:1},{name:"预约记录",class:"record",src:" ",tabindex:2},{name:"上课统计",class:"reportLesson",src:" ",tabindex:3},{name:"我的运动",class:"report",src:" ",tabindex:4}]}},props:["curTab"],methods:{},watch:{$route:function(t){this.nowTab=t.meta.title}}},o=a,u=(n("29ee"),n("cba8")),s=Object(u["a"])(o,r,i,!1,null,"2008d39a",null);e["a"]=s.exports},a926:function(t,e,n){t.exports=n.p+"img/outdoor.26d4dbdc.png"},ac30:function(t,e,n){t.exports=n.p+"img/shop3.cab9f61e.png"},b8a1:function(t,e,n){"use strict";n.d(e,"Z",(function(){return o})),n.d(e,"h",(function(){return u})),n.d(e,"k",(function(){return s})),n.d(e,"O",(function(){return c})),n.d(e,"W",(function(){return d})),n.d(e,"z",(function(){return p})),n.d(e,"A",(function(){return h})),n.d(e,"C",(function(){return f})),n.d(e,"D",(function(){return v})),n.d(e,"b",(function(){return l})),n.d(e,"T",(function(){return m})),n.d(e,"V",(function(){return S})),n.d(e,"Q",(function(){return g})),n.d(e,"o",(function(){return y})),n.d(e,"S",(function(){return b})),n.d(e,"P",(function(){return I})),n.d(e,"x",(function(){return x})),n.d(e,"E",(function(){return _})),n.d(e,"H",(function(){return w})),n.d(e,"J",(function(){return D})),n.d(e,"F",(function(){return T})),n.d(e,"G",(function(){return C})),n.d(e,"K",(function(){return W})),n.d(e,"M",(function(){return O})),n.d(e,"L",(function(){return P})),n.d(e,"r",(function(){return Q})),n.d(e,"q",(function(){return F})),n.d(e,"X",(function(){return N})),n.d(e,"Y",(function(){return k})),n.d(e,"I",(function(){return L})),n.d(e,"g",(function(){return M})),n.d(e,"a",(function(){return A})),n.d(e,"R",(function(){return B})),n.d(e,"y",(function(){return G})),n.d(e,"B",(function(){return U})),n.d(e,"f",(function(){return R})),n.d(e,"u",(function(){return V})),n.d(e,"s",(function(){return $})),n.d(e,"t",(function(){return j})),n.d(e,"v",(function(){return E})),n.d(e,"w",(function(){return J})),n.d(e,"j",(function(){return H})),n.d(e,"c",(function(){return q})),n.d(e,"d",(function(){return X})),n.d(e,"n",(function(){return z})),n.d(e,"N",(function(){return K})),n.d(e,"p",(function(){return Y})),n.d(e,"U",(function(){return Z})),n.d(e,"e",(function(){return tt})),n.d(e,"m",(function(){return et})),n.d(e,"i",(function(){return nt})),n.d(e,"l",(function(){return rt}));var r=n("82ae"),i=n.n(r);n("379d");function a(t,e){return i.a.post(t,e).then((function(t){var e=t.data;return e}),(function(t){console.info(t)}))}function o(t){var e=headapi+"testSelect";return a(e,t)}function u(t){var e=headapi+"v1/Auth/GenVerifyPic";return a(e,t)}function s(t){var e=headapi+"v1/Auth/GetPhoneVFCode";return a(e,t)}function c(t){var e=headapi+"v1/Auth/PhoneSignIn";return a(e,t)}function d(t){var e=headapi+"v1/Auth/WXBind";return a(e,t)}function p(t){var e=headapi+"v1/Weixin/OderAddByVipUser";return a(e,t)}function h(t){var e=headapi+"v1/Weixin/OderCancelByVipUser";return a(e,t)}function f(t){var e=headapi+"v1/Weixin/OrderListQuery";return a(e,t)}function v(t){var e=headapi+"v1/Weixin/OrderShopQuery";return a(e,t)}function l(t){var e=headapi+"v1/Weixin/CanOrderSchoolTimeTableListQuery";return a(e,t)}function m(t){var e=headapi+"v1/Weixin/VipUserConsumeListQuery";return a(e,t)}function S(t){var e=headapi+"v1/Weixin/VipUserSelfQuery";return a(e,t)}function g(t){var e=headapi+"v1/Weixin/SchoolTimeQueryByDate";return a(e,t)}function y(t){var e=headapi+"v1/User/ManagerSelfQuery";return a(e,t)}function b(t){var e=headapi+"v1/Weixin/VipUserCleCkSum";return a(e,t)}function I(t){var e=headapi+"v1/Weixin/QueryNextWeek";return a(e,t)}function x(t){var e=headapi+"v1/Weixin/MyShopQuery";return a(e,t)}function _(t){var e=headapi+"v1/Weixin/PersonCardStatistics";return a(e,t)}function w(t){var e=headapi+"v1/Weixin/PersonClassStatistics";return a(e,t)}function D(t){var e=headapi+"v1/Weixin/PersonMonthStatistics";return a(e,t)}function T(t){var e=headapi+"v1/Weixin/PersonClassDetail";return a(e,t)}function C(t){var e=headapi+"v1/Weixin/PersonClassList";return a(e,t)}function W(t){var e=headapi+"v1/Weixin/PersonScoreClassQuery";return a(e,t)}function O(t){var e=headapi+"v1/Weixin/PersonTtolistQuery";return a(e,t)}function P(t){var e=headapi+"v1/Weixin/PersonTtdStaticsQuery";return a(e,t)}function Q(t){var e=headapi+"v1/Weixin/MyDailyTrainOverviewQuery";return a(e,t)}function F(t){var e=headapi+"v1/Weixin/MyDailyTrainDetailListQuery";return a(e,t)}function N(t){var e=headapi+"v1/Weixin/WxTplClassOverDetail";return a(e,t)}function k(t){var e=headapi+"v1/Weixin/WxTplScoreClassQuery";return a(e,t)}function L(t){var e=headapi+"v1/Weixin/PersonFtoList";return a(e,t)}function M(t){var e=headapi+"v1/FitnessTest/FtoDetailQuery";return a(e,t)}function A(t){var e=headapi+"v1/FitnessTest/CanOrderDateQuery";return a(e,t)}function B(t){var e=headapi+"v1/Shop/ShopQueryByUnLoginLoalLoutUser";return a(e,t)}function G(t){var e=headapi+"v1/Auth/NotUserGetPhoneVFCode";return a(e,t)}function U(t){var e=headapi+"v1/FitnessTest/OrderFitnessTestAdd";return a(e,t)}function R(t){var e=headapi+"v1/FitnessTest/FTGroupTypeIsOrderOneQuery";return a(e,t)}function V(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestListQuery";return a(e,t)}function $(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestCancel";return a(e,t)}function j(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestDetailList";return a(e,t)}function E(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestListQueryByOpenId";return a(e,t)}function J(t){var e=headapi+"v1/FitnessTest/MyOrderFitnessTestLogOut";return a(e,t)}function H(t){var e=headapi+"v1/FitnessTest/GetOpenIdAndPhoneByCode";return a(e,t)}function q(t){var e=headapi+"v1/WxPay/ChargeInfoQuery";return a(e,t)}function X(t){var e=headapi+"v1/WxPay/CurrentPromotionsQuery";return a(e,t)}function z(t){var e=headapi+"v1/WxPay/JsApiPrepayRequest";return a(e,t)}function K(t){var e=headapi+"v1/WxPay/PhoneRelationShopQuery";return a(e,t)}function Y(t){var e=headapi+"v1/WxPay/MyChargeInfoListQuery";return a(e,t)}function Z(t){var e=headapi+"v1/Weixin/VipUserSelfInviteCodeQuery";return a(e,t)}function tt(t){var e=headapi+"v1/WxPay/CurrentPromotionsTabQuery";return a(e,t)}function et(t){var e=headbpi+"v1/OutService/GetUserHistoryInfoByDuId";return a(e,t)}function nt(t){var e=headbpi+"v1/OutService/GetHrValueInfoByDuId";return a(e,t)}function rt(t){var e=headbpi+"v1/OutService/GetSportPercentByDuId";return a(e,t)}},c2fc:function(t,e,n){t.exports=n.p+"img/shop_basketBall_women.1b84abd9.jpg"},deea:function(t,e,n){"use strict";n("86fc")}}]);
- //# sourceMappingURL=chunk-50465c46.undefined.1676960993248.js.map
|