新增欢迎首页

This commit is contained in:
gyq
2026-04-01 10:39:24 +08:00
parent f648a7ea5e
commit c87c999d42
10 changed files with 194 additions and 55 deletions

View File

@@ -74,12 +74,19 @@ const accountList = reactive([
{ username: "19107220837", type: 'danger', label: '快乐时光店铺' },
// { username: "18199991111", type: 'success', label: '草莓加盟主店可直接管理' },
{ username: "18821670757", type: 'success', label: '高歌的小店' },
{ username: "18821670757", staffUserName: '18821670758', type: 'primary', label: '高歌的小店的员工-张三' },
{ username: "191123456", type: 'primary', label: '酸橘子' },
]);
// 快捷模拟登录
function accountHandle(item) {
state.loginForm.username = item.username;
if (item.staffUserName) {
state.loginForm.loginType = 1
state.loginForm.staffUserName = item.staffUserName
} else {
state.loginForm.loginType = 0
}
state.loginForm.code = 666666
const d = new Date();
state.loginForm.password = `czg${d.getHours().toString().padStart(2, '0')}${d.getMinutes().toString().padStart(2, '0')}`;