feat: 162版本

This commit is contained in:
2026-06-04 20:03:34 +08:00
parent 5512e17b94
commit cac63ff675
5 changed files with 81 additions and 158 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name" : "信任桥",
"appid" : "__UNI__4910728",
"description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。",
"versionName" : "1.0.3",
"versionName" : "1.0.2",
"versionCode" : 162,
"transformPx" : false,
/* 5+App特有相关 */
+70 -148
View File
@@ -1,39 +1,33 @@
<template>
<view class="mine_warp" :class="platformType ? '' : 'iosplatformType'">
<view class="mine_header">
<view
class="mine_login_data"
v-if="currentUserData && Object.keys(currentUserData).length !== 0"
>
<view class="mine_login_data" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
<view class="mine_data">
<up-image
:src="
currentUserData.avatarUrl
? currentUserData.avatarUrl
: 'https://static.tbmall.xin/static/mine/avatar.png'
"
shape="circle"
width="54"
height="54"
bgColor="#f1f6ff00"
></up-image>
<up-image :src="currentUserData.avatarUrl
? currentUserData.avatarUrl
: 'https://static.tbmall.xin/static/mine/avatar.png'
" shape="circle" width="54" height="54" bgColor="#f1f6ff00"></up-image>
<view class="mine_info">
<view class="mine_info_name">
<text style="margin-right: 20rpx">{{
currentUserData.nickname || "信任桥用户"
}}</text>
<view class="level" @click="jumpToTrustBridge" v-if="currentUserData.grade">
<up-image
src="https://static.tbmall.xin/static/mine/rz.png"
style="margin-right: 8rpx; margin-top: 6rpx"
shape="circle"
width="12"
height="12"
bgColor="#f1f6ff00"
></up-image>
<view>星级用户</view>
<!-- <view>{{ currentUserData.gradeName }}</view> -->
<view class="level level-grade" @click="jumpToTrustBridge" v-if="currentUserData.agentName">
<up-image src="https://static.tbmall.xin/static/mine/rz.png"
style="margin-right: 8rpx; margin-top: 6rpx" shape="circle" width="13" height="13"
bgColor="#f1f6ff00"></up-image>
<view>{{ currentUserData.agentName }}</view>
</view>
<view :class="['level', currentUserData.grade? 'level-name' : 'level-grade']" v-if="!currentUserData.agentName && currentUserData.gradeName">
<view style="display: flex; align-items: center;">
<up-image :src="currentUserData.grade? '/static/common/level.png' : 'https://static.tbmall.xin/static/mine/rz.png'" style="margin-right: 8rpx; margin-top: 6rpx" shape="circle"
width="14" height="14" bgColor="#f1f6ff00"></up-image>
<view>{{ currentUserData.gradeName }}</view>
</view>
</view>
<!-- <view class="grade_warp" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
<up-image
:src="
@@ -51,47 +45,26 @@
</view> -->
</view>
<view class="mine_info_id">
<text style="margin-right: 20rpx"
>邀请码:{{ currentUserData.inviteCode }}</text
>
<up-image
src="/static/common/copy.png"
width="14"
height="14"
bgColor="#f1f6ff00"
@click="copyData(currentUserData.inviteCode)"
></up-image>
<text style="margin-right: 20rpx">邀请码:{{ currentUserData.inviteCode }}</text>
<up-image src="/static/common/copy.png" width="14" height="14" bgColor="#f1f6ff00"
@click="copyData(currentUserData.inviteCode)"></up-image>
</view>
</view>
</view>
<view @click="jumpSetting">
<up-image
src="https://static.tbmall.xin/static/mine/icon_arrow_black_off.png"
width="22"
height="22"
bgColor="#f1f6ff00"
></up-image>
<up-image src="https://static.tbmall.xin/static/mine/icon_arrow_black_off.png" width="22" height="22"
bgColor="#f1f6ff00"></up-image>
</view>
</view>
<view class="mine_no_login_data" v-else>
<view class="mine_data">
<up-image
src="https://static.tbmall.xin/static/avater_not.png"
shape="circle"
width="80"
height="80"
bgColor="#f1f6ff00"
></up-image>
<up-image src="https://static.tbmall.xin/static/avater_not.png" shape="circle" width="80" height="80"
bgColor="#f1f6ff00"></up-image>
<view class="mine_info_not_login">未登录</view>
</view>
<view @click="jumpLogin" class="login_warp">
<text style="margin-right: 10rpx">立即登录</text>
<up-image
src="/static/common/right_y_st.png"
width="18"
height="18"
bgColor="#f1f6ff00"
></up-image>
<up-image src="/static/common/right_y_st.png" width="18" height="18" bgColor="#f1f6ff00"></up-image>
</view>
</view>
</view>
@@ -101,56 +74,25 @@
<view class="mine_order_title">
<view>我的订单</view>
<view class="mine_order_title_all" @click="jumpOrder({})">
<view
style="margin-right: 10rpx; font-size: 28rpx; font-weight: normal"
>全部</view
>
<up-image
style="margin-top: 10rpx"
src="/static/common/right.png"
width="15"
height="15"
bgColor="#f1f6ff00"
></up-image>
<view style="margin-right: 10rpx; font-size: 28rpx; font-weight: normal">全部</view>
<up-image style="margin-top: 10rpx" src="/static/common/right.png" width="15" height="15"
bgColor="#f1f6ff00"></up-image>
</view>
</view>
<view class="mine_order_list">
<view
class="mine_fontsize_comm_warp order_list_item"
v-for="item in orderTemplList"
:key="item.id"
@click="jumpOrder(item)"
>
<up-image
:src="item.url"
width="28"
height="28"
bgColor="#f1f6ff00"
></up-image>
<view class="mine_fontsize_comm_warp order_list_item" v-for="item in orderTemplList" :key="item.id"
@click="jumpOrder(item)">
<up-image :src="item.url" width="28" height="28" bgColor="#f1f6ff00"></up-image>
<view>{{ item.title }}</view>
<up-badge
:absolute="true"
:offset="[0, 8]"
max="99"
:value="statisticsObj[item.note]"
></up-badge>
<up-badge :absolute="true" :offset="[0, 8]" max="99" :value="statisticsObj[item.note]"></up-badge>
</view>
</view>
</view>
<!-- 应用 -->
<view class="mine_content_comm_warp mine_top_comm_warp apply_list">
<view
class="apply_item mine_fontsize_comm_warp"
v-for="item in applyList"
:key="item.id"
@click="jumpTool(item)"
>
<up-image
:src="item.url"
width="36"
height="36"
bgColor="#f1f6ff00"
></up-image>
<view class="apply_item mine_fontsize_comm_warp" v-for="item in applyList" :key="item.id"
@click="jumpTool(item)">
<up-image :src="item.url" width="36" height="36" bgColor="#f1f6ff00"></up-image>
<view>{{ item.title }}</view>
</view>
</view>
@@ -219,18 +161,8 @@
<view class="mine_content_comm_warp mine_top_comm_warp mine_tool_warp">
<view class="mine_tool_title">服务工具</view>
<view class="tool_list">
<view
class="tool_item"
v-for="item in toolList"
:key="item.id"
@click="jumpTool(item)"
>
<up-image
:src="item.url"
width="28"
height="28"
bgColor="#f1f6ff00"
></up-image>
<view class="tool_item" v-for="item in toolList" :key="item.id" @click="jumpTool(item)">
<up-image :src="item.url" width="28" height="28" bgColor="#f1f6ff00"></up-image>
<text class="mine_fontsize_comm_warp">{{ item.title }}</text>
</view>
</view>
@@ -243,12 +175,7 @@
<up-modal :show="brandShow" :showConfirmButton="false">
<view class="slot-content">
<view class="close_warp" @click="brandShow = false">
<up-image
src="/static/common/close.png"
width="20"
height="20"
bgColor="#f1f6ff00"
></up-image>
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
</view>
<view class="content_">
<view class="content_1">企业入驻</view>
@@ -256,11 +183,7 @@
<view class="content_3">{{ CUSTOMER_SERVICE_PHONE_NUMBER }}</view>
</view>
<view class="but_">
<view
class="but_copy"
@click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)"
>复制号码</view
>
<view class="but_copy" @click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)">复制号码</view>
<view class="but_close" @click="brandShow = false">取消</view>
</view>
</view>
@@ -269,23 +192,14 @@
<up-modal :show="serviceShow" :showConfirmButton="false">
<view class="slot-content">
<view class="close_warp" @click="serviceShow = false">
<up-image
src="/static/common/close.png"
width="20"
height="20"
bgColor="#f1f6ff00"
></up-image>
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
</view>
<view class="content_">
<view class="content_1">联系客服</view>
<view class="content_3">{{ CUSTOMER_SERVICE_PHONE_NUMBER }}</view>
</view>
<view class="but_">
<view
class="but_copy"
@click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)"
>复制号码</view
>
<view class="but_copy" @click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)">复制号码</view>
<view class="but_close" @click="serviceShow = false">取消</view>
</view>
</view>
@@ -294,12 +208,7 @@
<up-modal :show="openShow" :showConfirmButton="false">
<view class="slot-content">
<view class="close_warp" @click="openShow = false">
<up-image
src="/static/common/close.png"
width="20"
height="20"
bgColor="#f1f6ff00"
></up-image>
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
</view>
<view class="content_">
<view class="content_1">温馨提示</view>
@@ -516,7 +425,7 @@ export default {
this.getUserInfo();
},
mounted() {},
mounted() { },
methods: {
copyData,
// 查询用户等级
@@ -525,7 +434,7 @@ export default {
if (result && result.bizcode === 100) {
const data = result.data;
this.currentUserData = result.data || {};
if(!this.currentUserData?.isNewUser){
if (!this.currentUserData?.isNewUser) {
this.applyList = this.applyList.filter((item) => item.id !== 5);
}
}
@@ -653,8 +562,10 @@ export default {
overflow: auto;
position: relative;
background-color: $app-bj;
&.iosplatformType {
height: 100vh;
.mine_content_warp {
padding-bottom: 100rpx !important;
}
@@ -663,14 +574,12 @@ export default {
.mine_header {
// height: 300rpx;
background: linear-gradient(
180deg,
#f2ebff 0%,
rgba(245, 245, 247, 0) 100%,
#ffffff 100%
);
background: linear-gradient(180deg,
#f2ebff 0%,
rgba(245, 245, 247, 0) 100%,
#ffffff 100%);
/* 将图片居中显示 */
padding: 90rpx 40rpx 0;
padding: 90rpx 20rpx 0;
.mine_login_data {
display: flex;
@@ -722,19 +631,32 @@ export default {
display: flex;
justify-content: start;
align-items: center;
.grade_warp {
position: relative;
}
.level {
background: rgba(122, 53, 246, 0.1);
border-radius: 8rpx;
display: flex;
justify-content: center;
align-items: center;
padding: 2rpx 16rpx;
color: #7a35f6;
padding: 0rpx 16rpx;
font-size: 24rpx;
height: 44rpx;
&.level-name {
background: rgba(248, 185, 75, 0.15);
color: #613700;
margin-left: 10rpx;
}
&.level-grade {
background: rgba(122, 53, 246, 0.1);
color: #7a35f6;
}
}
.grade_key_warp {
position: absolute;
top: 0rpx;
@@ -20,7 +20,7 @@
<text class="text-32 text-fu" style="margin:54rpx 0 32rpx">行权金额
<text class="text-zi" @click="jumpSettingPwd">《共享计划终止协议》</text>
</text>
<view class="input-box" style="marign-top:32rpx">
<view class="input-box" style="margin-top:32rpx">
<input style="flex:1"
placeholder="请输入行权金额(最低1TBC)"
placeholder-style="color:#999;font-weight:400;"
@@ -31,7 +31,7 @@
<text class="text-28 text-fu" style="margin-top:28rpx">余额 {{money}} TBC</text>
<text class="text-32 text-fu" style="margin:54rpx 0 32rpx">支付密码</text>
<view class="input-box" style="marign-top:32rpx;margin-bottom:32rpx" >
<view class="input-box" style="margin-top:32rpx;margin-bottom:32rpx" >
<input style="flex:1"
:type="isEve ? 'text' : 'password'"
placeholder="请输入支付密码"
@@ -42,8 +42,8 @@
<image @click="onIsSys" :src="`https://static.tbmall.xin/static/new/eye_${isEve}.png`" class="right-img"></image>
</view>
<text class="text-32 text-fu" style="marign-top:32rpx;margin-bottom:32rpx">备注:</text>
<view class="input-box" style="marign-top:32rpx">
<text class="text-32 text-fu" style="margin-top:32rpx;margin-bottom:32rpx">备注:</text>
<view class="input-box" style="margin-top:32rpx">
<input style="flex:1"
placeholder="请输入备注"
placeholder-style="color:#999;font-weight:400;"
Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

+6 -5
View File
@@ -1,18 +1,19 @@
// export const BASE_URL="https://frontend.jdns360.com/api"; // 正式环境
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
// export const BASE_URL = "https://api.tbmall.xin"; //生产
// export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
export const BASE_URL = "https://api.tbmall.xin"; //生产
export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
//
export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
export const SHARE_URL = 'https://h.tbmall.xin';
export const PRIVACY_EN = "https://www.finecc.net/?Privacy-Agreement/";//隐私协议地址(英文版)
export const PRIVACY_CN = "https://www.finecc.net/?Privac |y/";//隐私协议地址(中文版)
export const PRIVACY_CN = "https://www.finecc.net/?Privac |y/";//隐私协议地址(中文版)x
export const USER_EN = "https://www.finecc.net/?FAQ/3421.html";//用户协议(英文版)
export const USER_CN = "https://www.finecc.net/?wenti/3422.html";//用户协议(中文版)