htc 2 дней назад
Родитель
Сommit
1615bfa628
2 измененных файлов с 4 добавлено и 0 удалено
  1. 1 0
      pages/my.vue
  2. 3 0
      pagesPublish/rechargeCenter.vue

+ 1 - 0
pages/my.vue

@@ -125,6 +125,7 @@
 					if(res.code!==0) return this.$showToast(res.msg)
 					this.headData = res.data;
 					this.$set(this.headData,'userBriefText',userBrief.find(u=>u.id==this.headData.userBrief).name||'普通用户')
+					if(this.headData&&this.headData.userBriefText&&this.headData.userBriefText=='校友') this.headData.userBriefText = '创衡校友'
 				})
 			},
 			handleLogin(){

+ 3 - 0
pagesPublish/rechargeCenter.vue

@@ -260,6 +260,7 @@
 					if(res.code!==0) return this.$showToast(res.msg)
 					this.headData = res.data;
 					this.$set(this.headData,'userBriefText',userBrief.find(u=>u.id==this.headData.userBrief).name||'普通用户')
+					if(this.headData&&this.headData.userBriefText&&this.headData.userBriefText=='校友') this.headData.userBriefText = '创衡校友'
 				})
 			},
 			changeTab(index){
@@ -402,6 +403,8 @@
 					color: #667E90;
 					line-height: 45rpx;
 					text-align: center;
+					//解决部分机型上切换tab时其他tab不可见问题
+					transform: translateZ(0);
 					&.active{
 						font-weight: bold;
 						color: #002846;