From 1779301c1263a097fb8b7b909a618d3670373ff6 Mon Sep 17 00:00:00 2001
From: hongxilin <17663930442@163.com>
Date: Wed, 27 Nov 2024 21:30:43 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=85=E5=80=BC=E6=98=8E=E7=BB=86=E7=AC=AC?=
=?UTF-8?q?=E4=B8=80=E9=83=A8=E5=88=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vue/gold-system/src/assets/css/common.css | 26 +++
vue/gold-system/src/main.ts | 1 +
.../src/views/managerecharge/activity.vue | 57 ++---
vue/gold-system/src/views/recharge/addRecharge.vue | 6 +-
.../src/views/recharge/adminRecharge.vue | 246 ++++++++++++++++++++-
5 files changed, 294 insertions(+), 42 deletions(-)
create mode 100644 vue/gold-system/src/assets/css/common.css
diff --git a/vue/gold-system/src/assets/css/common.css b/vue/gold-system/src/assets/css/common.css
new file mode 100644
index 0000000..0df6ed2
--- /dev/null
+++ b/vue/gold-system/src/assets/css/common.css
@@ -0,0 +1,26 @@
+.green-dot {
+ margin: 7px 5px 0px 0px;
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ display: block;
+ background-color: green;
+}
+
+.red-dot {
+ margin: 7px 5px 0px 0px;
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ display: block;
+ background-color: red;
+}
+
+.grey-dot {
+ margin: 7px 5px 0px 0px;
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ display: block;
+ background-color: grey;
+}
\ No newline at end of file
diff --git a/vue/gold-system/src/main.ts b/vue/gold-system/src/main.ts
index d55fa21..68a9507 100644
--- a/vue/gold-system/src/main.ts
+++ b/vue/gold-system/src/main.ts
@@ -4,6 +4,7 @@ import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
+import './assets/css/common.css'; // 引入公共CSS文件
const app = createApp(App)
diff --git a/vue/gold-system/src/views/managerecharge/activity.vue b/vue/gold-system/src/views/managerecharge/activity.vue
index cc6e9f2..bf4c19d 100644
--- a/vue/gold-system/src/views/managerecharge/activity.vue
+++ b/vue/gold-system/src/views/managerecharge/activity.vue
@@ -59,6 +59,17 @@ const tableData = [
},
]
+
+//分页对象
+const getObj = ref({
+ page: 1,
+ size: 10,
+})
+//分页总条目
+const total = ref(100)
+
+
+//新增活动弹出框
const addActivityVisible = ref(false)
//打开新增活动弹出框
const openAddActivityVisible = function () {
@@ -76,10 +87,10 @@ const addActicity = function () {
const form = reactive({
activityName: '',
freeGold: '',
- rechargeRatio:'',
- startTime:'',
- endTime:'',
- adminName:'',
+ rechargeRatio: '',
+ startTime: '',
+ endTime: '',
+ adminName: '',
})
@@ -162,6 +173,11 @@ const Delete = function (index, row) {
+
+
+
+
@@ -172,7 +188,7 @@ const Delete = function (index, row) {
-
+
@@ -183,7 +199,7 @@ const Delete = function (index, row) {
- :1
+ :1
(提示:当前规则每10新币可兑换1免费金币)
@@ -194,9 +210,9 @@ const Delete = function (index, row) {
-
+
-
+
@@ -212,32 +228,7 @@ const Delete = function (index, row) {
\ No newline at end of file