refactor: 更新 iconfont 图标,增加打赏二维码弹窗

This commit is contained in:
RockYang
2023-06-21 15:34:38 +08:00
parent 40a4ab5410
commit be3380aaf3
12 changed files with 176 additions and 84 deletions

View File

@@ -10,11 +10,16 @@
</template>
<script setup>
import {MdEditor} from 'md-editor-v3';
import MdEditor from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';
import {ref} from "vue";
const text = ref('Hello Editor!');
const text = ref(`
ChatGPT-PLUS 是基于 OpenAI API 实现的 ChatGPT Web 系统。主要有如下特性:
* 完整的开源系统,前端应用和后台管理系统皆可开箱即用。
* 聊天体验跟 ChatGPT 官方版本完全一致。
* 内置了各种预训练好的角色,比如小红书写手,英语翻译大师,苏格拉底,孔子,乔布斯,周报助手等。轻松满足你的各种聊天和应用需求。
`);
const onUploadImg = (files) => {
console.log(files);
};

View File

@@ -42,10 +42,10 @@
<el-table-column prop="date" label="注册时间"></el-table-column>
<el-table-column label="操作" width="220" align="center">
<template #default="scope">
<el-button text :icon="Edit" @click="handleEdit(scope.$index, scope.row)" v-permiss="15">
<el-button text :icon="Edit" @click="handleEdit(scope.$index, scope.row)">
编辑
</el-button>
<el-button text :icon="Delete" class="red" @click="handleDelete(scope.$index)" v-permiss="16">
<el-button text :icon="Delete" class="red" @click="handleDelete(scope.$index)">
删除
</el-button>
</template>
@@ -94,7 +94,7 @@ const query = reactive({
pageIndex: 1,
pageSize: 10
});
const tableData = ref();
const tableData = ref([]);
const pageTotal = ref(0);
// 获取表格数据
const getData = () => {