bztang-admin/addons/yun_shop/static/app/js/chunk-31da45a3.17b1a2c6.js

1 line
5.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-31da45a3"],{"24c1":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,"#income #userinfo[data-v-0ff3d9a2]{background:#fff}#income #userinfo ul[data-v-0ff3d9a2]{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;background-color:#f15353}#income #userinfo ul li[data-v-0ff3d9a2]:last-child{border:0}#income #userinfo ul li[data-v-0ff3d9a2]{color:#fff;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#income #userinfo ul li span[data-v-0ff3d9a2]{color:#fff;font-size:16px;margin-bottom:.3125rem;display:inline-block}#income #userinfo ul li[data-v-0ff3d9a2]{width:50%;margin:1rem 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px}#income #userinfo .tixi[data-v-0ff3d9a2]{color:#333;font-size:16px;padding:0 .875rem;line-height:2.75rem;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}#income #userinfo .tixi i[data-v-0ff3d9a2]{line-height:2.75rem;font-size:1.5rem;color:#c9c9c9}#income #userinfo .tixi a[data-v-0ff3d9a2]{color:#fff}#income .title[data-v-0ff3d9a2]{background-color:#fff;margin-top:.625rem;border-bottom:.0625rem solid #ebebeb;height:2.25rem;line-height:2.25rem;padding:0 .875rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#income .title .spare[data-v-0ff3d9a2]{width:.25rem;height:1rem;border-radius:.0625rem;background-color:#f15353;margin-right:.5rem;margin-top:.5625rem}#income .title .spare h3[data-v-0ff3d9a2]{font-size:14px}#income #gongge[data-v-0ff3d9a2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background:#fff;padding:.625rem 0}#income #gongge li[data-v-0ff3d9a2]{-webkit-box-flex:33%;-webkit-flex:33% 0 0;-ms-flex:33% 0 0px;flex:33% 0 0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}#income #gongge li i[data-v-0ff3d9a2]{font-size:2.125rem;color:#ccc;margin:.625rem 0}#income #gongge li font[data-v-0ff3d9a2]{color:#e84e40}#income #gongge li a[data-v-0ff3d9a2]{color:#333}#income #gongge li a img[data-v-0ff3d9a2]{width:1.4375rem;margin:.3125rem 0}#income .text .money[data-v-0ff3d9a2]{color:#f15353;font-size:14px}#income .text .name[data-v-0ff3d9a2]{color:#333;font-size:12px}#income .mszf[data-v-0ff3d9a2]{background:#fff;padding:0 .875rem;margin:0;text-align:left;overflow:hidden;margin-top:.625rem;margin-bottom:3.125rem;height:2.75rem;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:2.75rem;font-size:16px;color:#333}#income .mszf i[data-v-0ff3d9a2]{font-size:1.5rem;float:right;line-height:2.75rem;color:#c9c9c9}#income .mszf span[data-v-0ff3d9a2]{float:left}#income .mszf a[data-v-0ff3d9a2]{color:#333;display:block}",""]),e.exports=t},5984:function(e,t,i){"use strict";i("7eb6")},6350:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"income"}},[i("c-title",{attrs:{hide:!1,text:""+e.income_name_text}}),i("div",{attrs:{id:"userinfo"}},[i("ul",[i("li",[i("span",[e._v(e._s(e.$i18n.t("money"))+e._s(e.total_income))]),i("br"),e._v("累计"+e._s(e.income_name_text))]),i("li",[i("span",[e._v(e._s(e.$i18n.t("money"))+e._s(e.income))]),i("br"),e._v("可"+e._s(this.fun.initWithdrawal())+e._s(e.income_name_text))])]),i("div",{staticClass:"tixi",on:{click:e.gotoIncome}},[i("span",[e._v(e._s(this.fun.initWithdrawal()))]),i("i",{staticClass:"fa fa-angle-right"})])]),i("div",{staticClass:"title"},[i("div",{staticClass:"spare"}),i("h3",[e._v("未"+e._s(this.fun.initWithdrawal())+e._s(e.income_name_text))])]),[i("van-grid",{attrs:{"column-num":3,square:""}},e._l(e.plugs,(function(t,a){return i("van-grid-item",{key:a,attrs:{link:e.fun.getUrl("",{})}},[i("div",[i("i",{staticClass:"iconfont",class:t.ico,staticStyle:{"font-size":"1.5rem",color:"#ff685d"}}),i("ul",{staticClass:"text",attrs:{slot:"text"},slot:"text"},[i("li",{staticClass:"money"},[i("small",[e._v(e._s(e.$i18n.t("money")))]),e._v(e._s(t.income))]),i("li",{staticClass:"name"},[e._v(e._s(t.type_name))])])])])})),1)],i("p",{staticClass:"mszf"},[i("router-link",{attrs:{to:e.fun.getUrl("presentationRecord")}},[e._v(e._s(this.fun.initWithdrawal())+"明细 "),i("span"),i("i",{staticClass:"fa fa-angle-right"})])],1)],2)},n=[],o=(i("14d9"),i("6968")),s={data:function(){return{total_income:0,income:0,plugs:[],income_name_text:""}},methods:{getData:function(){var e=this;$http.get("finance.earning.earning-count").then((function(t){e.total_income=t.data.total.grand_total,e.income=t.data.total.can_withdraw,e.plugs=t.data.data})).catch((function(e){}))},gotoIncome:function(){var e=this;$http.get("member.member.withdrawByMobile",{},"").then((function(t){1==t.result?1==t.data.is_bind_mobile?e.$router.push(e.fun.getUrl("withdrawEditmobile",{})):e.$router.push(e.fun.getUrl("withdrawal",{})):e.$dialog.alert({message:t.msg})}),(function(t){e.$dialog.alert({message:t.msg})}))},customizeIncome:function(){var e=this.fun.initMailLanguage();this.income_name_text=e.income.income_name}},activated:function(){this.total_income=0,this.income=0,this.plugs=[],this.getData(),this.customizeIncome(),this.fun.setWXTitle(this.income_name_text)},components:{cTitle:o["a"]}},l=s,r=l,f=(i("5984"),i("2877")),c=Object(f["a"])(r,a,n,!1,null,"0ff3d9a2",null);t["default"]=c.exports},"7eb6":function(e,t,i){var a=i("24c1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("499e").default;n("59b2abf9",a,!0,{sourceMap:!1,shadowMode:!1})}}]);