From fa4e157e028fb1c666f34502792b14ff9cdcf0bb Mon Sep 17 00:00:00 2001
From: 明梦爽 <2972214568@qq.com>
Date: 星期三, 23 三月 2022 17:32:57 +0800
Subject: [PATCH] 介绍说明
---
src/components/Administrator/Main.vue | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/src/components/Administrator/Main.vue b/src/components/Administrator/Main.vue
index 76f7999..2953c2a 100644
--- a/src/components/Administrator/Main.vue
+++ b/src/components/Administrator/Main.vue
@@ -1,16 +1,18 @@
<template>
<div>
<!-- 绾ц仈閫夋嫨鍣� -->
- <div class="block">
- <el-cascader
- v-model="value"
- :options="options"
- clearable
- filterable
- :getCheckedNodes="true"
- @change="handleChange">
- </el-cascader>
- </div>
+ <el-row class="block">
+ <el-col :span="4">
+ <el-cascader
+ v-model="value"
+ :options="options"
+ clearable
+ filterable
+ :getCheckedNodes="true"
+ @change="handleChange">
+ </el-cascader>
+ </el-col>
+ </el-row>
<div>
<el-card class="box-card">
<el-row :gutter="40">
@@ -114,6 +116,8 @@
gettable:true, //鑾峰彇琛ㄦ牸鐨勬樉绀�
visible: false,
editDialogVisible:false, //鎺у埗淇敼瀵硅瘽妗嗙殑甯冨皵鍊�
+ AdDialogVisible:false, //瓒呯鐧诲綍瀵硅瘽妗�
+ Ad:{ username:'',password:'' }, //瓒呯瀵硅薄
editForm:{}, //鏌ヨ鍒扮殑鏂伴椈瀵硅薄锛岀洰鍓嶄粎渚涗慨鏀逛娇鐢�
newsCategoryId:1, //鍏堝瓨涓�涓皬鏍囬id
tableData:[], //鏂伴椈鍒楄〃瀵硅薄
@@ -267,7 +271,7 @@
title:this.editForm.title
}
update(data).then(res=>{
- // console.log('dsadasas',res);
+ console.log('dsadasas',res);
if (res.code == 200) {
this.editDialogVisible =false;
this.$message.success('淇敼鏂伴椈鎴愬姛锛�')
@@ -348,6 +352,10 @@
look(id){
this.$router.push({path:'news',query:{id:id}})
},
+ //瓒呯鐧诲綍瀵硅瘽妗�
+ showAdDialog(){
+ this.AdDialogVisible = true
+ },
handleCurrentChange(val) {
// console.log(`褰撳墠椤�: ${val}`);
this.currentPage = val;
--
Gitblit v1.8.0