Commit 37b6bbff by cen

fix: 样式修复

1 parent 7092f5a8
...@@ -648,7 +648,6 @@ export default { ...@@ -648,7 +648,6 @@ export default {
} }
.card-item-progress-bar { .card-item-progress-bar {
min-width: 6%;
height: 100%; height: 100%;
background: linear-gradient(128.8deg, #75bcff 0%, #2c66f7 100%); background: linear-gradient(128.8deg, #75bcff 0%, #2c66f7 100%);
border-radius: toRpx(8); border-radius: toRpx(8);
......
...@@ -76,6 +76,7 @@ export default { ...@@ -76,6 +76,7 @@ export default {
hasPerson: false, hasPerson: false,
messageType: 'study', messageType: 'study',
sopCount: 0, sopCount: 0,
activityTabVisible: true
} }
}, },
watch: { watch: {
...@@ -163,7 +164,7 @@ export default { ...@@ -163,7 +164,7 @@ export default {
isTrack: true, isTrack: true,
name: 'ActivityCenter', name: 'ActivityCenter',
eventCode: 'app_activity_center', eventCode: 'app_activity_center',
hidden: false hidden: !this.activityTabVisible
} }
] ]
let { sceneType } = uni.$storage.get("userInfo") let { sceneType } = uni.$storage.get("userInfo")
...@@ -189,6 +190,7 @@ export default { ...@@ -189,6 +190,7 @@ export default {
// index = tabs.findIndex(e => e.name == 'StudyCenter') // index = tabs.findIndex(e => e.name == 'StudyCenter')
// this.changeIndex(index, this.tabs[index]) // this.changeIndex(index, this.tabs[index])
// }); // });
console.log('this.tabIndex', this.tabIndex)
this.getUnreadCount() this.getUnreadCount()
this.getStudyCenterPermission() this.getStudyCenterPermission()
this.getMessageInfo() this.getMessageInfo()
...@@ -305,9 +307,9 @@ export default { ...@@ -305,9 +307,9 @@ export default {
// uni.$storage.set('isSaleOpen', result) // uni.$storage.set('isSaleOpen', result)
if (result) { if (result) {
this.hasPerson = true this.hasPerson = true
this.tabs[4].hidden = false this.activityTabVisible = scene !== 7
}else { }else {
this.tabs[4].hidden = true this.activityTabVisible = false
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!