feat: 券商功能
This commit is contained in:
+23
-15
@@ -18,11 +18,11 @@
|
||||
bgColor="#f1f6ff00"
|
||||
></up-image>
|
||||
<view class="mine_info">
|
||||
<view class="mine_info_name" >
|
||||
<view class="mine_info_name">
|
||||
<text style="margin-right: 20rpx">{{
|
||||
currentUserData.nickname || "信任桥用户"
|
||||
}}</text>
|
||||
<view class="level" @click="jumpToTrustBridge">
|
||||
<view class="level" @click="jumpToTrustBridge">
|
||||
<up-image
|
||||
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/rz.png"
|
||||
style="margin-right: 8rpx; margin-top: 6rpx"
|
||||
@@ -154,7 +154,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- 入驻 -->
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
<!-- <view class="mine_content_comm_warp mine_top_comm_warp mine_tool_warp">
|
||||
<view class="mine_tool_title">入驻信任桥</view>
|
||||
<view class="settled_list">
|
||||
@@ -478,12 +478,12 @@ export default {
|
||||
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_cw.png",
|
||||
path: "/pages/rwa_package/dongjian/finance",
|
||||
},
|
||||
// {
|
||||
// id: 11,
|
||||
// title: "股东行权",
|
||||
// url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_gdxq.png",
|
||||
// path: "/pages/rwa_package/rwa/rwa",
|
||||
// },
|
||||
{
|
||||
id: 11,
|
||||
title: "股东行权",
|
||||
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/mine/tool_gdxq.png",
|
||||
path: "/pages/rwa_package/rwa/rwa",
|
||||
},
|
||||
// {
|
||||
// id:1,
|
||||
// title:"IM聊天",
|
||||
@@ -528,11 +528,13 @@ export default {
|
||||
},
|
||||
jumpToTrustBridge() {
|
||||
// 跳转到指定的信任桥地址
|
||||
const isAgentLogin = this.currentUserData?.isAgentLogin ? Number(this.currentUserData?.isAgentLogin) : 0;
|
||||
if(isAgentLogin){
|
||||
const isAgentLogin = this.currentUserData?.isAgentLogin
|
||||
? Number(this.currentUserData?.isAgentLogin)
|
||||
: 0;
|
||||
if (isAgentLogin) {
|
||||
uni.navigateTo({
|
||||
url:'/pages/mine_package/mild-shopping/mild-shopping'
|
||||
})
|
||||
url: "/pages/mine_package/mild-shopping/mild-shopping",
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -551,8 +553,14 @@ export default {
|
||||
console.log("currentUserData", this.currentUserData);
|
||||
let path =
|
||||
"/pages/mine_package/mine_authentication/mine_authentication";
|
||||
if (currentUserData && Object.keys(currentUserData).length !== 0 && currentUserData.certStatus && currentUserData.certStatus !== 0) {
|
||||
path = "/pages/mine_package/mine_authentication_ok/mine_authentication_ok"
|
||||
if (
|
||||
currentUserData &&
|
||||
Object.keys(currentUserData).length !== 0 &&
|
||||
currentUserData.certStatus &&
|
||||
currentUserData.certStatus !== 0
|
||||
) {
|
||||
path =
|
||||
"/pages/mine_package/mine_authentication_ok/mine_authentication_ok";
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: path,
|
||||
|
||||
Reference in New Issue
Block a user