会员个人中心页面初步完成

This commit is contained in:
时舟年
2026-06-04 14:18:53 +08:00
committed by liwentao
parent c19e0e0181
commit f30514c700
170 changed files with 18092 additions and 35 deletions
@@ -0,0 +1,28 @@
import { backToMemberCenter } from '../constants/routes.js'
/** 状态栏时间(Pixso 顶栏占位) */
export const statusBarTimeMixin = {
data() {
return {
statusBarTime: '9:41'
}
},
onLoad() {
this.updateStatusBarTime()
},
methods: {
updateStatusBarTime() {
const now = new Date()
this.statusBarTime = `${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}`
}
}
}
/** 子页面返回个人中心 tab */
export const subPageMixin = {
methods: {
goBack() {
backToMemberCenter()
}
}
}