You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
huazhiyu/unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao.3b15a...

1 lines
7.2 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fenxiao-fenxiao"],{"12b0":function(t,n,a){"use strict";a.r(n);var i=a("99c7"),e=a("62f2");for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(o);a("13c0");var s=a("f0c5"),c=Object(s["a"])(e["default"],i["b"],i["c"],!1,null,"34d1d1f8",null,!1,i["a"],void 0);n["default"]=c.exports},"13c0":function(t,n,a){"use strict";var i=a("5593"),e=a.n(i);e.a},5593:function(t,n,a){var i=a("d753");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=a("4f06").default;e("6ca233e6",i,!0,{sourceMap:!1,shadowMode:!1})},"57ca":function(t,n,a){t.exports=a.p+"static/img/fenxiaobg.65f56acc.png"},"5dbc":function(t,n,a){"use strict";a("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a("afca"),e={data:function(){return{totalObj:{available_commission_amount:"",total_commission_amount:"",today_commission_amount:"",seven_day_commission_amount:""},show:!1,content:""}},methods:{close:function(){this.show=!1},getText:function(){var t=this;(0,i.privacyPolicy)({id:9}).then((function(n){t.content=n.data.content}))},getInfo:function(){var t=this;(0,i.getUserCommissionStatistic)().then((function(n){console.log(n,"nnn"),t.totalObj=Object.assign({},t.totalObj,n.data)}))},jump:function(t){switch(t){case 1:uni.navigateTo({url:"/pages/fenxiao/yongjin"});break;case 2:uni.navigateTo({url:"/pages/fenxiao/fans"});break;case 3:uni.navigateTo({url:"/pages/fenxiao/fansOrder"});break}}},mounted:function(){this.getInfo(),this.getText()}};n.default=e},"62f2":function(t,n,a){"use strict";a.r(n);var i=a("5dbc"),e=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(o);n["default"]=e.a},"99c7":function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){return i}));var i={uIcon:a("5577").default,uCellGroup:a("ecb9").default,uCell:a("ae95").default,uPopup:a("e02a").default,uParse:a("0204").default},e=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"fenxiao"},[i("v-uni-view",{staticClass:"fenxiaoInfo"},[i("v-uni-view",{staticClass:"fxTop"},[i("v-uni-text",{staticClass:"tixian"},[t._v("佣金")]),i("v-uni-view",{staticClass:"fxIntro",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.show=!0}}},[i("v-uni-text",[t._v("分销说明")]),i("u-icon",{attrs:{size:"15",color:"#c4b39b",name:"more-circle"}})],1)],1),i("v-uni-view",{staticClass:"fxMiddle"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.totalObj.available_commission_amount))])],1),i("v-uni-view",{staticClass:"fxBottom"},[i("v-uni-view",{staticClass:"fxItem"},[i("v-uni-text",{staticClass:"num"},[t._v("¥"+t._s(t.totalObj.total_commission_amount))]),i("v-uni-text",{staticClass:"total"},[t._v("累计总获得")])],1),i("v-uni-view",{staticClass:"fxItem"},[i("v-uni-text",{staticClass:"num"},[t._v("¥"+t._s(t.totalObj.today_commission_amount))]),i("v-uni-text",{staticClass:"total"},[t._v("今日获得")])],1),i("v-uni-view",{staticClass:"fxItem"},[i("v-uni-text",{staticClass:"num"},[t._v("¥"+t._s(t.totalObj.seven_day_commission_amount))]),i("v-uni-text",{staticClass:"total"},[t._v("近7日获得")])],1)],1)],1),i("v-uni-image",{staticClass:"line",attrs:{src:a("f552"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"card"},[i("u-cell-group",{attrs:{border:!1}},[i("u-cell",{attrs:{icon:"rmb-circle",iconStyle:{color:"#9f751f"},titleStyle:{color:"#9f751f"},title:"我的佣金",isLink:!0,rightIconStyle:{color:"#9f751f"}},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.jump(1)}}}),i("u-cell",{attrs:{icon:"heart",iconStyle:{color:"#9f751f"},titleStyle:{color:"#9f751f"},title:"我的粉丝",isLink:!0,rightIconStyle:{color:"#9f751f"}},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.jump(2)}}}),i("u-cell",{attrs:{icon:"order",iconStyle:{color:"#9f751f"},titleStyle:{color:"#9f751f"},title:"粉丝订单",isLink:!0,rightIconStyle:{color:"#9f751f"}},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.jump(3)}}})],1)],1),i("u-popup",{attrs:{show:t.show,mode:"bottom",round:"10"},on:{close:function(n){arguments[0]=n=t.$handleEvent(n),t.close.apply(void 0,arguments)}}},[i("v-uni-view",{staticStyle:{padding:"24rpx","max-height":"calc(60vh)",overflow:"auto"}},[i("u-parse",{staticStyle:{"margin-top":"45px"},attrs:{content:t.content}})],1)],1)],1)},o=[]},d753:function(t,n,a){var i=a("24fb"),e=a("1de5"),o=a("d930"),s=a("57ca");n=i(!1);var c=e(o),r=e(s);n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.fenxiao[data-v-34d1d1f8]{min-height:calc(100vh - %?90?%);border-top:1px solid transparent;background:url('+c+");background-size:contain}.fenxiao .fenxiaoInfo[data-v-34d1d1f8]{width:80%;margin:14% auto 0 auto;background:url("+r+");background-repeat:no-repeat;background-size:100% 100%;border-radius:%?15?%;padding:%?30?%}.fenxiao .fxTop[data-v-34d1d1f8]{display:flex;align-items:center;justify-content:space-between}.fenxiao .fxTop .tixian[data-v-34d1d1f8]{color:#9f751f;font-size:%?30?%}.fenxiao .fxTop .fxIntro[data-v-34d1d1f8]{font-size:%?30?%;color:#c4b39b;display:flex;align-items:center}.fenxiao .fxTop .fxIntro uni-text[data-v-34d1d1f8]{margin-right:%?10?%}.fenxiao .fxMiddle[data-v-34d1d1f8]{font-size:%?30?%;margin:%?26?% 0;color:#9f751f;text-align:center}.fenxiao .fxMiddle .num[data-v-34d1d1f8]{font-size:%?58?%;font-weight:400;color:#4d9a5e}.fenxiao .fxBottom[data-v-34d1d1f8]{display:flex;margin-top:%?20?%;align-items:center;justify-content:space-between}.fenxiao .fxBottom .fxItem[data-v-34d1d1f8]{display:flex;flex-direction:column;align-items:center;justify-content:center}.fenxiao .fxBottom .fxItem .num[data-v-34d1d1f8]{font-size:%?32?%;color:#9f751f}.fenxiao .fxBottom .fxItem .total[data-v-34d1d1f8]{font-size:%?26?%;color:#7a5f26;margin-top:%?10?%}.fenxiao .line[data-v-34d1d1f8]{width:100%;height:auto}.fenxiao .card[data-v-34d1d1f8]{margin-top:8px;padding:16px 22px}[data-v-34d1d1f8] .u-line{border:1px solid #9f751f!important}[data-v-34d1d1f8] .u-cell__body{padding:%?30?% 0!important}",""]),t.exports=n},d930:function(t,n,a){t.exports=a.p+"static/img/bg.5183c054.png"},f552:function(t,n,a){t.exports=a.p+"static/img/line.2c7752a3.png"}}]);