1 line
19 KiB
JavaScript
1 line
19 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mymoney-allDetail"],{1380:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"all_detail"},[a("v-uni-scroll-view",{staticStyle:{width:"100%",height:"100%","padding-top":"20rpx","box-sizing":"border-box"},attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(e){arguments[0]=e=t.$handleEvent(e),t.upper.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.lower.apply(void 0,arguments)},scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)}}},["市場佣金"==t.pageTitle&&0==t.swiperListMoneyZ.length||"資產收益"==t.pageTitle&&0==t.swiperListMoneyW.length?a("v-uni-view",{staticStyle:{color:"#fff",width:"100%",height:"100%","text-align":"center"}},[t._v("暫無數據")]):t._e(),"推薦客戶"==t.pageTitle?a("v-uni-view",{staticClass:"tuijian_personal"},[a("v-uni-view",{staticClass:"t_p_header"},[a("v-uni-view",{staticClass:"t_p_h_left"},[a("v-uni-text",{staticStyle:{"font-size":"24rpx"}},[t._v("直推人數:")]),a("v-uni-text",{staticStyle:{width:"45%",height:"50%","border-radius":"20rpx",border:"1px solid #a5ace2","font-weight":"600","font-size":"38rpx","margin-left":"20%"}},[t._v(t._s(t.kehuZhitui||0))])],1)],1),a("v-uni-view",{staticClass:"t_p_header",staticStyle:{"margin-top":"50rpx"}},[a("v-uni-view",{staticClass:"t_p_h_left"},[a("v-uni-text",{staticStyle:{"font-size":"24rpx"}},[t._v("客戶總人數:")]),a("v-uni-text",{staticStyle:{width:"45%",height:"50%","border-radius":"20rpx",border:"1px solid #a5ace2","font-weight":"600","font-size":"38rpx","margin-left":"20%"}},[t._v(t._s(t.kehuNum||0))])],1)],1)],1):t._e(),"我的身份"==t.pageTitle?a("v-uni-view",{staticClass:"my_vipNum"},t._l(t.sysVipList,(function(e,i){return a("v-uni-view",{key:e.id,staticClass:"m_v_content",style:{backgroundColor:t.userinfo.level==e.lv?"#3eb93b":""}},[a("v-uni-view",{staticClass:"m_v_c_box"},[t._v(t._s(e.title))]),a("v-uni-view",{staticClass:"m_v_c_box"},[t._v("收益:"+t._s(100*e.parent_rate)+" %")])],1)})),1):t._e(),t._l(t.swiperListMoneyZ,(function(e,i){return"市場佣金"==t.pageTitle?a("v-uni-view",{key:e.id,staticClass:"each_content"},[a("v-uni-view",{staticClass:"each_content_left"},[a("v-uni-view",{staticClass:"header_money"},[a("v-uni-view",{staticClass:"text-green"},[a("v-uni-text",{staticClass:" "},[t._v("+")]),a("v-uni-text",{},[t._v(t._s(e.coin))])],1)],1),a("v-uni-view",{staticClass:"content_adress"},[a("v-uni-view",{staticClass:"text-gray",staticStyle:{width:"300rpx","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis","font-size":"20rpx"}},[t._v("收款地址:"+t._s(e.to_addr))]),a("v-uni-view",{staticClass:"margin-top-lg",staticStyle:{"margin-top":"-10rpx","margin-left":"20rpx"}},[a("v-uni-image",{staticStyle:{width:"40rpx",height:"40rpx"},attrs:{src:"/static/fizhi.png"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.fuzhi(e.to_addr)}}})],1)],1),a("v-uni-view",{staticClass:"content_adress"},[a("v-uni-view",{staticClass:"text-gray",staticStyle:{width:"300rpx","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis","font-size":"20rpx"}},[t._v("付款地址:"+t._s(e.from_addr))]),a("v-uni-view",{staticClass:"margin-top-lg",staticStyle:{"margin-top":"-10rpx","margin-left":"20rpx"}},[a("v-uni-image",{staticStyle:{width:"40rpx",height:"40rpx"},attrs:{src:"/static/fizhi.png"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.fuzhi(e.from_addr)}}})],1)],1),a("v-uni-view",{staticClass:"footer_shouy"},[t._v(t._s(e.type))])],1),a("v-uni-view",{staticClass:"each_content_right"},[a("v-uni-view",{staticClass:"timeBtn"},[t._v(t._s(t.timeOptions(1e3*e.createtime)))])],1)],1):t._e()})),t._l(t.swiperListMoneyW,(function(e,i){return"資產收益"==t.pageTitle?a("v-uni-view",{key:e.id,staticClass:"each_content",staticStyle:{height:"150rpx"}},[a("v-uni-view",{staticClass:"each_content_left"},[a("v-uni-view",{staticClass:"header_money"},[a("v-uni-view",{staticClass:"text-green"},[a("v-uni-text",{staticClass:" "},[t._v("+")]),a("v-uni-text",{},[t._v(t._s(e.score))])],1)],1),a("v-uni-view",{staticClass:"content_adress"},[a("v-uni-view",{staticClass:"text-gray",staticStyle:{"font-size":"25rpx"}},[t._v("變動前:"+t._s(e.before))])],1),a("v-uni-view",{staticClass:"content_adress"},[a("v-uni-view",{staticClass:"text-gray",staticStyle:{"font-size":"25rpx"}},[t._v("變動後:"+t._s(e.after))])],1)],1),a("v-uni-view",{staticClass:"each_content_right"},[a("v-uni-view",{staticClass:"timeBtn",staticStyle:{"margin-top":"20rpx"}},[t._v(t._s(t.timeOptions(1e3*e.createtime)))])],1)],1):t._e()}))],2)],1)},n=[]},"1b13":function(t,e,a){"use strict";a.r(e);var i=a("d5f8"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"1c36":function(t,e,a){"use strict";a.r(e);var i=a("1380"),n=a("1b13");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("6375");var u=a("828b"),s=Object(u["a"])(n["default"],i["b"],i["c"],!1,null,"bcba232e",null,!1,i["a"],void 0);e["default"]=s.exports},"565d":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("bf0f"),a("7a76"),a("c9b5");var n=i(a("1c1c")),r=i(a("6ecf")),u=a("ee8d"),s=n.default.create();s.defaults.baseURL=u.BASE_URL,s.defaults.timeout=u.TIME_OUT,s.defaults.adapter=r.default,s.defaults.headers.post["token"]="",s.defaults.headers.post["content-type"]="application/json",s.interceptors.request.use((function(t){var e=uni.getStorageSync("token");return e&&(t.headers.token=e),t})),s.interceptors.response.use((function(t){return t.data}),(function(t){return console.log(t),401==t.response.data.code&&uni.showModal({title:"提示",showCancel:!1,content:"请重新登录",success:function(t){t.confirm&&(console.log("用户点击确定"),uni.navigateTo({url:"/pages/login/login"}))}}),Promise.reject(new Error("faile"))}));var o=s;e.default=o},6375:function(t,e,a){"use strict";var i=a("ac4f"),n=a.n(i);n.a},6704:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("9b1b")),r=i(a("565d")),u={post:function(t){return(0,r.default)((0,n.default)((0,n.default)({},t),{},{method:"POST"}))},get:function(t){return console.log("封装post,get,patch 请求:",(0,n.default)({},t)),(0,r.default)((0,n.default)((0,n.default)({},t),{},{method:"GET"}))},patch:function(t){return(0,r.default)((0,n.default)((0,n.default)({},t),{},{method:"PATCH"}))}},s=u;e.default=s},ac4f:function(t,e,a){var i=a("b123");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("39811ea6",i,!0,{sourceMap:!1,shadowMode:!1})},b123:function(t,e,a){var i=a("c86c");e=i(!1),e.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-flex[data-v-bcba232e]{display:flex;flex-direction:row}.uni-flex-item[data-v-bcba232e]{flex:1}.flex-item[data-v-bcba232e]{flex:1}.uni-row[data-v-bcba232e]{flex-direction:row}.uni-column[data-v-bcba232e]{flex-direction:column}.all_detail[data-v-bcba232e]{width:100vw;height:100vh;background:linear-gradient(180deg,#003,#51599b);padding:%?20?%;box-sizing:border-box}.all_detail .my_vipNum[data-v-bcba232e]{width:100%;height:100%;color:#fff}.all_detail .my_vipNum .m_v_content[data-v-bcba232e]{background-color:#3a3d71;height:15%;border-radius:%?30?%;margin-bottom:%?30?%;display:flex;padding:%?30?%;box-sizing:border-box}.all_detail .my_vipNum .m_v_content .m_v_c_box[data-v-bcba232e]{flex:1;display:flex;align-items:center}.all_detail .my_vipNum .m_v_content .m_v_c_box[data-v-bcba232e]:last-child{justify-content:flex-end}.all_detail .tuijian_personal[data-v-bcba232e]{width:100%;height:100%;color:#fff}.all_detail .tuijian_personal .t_p_header[data-v-bcba232e]{background-color:#383d84;height:10%;border-radius:%?30?%}.all_detail .tuijian_personal .t_p_header .t_p_h_left[data-v-bcba232e]{display:flex;height:100%;align-items:center}.all_detail .tuijian_personal .t_p_header .t_p_h_left > uni-text[data-v-bcba232e]{height:100%;width:30%;display:flex;align-items:center;justify-content:center}.all_detail .each_content[data-v-bcba232e]{height:%?220?%;background-color:#4c5188;border-radius:%?20?%;display:flex;padding:%?20?%;box-sizing:border-box;margin-bottom:%?30?%;color:#fff}.all_detail .each_content .header_money[data-v-bcba232e]{height:%?45?%;line-height:%?45?%}.all_detail .each_content .header_money .text-green[data-v-bcba232e]{color:#3eb93b;font-weight:700}.all_detail .each_content .header_money .text-red[data-v-bcba232e]{color:#e54d42;font-weight:700}.all_detail .each_content .footer_shouy[data-v-bcba232e]{width:60%;text-align:center;color:#0081ff;border:1px solid #87ceeb;border-radius:%?30?%;font-weight:700;font-size:%?30?%;line-height:%?50?%}.all_detail .each_content .content_adress[data-v-bcba232e]{display:flex}.all_detail .each_content .each_content_left[data-v-bcba232e]{width:60%;height:100%}.all_detail .each_content .each_content_right[data-v-bcba232e]{width:40%;height:100%}.all_detail .each_content .each_content_right .timeBtn[data-v-bcba232e]{background:linear-gradient(90deg,#8f8f8f,#3e3e3e);font-size:%?30?%;border-radius:%?40?%;color:#fff;height:%?75?%;line-height:%?30?%;padding:%?10?%;text-align:center;box-sizing:border-box;margin-top:%?40?%}',""]),t.exports=e},d3ac:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e._accountdetail=function(t){return n.default.post({url:"/api/pub/accountdetail",data:t})},e._addresslogin=function(t){return n.default.post({url:"/api/user/addresslogin",data:t})},e._balances=function(t){return n.default.get({url:"".concat("https://nfta.ikiry.com","/getUserBalances?address=").concat(t)})},e._bindpid=function(t){return n.default.post({url:"/api/user/bindpid",data:t})},e._cashoutscore=function(t){return n.default.post({url:"/api/user/cashoutscore",data:t})},e._childrenlist=function(t){return n.default.post({url:"/api/user/getchildrenlist",data:t})},e._childrens=function(t){return n.default.post({url:"/api/user/getchildrens",data:t})},e._chkarea=function(t){return n.default.post({url:"/api/user/chkarea",data:t})},e._chksubdata=function(t){return n.default.post({url:"/api/user/chksubdata",data:t})},e._coinlist=function(t){return n.default.post({url:"/api/user/getcoinlist",data:t})},e._createorder=function(t){return n.default.post({url:"/api/miner/createorder",data:t})},e._emailSend=function(t){return n.default.post({url:"/api/ems/send",data:t})},e._generateWords=function(t){return n.default.post({url:"".concat("https://nfta.ikiry.com","/generateWords"),data:t})},e._getaccountorder=function(t){return n.default.get({url:"/api/pub/getaccountorder?page=".concat(t.page,"&listrow=").concat(t.listrow)})},e._getaccounttag=function(t){return n.default.get({url:"/api/pub/getaccounttag"})},e._getaccounttype=function(t){return n.default.post({url:"/api/pub/getaccounttype",data:t})},e._getareas=function(t){return n.default.post({url:"/api/user/getareas",data:t})},e._getcharge=function(t){return n.default.get({url:"/api/quantify/getcharge",data:t})},e._getexerciselogs=function(t){return n.default.get({url:"/api/quantify/getexerciselogs",params:t})},e._getgoogleauthurl=function(t){return n.default.post({url:"/api/user/getgoogleauthurl",data:t})},e._getinvestlogs=function(t){return n.default.get({url:"/api/quantify/getinvestlogs",params:t})},e._getpubaccount=function(t){return n.default.post({url:"/api/pub/getpubaccount",data:t})},e._getpubguide=function(t){return n.default.post({url:"/api/pub/getpubguide",data:t})},e._getpubtype=function(t){return n.default.post({url:"/api/pub/getpubtype",data:t})},e._getrechargelogs=function(t){return n.default.get({url:"/api/quantify/getrechargelogs",params:t})},e._getstatics=function(t){return n.default.get({url:"/api/quantify/getstatics",params:t})},e._getwithdrawlogs=function(t){return n.default.post({url:"/api/user/withdrawlogs",data:t})},e._guidedetail=function(t){return n.default.post({url:"/api/pub/guidedetail",data:t})},e._levelupinfo=function(t){return n.default.post({url:"/api/user/getlevelupinfo",data:t})},e._minerlist=function(t){return n.default.post({url:"/api/user/getminerlist",data:t})},e._minerordlist=function(t){return n.default.post({url:"/api/user/getminerordlist",data:t})},e._minerrewardlist=function(t){return n.default.post({url:"/api/user/getminerrewardlist",data:t})},e._miners=function(t){return n.default.post({url:"/api/user/getminers",data:t})},e._minerscorelist=function(t){return n.default.post({url:"/api/user/getminerscorelist",data:t})},e._moneyRedeem=function(t){return n.default.post({url:"/api/quantify/redeem",data:t})},e._myIncome=function(t){return n.default.get({url:"/api/quantify/getlist"})},e._myparent=function(t){return n.default.post({url:"api/user/getmyparent",data:t})},e._payXieyi=function(t){return n.default.post({url:"/api/",data:t})},e._paysord=function(t){return n.default.post({url:"/api/miner/paysord",data:t})},e._profile=function(t){return n.default.post({url:"/api/user/profile",data:t})},e._pubgame=function(t){return n.default.post({url:"/api/pub/getpubgame",data:t})},e._pullreward=function(t){return n.default.post({url:"/api/user/pullreward",data:t})},e._pushBuyInfo=function(t){return n.default.post({url:"/api/quantify/pushdata",data:t})},e._pushorder=function(t){return n.default.post({url:"/api/quantify/pushorder",data:t})},e._refwallet=function(t){return n.default.post({url:"/api/user/refwallet",data:t})},e._register=function(t){return n.default.post({url:"/api/user/register",data:t})},e._rewardlist=function(t){return n.default.post({url:"/api/user/getrewardlist",data:t})},e._rewardstatic=function(t){return n.default.post({url:"/api/user/getrewardstatic",data:t})},e._sendcoin=function(t){return n.default.post({url:"/api/user/sendcoin",data:t})},e._staticinfo=function(t){return n.default.post({url:"/api/user/getstaticinfo",data:t})},e._submitdata=function(t){return n.default.post({url:"/api/user/submitdata",data:t})},e._taxinfo=function(t){return n.default.post({url:"/api/user/taxinfo",data:t})},e._transfer=function(t){return n.default.post({url:"/api/user/resetwallet",data:t})},e._userInfos=function(){return n.default.post({url:"/api/user/index"})},e._viplist=function(t){return n.default.post({url:"/api/user/getviplist",data:t})},e._walletinfo=function(t){return n.default.post({url:"/api/user/getwalletinfo",data:t})},e._zhuji=function(t){return n.default.post({url:"/api/user/zhujilogin",data:t})},e._zhujiLogin=function(t){return n.default.post({url:"/api/user/login",data:t})},e.getvision=function(t){return n.default.post({url:"/api/index/getvision",data:t})},a("c223");var n=i(a("6704"))},d5f8:function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("795c"),a("c9b5"),a("bf0f"),a("ab80"),a("c223");var n=i(a("2634")),r=i(a("2fdc")),u=a("d3ac"),s={data:function(){return{userinfo:{},pageTitle:"",swiperListMoneyZ:[],swiperListMoneyW:[],sysVipList:[],kehuList:{},kehuZhitui:"",kehuNum:""}},onLoad:function(t){uni.setNavigationBarTitle({title:t.detailLabel}),this.pageTitle=t.detailLabel},onShow:function(){switch(this.pageTitle){case"推薦客戶":this.getChildrenlist();break;case"我的身份":this.getViplist(),this.getUserInfos();break;case"市場佣金":this.getRewardlist();break;case"資產收益":this.getMinerrewardlist();break}},methods:{getViplist:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u._viplist)();case 2:a=e.sent,1===a.code&&(t.sysVipList=a.data);case 4:case"end":return e.stop()}}),e)})))()},getUserInfos:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u._userInfos)();case 2:a=e.sent,1===a.code&&(t.userinfo=a.data.userinfo);case 4:case"end":return e.stop()}}),e)})))()},getRewardlist:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u._rewardlist)();case 2:a=e.sent,1===a.code&&(t.swiperListMoneyZ=a.data);case 4:case"end":return e.stop()}}),e)})))()},getMinerrewardlist:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a={page:1,listrow:999999},e.next=3,(0,u._minerscorelist)(a);case 3:i=e.sent,1===i.code&&(t.swiperListMoneyW=i.data.data);case 5:case"end":return e.stop()}}),e)})))()},getChildrenlist:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u._childrens)();case 2:a=e.sent,1===a.code&&(t.kehuList=a.data,t.kehuZhitui=t.kehuList.children.length,t.kehuNum=t.kehuList.tree.length);case 4:case"end":return e.stop()}}),e)})))()},timeOptions:function(t){var e=new Date(t),a=e.getFullYear(),i=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),s=e.getSeconds().toString().padStart(2,"0");return"".concat(a,"-").concat(i,"-").concat(n," ").concat(r,":").concat(u,":").concat(s)},fuzhi:function(t){uni.setClipboardData({data:t,success:function(){uni.showToast({title:"複製成功"})}})}}};e.default=s},ee8d:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.TIME_OUT=e.BASE_URL=void 0;e.BASE_URL="https://onlif.klinygm.com";e.TIME_OUT=15e3}}]); |