mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-05 19:41:43 +08:00
移除blackList
This commit is contained in:
parent
9211cb5c84
commit
30001e7783
@ -1,87 +0,0 @@
|
||||
const data = [
|
||||
{
|
||||
name: "奉/fendou飘逸的梦",
|
||||
qq: "812770127",
|
||||
excuse: "上来就开骂,不可原谅",
|
||||
},
|
||||
{
|
||||
name: "江荻",
|
||||
qq: "2324945654",
|
||||
excuse: "上来就开骂,不可原谅",
|
||||
},
|
||||
{
|
||||
name: "Diamond",
|
||||
qq: "494904935",
|
||||
excuse: "跟我道歉可以选择原谅",
|
||||
},
|
||||
{
|
||||
name: "Mr、无涯",
|
||||
qq: "2198457489",
|
||||
excuse: "已原谅",
|
||||
},
|
||||
{
|
||||
name: "玩世不恭丶江小白",
|
||||
qq: "1779263221",
|
||||
excuse: "睁眼说瞎话",
|
||||
},
|
||||
{
|
||||
name: "福州客家网络科技有限公司(潘芳林等兄弟二人)",
|
||||
qq: "1409198410、1778486252",
|
||||
excuse:
|
||||
"剽窃、破解框架授权并发布到网上还伪装成善人,公开道歉并尊重我的劳动成果可以选择原谅",
|
||||
},
|
||||
{
|
||||
name: "willina",
|
||||
qq: "405522648",
|
||||
excuse:
|
||||
"上来就开骂道:You and your git submit are just a rubbish,不可原谅",
|
||||
},
|
||||
{
|
||||
name: "7(赵海鹏)",
|
||||
qq: "252334666",
|
||||
excuse: "欺骗两个善良的小姑娘,做完项目不付70%的尾款,强烈抵制",
|
||||
},
|
||||
{
|
||||
name: "生活,一半记忆.一半继续",
|
||||
qq: "252667193",
|
||||
excuse: "30多岁,不学无术,造谣抹黑,不可原谅",
|
||||
},
|
||||
{
|
||||
name: "AIRLOO",
|
||||
qq: "5971794",
|
||||
excuse: "已原谅",
|
||||
},
|
||||
{
|
||||
name: "master Z",
|
||||
qq: "1832819123",
|
||||
excuse: "不尊重别人的劳动成果,认为开源就得无偿替他服务,不可原谅",
|
||||
},
|
||||
{
|
||||
name: "想象中。。。",
|
||||
qq: "329492979",
|
||||
excuse: "不尊重别人的劳动成果,认为开源就得无偿替他服务,不可原谅",
|
||||
},
|
||||
{
|
||||
name: "苏潍—菏泽微智科技",
|
||||
qq: "328580081",
|
||||
excuse: "无言以对",
|
||||
},
|
||||
{
|
||||
name: "罗阳",
|
||||
qq: "1320168680",
|
||||
excuse: "不尊重别人的劳动成果,认为开源就得无偿替他服务,不可原谅",
|
||||
},
|
||||
];
|
||||
module.exports = [
|
||||
{
|
||||
url: "/blacklist/getList",
|
||||
type: "post",
|
||||
response() {
|
||||
return {
|
||||
code: 200,
|
||||
msg: "success",
|
||||
data,
|
||||
};
|
||||
},
|
||||
},
|
||||
];
|
@ -1,9 +0,0 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
export function getList(data) {
|
||||
return request({
|
||||
url: "/blacklist/getList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
@ -363,12 +363,6 @@ export const asyncRoutes = [
|
||||
component: () => import("@/views/vab/more/index"),
|
||||
meta: { title: "更多组件", permissions: ["admin"] },
|
||||
},
|
||||
{
|
||||
path: "blacklist",
|
||||
name: "Blacklist",
|
||||
component: () => import("@/views/vab/blacklist/index"),
|
||||
meta: { title: "黑名单", permissions: ["admin"] },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -1,83 +0,0 @@
|
||||
<template>
|
||||
<div class="better-scroll-container">
|
||||
<el-row :gutter="20">
|
||||
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
||||
动画时长
|
||||
<el-slider
|
||||
v-model="time"
|
||||
style="width: 300px"
|
||||
:min="100"
|
||||
:max="3000"
|
||||
></el-slider>
|
||||
|
||||
<el-button @click="handleScrollTo(100)">滚动到100像素位置</el-button>
|
||||
<el-button @click="handleScrollTo(300)">滚动到300像素位置</el-button>
|
||||
<el-button @click="handleScrollBy(100)">向下滚动100像素</el-button>
|
||||
<el-button @click="handleScrollBy(-50)">向上滚动50像素</el-button>
|
||||
<el-button @click="handleScrollToElement(15)">滚动到第15个</el-button>
|
||||
<el-button @click="handleScrollToElement(25)">滚动到第25个</el-button>
|
||||
</el-col>
|
||||
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
||||
<div ref="wrapper" class="right-content">
|
||||
<ul>
|
||||
<li v-for="n in 100" :id="`bs-item-${n}`" :key="n">n : {{ n }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import BScroll from "better-scroll";
|
||||
|
||||
export default {
|
||||
name: "BetterScroll",
|
||||
data() {
|
||||
return {
|
||||
time: 1000,
|
||||
BS: null,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.scrollInit();
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.scrollDestroy();
|
||||
},
|
||||
methods: {
|
||||
handleScrollTo(y) {
|
||||
this.BS.scrollTo(0, -y, this.time);
|
||||
},
|
||||
handleScrollBy(y) {
|
||||
this.BS.scrollBy(0, -y, this.time);
|
||||
},
|
||||
handleScrollToElement(n) {
|
||||
this.BS.scrollToElement(`#bs-item-${n}`, this.time);
|
||||
},
|
||||
scrollInit() {
|
||||
this.BS = new BScroll(this.$refs["wrapper"], {
|
||||
mouseWheel: true,
|
||||
scrollbar: {
|
||||
fade: true,
|
||||
interactive: false,
|
||||
},
|
||||
});
|
||||
},
|
||||
scrollDestroy() {
|
||||
if (this.BS) {
|
||||
this.BS.destroy();
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.better-scroll-container {
|
||||
.right-content {
|
||||
height: 500px;
|
||||
margin-top: 40px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -1,38 +0,0 @@
|
||||
<template>
|
||||
<div class="blacklist-container">
|
||||
<el-divider content-position="left">
|
||||
vue-admin-beautiful禁止以下人员使用
|
||||
</el-divider>
|
||||
<el-alert :closable="false">
|
||||
这世界嘲笑你的人有很多,你又不是圣人,干嘛对每个人都仁慈,面对无端的辱骂和攻击,你只能选择将他记在这里,时刻提醒自己。
|
||||
</el-alert>
|
||||
<br />
|
||||
<el-table :data="tableData" style="width: 100%">
|
||||
<el-table-column prop="name" label="QQ昵称" width="180"></el-table-column>
|
||||
<el-table-column prop="qq" label="QQ号" width="180"></el-table-column>
|
||||
<el-table-column prop="excuse" label="是否可原谅"></el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getList } from "@/api/blacklist";
|
||||
export default {
|
||||
name: "Blacklist",
|
||||
components: {},
|
||||
data() {
|
||||
return { tableData: [] };
|
||||
},
|
||||
created() {
|
||||
this.fetchData();
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
fetchData() {
|
||||
getList().then(({ data }) => {
|
||||
this.tableData = data;
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user