style(小程序): 关于系统补充协议入口与版本更新日志卡片,色盘中心环对齐设计稿

This commit is contained in:
2026-11-06 11:23:27 +08:00
parent 701b75e57f
commit 3e51247312
4 changed files with 107 additions and 5 deletions
+6
View File
@@ -3,5 +3,11 @@ const { BRAND_CONFIG } = require('../../utils/config')
Page({
data: {
appName: BRAND_CONFIG.appName
},
goLegal(event) {
const type = event.currentTarget.dataset.type
if (!type) return
wx.navigateTo({ url: `/pages/legal/index?type=${type}` })
}
})
+23 -2
View File
@@ -5,7 +5,28 @@
<text class="desc">专为美甲店店长设计的预约排班日历子系统</text>
</view>
<view class="card about-list">
<view class="row between"><text>版本</text><text class="muted">0.0.1</text></view>
<view class="row between"><text>定位</text><text class="muted">日程 / 客户 / 美甲师 / 我的</text></view>
<view class="about-row"><text>版本</text><text class="muted">0.0.1</text></view>
<view class="about-row"><text>定位</text><text class="muted">日程 / 客户 / 美甲师 / 我的</text></view>
<view class="about-row about-link" bindtap="goLegal" data-type="USER_TERMS">
<text>用户协议</text>
<text class="about-arrow">›</text>
</view>
<view class="about-row about-link" bindtap="goLegal" data-type="PRIVACY_POLICY">
<text>隐私政策</text>
<text class="about-arrow">›</text>
</view>
</view>
<view class="log-card">
<text class="log-title">版本更新日志</text>
<view class="log-entry">
<text class="log-version">0.0.1</text>
<text class="log-date">2026-11-05</text>
</view>
<view class="log-lines">
<text class="log-line">新增补充资料与申请状态设计稿(店长 / 店员)</text>
<text class="log-line">我的页支持店长 / 美甲师身份切换</text>
<text class="log-line">用户协议与隐私政策入口并入关于系统</text>
</view>
<text class="log-foot">后续版本更新将在此处按时间倒序展示</text>
</view>
</view>
+77 -2
View File
@@ -24,12 +24,87 @@
}
.desc {
margin-top: 12rpx;
margin-top: 15rpx;
color: #90887e;
font-size: 24rpx;
}
.about-list {
margin-top: 20rpx;
padding: 24rpx;
padding: 28rpx;
}
.about-row {
display: flex;
align-items: center;
justify-content: space-between;
height: 86rpx;
font-size: 28rpx;
}
.about-link {
padding-left: 12rpx;
}
.about-arrow {
color: #b0a79e;
font-size: 44rpx;
line-height: 1;
}
.log-card {
display: flex;
flex-direction: column;
margin-top: 20rpx;
padding: 31rpx;
border-radius: 12px;
background: #ffffff;
}
.log-title {
font-size: 29rpx;
font-weight: 700;
line-height: 1.35;
}
.log-entry {
display: flex;
align-items: center;
margin-top: 19rpx;
}
.log-version {
display: flex;
align-items: center;
justify-content: center;
width: 111rpx;
height: 42rpx;
border-radius: 21rpx;
background: #e5f4ed;
color: #247b63;
font-size: 21rpx;
font-weight: 700;
}
.log-date {
margin-left: 15rpx;
color: #71807a;
font-size: 22rpx;
}
.log-lines {
margin-top: 18rpx;
}
.log-line {
display: block;
color: #17211f;
font-size: 22rpx;
line-height: 1.9;
}
.log-foot {
margin-top: 29rpx;
color: #9aa9a0;
font-size: 21rpx;
}
@@ -64,7 +64,7 @@
justify-content: center;
width: 120rpx;
height: 120rpx;
border: 8rpx solid #ffffff;
border: 2rpx solid #ffffff;
border-radius: 50%;
color: #fff;
font-size: 20rpx;