|
|
@@ -4,8 +4,8 @@
|
|
|
<view class="con">
|
|
|
<view class="list" v-for="(item, index) in list" :key="index">
|
|
|
<view class="list_head flex_r flex_ac flex_jb">
|
|
|
+ <view class="head_name">{{ statusList[item.type] }}</view>
|
|
|
<view :class="['head_price',item.act == '+' ? 'g_color' : '']">{{item.act}}{{ item.num }}</view>
|
|
|
- <!-- <view class="head_name">{{ item.remark }}</view> -->
|
|
|
</view>
|
|
|
<view class="list_con flex_r flex_ac flex_jb">
|
|
|
<view class="list_balance">{{ item.create_time }}</view>
|
|
|
@@ -36,6 +36,7 @@ export default {
|
|
|
],
|
|
|
list: [],
|
|
|
page: 1,
|
|
|
+ statusList:{}
|
|
|
};
|
|
|
},
|
|
|
onShow() {
|
|
|
@@ -56,6 +57,7 @@ export default {
|
|
|
post("v1/my/equity", data).then((res) => {
|
|
|
uni.hideLoading();
|
|
|
if (res.code === 0) {
|
|
|
+ this.statusList = JSON.parse(res.data.statusList)
|
|
|
if (res.data.data.data.length > 0) {
|
|
|
this.list = this.list.concat(res.data.data.data);
|
|
|
} else {
|