feat: 活动管理
This commit is contained in:
19
src/views/user/active/indexconfig/component/AddButton.vue
Normal file
19
src/views/user/active/indexconfig/component/AddButton.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<el-button type="primary" icon="Plus" @click="addEvent">新增</el-button>
|
||||
<el-button type="primary" icon="Plus" @click="addEvent">下载会员充值二维码</el-button>
|
||||
<br />
|
||||
<div style="margin-top: 10px;">
|
||||
允许充值自定义金额: <el-switch v-model="value2" class="ml-2" />
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
const emit = defineEmits(['add']);
|
||||
function toUrl(name) {
|
||||
router.push({ name });
|
||||
}
|
||||
function addEvent() {
|
||||
emit('add');
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user