feat(ai): 等待气泡展示后台处理进度
- AI 聊天用工具/子代理/推理帧推断等待阶段,提示已完成步数,子代理输出不再并入主回答 - 下单弹层去掉 01-04 编号分组标题 - 同步首页设计规范与 UI 测试断言,补充首页品牌图
This commit is contained in:
@@ -132,7 +132,8 @@ test('两个预约入口仍按服务数据定价,协议、字段与提交入
|
||||
assert.match(wxml, /费用仅含人工服务费,不含就医、药品及快递费用/)
|
||||
}
|
||||
const home = fs.readFileSync(path.join(root, 'pages/home/index.wxml'), 'utf8')
|
||||
assert.ok(home.indexOf('class="training-entry"') > home.indexOf('class="quick-list"'))
|
||||
assert.ok(home.indexOf('class="training-card"') > home.indexOf('class="quick-list"'))
|
||||
assert.ok(home.indexOf('class="training-card"') < home.indexOf('class="page-footer"'))
|
||||
assert.doesNotMatch(home, /全程1对1陪同/)
|
||||
})
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ const root = path.resolve(__dirname, '..')
|
||||
|
||||
test('当前预约使用两行摘要,日期、姓名、服务及状态共用首行,不显示时间', () => {
|
||||
const wxml = fs.readFileSync(path.join(root, 'pages/home/index.wxml'), 'utf8')
|
||||
assert.match(wxml, /pending-heading">当前预约/)
|
||||
assert.match(wxml, /section-title">当前预约/)
|
||||
assert.doesNotMatch(wxml, /pending-service-row/)
|
||||
const match = /<view class="pending-summary">([\s\S]*?)<\/view>/.exec(wxml)
|
||||
assert.ok(match, '预约卡片应包含首行摘要')
|
||||
|
||||
Reference in New Issue
Block a user