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