From 261723bc6ecb7b7787b7dce383f3551d583124dd Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Wed, 14 Oct 2026 00:47:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=9A=E4=BC=98=E5=8C=96Sa?= =?UTF-8?q?lon=E4=BD=9C=E5=93=81=E9=80=89=E6=8B=A9=E4=B8=8E=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=A1=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity-selector-sheet/index.wxml | 3 +- .../entity-selector-sheet/index.wxss | 8 - .../product-selector-sheet/index.js | 38 +++ .../product-selector-sheet/index.json | 3 + .../product-selector-sheet/index.test.js | 15 ++ .../product-selector-sheet/index.wxml | 30 +++ .../product-selector-sheet/index.wxss | 1 + .../appointment-form/history-date.test.js | 73 ++++++ .../pages/appointment-form/index.js | 101 +++++++- .../pages/appointment-form/index.json | 3 +- .../pages/appointment-form/index.wxml | 62 +---- .../pages/appointment-form/index.wxss | 223 +----------------- .../appointment-form/modal-scroll.test.js | 18 +- .../appointment-form/product-selector.test.js | 43 ++++ JC-Salon-WeChat/pages/backfill-order/index.js | 59 ++++- .../pages/backfill-order/index.json | 2 +- .../pages/backfill-order/index.wxml | 4 +- .../pages/backfill-order/index.wxss | 3 +- .../backfill-order/product-selector.test.js | 44 ++++ JC-Salon-WeChat/pages/login/index.wxml | 2 +- JC-Salon-WeChat/pages/login/index.wxss | 2 +- JC-Salon-WeChat/pages/planning/index.js | 10 +- JC-Salon-WeChat/pages/planning/index.test.js | 6 +- JC-Salon-WeChat/pages/planning/index.wxml | 1 - JC-Salon-WeChat/pages/planning/index.wxss | 1 - ...0-13-salon作品选择与手动录入优化-design.md | 20 ++ ...-10-13-salon历史补单与服务中状态-design.md | 2 +- docs/项目变更记录.md | 8 +- .../jayucloud-salon/DEFAULT_GROUP/secret.yaml | 1 + 29 files changed, 454 insertions(+), 332 deletions(-) create mode 100644 JC-Salon-WeChat/components/product-selector-sheet/index.js create mode 100644 JC-Salon-WeChat/components/product-selector-sheet/index.json create mode 100644 JC-Salon-WeChat/components/product-selector-sheet/index.test.js create mode 100644 JC-Salon-WeChat/components/product-selector-sheet/index.wxml create mode 100644 JC-Salon-WeChat/components/product-selector-sheet/index.wxss create mode 100644 JC-Salon-WeChat/pages/appointment-form/history-date.test.js create mode 100644 JC-Salon-WeChat/pages/appointment-form/product-selector.test.js create mode 100644 JC-Salon-WeChat/pages/backfill-order/product-selector.test.js create mode 100644 docs/superpowers/specs/2026-10-13-salon作品选择与手动录入优化-design.md diff --git a/JC-Salon-WeChat/components/entity-selector-sheet/index.wxml b/JC-Salon-WeChat/components/entity-selector-sheet/index.wxml index 71d24b93..051750ac 100644 --- a/JC-Salon-WeChat/components/entity-selector-sheet/index.wxml +++ b/JC-Salon-WeChat/components/entity-selector-sheet/index.wxml @@ -1,9 +1,8 @@ - {{title}} - + diff --git a/JC-Salon-WeChat/components/entity-selector-sheet/index.wxss b/JC-Salon-WeChat/components/entity-selector-sheet/index.wxss index 0328e0ee..d20b4840 100644 --- a/JC-Salon-WeChat/components/entity-selector-sheet/index.wxss +++ b/JC-Salon-WeChat/components/entity-selector-sheet/index.wxss @@ -50,14 +50,6 @@ animation: selectorSheetUp 220ms ease both; } -.selector-handle { - width: 72rpx; - height: 7rpx; - margin: 14rpx auto 2rpx; - border-radius: 999rpx; - background: #ddd6cd; -} - .selector-head { display: flex; align-items: center; diff --git a/JC-Salon-WeChat/components/product-selector-sheet/index.js b/JC-Salon-WeChat/components/product-selector-sheet/index.js new file mode 100644 index 00000000..9983ecd1 --- /dev/null +++ b/JC-Salon-WeChat/components/product-selector-sheet/index.js @@ -0,0 +1,38 @@ +Component({ + properties: { + visible: { type: Boolean, value: false }, + mode: { type: String, value: 'list' }, + title: { type: String, value: '选择作品' }, + keyword: { type: String, value: '' }, + placeholder: { type: String, value: '搜索作品名称' }, + items: { type: Array, value: [] }, + selectedId: { type: null, value: '' }, + loading: { type: Boolean, value: false }, + errorText: { type: String, value: '' }, + emptyText: { type: String, value: '暂无作品' }, + manualForm: { type: Object, value: {} }, + manualMoreExpanded: { type: Boolean, value: false }, + showManualExtra: { type: Boolean, value: true }, + manualImageUrl: { type: String, value: '' }, + manualImageUploading: { type: Boolean, value: false } + }, + methods: { + close() { this.triggerEvent('close') }, + stopEvent() {}, + onSearch(event) { this.triggerEvent('search', { value: event.detail.value }) }, + selectItem(event) { + const item = this.data.items[Number(event.currentTarget.dataset.index)] + if (item) this.triggerEvent('select', { item }) + }, + openManual() { this.triggerEvent('openmanual') }, + backToList() { this.triggerEvent('backtolist') }, + onManualInput(event) { + this.triggerEvent('manualinput', { field: event.currentTarget.dataset.field, value: event.detail.value }) + }, + toggleMore() { this.triggerEvent('togglemore') }, + chooseImage() { this.triggerEvent('chooseimage') }, + removeImage() { this.triggerEvent('removeimage') }, + confirmManual() { this.triggerEvent('confirmmanual') }, + retry() { this.triggerEvent('retry') } + } +}) diff --git a/JC-Salon-WeChat/components/product-selector-sheet/index.json b/JC-Salon-WeChat/components/product-selector-sheet/index.json new file mode 100644 index 00000000..467ce294 --- /dev/null +++ b/JC-Salon-WeChat/components/product-selector-sheet/index.json @@ -0,0 +1,3 @@ +{ + "component": true +} diff --git a/JC-Salon-WeChat/components/product-selector-sheet/index.test.js b/JC-Salon-WeChat/components/product-selector-sheet/index.test.js new file mode 100644 index 00000000..632028c8 --- /dev/null +++ b/JC-Salon-WeChat/components/product-selector-sheet/index.test.js @@ -0,0 +1,15 @@ +const assert = require('assert') + +let definition +global.Component = value => { definition = value } +require('./index') + +const events = [] +const component = { + data: { items: [{ id: 4, title: '测试作品' }] }, + triggerEvent(name, detail) { events.push({ name, detail }) } +} +Object.assign(component, definition.methods) +component.selectItem({ currentTarget: { dataset: { index: 0 } } }) +assert.strictEqual(events[0].name, 'select') +assert.strictEqual(events[0].detail.item.id, 4) diff --git a/JC-Salon-WeChat/components/product-selector-sheet/index.wxml b/JC-Salon-WeChat/components/product-selector-sheet/index.wxml new file mode 100644 index 00000000..d877e401 --- /dev/null +++ b/JC-Salon-WeChat/components/product-selector-sheet/index.wxml @@ -0,0 +1,30 @@ + + + + {{mode === 'manual' ? '手动录入作品' : title}}名称和价格必填,可补充更多信息 + + + + + + 正在加载作品... + {{errorText}} + {{emptyText}} + + + 图 + {{item.title}}{{item.priceText || (item.price == null ? '价格待定' : '¥' + item.price)}}{{item.durationText || '时长待定'}} · {{item.artistText || '全部员工'}}{{tag}}{{selectedId == item.id ? '✓' : '›'}} + + + + + + + + {{manualMoreExpanded ? '⌃ 收起更多信息' : '⌄ 补充更多信息'}} + 图 + + + + + diff --git a/JC-Salon-WeChat/components/product-selector-sheet/index.wxss b/JC-Salon-WeChat/components/product-selector-sheet/index.wxss new file mode 100644 index 00000000..c4442216 --- /dev/null +++ b/JC-Salon-WeChat/components/product-selector-sheet/index.wxss @@ -0,0 +1 @@ +.product-selector-mask{position:fixed;inset:0;z-index:130;display:flex;align-items:flex-end;background:rgba(25,22,18,.5)}.product-selector-sheet{display:flex;width:100%;height:88vh;max-height:88vh;flex-direction:column;overflow:hidden;border-radius:34rpx 34rpx 0 0;background:#fffdf8;box-shadow:0 -20rpx 48rpx rgba(44,35,27,.18)}.product-selector-head{display:flex;align-items:center;justify-content:space-between;min-height:92rpx;padding:0 28rpx}.product-selector-title{display:block;color:#29241f;font-size:34rpx;font-weight:900}.product-selector-subtitle{display:block;margin-top:7rpx;color:#8b8177;font-size:22rpx}.product-selector-close{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:52rpx;height:52rpx;min-width:52rpx;flex:0 0 52rpx;margin:0;padding:0;overflow:hidden;border:1rpx solid #e6dfd6;border-radius:50%;background:#f8f4ee;line-height:1}.product-selector-close::before,.product-selector-close::after{content:"";position:absolute;top:24rpx;left:14rpx;width:22rpx;height:3rpx;border-radius:999rpx;background:#665e56}.product-selector-close::before{transform:rotate(45deg)}.product-selector-close::after{transform:rotate(-45deg)}.product-selector-search{display:flex;align-items:center;height:80rpx;margin:0 28rpx 18rpx;padding:0 22rpx;border-radius:22rpx;background:#f7f3ed}.product-selector-search input{height:78rpx;flex:1;color:#29241f;font-size:27rpx}.product-selector-search-icon{width:24rpx;height:24rpx;margin-right:16rpx;border:3rpx solid #8e877f;border-radius:50%}.product-selector-scroll{height:0;min-height:0;flex:1}.product-selector-scroll.manual{padding:0 28rpx}.product-selector-list{padding:0 28rpx 24rpx}.product-selector-item{display:flex;align-items:center;min-height:132rpx;margin-bottom:14rpx;padding:16rpx;border:1rpx solid #ece5dc;border-radius:20rpx;background:#fff}.product-selector-item.selected{border-color:#8eafa3;background:#f0f6f3}.product-selector-cover{width:92rpx;height:92rpx;flex:0 0 auto;border-radius:14rpx;background:#eee9e2}.product-selector-cover.placeholder,.manual-product-image.placeholder{display:flex;align-items:center;justify-content:center;color:#b79b82;font-size:24rpx}.product-selector-copy{min-width:0;flex:1;margin-left:18rpx}.product-selector-name-row{display:flex;align-items:center;gap:12rpx}.product-selector-name{min-width:0;overflow:hidden;color:#2b2621;font-size:28rpx;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-selector-price{flex:0 0 auto;color:#b7683d;font-size:27rpx;font-weight:900}.product-selector-meta{display:block;margin-top:7rpx;overflow:hidden;color:#7f7870;font-size:23rpx;text-overflow:ellipsis;white-space:nowrap}.product-selector-tags{display:flex;gap:8rpx;margin-top:7rpx}.product-selector-tags text{padding:3rpx 10rpx;border-radius:999rpx;background:#f3e9df;color:#826c5b;font-size:19rpx}.product-selector-check{width:42rpx;color:#8c857d;font-size:32rpx;text-align:right}.product-selector-item.selected .product-selector-check{color:#2f6f62}.product-selector-state{display:flex;min-height:360rpx;align-items:center;justify-content:center;padding:40rpx;color:#9a9289;font-size:25rpx;text-align:center}.product-selector-state.error{flex-direction:column;color:#a8554e}.product-selector-retry{margin-top:20rpx;padding:0 24rpx;border:1rpx solid #d8d1c8;border-radius:999rpx;background:#fff;color:#514b44;font-size:23rpx}.product-selector-footer{padding:16rpx 28rpx calc(18rpx + env(safe-area-inset-bottom));border-top:1rpx solid #eee7de;background:#fffdf8}.product-selector-action,.product-selector-confirm,.product-selector-back{width:100%;height:76rpx;margin:0;border-radius:20rpx;font-size:26rpx;line-height:76rpx}.product-selector-action{border:1rpx solid #cbdad4;background:#edf4f1;color:#2f6f62}.manual-product-card{margin:18rpx 0;padding:20rpx;border-radius:18rpx;background:#f8f2eb}.manual-product-grid{display:grid;grid-template-columns:minmax(0,1fr) 180rpx;gap:14rpx}.manual-product-grid input,.manual-product-extra input,.manual-product-extra textarea{box-sizing:border-box;width:100%;padding:0 18rpx;border:0;border-radius:14rpx;background:#fff;color:#302923;font-size:26rpx}.manual-product-grid input{height:72rpx}.manual-product-more{margin-top:16rpx;color:#5f897c;font-size:24rpx}.manual-product-extra{display:grid;gap:14rpx;padding-bottom:20rpx}.manual-product-extra textarea{min-height:120rpx;padding-top:16rpx}.manual-product-extra input{height:68rpx}.manual-product-image-row{display:flex;align-items:center;gap:14rpx}.manual-product-image{width:92rpx;height:92rpx;border-radius:14rpx;background:#efe5da}.manual-product-image-row button{flex:1;min-width:0;padding:0;border-radius:12rpx;background:#edf4f1;color:#2f6f62;font-size:23rpx}.manual-footer{display:grid;gap:10rpx}.product-selector-confirm{background:#4f766d;color:#fff}.product-selector-back{height:58rpx;line-height:58rpx;background:transparent;color:#5f897c;font-size:23rpx} diff --git a/JC-Salon-WeChat/pages/appointment-form/history-date.test.js b/JC-Salon-WeChat/pages/appointment-form/history-date.test.js new file mode 100644 index 00000000..0162c849 --- /dev/null +++ b/JC-Salon-WeChat/pages/appointment-form/history-date.test.js @@ -0,0 +1,73 @@ +const assert = require('assert') + +let definition +let modalResult = { confirm: false } +let modalOptions +const navigations = [] + +global.Page = value => { definition = value } +global.wx = { + showModal(options) { + modalOptions = options + options.success(modalResult) + }, + navigateTo(options) { + navigations.push(options.url) + } +} + +require('./index') + +function createPage() { + const page = { + ...definition, + data: { + ...definition.data, + form: { ...definition.data.form, appointmentDate: '2099-10-10', appointmentTime: '14:00', artistId: '88' } + }, + setData(values) { + Object.entries(values).forEach(([key, value]) => { + const parts = key.split('.') + let target = this.data + for (let index = 0; index < parts.length - 1; index += 1) { + target = target[parts[index]] + } + target[parts[parts.length - 1]] = value + }) + } + } + return page +} + +async function run() { + const page = createPage() + let refreshes = 0 + page.loadArtists = async () => { refreshes += 1 } + page.refreshAvailableTimes = async () => { refreshes += 1 } + page.checkAvailability = () => { refreshes += 1 } + + modalResult = { confirm: false } + await page.onDateChange({ detail: { value: '2000-01-01' } }) + assert.strictEqual(page.data.form.appointmentDate, '2099-10-10') + assert.strictEqual(page.data.form.appointmentTime, '14:00') + assert.strictEqual(navigations.length, 0) + assert.strictEqual(modalOptions.cancelText, '取消') + assert.strictEqual(modalOptions.confirmText, '去补单') + assert.strictEqual(refreshes, 0) + + modalResult = { confirm: true } + await page.onDateChange({ detail: { value: '2000-01-01' } }) + assert.strictEqual(navigations.pop(), '/pages/backfill-order/index?serviceDate=2000-01-01&artistId=88') + assert.strictEqual(page.data.form.appointmentDate, '2099-10-10') + assert.strictEqual(refreshes, 0) + + await page.onDateChange({ detail: { value: '2099-10-11' } }) + assert.strictEqual(page.data.form.appointmentDate, '2099-10-11') + assert.strictEqual(page.data.form.appointmentTime, '') + assert.strictEqual(refreshes, 3) +} + +run().catch(error => { + console.error(error) + process.exitCode = 1 +}) diff --git a/JC-Salon-WeChat/pages/appointment-form/index.js b/JC-Salon-WeChat/pages/appointment-form/index.js index a1766c3a..2a47ba0f 100644 --- a/JC-Salon-WeChat/pages/appointment-form/index.js +++ b/JC-Salon-WeChat/pages/appointment-form/index.js @@ -289,6 +289,7 @@ Page({ artistId: '', remark: '' }, + manualProductDraft: { title: '', price: '', description: '', tags: '', targetAudience: '', precautions: '', imageFileIds: '', imageUrl: '' }, customerOptions: [], customerSheetVisible: false, customerKeyword: '', @@ -304,10 +305,14 @@ Page({ artistKeyword: '', artistError: '', selectedProduct: {}, + selectedProductPriceText: '', selectedArtist: {}, productModalVisible: false, + productSelectorMode: 'list', + manualProductMoreExpanded: false, productKeyword: '', productError: '', + loadingProducts: false, conflictTip: '', conflictLevel: 'free', canCreateAppointment: true, @@ -327,6 +332,16 @@ Page({ const baseForm = draftForm || {} this.setData({ canCreateAppointment: creatable, + manualProductDraft: { + title: baseForm.manualProductTitle || '', + price: baseForm.manualProductPrice || '', + description: baseForm.manualProductDescription || '', + tags: baseForm.manualProductTags || '', + targetAudience: baseForm.manualProductTargetAudience || '', + precautions: baseForm.manualProductPrecautions || '', + imageFileIds: baseForm.manualProductImageFileIds || '', + imageUrl: baseForm.manualProductImageUrl || '' + }, form: { ...this.data.form, ...baseForm, @@ -345,6 +360,7 @@ Page({ }, async loadOptions() { + this.setData({ loadingProducts: true }) try { const productsData = await productsApi.list({ page: 1, size: 100 }) const products = productsData.list || productsData || [] @@ -355,9 +371,16 @@ Page({ filteredProducts: [], productError: error.message || '作品列表加载失败' }) + } finally { + this.setData({ loadingProducts: false }) } await this.loadArtists() this.refreshProductCards() + const selectedProduct = this.data.filteredProducts.find(item => String(item.id) === String(this.data.form.productId)) || {} + this.setData({ + selectedProduct, + selectedProductPriceText: selectedProduct.priceText || '' + }) await this.refreshAvailableTimes() this.checkAvailability() }, @@ -514,8 +537,30 @@ Page({ }, async onDateChange(event) { + const nextDate = event.detail.value + const today = dateUtil.formatDate(new Date()) + if (nextDate < today) { + const result = await new Promise(resolve => { + wx.showModal({ + title: '历史日期不能新建预约', + content: '之前的日期只能作为历史补单记录,不会校验员工排班,也不会占用预约时段。', + cancelText: '取消', + confirmText: '去补单', + success: resolve, + fail: () => resolve({ confirm: false }) + }) + }) + if (result.confirm) { + const query = [`serviceDate=${encodeURIComponent(nextDate)}`] + if (this.data.form.artistId) { + query.push(`artistId=${encodeURIComponent(this.data.form.artistId)}`) + } + wx.navigateTo({ url: `/pages/backfill-order/index?${query.join('&')}` }) + } + return + } this.setData({ - 'form.appointmentDate': event.detail.value, + 'form.appointmentDate': nextDate, 'form.appointmentTime': '' }) await this.loadArtists() @@ -537,11 +582,29 @@ Page({ openProductModal() { this.refreshProductCards() - this.setData({ productModalVisible: true }) + this.setData({ productModalVisible: true, productSelectorMode: 'list' }) }, closeProductModal() { - this.setData({ productModalVisible: false }) + this.setData({ productModalVisible: false, productSelectorMode: 'list' }) + }, + + openManualProduct() { + this.setData({ productSelectorMode: 'manual', manualProductMoreExpanded: false }) + }, + + backToProductList() { + this.setData({ productSelectorMode: 'list' }) + this.refreshProductCards() + }, + + onManualProductInput(event) { + const field = event.detail.field + this.setData({ [`manualProductDraft.${field}`]: event.detail.value }) + }, + + toggleManualProductMore() { + this.setData({ manualProductMoreExpanded: !this.data.manualProductMoreExpanded }) }, stopTap() { @@ -556,9 +619,12 @@ Page({ }, selectProduct(event) { - const selectedProduct = this.data.filteredProducts.find(item => String(item.id) === String(event.currentTarget.dataset.id)) || {} + const selectedProduct = event.detail.item || this.data.filteredProducts.find(item => String(item.id) === String(event.currentTarget.dataset.id)) || {} + const selectedDuration = parseInt(selectedProduct.serviceDurationMinutes || selectedProduct.approximateDuration, 10) this.setData({ selectedProduct, + selectedProductPriceText: selectedProduct.priceText || '', + manualProductDraft: { title: '', price: '', description: '', tags: '', targetAudience: '', precautions: '', imageFileIds: '', imageUrl: '' }, 'form.productId': selectedProduct.id, 'form.manualProductTitle': '', 'form.manualProductPrice': '', @@ -568,7 +634,7 @@ Page({ 'form.manualProductPrecautions': '', 'form.manualProductImageFileIds': '', 'form.manualProductImageUrl': '', - 'form.durationMinutes': String(parseInt(selectedProduct.approximateDuration, 10) || this.data.form.durationMinutes || '') + 'form.durationMinutes': String(selectedDuration || this.data.form.durationMinutes || '') }) this.closeProductModal() this.refreshAvailableTimes() @@ -576,17 +642,26 @@ Page({ }, useManualProduct() { - const title = String(this.data.form.manualProductTitle || '').trim() - const price = Number(this.data.form.manualProductPrice) - if (!title || Number.isNaN(price) || price < 0) { + const draft = this.data.manualProductDraft + const title = String(draft.title || '').trim() + const priceText = String(draft.price === undefined ? '' : draft.price).trim() + const price = Number(priceText) + if (!title || !priceText || !Number.isFinite(price) || price < 0) { wx.showToast({ title: '请填写手动预约作品名称和价格', icon: 'none' }) return } this.setData({ selectedProduct: {}, + selectedProductPriceText: `¥${price}`, 'form.productId': '', 'form.manualProductTitle': title, - 'form.manualProductPrice': String(price) + 'form.manualProductPrice': String(price), + 'form.manualProductDescription': String(draft.description || '').trim(), + 'form.manualProductTags': String(draft.tags || '').trim(), + 'form.manualProductTargetAudience': String(draft.targetAudience || '').trim(), + 'form.manualProductPrecautions': String(draft.precautions || '').trim(), + 'form.manualProductImageFileIds': String(draft.imageFileIds || ''), + 'form.manualProductImageUrl': String(draft.imageUrl || '') }) this.closeProductModal() this.refreshAvailableTimes() @@ -610,8 +685,8 @@ Page({ throw new Error('作品图片上传成功但未返回文件ID') } this.setData({ - 'form.manualProductImageFileIds': String(fileId), - 'form.manualProductImageUrl': fileUrl + 'manualProductDraft.imageFileIds': String(fileId), + 'manualProductDraft.imageUrl': fileUrl }) } catch (error) { wx.showToast({ title: error.message || '图片上传失败', icon: 'none' }) @@ -622,8 +697,8 @@ Page({ removeManualProductImage() { this.setData({ - 'form.manualProductImageFileIds': '', - 'form.manualProductImageUrl': '' + 'manualProductDraft.imageFileIds': '', + 'manualProductDraft.imageUrl': '' }) }, diff --git a/JC-Salon-WeChat/pages/appointment-form/index.json b/JC-Salon-WeChat/pages/appointment-form/index.json index a2d4a1db..263a301f 100644 --- a/JC-Salon-WeChat/pages/appointment-form/index.json +++ b/JC-Salon-WeChat/pages/appointment-form/index.json @@ -1,6 +1,7 @@ { "navigationBarTitleText": "新建预约", "usingComponents": { - "entity-selector-sheet": "/components/entity-selector-sheet/index" + "entity-selector-sheet": "/components/entity-selector-sheet/index", + "product-selector-sheet": "/components/product-selector-sheet/index" } } diff --git a/JC-Salon-WeChat/pages/appointment-form/index.wxml b/JC-Salon-WeChat/pages/appointment-form/index.wxml index 1d9d3d97..b72a8f68 100644 --- a/JC-Salon-WeChat/pages/appointment-form/index.wxml +++ b/JC-Salon-WeChat/pages/appointment-form/index.wxml @@ -17,12 +17,12 @@ {{form.appointmentDate}} - - 预约作品 - - {{selectedProduct.title || form.manualProductTitle || '请选择预约作品'}} + + 预约作品 + 预计时长 @@ -126,57 +126,7 @@ - - - - - 选择预约作品 - - × - - - - - {{productError}} - - - 图 - - - {{item.title}} - {{item.priceText}} - - {{item.artistText}} · {{item.durationText || '时长待定'}} - - {{tag}} - - - - 暂无匹配作品 - - - 手动新增预约作品 - - - - -