bztang-admin/addons/yun_shop/static/app/js/chunk-215147f4.a579fd05.js

1 line
9.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-215147f4"],{"5dac":function(t,e,i){"use strict";i("6bf0")},"6bf0":function(t,e,i){var a=i("7a434");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("499e").default;o("ab94cfb2",a,!0,{sourceMap:!1,shadowMode:!1})},"7a434":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'#hotel_detail #content .header[data-v-dbfbcf72]{height:auto;background:#f15353;background-size:100% 100%;padding:1.25rem;position:relative}#hotel_detail #content .header .user[data-v-dbfbcf72]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;text-align:center}#hotel_detail #content .header .user .cashier-name[data-v-dbfbcf72]{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-dbfbcf72]{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-dbfbcf72]{width:100%;height:100%;border-radius:50%}#hotel_detail #content .header .user .user-info[data-v-dbfbcf72]{margin-top:.6875rem;float:left;color:#fff}#hotel_detail #content .header .user .set[data-v-dbfbcf72]{position:absolute;right:.625rem;top:.625rem;color:#fff;font-size:14px}#hotel_detail #content .header .user .user-info .user-name[data-v-dbfbcf72]{width:auto;font-size:14px}#hotel_detail #content .header .user .user-info .user-name .b-tixian[data-v-dbfbcf72]{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-dbfbcf72]{margin-right:.375rem;font-size:1rem;color:#fff}#hotel_detail #content .header .user .user-info .user-other[data-v-dbfbcf72]{height:1.25rem;width:auto;font-size:.643em;line-height:1.25rem;opacity:.8}#hotel_detail #content .header .user-gold[data-v-dbfbcf72]{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-dbfbcf72]{height:2.1875rem;width:auto;float:left;color:#666}#hotel_detail #content .header .user-gold .num[data-v-dbfbcf72]{height:2.1875rem;width:auto;float:left;color:#f90}#hotel_detail #content .header .user-gold .draw[data-v-dbfbcf72]{width:5rem;height:1.875rem;background:#6c9;float:right}#hotel_detail #content .header .user-op[data-v-dbfbcf72]{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-dbfbcf72]{background:#fff;margin-bottom:.625rem}#hotel_detail #content #userinfo ul[data-v-dbfbcf72]{padding:1rem 0}#hotel_detail #content #userinfo ul li a span[data-v-dbfbcf72]{font-size:14px}#hotel_detail #content #userinfo ul li[data-v-dbfbcf72]:first-child{border-right:.0625rem solid #ebebeb}#hotel_detail #content #userinfo ul li[data-v-dbfbcf72]{-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-dbfbcf72]{color:#f15353;font-size:18px;display:inline-block;margin-bottom:.375rem;font-weight:700}#hotel_detail #content #userinfo ul li small[data-v-dbfbcf72]{font-weight:400;font-size:12px}#hotel_detail #content #userinfo ul li[data-v-dbfbcf72]:last-child{border:0}#hotel_detail #content #userinfo ul li a[data-v-dbfbcf72]{text-align:center;display:block}#hotel_detail #content #userinfo ul li a span[data-v-dbfbcf72]{color:#222;font-size:16px;margin-bottom:.3125rem;display:inline-block}#hotel_detail #content #userinfo ul li a[data-v-dbfbcf72]{color:#8c8c8c;font-size:12px}#hotel_detail #content #userinfo ul[data-v-dbfbcf72]:after,#hotel_detail #content #userinfo ul li[data-v-dbfbcf72]:after{content:"";display:block;clear:both}#hotel_detail #content .cart[data-v-dbfbcf72]{height:auto;width:100%;background:#fff}#hotel_detail #content .cart .list1[data-v-dbfbcf72]{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-dbfbcf72]{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},d133:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"hotel_detail"}},[i("c-title",{attrs:{hide:!1,text:t.title}}),i("div",{attrs:{id:"content"}},[i("div",{staticClass:"header"},[i("div",{staticClass:"user"},[i("div",{staticClass:"user-head"},[i("img",{attrs:{src:t.thumb}})]),i("ul",{staticClass:"cashier-name"},[i("li",[t._v(t._s(t.name))])]),i("div",{staticClass:"user-info"},[i("div",{staticClass:"user-name"},[i("div",{staticClass:"b-tixian",on:{click:t.gotoRecharge}},[i("i",{staticClass:"iconfont icon-tixian2"}),t._v(t._s(this.fun.initWithdrawal()))])])])])]),i("div",{attrs:{id:"userinfo"}},[i("ul",[i("li",[i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.total))]),i("br"),t._v("累计实收金额 ")]),i("li",[i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.sure))]),i("br"),t._v("可"+t._s(this.fun.initWithdrawal())+"金额 ")])])]),i("div",{staticClass:"cart"},["收银台"==t.title?i("div",{staticClass:"list1",on:{click:t.gotoCode}},[i("van-icon",{staticClass:"iconfont icon-member-withdrawals1",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),i("span",[t._v("收款二维码")]),i("i",{staticClass:"fa fa-angle-right"})],1):t._e(),i("div",{staticClass:"list1",on:{click:t.gotoOrder}},[i("van-icon",{staticClass:"iconfont icon-member-order4",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),i("span",[t._v("我的酒店订单")]),i("i",{staticClass:"fa fa-angle-right"})],1),i("div",{staticClass:"list1",on:{click:t.gotoRecord}},[i("van-icon",{staticClass:"iconfont icon-member-withdrawals1",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),i("span",[t._v("我的提成")]),i("i",{staticClass:"fa fa-angle-right"})],1),"收银台"==t.title?i("div",{staticClass:"list1",on:{click:t.gotoStat}},[i("van-icon",{staticClass:"iconfont icon-member-withdrawals1",staticStyle:{"margin-right":"0.375rem"},attrs:{size:"1.625rem",color:"#f15353"}}),i("span",[t._v("统计结算")]),i("i",{staticClass:"fa fa-angle-right"})],1):t._e()])])],1)},o=[],l=(i("e9c4"),i("b0c0"),i("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 i=[e.data.hotel.thumb,e.data.hotel.name,e.data.income.money_total,e.data.income.sure_withdraw_money],a=i[0],o=i[1],l=i[2],n=i[3];t.thumb=a,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=(i("5dac"),i("2877")),f=Object(d["a"])(s,a,o,!1,null,"dbfbcf72",null);e["default"]=f.exports}}]);