兰代清没头发
This commit is contained in:
parent
81d90f7a04
commit
caf18ca54c
@ -944,7 +944,7 @@ body.light-mode .video-bg:before {
|
||||
/*main-container结构下的标头矩形图案样式*/
|
||||
.HeadSquare{
|
||||
width:4px;
|
||||
height:25px;
|
||||
height:30px;
|
||||
margin-left:5px;
|
||||
margin-top:3px;
|
||||
background-color: #59a2a3;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div id="ShowPic" style="display: flex;flex-direction: column;flex-wrap: wrap">
|
||||
<div class="card" style="width: 180px;height:180px;margin-top:50px;background-color: var( --theme-bg-color)"
|
||||
@click="ToURL()">
|
||||
<img :src="UrlObj.icon">
|
||||
<img :src="UrlObj.icon" style="width:100%;height:100%">
|
||||
</div>
|
||||
<div id="IconGroup"
|
||||
style="margin-top:60px;display: flex;flex-direction: row;flex-wrap: nowrap;margin-left:-20px">
|
||||
@ -95,6 +95,10 @@
|
||||
<div class="TitleFont"><i class="el-icon-s-promotion"></i>网站介绍</div>
|
||||
</div>
|
||||
<div class="ArticleContent">
|
||||
<div :v-if="UrlObj.desc == null" style="background-color: var(--theme-bg-color);
|
||||
border-radius:5px;height:250px;margin-top:50px;text-align: center">
|
||||
<el-empty description="描述文字" style="width:80%;height:250px;margin-left:50px;"></el-empty>
|
||||
</div>
|
||||
{{ UrlObj.desc }}
|
||||
</div>
|
||||
</div>
|
||||
@ -177,9 +181,16 @@ export default {
|
||||
// y轴阅读量:
|
||||
YView: [],
|
||||
imageCode: null,
|
||||
// 所有评论:
|
||||
allcomment:[],
|
||||
// 根评论:
|
||||
rootcomment:[],
|
||||
// 根评论id :根评论下所有评论对象
|
||||
rootId_AllComment:{1:[],2:[]},
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.GetAllComment();
|
||||
if(this.UrlId && this.UrlObj.icon){
|
||||
this.getQR(this.UrlId, this.UrlObj.icon);
|
||||
}
|
||||
@ -196,6 +207,32 @@ export default {
|
||||
},
|
||||
computed: {},
|
||||
methods: {
|
||||
// 递归获取指定根目录下的所有评论:
|
||||
func0(commentId){
|
||||
var that = this;
|
||||
that.allcomment.forEach(function(value){
|
||||
if(value.root_comment_id == commentId){
|
||||
that.rootId_AllComment[commentId].push(value);
|
||||
this.func0(value.id);
|
||||
}
|
||||
})}
|
||||
,
|
||||
// 所有评论
|
||||
GetAllComment(){
|
||||
let _this = this;
|
||||
axios.get('/api/comment/view_comment', {
|
||||
params: {
|
||||
}
|
||||
}).then(function (res) {
|
||||
_this.allcomment = res.data;
|
||||
}).catch((error) => {
|
||||
Vue.prototype.$notify.error({
|
||||
title: '错误',
|
||||
message: error,
|
||||
offset: 0
|
||||
});
|
||||
})
|
||||
},
|
||||
// 日访问:
|
||||
ViewByTime(id) {
|
||||
let _this = this;
|
||||
@ -366,10 +403,10 @@ export default {
|
||||
},
|
||||
// 向管理员反馈
|
||||
WarnToAdmin() {
|
||||
// console.log(this.xTime);
|
||||
this.GetAllComment();
|
||||
console.log(this.allcomment);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
<style lang="css">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="app-card" @click="goToNavDetail">
|
||||
<div style="display: flex;flex-direction: row;align-items: center">
|
||||
<el-image v-if="nav.icon" :src="nav.icon" style="width: 40px;height: 40px"></el-image>
|
||||
<el-image v-if="nav.icon" :src="nav.icon" style="width: 30px;height: 30px"></el-image>
|
||||
<div class="content-card">
|
||||
|
||||
<el-tooltip v-if="nav.name" class="item" effect="dark" :content="nav.name" placement="top">
|
||||
|
@ -5,8 +5,8 @@
|
||||
<div class="content-wrapper">
|
||||
<div v-for="(item,index) in userNavList" :key="index" class="content-section">
|
||||
<div :id="item.name" class="content-section-title">{{ item.name }}</div>
|
||||
<div class="apps-card">
|
||||
<NavList v-if="item.childUC" v-for="(item,index2) in item.childUC" :key="index2" :nav="item"></NavList>
|
||||
<div class="apps-card" >
|
||||
<NavList style="border-color:var(--border-color);border-width: 3px;" :v-if="item.childUC" v-for="(item,index2) in item.childUC" :key="index2" :nav="item"></NavList>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,11 +1,46 @@
|
||||
<template>
|
||||
<div class="main" style="text-shadow: 0 0 20px var(--font-border);">
|
||||
<div class="HeadLine" style="margin-top:30px;margin-left:15px;">
|
||||
<div class="HeadSquare" ></div>
|
||||
<div class="TitleFont" style="color:var(--theme-color)"><i class="el-icon-s-grid"></i>分类管理</div>
|
||||
</div>
|
||||
<div class="base-style" style="margin-top:20px;font-family: SimHei;font-size:18px;font-weight:600;margin-left:20px">
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-button type="primary" plain size="medium" round>创建目录</el-button>
|
||||
</el-col>
|
||||
<el-col :span="24" style="margin-top:20px">
|
||||
<el-input
|
||||
placeholder="请输入内容"
|
||||
v-model="searchCate"
|
||||
clearable
|
||||
style="width:200px">
|
||||
</el-input>
|
||||
<el-button type="success" plain size="medium" round style="margin-left:10px">查询目录</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table style="margin-top:10px;width: 100%"
|
||||
border>
|
||||
<el-table-column
|
||||
prop="date"
|
||||
label="日期"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "CategoryManage",
|
||||
data() {
|
||||
return {}
|
||||
return {
|
||||
searchCate:'',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@ -19,5 +54,8 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
.base-style{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user