小程序页面视觉对齐二期:预约图片轮播、订单数据预览、微信用户关联与请假管理

新增预约详情作品图片轮播字段与组装;新增订单预览与未关联微信用户候选接口;补齐请假记录查询接口;订单数据预览改为四列;请假管理接入真实排班例外并支持新增;日程、我的、美甲师详情与改派选择器按设计稿微调;注册结果页与申请提交时间对齐设计稿。
This commit is contained in:
2026-11-06 14:34:02 +08:00
parent 2ff83a5ec1
commit 60d9bba61a
33 changed files with 939 additions and 105 deletions
@@ -18,6 +18,8 @@ Page({
data: {
id: '',
appointment: {},
coverImages: [],
coverIndex: 0,
avatarText: '',
timeText: '',
isUnassigned: false,
@@ -74,8 +76,13 @@ Page({
remarkText: displayValue(safeAppointment.remark, '暂无备注'),
cancelReasonText: displayValue(safeAppointment.cancelReason, '')
}
const coverImages = Array.isArray(safeAppointment.coverImages)
? safeAppointment.coverImages.filter(item => Boolean(item))
: []
this.setData({
appointment: normalizedAppointment,
coverImages,
coverIndex: 0,
isUnassigned,
avatarText: normalizedAppointment.customerNameText.slice(0, 1),
timeText,
@@ -87,6 +94,10 @@ Page({
})
},
onCoverChange(event) {
this.setData({ coverIndex: Number(event.detail.current) || 0 })
},
async updateStatus(status) {
if (this.data.updating || !this.data.appointment.orderId) return
if (status !== 3 && this.data.isUnassigned) {