bztang-admin/addons/yun_shop/static/app/js/chunk-6a3057d7.c8afa8d1.js

1 line
12 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a3057d7"],{"907a3":function(e,t,a){"use strict";a("b6a8")},abb0:function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'#shopKeeperCenter .spare[data-v-69cbb090]{width:100%;height:40px}#shopKeeperCenter .main .linkShop[data-v-69cbb090]{margin:.625rem 0;padding:.625rem;text-align:center;background:#fff;font-size:16px;color:#daa520}#shopKeeperCenter .main .top1[data-v-69cbb090]{padding:1.25rem;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;background:#f15353;text-align:left;color:#fff}#shopKeeperCenter .main .top1 .picture1[data-v-69cbb090]{float:left;width:3rem;height:3rem;border:.125rem solid #fff;border-radius:50%;overflow:hidden}#shopKeeperCenter .main .top1 .picture1 img[data-v-69cbb090]{width:100%;border-radius:50%;vertical-align:middle}#shopKeeperCenter .main .top1 .name1[data-v-69cbb090]{font-size:14px;float:left;width:40%;line-height:1.375rem;margin-left:.625rem;color:#fff}#shopKeeperCenter .main .top1 .name1 span[data-v-69cbb090]{font-size:16px;font-weight:700}#shopKeeperCenter .main .top1 .name1 b[data-v-69cbb090]{font-weight:400;font-size:12px;padding:.125rem .25rem;border-radius:.25rem;background:rgba(0,0,0,.4);color:#fff}#shopKeeperCenter .main .top1 .name1 b i[data-v-69cbb090]{vertical-align:middle;font-size:.875rem;margin-top:.125rem}#shopKeeperCenter .main .top1 .share[data-v-69cbb090]{height:3.125rem;line-height:1.375rem;padding-top:.3125rem;font-size:12px;text-align:right;float:right;width:40%}#shopKeeperCenter .main .content .line04[data-v-69cbb090]{position:absolute;margin-top:-4.75rem;margin-left:75%;width:.0625rem;height:3.25rem;background-color:#e2e2e2}#shopKeeperCenter .main .content .line04 .line04-child[data-v-69cbb090]{background-color:#fff;width:.375rem;height:.375rem;border:.0625rem solid #e2e2e2;border-left:0;border-bottom:0;-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-top:1.4375rem;position:absolute;margin-left:-.1563rem}#shopKeeperCenter .main .content .title[data-v-69cbb090]{padding:0 .9375rem;height:2.25rem;text-align:left;background:#fff;border-bottom:.0625rem solid #e2e2e2;color:#363636;font-size:14px}#shopKeeperCenter .main .content .title span[data-v-69cbb090]{float:right;color:#333;line-height:2.25rem}#shopKeeperCenter .main .content .title b[data-v-69cbb090]{font-size:16px;color:#f15353;line-height:2.25rem}#shopKeeperCenter .main .content .nav[data-v-69cbb090]{background:#fff;padding:1rem 0;height:5.125rem;margin-bottom:.625rem}#shopKeeperCenter .main .content .nav .child01[data-v-69cbb090],#shopKeeperCenter .main .content .nav .child02[data-v-69cbb090]{border-right:.0625rem solid #e2e2e2}#shopKeeperCenter .main .content .nav li[data-v-69cbb090]{width:25%;text-align:center;float:left;font-size:14px}#shopKeeperCenter .main .content .nav li span[data-v-69cbb090]{color:#939393;font-size:17px;line-height:1.625rem;display:inline-block;margin-bottom:.625rem}#shopKeeperCenter .main .content .nav li a[data-v-69cbb090]{color:grey}#shopKeeperCenter .main .content .nav li b[data-v-69cbb090]{color:#333;font-size:11px}#shopKeeperCenter .main .content .nav a li[data-v-69cbb090]{color:#363636}#shopKeeperCenter .main .content .nav .child01 span[data-v-69cbb090],#shopKeeperCenter .main .content .nav .child02 span[data-v-69cbb090],#shopKeeperCenter .main .content .nav .child03 span[data-v-69cbb090]{color:#ffa800}#shopKeeperCenter .main .content .nav .child04 span[data-v-69cbb090]{color:#f15353}#shopKeeperCenter .main .content .shareNav[data-v-69cbb090]{background:#fff;margin-top:.625rem}#shopKeeperCenter .main .content .shareNav li[data-v-69cbb090]{width:33.3%;line-height:3.125rem;text-align:center;float:left;font-size:14px}#shopKeeperCenter .main .content .ratioNav[data-v-69cbb090]{padding:0;margin:0;height:2.5rem;width:100%;background:#fff;border-bottom:.0625rem solid #cdcdcd;border-top:.0625rem solid #cdcdcd}#shopKeeperCenter .main .content .ratioNav li[data-v-69cbb090]{float:left;width:33%;text-align:center;line-height:2.5rem;font-size:16px;color:#666}#shopKeeperCenter .main .content .rationList[data-v-69cbb090]{padding:0;margin:0;background:#fff}#shopKeeperCenter .main .content .rationList li[data-v-69cbb090]{width:100%;height:4.0625rem;padding:.625rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:.0625rem solid #f3f3f3}#shopKeeperCenter .main .content .rationList li .left[data-v-69cbb090]{width:60%;float:left;text-align:left;padding-left:1.375rem;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.25rem}#shopKeeperCenter .main .content .rationList li .left span[data-v-69cbb090]{font-size:16px;font-weight:400;color:#333}#shopKeeperCenter .main .content .rationList li .left p[data-v-69cbb090]{font-size:14px;color:#999}#shopKeeperCenter .main .content .rationList li .right[data-v-69cbb090]{line-height:1.25rem;padding-top:.625rem;float:left;text-align:right;width:40%;color:#999}#shopKeeperCenter .main .content .rationList li .right span[data-v-69cbb090]{color:#e51c23}#shopKeeperCenter .main .content .conte[data-v-69cbb090]:after,#shopKeeperCenter .main .content .nav[data-v-69cbb090]:after,#shopKeeperCenter .main .content .shareNav[data-v-69cbb090]:after{content:"";display:block;clear:both}#shopKeeperCenter .main .content .conte[data-v-69cbb090]{margin-top:.0625rem}#shopKeeperCenter .main .content .conte .con[data-v-69cbb090]{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;float:left;height:4.0625rem;padding:.9375rem;background:#fff}#shopKeeperCenter .main .content .conte .con .el-badge[data-v-69cbb090]{border:none;position:relative;top:.5rem}#shopKeeperCenter .main .content .conte .con .el-badge .el-button--small[data-v-69cbb090]{font-size:15px}#shopKeeperCenter .main .content .conte .con .el-badge button[data-v-69cbb090]{border:none}#shopKeeperCenter .main .content .conte .con .el-badge .el-badge__content[data-v-69cbb090]{background:#ffa800!important}#shopKeeperCenter .main .content .conte .con b[data-v-69cbb090]{color:#f15353}#shopKeeperCenter .main .content .conte .con1[data-v-69cbb090]{width:50%;-webkit-box-sizing:border-box;box-sizing:border-box;margin-right:.0625rem;line-height:1.1875rem}#shopKeeperCenter .main .content .conte .con2[data-v-69cbb090]{width:33.3%;margin-top:.0625rem;border-right:.0625rem solid #f15353;line-height:1.1875rem}#shopKeeperCenter .main .content .conte .con2[data-v-69cbb090]:last-child{border:none}#shopKeeperCenter .main .content .conte .con3[data-v-69cbb090]{width:49%;margin-right:.0625rem}#shopKeeperCenter .m_header[data-v-69cbb090]{height:2.5rem;line-height:2.5rem;background:#fff;border-bottom:.0625rem solid #ccc;text-align:center;padding:0 .9375rem 0 .5rem}#shopKeeperCenter .m_header span.lf[data-v-69cbb090]{font-size:25px}#shopKeeperCenter .m_header a[data-v-69cbb090]{color:#939393;font-size:12px}#shopKeeperCenter .linkCata[data-v-69cbb090]{font-size:14px;width:100%;height:2.8125rem;background:#fff;color:#f15353;line-height:2.8125rem;font-weight:700;position:fixed;bottom:0;left:0}#shopKeeperCenter .linkCata i[data-v-69cbb090]{font-size:1.375rem;vertical-align:bottom;line-height:2.8125rem}.list1[data-v-69cbb090]{height:2.75rem;background:#fff;padding:0 .9375rem;font-size:15px;line-height:2.75rem;color:#333;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:left;margin-bottom:.625rem}.list1 div.lf[data-v-69cbb090]{font-size:25px}.list1 i[data-v-69cbb090]{float:right;line-height:2.75rem;display:inline-block;font-size:24px;color:#c9c9c9}#shopKeeperCenter.pcStyle .linkCata[data-v-69cbb090]{width:375px;left:50%;margin-left:-187.5px}',""]),e.exports=t},b17d:function(e,t,a){e.exports=a.p+"static/app/img/photo-mr.5cc2c462.jpg"},b6a8:function(e,t,a){var n=a("abb0");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=a("499e").default;o("9736932c",n,!0,{sourceMap:!1,shadowMode:!1})},db54:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[3==this.fun.getPhoneEnv()?"pcStyle":""],attrs:{id:"shopKeeperCenter"}},[n("c-title",{attrs:{hide:!1,text:"店主中心",tolink:"microShop_baseinfo",totext:(e.shoplang?e.shoplang:"微店")+"设置"}}),n("div",{staticClass:"main"},[n("div",{staticClass:"top1"},[n("div",{staticClass:"picture1"},[e.userImg?e._e():n("img",{attrs:{src:a("b17d"),alt:"用户头像"}}),e.userImg?n("img",{attrs:{src:e.userImg,alt:"用户头像"}}):e._e()]),n("div",{staticClass:"name1"},[n("span",[e._v(e._s(e.username1))]),e._v(" "),n("br"),n("router-link",{attrs:{to:e.fun.getUrl("microShop_apply")}},[n("b",[e._v(e._s(e.level1)+"  "),n("i",{staticClass:"iconfont icon-right"})])])],1),n("div",{staticClass:"share"},[e._v(" 分红比例:"+e._s(e.share1)+"% "),n("br"),e._v(" 上级店主分红比例:"+e._s(e.share2)+"% ")])]),n("router-link",{attrs:{to:e.fun.getUrl("microShop_home",{fromHome:1})}},[n("div",{staticClass:"list1"},[n("div",{staticClass:"iconfont icon-tuiguang-zhengchangzhuangtai lf"}),e._v(" 我的"+e._s(e.shoplang?e.shoplang:"微店")+" "),n("i",{staticClass:"fa fa-angle-right"})])]),e.fun.isApp()?n("div",{staticClass:"list1",on:{click:e.toShare}},[n("div",{staticClass:"iconfont icon-tuiguang-zhengchangzhuangtai lf"}),e._v(" 分享"+e._s(e.shoplang?e.shoplang:"微店")+" "),n("i",{staticClass:"fa fa-angle-right"})]):e._e(),n("div",{staticClass:"content"},[e._e(),e._e(),n("router-link",{attrs:{to:e.fun.getUrl("microShop_shareList",{date:"-1"})}},[n("div",{staticClass:"title"},[n("b",{staticClass:"iconfont icon-weidiandingdan"}),e._v(" "+e._s(e.shoplang?e.shoplang:"微店")+"佣金 "),n("i",{staticClass:"iconfont icon-right"}),n("span",[e._v("累计:"),n("b",[n("i",{staticStyle:{"font-weight":"normal"}},[e._v(e._s(e.$i18n.t("money")))]),e._v(e._s(e.totalShareMoney))])])])]),n("ul",{staticClass:"nav"},[n("router-link",{attrs:{to:e.fun.getUrl("microShop_shareList",{date:"1"})}},[n("li",{staticClass:"child01"},[n("span",[e._v(e._s(e.$i18n.t("money"))+e._s(e.shareData.today))]),n("br"),n("b",[e._v("今天")])])]),n("router-link",{attrs:{to:e.fun.getUrl("microShop_shareList",{date:"2"})}},[n("li",{staticClass:"child02"},[n("span",[e._v(e._s(e.$i18n.t("money"))+e._s(e.shareData.yesterday))]),n("br"),n("b",[e._v("昨日")])])]),n("router-link",{attrs:{to:e.fun.getUrl("microShop_shareList",{date:"3"})}},[n("li",{staticClass:"child03"},[n("span",[e._v(e._s(e.$i18n.t("money"))+e._s(e.shareData.week))]),n("br"),n("b",[e._v("本周")])])]),n("router-link",{attrs:{to:e.fun.getUrl("microShop_shareList",{date:"4"})}},[n("li",{staticClass:"child04"},[n("span",[e._v(e._s(e.$i18n.t("money"))+e._s(e.shareData.month))]),n("br"),n("b",[e._v("本月")])])])],1),e._m(0)],1)],1),n("div",{staticStyle:{height:"3rem"}}),n("router-link",{attrs:{to:e.fun.getUrl("micro_shop_add_category")}},[n("div",{staticClass:"linkCata",style:{height:e.fun.isIphoneX()?"3.8125rem":"2.8125rem"}},[n("i",[e._v("+")]),e._v(" 添加商品 ")])])],1)},o=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"line04"},[a("div",{staticClass:"line04-child"})])}],r=(a("e17f"),a("2241")),i=a("6968"),s={components:{cTitle:i["a"]},data:function(){return{username1:"微店名称",level1:"级别",share1:"0",share2:"0",totalTicket:0,totalShareMoney:0,userImg:"",orderData:"",shareData:"",shoplang:""}},methods:{toShare:function(){this.$router.push(this.fun.getUrl("micro_shop_share_home",{shop_id:this.fun.getKey("shop_id")}))},goBack:function(){this.$router.go(-1)},init:function(){var e=this;$http.get("plugin.micro.frontend.controllers.MicroShop.index",{},"加载中").then((function(t){1==t.result&&(e.userImg=t.data.micro_shop_data.shop_avatar,e.username1=t.data.micro_shop_data.shop_name,e.level1=t.data.micro_shop_data.level_name,e.share1=t.data.micro_shop_data.bonus_ratio,e.share2=t.data.micro_shop_data.agent_bonus_ratio,e.totalTicket=t.data.order_data.order_total,e.totalShareMoney=t.data.bonus_log_data.bonus_total,e.shareData=t.data.bonus_log_data,e.orderData=t.data.order_data,e.shoplang=t.data.lang,1==t.data.is_ban&&r["a"].alert({title:"",message:"微店已被禁用"}).then((function(){})))}),(function(e){}))}},activated:function(){this.init()}},c=s,l=(a("907a3"),a("2877")),d=Object(l["a"])(c,n,o,!1,null,"69cbb090",null);t["default"]=d.exports}}]);