From 0b6676302647ef7ec5e9e582642fa281b455f74c Mon Sep 17 00:00:00 2001 From: 明梦爽 <2972214568@qq.com> Date: 星期六, 20 十一月 2021 20:48:02 +0800 Subject: [PATCH] 静态图片展示 --- src/views/school.vue | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/views/school.vue b/src/views/school.vue index aa39c81..6dfc462 100644 --- a/src/views/school.vue +++ b/src/views/school.vue @@ -1,7 +1,7 @@ <template> <div> <el-row type="flex" justify="space-between" class="underline"> - <span>瀛﹂櫌鍔ㄦ��</span> + <span class="color"><b>瀛﹂櫌鍔ㄦ��</b></span> <span @click="goMore('瀛﹂櫌鍔ㄦ��')" class="liPointer">鏇村<i class="el-icon-d-arrow-right"></i> </span> </el-row> <div> @@ -9,7 +9,7 @@ <li :key="index" v-for="(item, index) in schoolList" class="liPointer"> <!-- <a href="item.path"> {{ item.title }} </a> --> <!-- <router-link :to="{name:'schoolMessage',params:{id:item.id}}" >{{ item.title }} </router-link> --> - <div @click="toSchoolMsg(item.title)"> {{ item.title }} </div> + <div @click="toSchoolMsg(item.title)" class="bgc mart10"> {{ item.title }} </div> </li> </ul> </div> @@ -21,12 +21,12 @@ data() { return { schoolList: [ - { id: '1',title: '瀛︽牎鐘舵��1' }, - { id: '2',title: '瀛︽牎鐘舵��2' }, - { id: '3',title: '瀛︽牎鐘舵��3' }, - { id: '4',title: '瀛︽牎鐘舵��4' }, - { id: '5',title: '瀛︽牎鐘舵��5' }, - { id: '6',title: '瀛︽牎鐘舵��6' } + { id: '1',title: '娌冲崡鐪佺敓鎬佺粡娴庡瀷鏈ㄦ湰妞嶇墿绉嶈川鍒涙柊涓庡埄鐢ㄩ噸鐐瑰疄楠屽寤鸿椤圭洰' }, + { id: '2',title: '骞抽《灞卞闄㈡櫤鎱ф牎鍥蒋浠跺強瀹為獙瀹ょ鐞嗗钩鍙颁簩鏈�' }, + { id: '3',title: '骞抽《灞卞闄㈡柊宸ョ瀹炶妤煎拰浜ф暀铻嶅悎瀹炶妤煎叏杩囩▼璺熻釜瀹¤鏈嶅姟' }, + { id: '4',title: '骞抽《灞卞闄㈡櫤鎱ф牎鍥患鍚堜笟鍔℃湇鍔$郴缁燂紙涓�鏈燂級' }, + { id: '5',title: '骞抽《灞卞闄�2021-2022绗簩瀛︽湡鍖荤敤浣庡�兼槗鑰楀搧閲囪喘椤圭洰鍏憡' }, + { id: '6',title: '骞抽《灞卞闄㈣蒋浠跺疄楠屽纭洏閲囪喘椤圭洰绔炰簤鎬ц皥鍒ゅ叕鍛�' } ] } }, @@ -52,7 +52,7 @@ </script> <style lang="less" scoped> .underline { - border-bottom: 1px solid rgb(0, 110, 215); + border-bottom: 1px solid rgb(1, 72, 153); } ul { padding-left: 0; @@ -65,4 +65,9 @@ a { text-decoration: none; } +.bgc { + background: rgb(241, 241, 241); + height: 55px; + line-height: 55px; +} </style> \ No newline at end of file -- Gitblit v1.8.0