|
@@ -108,13 +108,14 @@
|
|
|
<span>≈{{teacCountCny||0}}CNY</span>
|
|
<span>≈{{teacCountCny||0}}CNY</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="acc_info_next_item flex_r flex_ac flex_jb" @click="goto('/pagesB/accountDetails/OriginalShares')">
|
|
|
|
|
|
|
+ <div class="acc_info_next_item flex_r flex_jb" @click="goto('/pagesB/accountDetails/OriginalShares')">
|
|
|
<div class="flex_c flex_ac">
|
|
<div class="flex_c flex_ac">
|
|
|
<image src="@/static/wallet/12.png" class="ico" />
|
|
<image src="@/static/wallet/12.png" class="ico" />
|
|
|
<span>原始股</span>
|
|
<span>原始股</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="acc_info_next_item_bottom dinB">
|
|
|
|
|
|
|
+ <div class="acc_info_next_item_bottom dinB flex_c flex_ae flex_jb">
|
|
|
<span>{{localInfo.original_equity || 0}}</span>
|
|
<span>{{localInfo.original_equity || 0}}</span>
|
|
|
|
|
+ <span>≈{{equityCountCny||0}}CNY</span>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- <div class="flex_r flex_ac flex_jc">
|
|
<!-- <div class="flex_r flex_ac flex_jc">
|
|
|
<image src="@/static/wallet/10.png" class="ico" />
|
|
<image src="@/static/wallet/10.png" class="ico" />
|
|
@@ -291,7 +292,8 @@ export default {
|
|
|
}, //数智生活信息
|
|
}, //数智生活信息
|
|
|
merchantSetlet: {},
|
|
merchantSetlet: {},
|
|
|
isBusinessCenter: false,
|
|
isBusinessCenter: false,
|
|
|
- teacCountCny: 0
|
|
|
|
|
|
|
+ teacCountCny: 0,
|
|
|
|
|
+ equityCountCny: 0
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
@@ -369,7 +371,7 @@ export default {
|
|
|
} else this.login();
|
|
} else this.login();
|
|
|
this.localInfo = await uni.Luserfun()
|
|
this.localInfo = await uni.Luserfun()
|
|
|
this.merchantSet();
|
|
this.merchantSet();
|
|
|
- this.getTeacCountCny()
|
|
|
|
|
|
|
+ this.getConvertCny()
|
|
|
},
|
|
},
|
|
|
// 跳转到实名页面
|
|
// 跳转到实名页面
|
|
|
goToAutonym() {
|
|
goToAutonym() {
|
|
@@ -423,10 +425,11 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
// teaC价值
|
|
// teaC价值
|
|
|
- getTeacCountCny(){
|
|
|
|
|
- post("v1/getTeacCountCny").then((res) => {
|
|
|
|
|
|
|
+ getConvertCny(){
|
|
|
|
|
+ post("v1/getConvertCny").then((res) => {
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
- this.teacCountCny = Math.floor(Number(res.data.data) * Number(this.userinfo.teac))
|
|
|
|
|
|
|
+ this.teacCountCny = Math.floor(Number(res.data.data.teac) * Number(this.userinfo.teac))
|
|
|
|
|
+ this.equityCountCny = Math.floor(Number(res.data.data.equity) * Number(this.localInfo.original_equity))
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -666,7 +669,7 @@ page {
|
|
|
.ico {
|
|
.ico {
|
|
|
width: 42rpx;
|
|
width: 42rpx;
|
|
|
height: 42rpx;
|
|
height: 42rpx;
|
|
|
- margin-right: 12rpx;
|
|
|
|
|
|
|
+ // margin-right: 12rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
&_bottom{
|
|
&_bottom{
|
|
@@ -678,10 +681,10 @@ page {
|
|
|
color: #0B414D;
|
|
color: #0B414D;
|
|
|
background: url("http://teaclub.oss-cn-chengdu.aliyuncs.com/img/12.png");
|
|
background: url("http://teaclub.oss-cn-chengdu.aliyuncs.com/img/12.png");
|
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
- .acc_info_next_item_bottom{
|
|
|
|
|
- font-size: 36rpx;
|
|
|
|
|
- font-weight: 600;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // .acc_info_next_item_bottom{
|
|
|
|
|
+ // font-size: 30rpx;
|
|
|
|
|
+ // font-weight: 600;
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|