feat: 修改我的页面icon图标
@@ -3,41 +3,54 @@
|
||||
<view class="mine_header">
|
||||
<view class="mine_login_data" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||
<view class="mine_data">
|
||||
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/logo_y.png" shape="circle" width="80"
|
||||
height="80" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/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.name || '信任桥用户' }}</text>
|
||||
<view class="grade_warp" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||
<text style="margin-right: 20rpx">{{ currentUserData.name || '信任桥用户' }}</text>
|
||||
<view class="level">
|
||||
<up-image
|
||||
:src="currentUserData.gradeLevel || currentUserData.gradeLevel === 0 ? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/grade/V' + currentUserData.gradeLevel + '.png' : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/grade/V0.png'"
|
||||
width="96" height="26" bgColor="#f1f6ff00"></up-image>
|
||||
<view
|
||||
:class="currentUserData.gradeName.length > 3 ? 'grade_key_warp grade_key_warp3' : 'grade_key_warp grade_key_warp1'">
|
||||
{{ currentUserData.gradeName }}</view>
|
||||
src="/static/mine/rz.png"
|
||||
style="margin-right: 8rpx; margin-top: 6rpx"
|
||||
shape="circle"
|
||||
width="12"
|
||||
height="12"
|
||||
bgColor="#f1f6ff00"
|
||||
></up-image>
|
||||
<view>{{ currentUserData.gradeName }}</view>
|
||||
</view>
|
||||
<!-- <view class="grade_warp" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||
<up-image
|
||||
:src="
|
||||
currentUserData.gradeLevel || currentUserData.gradeLevel === 0
|
||||
? 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/grade/V' + currentUserData.gradeLevel + '.png'
|
||||
: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/grade/V0.png'
|
||||
"
|
||||
width="96"
|
||||
height="26"
|
||||
bgColor="#f1f6ff00"
|
||||
></up-image>
|
||||
<view :class="currentUserData.gradeName.length > 3 ? 'grade_key_warp grade_key_warp3' : 'grade_key_warp grade_key_warp1'">
|
||||
{{ currentUserData.gradeName }}
|
||||
</view>
|
||||
</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="/static/common/setting.png" width="22" height="22" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/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://cex-pub.s3.ap-southeast-1.amazonaws.com/static/avater_not.png" shape="circle"
|
||||
width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="mine_info_not_login">
|
||||
未登录
|
||||
</view>
|
||||
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/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>
|
||||
<text style="margin-right: 10rpx">立即登录</text>
|
||||
<up-image src="/static/common/right_y_st.png" width="18" height="18" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -48,14 +61,13 @@
|
||||
<view class="mine_order_title">
|
||||
<view>我的订单</view>
|
||||
<view class="mine_order_title_all" @click="jumpOrder({})">
|
||||
<view style="margin-right: 10rpx;">全部</view>
|
||||
<up-image src="/static/common/right.png" width="14" height="14" 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="30" height="30" 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>
|
||||
</view>
|
||||
@@ -63,8 +75,7 @@
|
||||
</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)">
|
||||
<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>
|
||||
@@ -75,8 +86,7 @@
|
||||
<view class="settled_list">
|
||||
<view class="enter_item" @click="jumpEnter('merchant')">
|
||||
<view class="enter_item_cell">
|
||||
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/enter_sj.png" width="36" height="36"
|
||||
bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/static/mine/enter_sj.png" width="36" height="36" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="enter_item_text">
|
||||
<view class="enter_title">商家入驻</view>
|
||||
<view class="enter_remark">获取更多客户与订单机会</view>
|
||||
@@ -84,17 +94,15 @@
|
||||
</view>
|
||||
<view class="enter_apply">
|
||||
<text class="enter_apply_title">申请</text>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<view style="margin-top: 10rpx">
|
||||
<up-image src="/static/common/right.png" width="14" height="14" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="enter_item" @click="jumpEnter('brand')">
|
||||
<view class="enter_item_cell">
|
||||
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/enter_pp.png" width="36" height="36"
|
||||
bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/static/mine/enter_pp.png" width="36" height="36" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="enter_item_text">
|
||||
<view class="enter_title">企业/品牌入驻</view>
|
||||
<view class="enter_remark">助您打造专属品牌馆</view>
|
||||
@@ -103,7 +111,7 @@
|
||||
|
||||
<view class="enter_apply">
|
||||
<text class="enter_apply_title">申请</text>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<view style="margin-top: 10rpx">
|
||||
<up-image src="/static/common/right.png" width="14" height="14" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -116,7 +124,7 @@
|
||||
<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="30" height="30" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image :src="item.url" width="28" height="28" bgColor="#f1f6ff00"></up-image>
|
||||
<text class="mine_fontsize_comm_warp">{{ item.title }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -128,7 +136,7 @@
|
||||
<!-- 品牌入驻弹框 -->
|
||||
<up-modal :show="brandShow" :showConfirmButton="false">
|
||||
<view class="slot-content">
|
||||
<view class="close_warp" @click="brandShow = false;">
|
||||
<view class="close_warp" @click="brandShow = false">
|
||||
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="content_">
|
||||
@@ -138,14 +146,14 @@
|
||||
</view>
|
||||
<view class="but_">
|
||||
<view class="but_copy" @click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)">复制号码</view>
|
||||
<view class="but_close" @click="brandShow = false;">取消</view>
|
||||
<view class="but_close" @click="brandShow = false">取消</view>
|
||||
</view>
|
||||
</view>
|
||||
</up-modal>
|
||||
<!-- 我的客服 -->
|
||||
<up-modal :show="serviceShow" :showConfirmButton="false">
|
||||
<view class="slot-content">
|
||||
<view class="close_warp" @click="serviceShow = false;">
|
||||
<view class="close_warp" @click="serviceShow = false">
|
||||
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="content_">
|
||||
@@ -154,14 +162,14 @@
|
||||
</view>
|
||||
<view class="but_">
|
||||
<view class="but_copy" @click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)">复制号码</view>
|
||||
<view class="but_close" @click="serviceShow = false;">取消</view>
|
||||
<view class="but_close" @click="serviceShow = false">取消</view>
|
||||
</view>
|
||||
</view>
|
||||
</up-modal>
|
||||
<!-- 暂未开放 -->
|
||||
<up-modal :show="openShow" :showConfirmButton="false">
|
||||
<view class="slot-content">
|
||||
<view class="close_warp" @click="openShow = false;">
|
||||
<view class="close_warp" @click="openShow = false">
|
||||
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="content_">
|
||||
@@ -169,7 +177,7 @@
|
||||
<view class="content_2">暂未开放</view>
|
||||
</view>
|
||||
<view class="but_">
|
||||
<view class="but_copy" @click="openShow = false;">确定</view>
|
||||
<view class="but_copy" @click="openShow = false">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
</up-modal>
|
||||
@@ -177,7 +185,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getStorageFun, USER_DATA, clear } from '@/utils/auth.js'
|
||||
import { getStorageFun, USER_DATA, clear } from '@/utils/auth.js';
|
||||
import { ORDER_TYPE, MINE_ORDER_TYPE } from '@/utils/enumUtils.js';
|
||||
import { copyData } from '@/utils/index.js';
|
||||
import CustomTabBar from '@/components/custom-tab-bar.vue';
|
||||
@@ -189,64 +197,68 @@ export default {
|
||||
computed: {
|
||||
CUSTOMER_SERVICE_PHONE_NUMBER() {
|
||||
return CUSTOMER_SERVICE_PHONE_NUMBER;
|
||||
},
|
||||
}
|
||||
},
|
||||
components: { CustomTabBar },
|
||||
data() {
|
||||
return {
|
||||
userData: {},// 当前登录对象
|
||||
currentUserData: {},// 当前登录对象
|
||||
userData: {}, // 当前登录对象
|
||||
currentUserData: {}, // 当前登录对象
|
||||
orderTemplList: [
|
||||
{
|
||||
id: ORDER_TYPE.UNPAID,
|
||||
title: "待支付",
|
||||
title: '待支付',
|
||||
url: '/static/mine/order_unpaid.png',
|
||||
path: "/pages/mine_package/mine_order/mine_order?type=" + MINE_ORDER_TYPE.UNPAID,
|
||||
note: "unPayNum",
|
||||
}, {
|
||||
id: ORDER_TYPE.UNSHIPPED,
|
||||
title: "待发货",
|
||||
url: '/static/mine/order_unshipped.png',
|
||||
path: "/pages/mine_package/mine_order/mine_order?type=" + MINE_ORDER_TYPE.UNSHIPPED,
|
||||
note: "unSentNum",
|
||||
}, {
|
||||
id: ORDER_TYPE.NOT_RECEIVE,
|
||||
title: "待收货",
|
||||
url: '/static/mine/order_notReceive.png',
|
||||
path: "/pages/mine_package/mine_order/mine_order?type=" + MINE_ORDER_TYPE.NOT_RECEIVE,
|
||||
note: "unTakeNum",
|
||||
}, {
|
||||
id: ORDER_TYPE.SUCCEED,
|
||||
title: "已完成",
|
||||
url: '/static/mine/order_afterSale.png',
|
||||
path: "/pages/mine_package/mine_order/mine_order?type=" + MINE_ORDER_TYPE.SUCCEED,
|
||||
note: "unCommentNum",
|
||||
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.UNPAID,
|
||||
note: 'unPayNum'
|
||||
},
|
||||
{
|
||||
id: ORDER_TYPE.UNSHIPPED,
|
||||
title: '待发货',
|
||||
url: '/static/mine/order_unshipped.png',
|
||||
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.UNSHIPPED,
|
||||
note: 'unSentNum'
|
||||
},
|
||||
{
|
||||
id: ORDER_TYPE.NOT_RECEIVE,
|
||||
title: '待收货',
|
||||
url: '/static/mine/order_notReceive.png',
|
||||
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.NOT_RECEIVE,
|
||||
note: 'unTakeNum'
|
||||
},
|
||||
{
|
||||
id: ORDER_TYPE.SUCCEED,
|
||||
title: '已完成',
|
||||
url: '/static/mine/order_afterSale.png',
|
||||
path: '/pages/mine_package/mine_order/mine_order?type=' + MINE_ORDER_TYPE.SUCCEED,
|
||||
note: 'unCommentNum'
|
||||
}
|
||||
],
|
||||
applyList: [
|
||||
{
|
||||
id: 1,
|
||||
title: "钱包",
|
||||
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/apply_purse.png',
|
||||
path: "/pages/mine_package/mine_purse/mine_purse"
|
||||
}, {
|
||||
title: '钱包',
|
||||
url: '/static/mine/apply_purse.png',
|
||||
path: '/pages/mine_package/mine_purse/mine_purse'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "抽奖",
|
||||
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/apply_prize.png',
|
||||
path: "/pages/other_package/nine-grid/nine-grid"
|
||||
title: '抽奖',
|
||||
url: '/static/mine/apply_prize.png',
|
||||
path: '/pages/other_package/nine-grid/nine-grid'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "我的推广",
|
||||
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/tool_team.png',
|
||||
path: "/pages/mine_package/mine_my_team/mine_my_team"
|
||||
title: '我的推广',
|
||||
url: '/static/mine/tool_team.png',
|
||||
path: '/pages/mine_package/mine_my_team/mine_my_team'
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
title: "加速次数",
|
||||
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/tool_js.png',
|
||||
path: "/pages/rwa_package/dongjian/jia"
|
||||
},
|
||||
title: '加速次数',
|
||||
url: '/static/mine/tool_js.png',
|
||||
path: '/pages/rwa_package/dongjian/jia'
|
||||
}
|
||||
// {
|
||||
// id: 3,
|
||||
// title: "交易",
|
||||
@@ -261,27 +273,28 @@ export default {
|
||||
// title:"数据",
|
||||
// url:'/static/mine/apply_sj.png'
|
||||
// },
|
||||
],// 应用模版
|
||||
], // 应用模版
|
||||
toolList: [
|
||||
{
|
||||
id: 5,
|
||||
title: "地址管理",
|
||||
title: '地址管理',
|
||||
url: '/static/mine/tool_dz.png',
|
||||
path: '/pages/mine_package/mine_address/mine_address'
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
title: "实名认证",
|
||||
url: '/static/mine/tool_sm.png',
|
||||
title: '实名认证',
|
||||
url: '/static/mine/tool_sm.png'
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
title: "银行卡管理",
|
||||
title: '银行卡管理',
|
||||
url: '/static/mine/tool_card.png',
|
||||
path: '/pages/mine_package/mine_bank_card/mine_bank_card'
|
||||
}, {
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "邀请好友",
|
||||
title: '邀请好友',
|
||||
url: '/static/mine/tool_invite.png',
|
||||
path: '/pages/other_package/invite_friends/invite_friends'
|
||||
},
|
||||
@@ -299,8 +312,8 @@ export default {
|
||||
// },
|
||||
{
|
||||
id: 7,
|
||||
title: "联系客服",
|
||||
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/tool_kf.png'
|
||||
title: '联系客服',
|
||||
url: '/static/mine/xlkf.png'
|
||||
},
|
||||
// {
|
||||
// id:4,
|
||||
@@ -310,51 +323,51 @@ export default {
|
||||
// },
|
||||
{
|
||||
id: 8,
|
||||
title: "商学院资讯",
|
||||
title: '商学院资讯',
|
||||
url: '/static/mine/tool_sxy.png',
|
||||
path: "/pages/login_package/news/news"
|
||||
path: '/pages/login_package/news/news'
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
title: "财务",
|
||||
title: '财务',
|
||||
url: '/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/tool_hxjy.png',
|
||||
path: "/pages/rwa_package/rwa/rwa",
|
||||
path: '/pages/rwa_package/dongjian/finance'
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
title: '股东行权',
|
||||
url: '/static/mine/tool_gdxq.png',
|
||||
path: '/pages/rwa_package/rwa/rwa'
|
||||
}
|
||||
// {
|
||||
// id:1,
|
||||
// title:"IM聊天",
|
||||
// url:'/static/mine/tool_im.png'
|
||||
// },
|
||||
],// 工具
|
||||
brandShow: false,// 品牌入驻弹框
|
||||
], // 工具
|
||||
brandShow: false, // 品牌入驻弹框
|
||||
statisticsObj: {
|
||||
unPayNum: 0,//待支付数量
|
||||
unSentNum: 0,//待发货数量
|
||||
unTakeNum: 0,//待收货数量
|
||||
unCommentNum: 0,//待评价数量
|
||||
},// 角标统计
|
||||
serviceShow: false,// 我的客服弹框
|
||||
openShow: false,// 暂未开放
|
||||
}
|
||||
unPayNum: 0, //待支付数量
|
||||
unSentNum: 0, //待发货数量
|
||||
unTakeNum: 0, //待收货数量
|
||||
unCommentNum: 0 //待评价数量
|
||||
}, // 角标统计
|
||||
serviceShow: false, // 我的客服弹框
|
||||
openShow: false // 暂未开放
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
this.userData = getStorageFun(USER_DATA);
|
||||
/*#ifdef APP-PLUS*/
|
||||
uni.hideTabBar({
|
||||
animation: false
|
||||
})
|
||||
});
|
||||
/*#endif*/
|
||||
this.getStatistics();
|
||||
|
||||
this.getUserInfo();
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
copyData,
|
||||
// 查询用户等级
|
||||
@@ -373,47 +386,48 @@ export default {
|
||||
// 客服
|
||||
if (item.id === 7) {
|
||||
this.serviceShow = true;
|
||||
} else if (item.id === 9) {// 实名认证
|
||||
} else if (item.id === 9) {
|
||||
// 实名认证
|
||||
const currentUserData = this.currentUserData;
|
||||
console.log('currentUserData',this.currentUserData)
|
||||
let path = "/pages/mine_package/mine_authentication/mine_authentication"
|
||||
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"
|
||||
// }
|
||||
uni.navigateTo({
|
||||
url: path,
|
||||
})
|
||||
url: path
|
||||
});
|
||||
} else if (item.path) {
|
||||
uni.navigateTo({
|
||||
url: item.path,
|
||||
})
|
||||
url: item.path
|
||||
});
|
||||
} else {
|
||||
this.openShow = true;
|
||||
}
|
||||
},
|
||||
jumpOrder(item) {
|
||||
let path = '/pages/mine_package/mine_order/mine_order'
|
||||
let path = '/pages/mine_package/mine_order/mine_order';
|
||||
if (item && Object.keys(item).length !== 0) {
|
||||
path = item.path;
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: path,
|
||||
})
|
||||
url: path
|
||||
});
|
||||
},
|
||||
jumpLogin() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/login_package/login/login',
|
||||
})
|
||||
url: '/pages/login_package/login/login'
|
||||
});
|
||||
},
|
||||
// 跳转到入驻页面
|
||||
jumpEnter(type) {
|
||||
// 商家入驻
|
||||
if (type === "merchant") {
|
||||
if (type === 'merchant') {
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/rwa_package/merchant_settlement/merchant_settlement.vue',
|
||||
// })
|
||||
this.openShow = true;
|
||||
} else if (type === "brand") {
|
||||
} else if (type === 'brand') {
|
||||
// 企业/品牌入驻
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/brand_settlement/brand_settlement',
|
||||
@@ -432,33 +446,32 @@ export default {
|
||||
if (result && result.bizcode === 100 && result.data) {
|
||||
this.statisticsObj = {
|
||||
...result.data,
|
||||
unCommentNum: 0,//待评价数量
|
||||
unCommentNum: 0 //待评价数量
|
||||
};
|
||||
} else {
|
||||
this.statisticsObj = {
|
||||
unPayNum: 0,//待支付数量
|
||||
unSentNum: 0,//待发货数量
|
||||
unTakeNum: 0,//待收货数量
|
||||
unCommentNum: 0,//待评价数量
|
||||
unPayNum: 0, //待支付数量
|
||||
unSentNum: 0, //待发货数量
|
||||
unTakeNum: 0, //待收货数量
|
||||
unCommentNum: 0 //待评价数量
|
||||
};
|
||||
}
|
||||
},
|
||||
jumpSetting() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/rwa_package/setting/setting'
|
||||
})
|
||||
});
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.statisticsObj = {
|
||||
unPayNum: 0,//待支付数量
|
||||
unSentNum: 0,//待发货数量
|
||||
unTakeNum: 0,//待收货数量
|
||||
unCommentNum: 0,//待评价数量
|
||||
};// 角标统计
|
||||
},
|
||||
|
||||
}
|
||||
unPayNum: 0, //待支付数量
|
||||
unSentNum: 0, //待发货数量
|
||||
unTakeNum: 0, //待收货数量
|
||||
unCommentNum: 0 //待评价数量
|
||||
}; // 角标统计
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@@ -471,9 +484,7 @@ export default {
|
||||
|
||||
.mine_header {
|
||||
height: 300rpx;
|
||||
background-image: url("https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/resultmine.png");
|
||||
background-size: 100% 100%;
|
||||
background-position: center;
|
||||
background: linear-gradient(180deg, #f2ebff 0%, rgba(245, 245, 247, 0) 100%, #ffffff 100%);
|
||||
/* 将图片居中显示 */
|
||||
padding: 90rpx 40rpx 0;
|
||||
|
||||
@@ -492,7 +503,6 @@ export default {
|
||||
left: 4%;
|
||||
}
|
||||
|
||||
|
||||
.mine_no_login_data {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -524,20 +534,30 @@ export default {
|
||||
|
||||
.mine_info_name {
|
||||
font-weight: bold;
|
||||
font-size: 36rpx;
|
||||
font-size: 40rpx;
|
||||
color: #111111;
|
||||
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;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.grade_key_warp {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 30%;
|
||||
font-size: 24rpx;
|
||||
color: #FFFFFF;
|
||||
color: #ffffff;
|
||||
width: 100rpx;
|
||||
height: 44rpx;
|
||||
line-height: 50rpx;
|
||||
@@ -564,8 +584,8 @@ export default {
|
||||
|
||||
/* 内容公共 start */
|
||||
.mine_content_comm_warp {
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 0rpx 10rpx 0rpx #EEEEEE;
|
||||
background: #ffffff;
|
||||
box-shadow: 0rpx 0rpx 10rpx 0rpx #eeeeee;
|
||||
border-radius: 30rpx;
|
||||
padding: 30rpx;
|
||||
}
|
||||
@@ -605,7 +625,6 @@ export default {
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -618,20 +637,22 @@ export default {
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.mine_order_title_all {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20rpx;
|
||||
color: #BBBBBB;
|
||||
color: #bbbbbb;
|
||||
}
|
||||
|
||||
.mine_order_list {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 40rpx 0 30rpx 0;
|
||||
margin: 40rpx 0 10rpx 0;
|
||||
}
|
||||
|
||||
.order_list_item {
|
||||
@@ -643,7 +664,6 @@ export default {
|
||||
.apply_list {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
}
|
||||
|
||||
.apply_item {
|
||||
@@ -658,7 +678,7 @@ export default {
|
||||
|
||||
.enter_item {
|
||||
width: 40%;
|
||||
background: #FFFFFF;
|
||||
background: #ffffff;
|
||||
border-radius: 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 708 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 764 B |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 766 B |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 969 B |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 905 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |