feat: 黄精粉前端功能集成 + 个人中心/资产/公排页面优化 + 去除admin copyright
主要改动: - 个人中心: 去除HjfMemberBadge徽章, 会员等级改显示vip_name, "我的资产"/"公排查询"导航项改为与member-points一致风格 - 我的资产页面: 去除HjfMemberBadge, 美化卡片圆角和阴影 - 公排查询页面: 美化顶部渐变和订单卡片样式 - Admin登录页和后台布局: 彻底删除footer copyright信息 - 新增黄精粉业务页面/组件/API/Mock数据(Phase 1) - 新增PHP环境配置文档和启动脚本 Made-with: Cursor
This commit is contained in:
@@ -108,9 +108,9 @@
|
||||
}
|
||||
},
|
||||
tabBarData(newVal){
|
||||
if(newVal){
|
||||
if (newVal && newVal.effectConfig && newVal.menuList && newVal.menuList.length) {
|
||||
let configData = newVal;
|
||||
if(this.isTabBar){
|
||||
if (this.isTabBar) {
|
||||
this.newData = configData;
|
||||
}
|
||||
this.showTabBar = configData.effectConfig.tabVal;
|
||||
@@ -120,6 +120,10 @@
|
||||
uni.showTabBar()
|
||||
}
|
||||
this.$emit('newDataStatus', configData.effectConfig.tabVal)
|
||||
} else {
|
||||
// 数据无效或为空时显示原生 tabBar
|
||||
this.showTabBar = false;
|
||||
uni.showTabBar();
|
||||
}
|
||||
}
|
||||
// 'newData.menuList'(newValue, oldValue) {
|
||||
@@ -155,7 +159,7 @@
|
||||
methods: {
|
||||
navigationInfo() {
|
||||
//判断渲染来源是一级菜单还是微页面
|
||||
if(this.isTabBar && this.tabBarData.effectConfig){
|
||||
if (this.isTabBar && this.tabBarData && this.tabBarData.effectConfig && this.tabBarData.menuList && this.tabBarData.menuList.length) {
|
||||
let configData = this.tabBarData;
|
||||
this.newData = configData;
|
||||
this.showTabBar = configData.effectConfig.tabVal;
|
||||
@@ -165,8 +169,11 @@
|
||||
uni.showTabBar()
|
||||
}
|
||||
this.$emit('newDataStatus', configData.effectConfig.tabVal)
|
||||
} else {
|
||||
// 无自定义底部菜单数据或接口未返回时,显示原生 tabBar
|
||||
this.showTabBar = false;
|
||||
uni.showTabBar();
|
||||
}
|
||||
|
||||
},
|
||||
goRouter(item) {
|
||||
var pages = getCurrentPages();
|
||||
|
||||
Reference in New Issue
Block a user