Browse Source

set up some links

night-cherry 1 month ago
parent
commit
5776f7e2a3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      index.html

+ 3 - 3
index.html

@@ -53,7 +53,7 @@
 			background-color:#862930 ;
 			background-color:#862930 ;
 			border: 1px solid #121929;
 			border: 1px solid #121929;
 		}
 		}
-		div router-link{
+		.router-link a{
 			color:#862930;
 			color:#862930;
 			background-color:#DED8D4 ;
 			background-color:#DED8D4 ;
 			font-size: 25px;
 			font-size: 25px;
@@ -65,7 +65,7 @@
 			border: 1px solid #862930;
 			border: 1px solid #862930;
 			text-decoration: none;
 			text-decoration: none;
 		}
 		}
-		div router-link:hover{
+		.router-link a:hover{
 			color:#121929;
 			color:#121929;
 			background-color:#862930 ;
 			background-color:#862930 ;
 			border: 1px solid #121929;
 			border: 1px solid #121929;
@@ -163,7 +163,7 @@
 		<hr/>
 		<hr/>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>
 		<input type="button" text="english" @click="changelang('en')"/>-->
 		<input type="button" text="english" @click="changelang('en')"/>-->
-		<div>
+		<div class="router-link">
 			<router-link to="/home"  @click="dialog.showModal()">{{$t('messages.pages.index')}}</router-link>
 			<router-link to="/home"  @click="dialog.showModal()">{{$t('messages.pages.index')}}</router-link>
 			<router-link to="/test" @click="dialog.show()">{{$t('messages.pages.sample')}}</router-link>
 			<router-link to="/test" @click="dialog.show()">{{$t('messages.pages.sample')}}</router-link>
 			<router-link to="/about" @click="dialog.showModal()">{{$t('messages.pages.about')}}</router-link>
 			<router-link to="/about" @click="dialog.showModal()">{{$t('messages.pages.about')}}</router-link>