增加关于页版本更新记录
This commit is contained in:
@@ -1,22 +1,49 @@
|
||||
<template>
|
||||
<MobileShell title="关于">
|
||||
<div class="about-page">
|
||||
<section class="card brand-card">
|
||||
<img class="logo" :src="appIconUrl" alt="甲屿云" />
|
||||
<strong>甲屿云</strong>
|
||||
<span>专为美甲店店长设计的预约排班日历子系统</span>
|
||||
</section>
|
||||
<section class="card brand-card">
|
||||
<img class="logo" :src="appIconUrl" alt="甲屿云" />
|
||||
<strong>甲屿云</strong>
|
||||
<span>专为美甲店店长设计的预约排班日历子系统</span>
|
||||
</section>
|
||||
|
||||
<section class="card about-list section">
|
||||
<div class="row-between">
|
||||
<span>版本</span>
|
||||
<span class="muted">0.0.1</span>
|
||||
</div>
|
||||
<div class="row-between">
|
||||
<span>定位</span>
|
||||
<span class="muted">规划 / 客户 / 员工 / 我的</span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="card about-list section">
|
||||
<div class="row-between">
|
||||
<span>版本</span>
|
||||
<span class="muted">0.0.1</span>
|
||||
</div>
|
||||
<div class="row-between">
|
||||
<span>定位</span>
|
||||
<span class="muted">规划 / 客户 / 员工 / 我的</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="card version-card section">
|
||||
<div class="section-title">
|
||||
<strong>版本更新</strong>
|
||||
<span>最近更新记录</span>
|
||||
</div>
|
||||
<article v-for="record in versionRecords" :key="`${record.version}-${record.date}`" class="version-record">
|
||||
<div class="version-record__head">
|
||||
<span class="version-badge">{{ record.version }}</span>
|
||||
<span class="muted">{{ record.date }}</span>
|
||||
</div>
|
||||
<h2>{{ record.title }}</h2>
|
||||
<ul>
|
||||
<li v-for="item in record.items" :key="item">{{ item }}</li>
|
||||
</ul>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<section class="card note-card section">
|
||||
<div class="section-title">
|
||||
<strong>更新说明</strong>
|
||||
<span>使用前请留意</span>
|
||||
</div>
|
||||
<ul class="note-list">
|
||||
<li v-for="note in updateNotes" :key="note">{{ note }}</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</MobileShell>
|
||||
</template>
|
||||
@@ -25,6 +52,34 @@
|
||||
import MobileShell from '@/components/MobileShell.vue'
|
||||
|
||||
const appIconUrl = `${import.meta.env.BASE_URL}assets/images/app-icon.png`
|
||||
const versionRecords: Array<{ version: string; date: string; title: string; items: string[] }> = [
|
||||
{
|
||||
version: '0.0.1',
|
||||
date: '2026-07-02',
|
||||
title: '店务端预约与规划体验更新',
|
||||
items: [
|
||||
'新建预约支持作品列表选择和独立新增作品表单,作品可同步标签、价格、时长和可预约员工。',
|
||||
'规划页员工筛选恢复为可连续切换,日视图、周视图和月视图会按员工重新刷新数据。',
|
||||
'预约详情支持查看、修改、完成和取消的生命周期控制,终态订单仅允许查看。',
|
||||
'日期和时间选择器改为底部弹出式交互,时间滚轮滑动即更新选中值。'
|
||||
]
|
||||
},
|
||||
{
|
||||
version: '0.0.1',
|
||||
date: '2026-07-01',
|
||||
title: '排班与账号稳定性更新',
|
||||
items: [
|
||||
'优化员工排班规则、店铺营业时间和特殊日期,提升可约时段计算稳定性。',
|
||||
'统一店务端预约、规划和作品可约员工的员工 ID 口径,避免员工数据匹配错位。',
|
||||
'账号校验按大小写敏感处理,降低相似账号误判风险。'
|
||||
]
|
||||
}
|
||||
]
|
||||
const updateNotes = [
|
||||
'版本记录展示店务端当前可见功能变化,用于店长快速了解最近更新。',
|
||||
'0.0.1 是当前系统基线版本,后续功能上线会在此页面继续追加记录。',
|
||||
'若更新后页面表现异常,建议先退出重进或刷新浏览器缓存,再联系管理员处理。'
|
||||
]
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@@ -65,4 +120,89 @@ const appIconUrl = `${import.meta.env.BASE_URL}assets/images/app-icon.png`
|
||||
.about-list .row-between:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.version-card,
|
||||
.note-card {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.section-title strong {
|
||||
color: #4c4740;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.section-title span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.version-record {
|
||||
position: relative;
|
||||
padding: 14px 0 14px 18px;
|
||||
border-left: 2px solid var(--accent-soft);
|
||||
}
|
||||
|
||||
.version-record:last-child {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.version-record::before {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: -5px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border: 2px solid var(--card-bg);
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
content: '';
|
||||
}
|
||||
|
||||
.version-record__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.version-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
padding: 0 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.version-record h2 {
|
||||
margin: 10px 0 8px;
|
||||
color: #3f3932;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.version-record ul,
|
||||
.note-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.note-list {
|
||||
padding-left: 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user