feat(dmepa): 全局统一规范DMEPA命名并优化游客与品酒师身份显示
这个提交包含在:
@@ -44,7 +44,7 @@ if (fs.existsSync(voucherVuePath)) {
|
||||
assert(content.includes('<text class="hero-unit">个</text>'), 'voucher.vue 核心大字数单位展示为「个」');
|
||||
assert(!content.includes('<text class="hero-symbol">¥</text>'), 'voucher.vue 核心大字数移除「¥」符号');
|
||||
assert(content.includes('<text class="metric-unit">个</text>'), 'voucher.vue 底部统计数据栏使用「个」单位');
|
||||
assert(content.includes("{{ item.total_amount || item.total || item.voucher_total || '0.00' }} 个"), 'voucher.vue 计划列表卡片使用「个」单位');
|
||||
assert(content.includes("formatVoucher(item.total_amount || item.total || item.voucher_total) }} 个") || content.includes("{{ item.total_amount || item.total || item.voucher_total || '0.00' }} 个"), 'voucher.vue 计划列表卡片使用「个」单位');
|
||||
}
|
||||
|
||||
// 4. UniApp - confirm.vue
|
||||
@@ -52,7 +52,7 @@ const confirmVuePath = path.resolve(__dirname, '../uniapp/pages/order/confirm.vu
|
||||
assert(fs.existsSync(confirmVuePath), 'confirm.vue 存在');
|
||||
if (fs.existsSync(confirmVuePath)) {
|
||||
const content = fs.readFileSync(confirmVuePath, 'utf-8');
|
||||
assert(content.includes('{{ state.orderInfo.voucher_available || \'0.00\' }} 个'), 'confirm.vue 抵扣弹窗展示可用数量「个」');
|
||||
assert(content.includes('formatVoucher(state.orderInfo.voucher_available) }} 个') || content.includes('{{ state.orderInfo.voucher_available || \'0.00\' }} 个'), 'confirm.vue 抵扣弹窗展示可用数量「个」');
|
||||
assert(content.includes('确定使用 ${voucherFee} 个兑换券'), 'confirm.vue 兑换确认弹窗提示为「个兑换券」');
|
||||
assert(!content.includes('元兑换券'), 'confirm.vue 不再出现「元兑换券」字样');
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户