Commit 4c93e4bd by yuzhenWang

Merge branch 'feature-20250609-优化cffp' into 'uat'

Feature 20250609 优化cffp

See merge request !33
parents 4e639117 f0fb19d5
...@@ -115,7 +115,6 @@ ...@@ -115,7 +115,6 @@
} }
this.loginType='visitor' this.loginType='visitor'
this.initForm() this.initForm()
uni.removeTabBarBadge({ index: 3 });
// 获取跳转来源(通过路由参数) // 获取跳转来源(通过路由参数)
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
......
...@@ -228,6 +228,8 @@ ...@@ -228,6 +228,8 @@
} }
if(loginType == 'codelogin'){ if(loginType == 'codelogin'){
this.querySystemMessage() this.querySystemMessage()
}else {
uni.removeTabBarBadge({ index: 3 });
} }
this.queryAreaCenterInfo(); this.queryAreaCenterInfo();
} else { } else {
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
<view <view
class="avatar" class="avatar"
:style="{backgroundImage: 'url(' + (customerBasicInfo.headPicture || companyLogo) + ')'}" :style="{backgroundImage: 'url(' + (customerBasicInfo.headPicture || companyLogo) + ')'}"
>
<!-- <image :src="customerBasicInfo.headPicture?customerBasicInfo.headPicture:companyLogo" alt="" mode="widthFix" ></image> -->
</view> </view>
<view class="headerInfo"> <view class="headerInfo">
<view class="headerTop"> <view class="headerTop">
...@@ -230,7 +228,6 @@ ...@@ -230,7 +228,6 @@
}, },
onShow() { onShow() {
this.loginType = uni.getStorageSync('loginType') this.loginType = uni.getStorageSync('loginType')
console.log('this.loginType',this.loginType);
if(this.companyType == '1'){ if(this.companyType == '1'){
this.companyLogo='../../static/myteam/Group1633.png'; this.companyLogo='../../static/myteam/Group1633.png';
}else if(this.companyType == '2'){ }else if(this.companyType == '2'){
...@@ -246,6 +243,9 @@ ...@@ -246,6 +243,9 @@
if(this.loginType == 'codelogin'){ if(this.loginType == 'codelogin'){
this.querySystemMessage() this.querySystemMessage()
this.queryInfo(); this.queryInfo();
}else {
this.msgTotal = 0
this.customerBasicInfo = {}
} }
uni.$on("handClick", res => { uni.$on("handClick", res => {
this.customerBasicInfo = res.data this.customerBasicInfo = res.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment