INFO
This commit is contained in:
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages2/balance/balance"],{"1f9e":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var o={uModal:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-modal/u-modal")]).then(e.bind(null,"317f"))},uSubsection:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-subsection/u-subsection")]).then(e.bind(null,"52b9"))},uEmpty:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(e.bind(null,"e513"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.list.length);t._isMounted||(t.e0=function(n){t.showModal=!0},t.e1=function(n){t.showModal=!1}),t.$mp.data=Object.assign({},{$root:{g0:e}})},u=[]},"29cd":function(t,n,e){"use strict";e.r(n);var o=e("1f9e"),i=e("eb88");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("7167"),e("8e43");var a=e("828b"),s=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"3514d648",null,!1,o["a"],void 0);n["default"]=s.exports},"326d":function(t,n,e){"use strict";(function(t,o){var i=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=i(e("7eb4")),a=i(e("ee10")),s=e("6b19"),r=(t.importObject("uni-id-co"),{components:{uSubsection:function(){Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-subsection/u-subsection")]).then(function(){return resolve(e("52b9"))}.bind(null,e)).catch(e.oe)},uModal:function(){Promise.all([e.e("common/vendor"),e.e("uni_modules/uview-ui/components/u-modal/u-modal")]).then(function(){return resolve(e("317f"))}.bind(null,e)).catch(e.oe)}},computed:{userInfo:function(){return s.store.userInfo},realNameStatus:function(){return this.userInfo.realNameAuth?this.userInfo.realNameAuth.authStatus:0}},data:function(){return{is_withdraw:!1,list:[],userData:{},showModal:!1,date:"incomeMonth",content:'<p><em style="font-style:normal;color:#ff1e0f">可提现余额:</em>当前可以提现的金额</p>\n\t\t\t <p><em style="font-style:normal;color:#ff1e0f">即将到账:</em>交易中的金额,交易成功后可提现</p>\n\t\t\t <p><em style="font-style:normal;color:#ff1e0f">累计到账:</em>累计交易成功的金额</p>\n\t\t\t <p><em style="font-style:normal;color:#ff1e0f">累计提现:</em>累计提现成功的金额</p>\n\t\t\t <p><em style="font-style:normal;color:#ff1e0f">*注:所有金额币种均为人民币,单位为元,符号¥</em></p>\n\t\t\t ',tabs:["本月收入","今日收入","昨日收入","提现记录"],tabIndex:0}},onLoad:function(){o.showLoading({title:"加载中"}),this.initData(),setTimeout((function(){o.hideLoading()}),500)},methods:{initData:function(){var t=this;return(0,a.default)(u.default.mark((function n(){return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.tabIndex=0;case 1:case"end":return n.stop()}}),n)})))()},getFundList:function(){return(0,a.default)(u.default.mark((function t(){return u.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},changeTab:function(t){this.tabIndex=t,this.list=[],0==this.tabIndex?(this.date="incomeMonth",this.is_withdraw=!1):1==this.tabIndex?(this.date="incomeToday",this.is_withdraw=!1):2==this.tabIndex?(this.date="incomeYesterday",this.is_withdraw=!1):3==this.tabIndex&&(this.date="incomeList",this.is_withdraw=!0),o.showLoading({title:"加载中"}),this.getFundList(),setTimeout((function(){o.hideLoading()}),500)},navTo:function(t){o.navigateTo({url:t})}},onPullDownRefresh:function(){o.showLoading({title:"加载中"}),this.showModal=!1,this.initData(),setTimeout((function(){o.hideLoading()}),500),setTimeout((function(){o.stopPullDownRefresh()}),500)}});n.default=r}).call(this,e("861b")["uniCloud"],e("df3c")["default"])},7167:function(t,n,e){"use strict";var o=e("7477"),i=e.n(o);i.a},7477:function(t,n,e){},"8e43":function(t,n,e){"use strict";var o=e("a960"),i=e.n(o);i.a},a960:function(t,n,e){},d2a6:function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("7bfe"),e("861b");o(e("3240"));var i=o(e("29cd"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},eb88:function(t,n,e){"use strict";e.r(n);var o=e("326d"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a}},[["d2a6","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"u-modal": "/uni_modules/uview-ui/components/u-modal/u-modal",
|
||||
"u-subsection": "/uni_modules/uview-ui/components/u-subsection/u-subsection",
|
||||
"u-empty": "/uni_modules/uview-ui/components/u-empty/u-empty"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="ithui-content data-v-3514d648"><view class="h5title data-v-3514d648">我的余额</view><view class="ithui-view data-v-3514d648"><view class="view-info data-v-3514d648"><view class="userinfo data-v-3514d648"><view class="flex data-v-3514d648"><block wx:if="{{userInfo.avatar_file}}"><cloud-image class="userinfo-headimg data-v-3514d648" vue-id="6cc79930-1" borderRadius="50%" src="{{userInfo.avatar_file.url}}" bind:__l="__l"></cloud-image></block><block wx:else><image class="userinfo-headimg borde-radius data-v-3514d648" src="https://qnycdn.mymoyu.top/static/avatar.jpg"></image></block><view class="flex-one data-v-3514d648"><view class="flex-one-text data-v-3514d648">{{"用户名:"+userInfo.nickname}}</view><view class="flex-one-text data-v-3514d648">{{"uid: ("+userInfo._id+")"}}</view><view class="flex-one-text data-v-3514d648">{{"手机号:"+userInfo.mobile}}</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="arrow arrow-one data-v-3514d648" bindtap="__e"><label class="_span data-v-3514d648">名词解释</label></view></view></view><u-modal vue-id="6cc79930-2" show="{{showModal}}" title="名词解释" confirmText="我已知晓" confirmColor="#ff1e0f" data-event-opts="{{[['^confirm',[['e1']]]]}}" bind:confirm="__e" class="data-v-3514d648" bind:__l="__l" vue-slots="{{['default']}}"><view class="slot-content data-v-3514d648"><rich-text nodes="{{content}}" class="data-v-3514d648"></rich-text></view></u-modal><view class="box data-v-3514d648"><view class="tx data-v-3514d648"><view class="tx-grid data-v-3514d648"><view class="tx-grid-text data-v-3514d648"><view class="title data-v-3514d648">可提现余额</view><view class="money data-v-3514d648"><text class="data-v-3514d648">{{userInfo.available}}</text><text class="money-b data-v-3514d648">元</text></view></view></view><view data-event-opts="{{[['tap',[['navTo',['../withdraw/withdraw']]]]]}}" class="tx-grid data-v-3514d648" bindtap="__e"><label class="tx-grid-comm-sign _span data-v-3514d648">立即提现</label></view></view><view class="palace palace-one data-v-3514d648"><view class="palace-grid data-v-3514d648"><view class="palace-grid-text data-v-3514d648"><view class="palace-grid-text-data data-v-3514d648"><text class="data-v-3514d648">{ 0 }}</text><text class="palace-grid-text-data-b data-v-3514d648">元</text></view><view class="palace-grid-text-name data-v-3514d648">剩余提现额度</view></view></view><view class="palace-grid data-v-3514d648"><view class="palace-grid-text data-v-3514d648"><view class="palace-grid-text-data data-v-3514d648"><text class="data-v-3514d648">{{0}}</text><text class="palace-grid-text-data-b data-v-3514d648">元</text></view><view class="palace-grid-text-name data-v-3514d648">累计收益</view></view></view><view class="palace-grid data-v-3514d648"><view class="palace-grid-text data-v-3514d648"><view class="palace-grid-text-data data-v-3514d648"><text class="data-v-3514d648">{{userInfo.total_withdraw}}</text><text class="palace-grid-text-data-b data-v-3514d648">元</text></view><view class="palace-grid-text-name data-v-3514d648">累计提现</view></view></view></view></view><view class="top data-v-3514d648"><u-subsection vue-id="6cc79930-3" list="{{tabs}}" fontSize="16" activeColor="#ff8440" current="{{tabIndex}}" data-event-opts="{{[['^change',[['changeTab']]]]}}" bind:change="__e" class="data-v-3514d648" bind:__l="__l"></u-subsection><block wx:if="{{$root.g0===0}}"><u-empty style="margin-top:40rpx;" vue-id="6cc79930-4" mode="order" text="没有记录" iconSize="140" textSize="32" class="data-v-3514d648" bind:__l="__l"></u-empty></block></view><view class="list-view data-v-3514d648"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item data-v-3514d648" hover-class="hover" hover-stay-time="{{150}}" bindtap="detail"><view class="content-box data-v-3514d648"><view class="des-box data-v-3514d648"><view class="tit data-v-3514d648">{{''+item.name+''}}</view><block wx:if="{{tabIndex==3}}"><view class="source data-v-3514d648" style="{{'color:'+(item.status==1?'#4caf50':item.status==2?'#00b7ff':'#ff1e0f')+';'}}">{{'提现'+(item.status==1?'成功':item.status==2?'处理中':'失败')+''}}</view></block><view class="time data-v-3514d648">{{item.create_time}}</view></view></view><view class="{{['money','data-v-3514d648',(is_withdraw)?'less':'']}}">{{''+(is_withdraw?'-':'+')+(tabIndex==3?item.real_money:item.money)+''}}</view></view></block></view><view class="tip data-v-3514d648">仅显示近一年内的收支记录</view></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user