From 08e0f4f66d2e39a19b91e8e2fe1bcad75569d4b8 Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期三, 26 一月 2022 23:24:08 +0800 Subject: [PATCH] 登录权限设置好 --- src/components/page/News.vue | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/components/page/News.vue b/src/components/page/News.vue index a76f040..3d576af 100644 --- a/src/components/page/News.vue +++ b/src/components/page/News.vue @@ -22,9 +22,8 @@ } }, created(){ - console.log(">>>>>>>>",this.$route.query.id); + // console.log(">>>>>>>>",this.$route.query.id); this.getalone(); - // this.queryAll(); }, methods:{ getalone(){ @@ -37,25 +36,22 @@ this.title = res.data.title; }) }, - // queryAll(){ - // this.content = `` - // } }, } </script> <style> -h2{ +.box { + width: 1200px; + margin: 0 auto; +} +.header h2{ color: rgb(3, 73, 144); text-align: center; } -p{ +.header p{ background-color: rgb(246, 246, 246); text-align: center; height: 35px; line-height: 35px; -} -.box { - width: 1200px; - margin: 0 auto; } </style> \ No newline at end of file -- Gitblit v1.8.0