From 93de43267e1663031fe5dc2f5ae40d128a182a76 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 18 六月 2026 17:24:51 +0800
Subject: [PATCH] 新增智能电表、空调管理
---
admin/src/views/business/components/AccountRechargePanel.vue | 36 +++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/admin/src/views/business/components/AccountRechargePanel.vue b/admin/src/views/business/components/AccountRechargePanel.vue
index 262f11d..566ac65 100644
--- a/admin/src/views/business/components/AccountRechargePanel.vue
+++ b/admin/src/views/business/components/AccountRechargePanel.vue
@@ -11,7 +11,15 @@
</div>
<el-form label-width="150px">
<el-form-item :label="mode === 'open' ? '寮�鎴烽噾棰�' : '鍏呭�奸噾棰�'">
- <el-input-number v-model="form.money" :min="0" :precision="4" style="width: 200px"/>
+ <el-input-number
+ v-model="form.money"
+ class="money-input-number"
+ :min="0"
+ :precision="4"
+ :step="10"
+ controls-position="right"
+ placeholder="璇疯緭鍏ラ噾棰�"
+ />
</el-form-item>
<el-form-item :label="mode === 'open' ? '寮�鎴峰娉�' : '鍏呭�煎娉�'">
<el-input v-model="form.remark" :placeholder="mode === 'open' ? '寮�鎴峰娉紝鏈�澶�50涓瓧绗�' : '鍏呭�煎娉紝鏈�澶�300涓瓧绗�'" :maxlength="mode === 'open' ? 50 : 300" style="width: 400px"/>
@@ -79,4 +87,30 @@
width: auto;
white-space: nowrap;
}
+.money-input-number {
+ width: 220px !important;
+}
+.money-input-number ::v-deep .el-input {
+ width: 100% !important;
+}
+.money-input-number ::v-deep .el-input__inner {
+ height: 32px;
+ line-height: 32px;
+ text-align: left;
+ padding-left: 12px;
+ padding-right: 42px;
+}
+.money-input-number ::v-deep .el-input-number__increase,
+.money-input-number ::v-deep .el-input-number__decrease {
+ width: 28px;
+ background: #f5f7fa;
+ border-left: 1px solid #dcdfe6;
+}
+.money-input-number ::v-deep .el-input-number__increase {
+ border-bottom: 1px solid #dcdfe6;
+ line-height: 15px;
+}
+.money-input-number ::v-deep .el-input-number__decrease {
+ line-height: 15px;
+}
</style>
--
Gitblit v1.9.3