| | |
| | | <view class="header chuany-flex chuany-justify-between chuany-align-center"> |
| | | <view class="left"> |
| | | <view class="c-p-b-16"> |
| | | 收入余额(元) |
| | | {{identity=='enterprise'?"企业余额(元)":'收入余额(元)'}} |
| | | </view> |
| | | <text class="chuany-font50 fs-weight__500">12.88</text> |
| | | </view> |
| | | <view class="right"> |
| | | <up-button type="warning" size="small" shape="circle" text="提现"></up-button> |
| | | <up-button type="warning" size="small" shape="circle" :text="identity=='enterprise'?'充值':'提现'"></up-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | export default { |
| | | onLoad() { |
| | | let that = this |
| | | uni.getStorage({ |
| | | key: 'identity', |
| | | success: function(res) { |
| | | that.identity = res.data |
| | | } |
| | | }); |
| | | that.identity = this.$db.get('identity') |
| | | }, |
| | | data() { |
| | | return { |