From 27d35a9f1355e4a56aa1e8c1aad9c7f58002ed50 Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期三, 10 八月 2022 17:52:13 +0800 Subject: [PATCH] 修改login --- src/components/globalTitle.vue | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/components/globalTitle.vue b/src/components/globalTitle.vue index 663fc6e..5d3fe80 100644 --- a/src/components/globalTitle.vue +++ b/src/components/globalTitle.vue @@ -2,7 +2,9 @@ <div> <el-row> <div class="fl"> - <span>{{ getTitle(this.$route.query.title) }}</span> + <span + ><b>{{ getTitle(this.$route.query.title) }}</b></span + > </div> <div class="fr"> <el-breadcrumb separator-class="el-icon-arrow-right"> @@ -16,17 +18,16 @@ </template> <script> export default { - name:'globalTitle', - data(){ + name: 'globalTitle', + data() { return { - title:'', + title: '' } }, - created(){ - }, - methods:{ - getTitle(v){ - switch(v){ + created() {}, + methods: { + getTitle(v) { + switch (v) { case 'introduce': return '绉戝崗姒傚喌' case 'zhengce': @@ -37,7 +38,7 @@ return '瀛︽湳浜ゆ祦' case 'banShiZhiNan': return '鍔炰簨鎸囧崡' - case 'kePu': + case 'kePuFengCai': return '绉戞櫘椋庨噰' case 'xueXiaoShouYe': return '瀛︽牎棣栭〉' @@ -47,4 +48,11 @@ } } } -</script> \ No newline at end of file +</script> + +<style scoped> +.el-row { + /* background-color: rgb(83, 168, 125); */ + border-bottom: 1px solid #0f99e9; +} +</style> -- Gitblit v1.8.0