1 line
15 KiB
JavaScript
1 line
15 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mymoney-moneyDetail"],{"328b":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"money_detail"},[a("v-uni-web-view",{staticStyle:{visibility:"hidden",height:"1px",width:"100%"},attrs:{"webview-styles":t.webviewStyles,src:"/static/web3/transfer-web.html",fullscreen:!1,"update-title":!1},on:{message:function(e){arguments[0]=e=t.$handleEvent(e),t.handleWebViewMessage.apply(void 0,arguments)}}}),a("v-uni-scroll-view",{staticStyle:{height:"100%","padding-top":"20rpx","box-sizing":"border-box"},attrs:{"scroll-y":"true"}},[0==t.swiperList.length?a("v-uni-view",{staticStyle:{"text-align":"center",width:"50%",margin:"20rpx auto",color:"#fff"}},[a("v-uni-view",[t._v("暫無數據")])],1):t._e(),t._l(t.swiperList,(function(e,n){return 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"},[e.to==t.userMoneyAdress?a("v-uni-view",{staticClass:"text-green"},[a("v-uni-text",{staticClass:" "}),a("v-uni-text",{},[t._v(t._s("+ "+(e.value/1e18).toFixed(6)+" USDT"))])],1):a("v-uni-view",{staticClass:"text-red"},[a("v-uni-text",{staticClass:" "}),a("v-uni-text",{},[t._v(t._s("- "+(e.value/1e18).toFixed(6)+" USDT"))])],1)],1),a("v-uni-view",{staticClass:"content_adress"},[a("v-uni-view",{staticClass:"text-gray"},[t._v("收款地址:"+t._s(t.adressOptions(e.to)))]),a("v-uni-view",{staticClass:"margin-top-lg"},[a("v-uni-image",{staticStyle:{width:"35rpx",height:"35rpx"},attrs:{src:"/static/fizhi.png"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.fuzhi(e.to)}}})],1)],1),a("v-uni-view",{staticClass:"content_adress"},[a("v-uni-view",{staticClass:"text-gray"},[t._v("付款地址:"+t._s(t.adressOptions(e.from)))]),a("v-uni-view",{staticClass:"margin-top-lg"},[a("v-uni-image",{staticStyle:{width:"35rpx",height:"35rpx"},attrs:{src:"/static/fizhi.png"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.fuzhi(e.from)}}})],1)],1)],1),a("v-uni-view",{staticClass:"each_content_right"},[a("v-uni-view",{staticClass:"timeBtn"},[t._v(t._s(t.timeOptions(1e3*e.timeStamp)))])],1)],1)}))],2)],1)},r=[]},"565d":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("bf0f"),a("7a76"),a("c9b5");var r=n(a("1c1c")),i=n(a("6ecf")),u=a("ee8d"),s=r.default.create();s.defaults.baseURL=u.BASE_URL,s.defaults.timeout=u.TIME_OUT,s.defaults.adapter=i.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},6704:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(a("9b1b")),i=n(a("565d")),u={post:function(t){return(0,i.default)((0,r.default)((0,r.default)({},t),{},{method:"POST"}))},get:function(t){return console.log("封装post,get,patch 请求:",(0,r.default)({},t)),(0,i.default)((0,r.default)((0,r.default)({},t),{},{method:"GET"}))},patch:function(t){return(0,i.default)((0,r.default)((0,r.default)({},t),{},{method:"PATCH"}))}},s=u;e.default=s},"6c54":function(t,e,a){"use strict";a.r(e);var n=a("d5f1"),r=a.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},a3d4:function(t,e,a){var n=a("db7a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("967d").default;r("16fea00c",n,!0,{sourceMap:!1,shadowMode:!1})},b452:function(t,e,a){"use strict";a.r(e);var n=a("328b"),r=a("6c54");for(var i in r)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(i);a("ea43");var u=a("828b"),s=Object(u["a"])(r["default"],n["b"],n["c"],!1,null,"3f5cf8bb",null,!1,n["a"],void 0);e["default"]=s.exports},d3ac:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e._accountdetail=function(t){return r.default.post({url:"/api/pub/accountdetail",data:t})},e._addresslogin=function(t){return r.default.post({url:"/api/user/addresslogin",data:t})},e._balances=function(t){return r.default.get({url:"".concat("https://nfta.ikiry.com","/getUserBalances?address=").concat(t)})},e._bindpid=function(t){return r.default.post({url:"/api/user/bindpid",data:t})},e._cashoutscore=function(t){return r.default.post({url:"/api/user/cashoutscore",data:t})},e._childrenlist=function(t){return r.default.post({url:"/api/user/getchildrenlist",data:t})},e._childrens=function(t){return r.default.post({url:"/api/user/getchildrens",data:t})},e._chkarea=function(t){return r.default.post({url:"/api/user/chkarea",data:t})},e._chksubdata=function(t){return r.default.post({url:"/api/user/chksubdata",data:t})},e._coinlist=function(t){return r.default.post({url:"/api/user/getcoinlist",data:t})},e._createorder=function(t){return r.default.post({url:"/api/miner/createorder",data:t})},e._emailSend=function(t){return r.default.post({url:"/api/ems/send",data:t})},e._generateWords=function(t){return r.default.post({url:"".concat("https://nfta.ikiry.com","/generateWords"),data:t})},e._getaccountorder=function(t){return r.default.get({url:"/api/pub/getaccountorder?page=".concat(t.page,"&listrow=").concat(t.listrow)})},e._getaccounttag=function(t){return r.default.get({url:"/api/pub/getaccounttag"})},e._getaccounttype=function(t){return r.default.post({url:"/api/pub/getaccounttype",data:t})},e._getareas=function(t){return r.default.post({url:"/api/user/getareas",data:t})},e._getcharge=function(t){return r.default.get({url:"/api/quantify/getcharge",data:t})},e._getexerciselogs=function(t){return r.default.get({url:"/api/quantify/getexerciselogs",params:t})},e._getgoogleauthurl=function(t){return r.default.post({url:"/api/user/getgoogleauthurl",data:t})},e._getinvestlogs=function(t){return r.default.get({url:"/api/quantify/getinvestlogs",params:t})},e._getpubaccount=function(t){return r.default.post({url:"/api/pub/getpubaccount",data:t})},e._getpubguide=function(t){return r.default.post({url:"/api/pub/getpubguide",data:t})},e._getpubtype=function(t){return r.default.post({url:"/api/pub/getpubtype",data:t})},e._getrechargelogs=function(t){return r.default.get({url:"/api/quantify/getrechargelogs",params:t})},e._getstatics=function(t){return r.default.get({url:"/api/quantify/getstatics",params:t})},e._getwithdrawlogs=function(t){return r.default.post({url:"/api/user/withdrawlogs",data:t})},e._guidedetail=function(t){return r.default.post({url:"/api/pub/guidedetail",data:t})},e._levelupinfo=function(t){return r.default.post({url:"/api/user/getlevelupinfo",data:t})},e._minerlist=function(t){return r.default.post({url:"/api/user/getminerlist",data:t})},e._minerordlist=function(t){return r.default.post({url:"/api/user/getminerordlist",data:t})},e._minerrewardlist=function(t){return r.default.post({url:"/api/user/getminerrewardlist",data:t})},e._miners=function(t){return r.default.post({url:"/api/user/getminers",data:t})},e._minerscorelist=function(t){return r.default.post({url:"/api/user/getminerscorelist",data:t})},e._moneyRedeem=function(t){return r.default.post({url:"/api/quantify/redeem",data:t})},e._myIncome=function(t){return r.default.get({url:"/api/quantify/getlist"})},e._myparent=function(t){return r.default.post({url:"api/user/getmyparent",data:t})},e._payXieyi=function(t){return r.default.post({url:"/api/",data:t})},e._paysord=function(t){return r.default.post({url:"/api/miner/paysord",data:t})},e._profile=function(t){return r.default.post({url:"/api/user/profile",data:t})},e._pubgame=function(t){return r.default.post({url:"/api/pub/getpubgame",data:t})},e._pullreward=function(t){return r.default.post({url:"/api/user/pullreward",data:t})},e._pushBuyInfo=function(t){return r.default.post({url:"/api/quantify/pushdata",data:t})},e._pushorder=function(t){return r.default.post({url:"/api/quantify/pushorder",data:t})},e._refwallet=function(t){return r.default.post({url:"/api/user/refwallet",data:t})},e._register=function(t){return r.default.post({url:"/api/user/register",data:t})},e._rewardlist=function(t){return r.default.post({url:"/api/user/getrewardlist",data:t})},e._rewardstatic=function(t){return r.default.post({url:"/api/user/getrewardstatic",data:t})},e._sendcoin=function(t){return r.default.post({url:"/api/user/sendcoin",data:t})},e._staticinfo=function(t){return r.default.post({url:"/api/user/getstaticinfo",data:t})},e._submitdata=function(t){return r.default.post({url:"/api/user/submitdata",data:t})},e._taxinfo=function(t){return r.default.post({url:"/api/user/taxinfo",data:t})},e._transfer=function(t){return r.default.post({url:"/api/user/resetwallet",data:t})},e._userInfos=function(){return r.default.post({url:"/api/user/index"})},e._viplist=function(t){return r.default.post({url:"/api/user/getviplist",data:t})},e._walletinfo=function(t){return r.default.post({url:"/api/user/getwalletinfo",data:t})},e._zhuji=function(t){return r.default.post({url:"/api/user/zhujilogin",data:t})},e._zhujiLogin=function(t){return r.default.post({url:"/api/user/login",data:t})},e.getvision=function(t){return r.default.post({url:"/api/index/getvision",data:t})},a("c223");var r=n(a("6704"))},d5f1:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(a("2634")),i=n(a("2fdc"));a("fd3c"),a("64aa"),a("aa9c"),a("d4b5"),a("795c"),a("c9b5"),a("bf0f"),a("ab80"),a("c223");var u=a("d3ac"),s={data:function(){return{webviewStyles:{progress:!1,width:"0px",height:"0px"},webviewInstance:null,userinfo:{},swiperList:[],userMoneyAdress:""}},onReady:function(){var t=this.$scope.$getAppWebview();this.webviewInstance=t.children()[0]},onShow:function(){this.getUserInfos()},methods:{handleWebViewMessage:function(t){var e=this,a=t.detail.data;a.length>0&&"success"==a[0].status&&(a[0].transactions.map((function(t){var a=Number(t.value);a>0&&e.swiperList.push(t)})),console.log(e.swiperList,"ssssaaa"))},adressOptions:function(t){var e=t.substring(0,10),a=t.substring(t.length-4),n=e+"…"+a;return n},getUserInfos:function(){var t=this;return(0,i.default)((0,r.default)().mark((function e(){var a;return(0,r.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,t.userMoneyAdress=a.data.userinfo.wallet.address,t.userMoneyAdress=t.userMoneyAdress.toLowerCase(),t.getCoinlist());case 4:case"end":return e.stop()}}),e)})))()},getCoinlist:function(){this.webviewInstance&&this.webviewInstance.evalJS("\n\t\t\t\t\t\tgetTransactions(".concat(JSON.stringify(this.userinfo.wallet.address),");\n\t\t\t\t\t"))},timeOptions:function(t){var e=new Date(t),a=e.getFullYear(),n=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),i=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),s=e.getSeconds().toString().padStart(2,"0");return"".concat(a,"-").concat(n,"-").concat(r," ").concat(i,":").concat(u,":").concat(s)},fuzhi:function(t){uni.setClipboardData({data:t,success:function(){uni.showToast({title:"複製成功"})}})}}};e.default=s},db7a:function(t,e,a){var n=a("c86c");e=n(!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-3f5cf8bb]{display:flex;flex-direction:row}.uni-flex-item[data-v-3f5cf8bb]{flex:1}.flex-item[data-v-3f5cf8bb]{flex:1}.uni-row[data-v-3f5cf8bb]{flex-direction:row}.uni-column[data-v-3f5cf8bb]{flex-direction:column}.money_detail[data-v-3f5cf8bb]{width:100vw;height:100vh;background:linear-gradient(180deg,#003,#51599b);padding:%?20?%;box-sizing:border-box}.money_detail .each_content[data-v-3f5cf8bb]{height:%?180?%;background-color:#4c5188;border-radius:%?20?%;display:flex;padding:%?20?%;box-sizing:border-box;margin-bottom:%?30?%;color:#fff}.money_detail .each_content .header_money[data-v-3f5cf8bb]{height:calc(100% / 3);display:flex;align-items:center}.money_detail .each_content .header_money .text-green[data-v-3f5cf8bb]{color:#3eb93b;font-weight:700}.money_detail .each_content .header_money .text-red[data-v-3f5cf8bb]{color:#e54d42;font-weight:700}.money_detail .each_content .footer_shouy[data-v-3f5cf8bb]{width:60%;text-align:center;color:#0081ff;border:1px solid #87ceeb;border-radius:%?30?%;font-weight:700;font-size:%?30?%;line-height:%?50?%}.money_detail .each_content .content_adress[data-v-3f5cf8bb]{display:flex;align-items:center;height:calc(100% / 3)}.money_detail .each_content .content_adress .text-gray[data-v-3f5cf8bb]{width:calc(92% - %?35?%);font-size:%?25?%}.money_detail .each_content .each_content_left[data-v-3f5cf8bb]{width:60%;height:100%}.money_detail .each_content .each_content_right[data-v-3f5cf8bb]{width:40%;height:100%;display:flex;justify-content:center;align-items:center}.money_detail .each_content .each_content_right .timeBtn[data-v-3f5cf8bb]{background:linear-gradient(90deg,#8f8f8f,#3e3e3e);font-size:%?25?%;border-radius:%?40?%;color:#fff;height:%?75?%;width:90%;display:flex;justify-content:center;align-items:center}',""]),t.exports=e},ea43:function(t,e,a){"use strict";var n=a("a3d4"),r=a.n(n);r.a},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}}]); |