style(frontend): 修复 prettier 格式门禁

三个本分支改动的文件未过 prettier --check,导致 npm run check 与部署门禁红灯。
按项目风格重新排版后台分销站点页、移动端发布页与定价计算 composable,不改动任何逻辑。

验证:npx prettier --check . 通过;npm run check(format + eslint --max-warnings=0 + vue-tsc)通过;vitest 7 文件 / 32 用例通过。
This commit is contained in:
yml2213
2026-09-16 12:49:21 +08:00
parent c9d9160ff4
commit 8ec53f9d3d
3 changed files with 15 additions and 4 deletions
@@ -348,7 +348,10 @@ onMounted(() => {
</el-table-column>
<el-table-column label="收号下调" width="110">
<template #default="{ row }">
<el-tag :type="Number(row.receive_ratio_delta || 0) > 0 ? 'warning' : 'info'" size="small">
<el-tag
:type="Number(row.receive_ratio_delta || 0) > 0 ? 'warning' : 'info'"
size="small"
>
{{
Number(row.receive_ratio_delta || 0) > 0
? `-${Number(row.receive_ratio_delta).toFixed(1)} 点`
@@ -599,7 +602,11 @@ onMounted(() => {
</el-form>
<template #footer>
<el-button @click="receiveRatioDialogVisible = false">取消</el-button>
<el-button type="primary" :loading="receiveRatioSubmitting" @click="handleReceiveRatioSubmit">
<el-button
type="primary"
:loading="receiveRatioSubmitting"
@click="handleReceiveRatioSubmit"
>
保存设置
</el-button>
</template>