From d4de62bba7b61a858b05493a8e4a3bcc11018ff0 Mon Sep 17 00:00:00 2001 From: donghaolin <17667510818@163.com> Date: Thu, 28 Nov 2024 15:22:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=85=85=E5=80=BC?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/gold-system/src/views/managerecharge/rate.vue | 127 ++++++++++++++++----- vue/gold-system/src/views/recharge/addRecharge.vue | 99 ++++++++++++---- 2 files changed, 174 insertions(+), 52 deletions(-) diff --git a/vue/gold-system/src/views/managerecharge/rate.vue b/vue/gold-system/src/views/managerecharge/rate.vue index 89e4047..82a2979 100644 --- a/vue/gold-system/src/views/managerecharge/rate.vue +++ b/vue/gold-system/src/views/managerecharge/rate.vue @@ -2,7 +2,15 @@ import { ref } from 'vue' import { ElMessageBox } from 'element-plus' const regeAdd = ref(false) + const regeEdit = ref(false) + const rateList = ref([]) + // 查询方法 + const handleSearch = () => { + // 假数据 + rateList.value = tableData + } + const rateAdd = ref({}) // 添加方法 const add = () => { ElMessageBox.confirm('确认添加?').then(() => { @@ -11,6 +19,16 @@ regeAdd.value = false }) } + // 编辑方法 + const edit = () => { + ElMessageBox.confirm('确认修改?').then(() => { + regeEdit.value = false + }).catch(() => { + regeEdit.value = false + }) + } + // 删除方法 + // 假数据 const tableData = [ @@ -47,46 +65,49 @@ - - - - + + + + 时间: - 查询 重置 - - - - - - + + + + + + + + - 新增 + 新增汇率 - + - 编辑 - 删除 + 编辑 + 删除 @@ -95,11 +116,9 @@ - - - - - + + + - + - :1 + :1 (提示:当前规则每 5 元人民币可兑换 1 新币) - + + + + + + + + + + + + + :1 + (提示:当前规则每 5 元人民币可兑换 1 新币) + + + + + + + + + + + + + \ No newline at end of file diff --git a/vue/gold-system/src/views/recharge/addRecharge.vue b/vue/gold-system/src/views/recharge/addRecharge.vue index 1d0aa58..713c70a 100644 --- a/vue/gold-system/src/views/recharge/addRecharge.vue +++ b/vue/gold-system/src/views/recharge/addRecharge.vue @@ -4,39 +4,45 @@ import { ElMessage } from 'element-plus' import { Plus } from '@element-plus/icons-vue' +// 这是添加充值信息的表单 +const addRecharge = ref({}); + 新增充值 - + + - - 查询 + + 查询 - + - + + 个 免费金币 - + + 个 - + - + - + @@ -44,9 +50,9 @@ import { Plus } from '@element-plus/icons-vue' @@ -60,29 +66,80 @@ import { Plus } from '@element-plus/icons-vue' + 仅支持.jpg .png格式,文件≤1MB + - + - - - - + + + + + 客户信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:1
(提示:当前规则每 5 元人民币可兑换 1 新币)
个
免费金币
仅支持.jpg .png格式,文件≤1MB