diff --git a/App.vue b/App.vue index 52a8170..e4403f4 100644 --- a/App.vue +++ b/App.vue @@ -7,7 +7,7 @@ export default { }, onLaunch: function (options) { - console.log=()=>{} + // console.log=()=>{} // === wgt 包启动诊断日志 === console.log('=== App Launch 开始 ===') console.log('启动参数:', JSON.stringify(options)) diff --git a/components/balance-list/balance-list.vue b/components/balance-list/balance-list.vue index de701d2..480819c 100644 --- a/components/balance-list/balance-list.vue +++ b/components/balance-list/balance-list.vue @@ -12,7 +12,7 @@ - {{ item.isAdd ? '+' : '-' }}{{ Number(item.money).toFixed(2) }} + {{ item.isAdd ? '+' : '-' }}{{ numberUtil.formatMoneyWithThousand(item.money) }} @@ -39,7 +39,7 @@ 已全额退款 余额 {{ - Number(item.balance).toFixed(2) + numberUtil.formatMoneyWithThousand(item.balance) }} @@ -58,6 +58,10 @@ import { reactive } from 'vue' +import { + numberUtil +} from '@/utils/common.js' + // 定义组件属性 const props = defineProps({ list: { diff --git a/components/common/auto-width-input.vue b/components/common/auto-width-input.vue new file mode 100644 index 0000000..a25414a --- /dev/null +++ b/components/common/auto-width-input.vue @@ -0,0 +1,213 @@ +