1 line
9.1 KiB
JavaScript
1 line
9.1 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c6bfb6b2"],{"201d":function(t,e,a){"use strict";a("8784")},8784:function(t,e,a){var i=a("c254");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("d6be0b18",i,!0,{sourceMap:!1,shadowMode:!1})},c254:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'#hotel_detail #content .header[data-v-3f738aa4]{height:auto;background:#f15353;background-size:100% 100%;padding:1.25rem;position:relative}#hotel_detail #content .header .user[data-v-3f738aa4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;text-align:center}#hotel_detail #content .header .user .cashier-name[data-v-3f738aa4]{text-align:left;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;margin-left:.625rem;line-height:1.875rem;color:#fff;font-weight:700;font-size:18px}#hotel_detail #content .header .user .user-head[data-v-3f738aa4]{height:3.25rem;width:3.25rem;background:#fff;border-radius:50%;border:.125rem solid #fff;-webkit-box-sizing:border-box;box-sizing:border-box;float:left;overflow:hidden}#hotel_detail #content .header .user .user-head img[data-v-3f738aa4]{width:100%;height:100%;border-radius:50%}#hotel_detail #content .header .user .user-info[data-v-3f738aa4]{margin-top:.6875rem;float:left;color:#fff}#hotel_detail #content .header .user .set[data-v-3f738aa4]{position:absolute;right:.625rem;top:.625rem;color:#fff;font-size:14px}#hotel_detail #content .header .user .user-info .user-name[data-v-3f738aa4]{width:auto;font-size:14px}#hotel_detail #content .header .user .user-info .user-name .b-tixian[data-v-3f738aa4]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:4.75rem;margin-top:.5rem;margin:0 auto;padding:.3125rem;border-radius:1.125rem;color:#fff;background:hsla(0,0%,100%,.3)}#hotel_detail #content .header .user .user-info .user-name .b-tixian i[data-v-3f738aa4]{margin-right:.375rem;font-size:1rem;color:#fff}#hotel_detail #content .header .user .user-info .user-other[data-v-3f738aa4]{height:1.25rem;width:auto;font-size:.643em;line-height:1.25rem;opacity:.8}#hotel_detail #content .header .user-gold[data-v-3f738aa4]{height:2.1875rem;width:94%;padding:.3125rem 3%;border-bottom:.0625rem solid #f5f3f3;background:#fff;font-size:12px;line-height:2.1875rem}#hotel_detail #content .header .user-gold .title[data-v-3f738aa4]{height:2.1875rem;width:auto;float:left;color:#666}#hotel_detail #content .header .user-gold .num[data-v-3f738aa4]{height:2.1875rem;width:auto;float:left;color:#f90}#hotel_detail #content .header .user-gold .draw[data-v-3f738aa4]{width:5rem;height:1.875rem;background:#6c9;float:right}#hotel_detail #content .header .user-op[data-v-3f738aa4]{height:2.1875rem;width:94%;padding:.3125rem 3%;border-bottom:.0625rem solid #f5f3f3;background:#fff;font-size:12px;line-height:2.1875rem}#hotel_detail #content #userinfo[data-v-3f738aa4]{background:#fff;margin-bottom:.625rem}#hotel_detail #content #userinfo ul[data-v-3f738aa4]{padding:1rem 0}#hotel_detail #content #userinfo ul li a span[data-v-3f738aa4]{font-size:14px}#hotel_detail #content #userinfo ul li[data-v-3f738aa4]:first-child{border-right:.0625rem solid #ebebeb}#hotel_detail #content #userinfo ul li[data-v-3f738aa4]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box;border:0}#hotel_detail #content #userinfo ul li span[data-v-3f738aa4]{color:#f15353;font-size:18px;display:inline-block;margin-bottom:.375rem;font-weight:700}#hotel_detail #content #userinfo ul li small[data-v-3f738aa4]{font-weight:400;font-size:12px}#hotel_detail #content #userinfo ul li[data-v-3f738aa4]:last-child{border:0}#hotel_detail #content #userinfo ul li a[data-v-3f738aa4]{text-align:center;display:block}#hotel_detail #content #userinfo ul li a span[data-v-3f738aa4]{color:#222;font-size:16px;margin-bottom:.3125rem;display:inline-block}#hotel_detail #content #userinfo ul li a[data-v-3f738aa4]{color:#8c8c8c;font-size:12px}#hotel_detail #content #userinfo ul[data-v-3f738aa4]:after,#hotel_detail #content #userinfo ul li[data-v-3f738aa4]:after{content:"";display:block;clear:both}#hotel_detail #content .cart[data-v-3f738aa4]{height:auto;width:100%;background:#fff}#hotel_detail #content .cart .list1[data-v-3f738aa4]{height:2.75rem;background:#fff;padding-right:.875rem;margin-left:.875rem;border-top:.0625rem solid #ebebeb;font-size:16px;line-height:2.75rem;color:#333;text-align:left;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}#hotel_detail #content .cart .list1 .fa-angle-right[data-v-3f738aa4]{float:right;line-height:2.75rem;display:inline-block;font-size:1.5rem;color:#c9c9c9;text-align:center;background-size:1.25rem;position:absolute;right:.875rem}',""]),t.exports=e},d1333:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"hotel_detail"}},[a("c-title",{attrs:{hide:!1,text:t.title}}),a("div",{attrs:{id:"content"}},[a("div",{staticClass:"header"},[a("div",{staticClass:"user"},[a("div",{staticClass:"user-head"},[a("img",{attrs:{src:t.thumb}})]),a("ul",{staticClass:"cashier-name"},[a("li",[t._v(t._s(t.name))])]),a("div",{staticClass:"user-info"},[a("div",{staticClass:"user-name"},[a("div",{staticClass:"b-tixian",on:{click:t.gotoRecharge}},[a("i",{staticClass:"iconfont icon-tixian2"}),t._v(t._s(this.fun.initWithdrawal()))])])])])]),a("div",{attrs:{id:"userinfo"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.total))]),a("br"),t._v("累计实收金额 ")]),a("li",[a("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.sure))]),a("br"),t._v("可"+t._s(this.fun.initWithdrawal())+"金额 ")])])]),a("div",{staticClass:"cart"},["收银台"==t.title?a("div",{staticClass:"list1",on:{click:t.gotoCode}},[a("van-icon",{staticClass:"iconfont icon-member-withdrawals1",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),a("span",[t._v("收款二维码")]),a("i",{staticClass:"fa fa-angle-right"})],1):t._e(),a("div",{staticClass:"list1",on:{click:t.gotoOrder}},[a("van-icon",{staticClass:"iconfont icon-member-order4",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),a("span",[t._v("我的酒店订单")]),a("i",{staticClass:"fa fa-angle-right"})],1),a("div",{staticClass:"list1",on:{click:t.gotoRecord}},[a("van-icon",{staticClass:"iconfont icon-member-withdrawals1",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),a("span",[t._v("我的提成")]),a("i",{staticClass:"fa fa-angle-right"})],1),"收银台"==t.title?a("div",{staticClass:"list1",on:{click:t.gotoStat}},[a("van-icon",{staticClass:"iconfont icon-member-withdrawals1",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),a("span",[t._v("统计结算")]),a("i",{staticClass:"fa fa-angle-right"})],1):t._e()])])],1)},o=[],l=(a("b64b"),a("e9c4"),a("b0c0"),a("14d9"),a("6968")),n={data:function(){return{thumb:"",name:"",total:"",sure:"",hotel_id:0,title:""}},activated:function(){this.title=this.$route.meta.title,this.getData()},mounted:function(){},methods:{initData:function(){this.user_info={},this.income_info={}},getCustomizeHotelHead:function(){var t=this,e=localStorage.getItem("customizeHotelHead");this.fun.isTextEmpty(e)?$http.get("plugin.hotel.frontend.hotel.get-hotel-info.get-custom-name",{},"加载中...").then((function(e){1==e.result&&(t.title=e.data.hotels+"管理",t.fun.setWXTitle(t.title),localStorage.setItem("customizeHotelHead",JSON.stringify(e.data)))})).catch((function(t){})):(this.title=JSON.parse(localStorage.getItem("customizeHotelHead")).hotels+"管理",this.fun.setWXTitle(this.title))},getData:function(){var t=this,e="";"收银台"==this.title?e="plugin.hotel.frontend.cashier.center.index":(e="plugin.hotel.frontend.hotel.center.index",this.getCustomizeHotelHead()),$http.get(e,{},"加载中...").then((function(e){if(1==e.result){var a=[e.data.hotel.thumb,e.data.hotel.name,e.data.income.money_total,e.data.income.sure_withdraw_money],i=a[0],o=a[1],l=a[2],n=a[3];t.thumb=i,t.name=o,t.total=l,t.sure=n,t.hotel_id=e.data.hotel.hotel_id}})).catch((function(t){}))},gotoRecharge:function(){this.$router.push(this.fun.getUrl("withdrawal"))},gotoOrder:function(){"收银台"==this.title?this.$router.push(this.fun.getUrl("hotelOrderlist",{status:"0",orderType:"hotelcashier"})):this.$router.push(this.fun.getUrl("hotelOrderlist",{status:"0",orderType:"hotel_center"}))},gotoRecord:function(){"收银台"==this.title?this.$router.push(this.fun.getUrl("presentationRecord",{},{from:"hotel_cashier"})):this.$router.push(this.fun.getUrl("presentationRecord",{},{from:"hotel"}))},gotoStat:function(){this.$router.push(this.fun.getUrl("hotel_cashier_stat",{hotel_id:this.hotel_id,tag:"hotel"}))},gotoCode:function(){this.$router.push(this.fun.getUrl("hotel_cashier_qr",{hotel_id:this.hotel_id,tag:"hotel"}))}},components:{cTitle:l["a"]}},r=n,s=r,d=(a("201d"),a("2877")),h=Object(d["a"])(s,i,o,!1,null,"3f738aa4",null);e["default"]=h.exports}}]); |