bztang-admin/addons/yun_shop/static/app/js/chunk-84207ce2.fa0e8869.js

1 line
4.9 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-84207ce2"],{"07aa":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"timeAppointmentMy"},[i("c-title",{attrs:{hide:!1,text:"分时预约"}}),i("div",{staticClass:"head"},[i("div",{staticClass:"user"},[i("div",{staticClass:"img"},[i("img",{attrs:{src:t.userInfo.avatar,alt:""}})]),i("div",{staticClass:"name"},[t._v(t._s(t.userInfo.nickname))])])]),i("div",{staticClass:"list"},[i("div",{staticClass:"lis",on:{click:function(e){return t.goUrl("timeAppointment_index")}}},[i("div",{staticClass:"left"},[i("i",{staticClass:"iconfont icon-fontclass-anliku"}),t._v(" 预约"+t._s(t.appointmentLang.service)+" ")]),t._m(0)]),i("div",{staticClass:"lis",on:{click:function(e){return t.goUrl("timeAppointmentMylist",1)}}},[t._m(1),t._m(2)]),1==t.userInfo.is_boss||1==t.userInfo.is_worker?i("div",{staticClass:"lis",on:{click:function(e){return t.goUrl("timeAppointmentMylist",2)}}},[i("div",{staticClass:"left"},[i("i",{staticClass:"iconfont icon-fx_haoyou"}),t._v(" "+t._s(t.appointmentLang.reserve_obj)+"记录 ")]),t._m(3)]):t._e()])],1)},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"right"},[i("i",{staticClass:"iconfont icon-advertise-next"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"left"},[i("i",{staticClass:"iconfont icon-fontclass-shangpindingdan"}),t._v(" 我的预约 ")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"right"},[i("i",{staticClass:"iconfont icon-advertise-next"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"right"},[i("i",{staticClass:"iconfont icon-advertise-next"})])}],n=(i("e7e5"),i("d399")),r={data:function(){return{userInfo:[]}},activated:function(){this.getData()},methods:{goUrl:function(t,e){"timeAppointmentMylist"!=t?this.$router.push(this.fun.getUrl(t,{})):this.$router.push(this.fun.getUrl(t,{status:e}))},getData:function(){var t=this;$http.get("plugin.reserve-simple.frontend.member.get-info",{}).then((function(e){1===e.result?t.userInfo=e.data:Object(n["a"])(e.msg)})).catch((function(t){}))}},computed:{appointmentLang:function(){var t;return null!==(t=this.$store.state.shopLanguage)&&void 0!==t&&t.reserve_simple?this.$store.state.shopLanguage.reserve_simple:{reserve_obj:"预约人员",service:"服务"}}}},o=r,c=(i("4cf8"),i("2877")),l=Object(c["a"])(o,s,a,!1,null,"3d1bc77e",null);e["default"]=l.exports},"4cf8":function(t,e,i){"use strict";i("8945")},8945:function(t,e,i){var s=i("ec3a");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=i("499e").default;a("6dec8a59",s,!0,{sourceMap:!1,shadowMode:!1})},ec3a:function(t,e,i){var s=i("24fb");e=s(!1),e.push([t.i,".list[data-v-3d1bc77e]{margin:0 .63rem;background-color:#fff;border-radius:.31rem;margin-top:-2.1rem;padding:1.44rem 1rem}.list .lis[data-v-3d1bc77e]:last-child{margin-bottom:0}.list .lis[data-v-3d1bc77e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-bottom:1rem}.list .lis .right .icon-advertise-next[data-v-3d1bc77e]{font-size:1.2rem}.list .lis .left[data-v-3d1bc77e]{font-size:.94rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.list .lis .left .icon-fontclass-anliku[data-v-3d1bc77e]{color:#fc8200;margin-right:.41rem;font-size:1.3rem}.list .lis .left .icon-fontclass-shangpindingdan[data-v-3d1bc77e]{color:#14a8ff;font-size:1.3rem;margin-right:.41rem}.list .lis .left .icon-fx_haoyou[data-v-3d1bc77e]{margin-right:.41rem;color:#ff2c41;font-size:1.3rem}.head[data-v-3d1bc77e]{width:23.44rem;height:8.13rem;background-image:-webkit-gradient(linear,left top,left bottom,from(#ed3836),color-stop(38%,#f5502b),to(#fc6720));background-image:-webkit-linear-gradient(top,#ed3836,#f5502b 38%,#fc6720);background-image:linear-gradient(180deg,#ed3836,#f5502b 38%,#fc6720);border-radius:0 0 1.56rem 1.56rem;padding:1.63rem 0 0 1.56rem;-webkit-box-sizing:border-box;box-sizing:border-box}.head .user[data-v-3d1bc77e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.head .user .img[data-v-3d1bc77e]{width:2.81rem;height:2.81rem;background-color:#000;border:.06rem solid #fff;border-radius:100%;margin-right:.69rem}.head .user .img img[data-v-3d1bc77e]{width:100%;height:100%;border-radius:100%}.head .user .name[data-v-3d1bc77e]{font-size:1rem;color:#fff}",""]),t.exports=e}}]);