瀏覽代碼

set up some links

night-cherry 1 月之前
父節點
當前提交
4736cc303c
共有 2 個文件被更改,包括 59 次插入0 次删除
  1. 21 0
      index.html
  2. 38 0
      lang/en.js

+ 21 - 0
index.html

@@ -14,6 +14,27 @@
 		<h5 style="color:oranged">{{number}}</h5>
 		<About>this is About</About>
 		<test></test>-->
+		<div>
+			<span><a href={{$t(' messages.pages.index_link ')}}>{{$t(' messages.pages.index ')}}</a></span>
+			<span><a href={{$t(' messages.pages.sample_link ')}}>{{$t(' messages.pages.sample ')}}</a></span>
+			<span><a href={{$t(' messages.pages.catagory_link ')}}>{{$t(' messages.pages.catagory ')}}</a></span>
+			<span><a href={{$t(' messages.pages.contact_link ')}}>{{$t(' messages.pages.contact ')}}</a></span>
+			<span><a href={{$t(' messages.pages.about_link ')}}>{{$t(' messages.pages.about ')}}</a></span>
+		</div>
+		
+		<div>
+			<h3>{{$t(' messages.pages.title ')}} : </h3>
+			<span><a href={{$t(' messages.pages.craft.software_customization_link ')}}>{{$t(' messages.pages.craft.software_customization ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.uv_product_customization_link ')}}>{{$t(' messages.pages.craft.uv_product_customization ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.lazer_marking_and_cutting_link ')}}>{{$t(' messages.pages.craft.lazer_marking_and_cutting ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.customized_smart_hardware_products_link ')}}>{{$t(' messages.pages.craft.customized_smart_hardware_products ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.product_purchasing_link ')}}>{{$t(' messages.pages.craft.product_purchasing ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.skill_training_link ')}}>{{$t(' messages.pages.craft.skill_training ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.equipment_process_construction_link ')}}>{{$t(' messages.pages.craft.equipment_process_construction ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.artistic_design_link ')}}>{{$t(' messages.pages.craft.artistic_design ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.game_picture_book_design_link ')}}>{{$t(' messages.pages.craft.game_picture_book_design ')}}</a></span>
+			<span><a href={{$t(' messages.pages.craft.brand_marketing_product_customization_link ')}}>{{$t(' messages.pages.craft.brand_marketing_product_customization ')}}</a></span>
+		</div>
 		<p>
 			<router-link to="/home">首页</router-link>
 			<router-link to="/test">test</router-link>

+ 38 - 0
lang/en.js

@@ -2,5 +2,43 @@ export default{
   messages:{
     login:'login',
     username:'username',
+    pages:{
+      index:"index",
+      sample:"sample",
+      catagory:"catagory",
+      contact:"contact",
+      about:"about",
+      craft:{
+        title:"service",
+        software_customization:"software customization",
+        uv_product_customization:"uv product customization",
+        lazer_marking_and_cutting:"lazer marking and cutting",
+        customized_smart_hardware_products:"customized smart hardware products",
+        product_purchasing:"product purchasing",
+        skill_training:"skill training",
+        equipment_process_construction:"equipment process construction",
+        artistic_design:"artistic design",
+        game_picture_book_design:"game picture book design",
+        brand_marketing_product_customization:"brand marketing product customization"
+      },
+      index_link:"http://ancientapes.cc:10000/node_test/index.html",
+      sample_link:"http://ancientapes.cc:10000/node_test/pages/sample.html",
+      catagory_link:"http://ancientapes.cc:10000/node_test/pages/catagory.html",
+      contact_link:"http://ancientapes.cc:10000/node_test/pages/contact.html",
+      about_link:"http://ancientapes.cc:10000/node_test/pages/about.html",
+      craft_link:{
+        software_customization_link:"http://ancientapes.cc:10000/node_test/pages/craft/software_customization.html",
+        uv_product_customization_link:"http://ancientapes.cc:10000/node_test/pages/craft/uv_product_customization.html",
+        lazer_marking_and_cutting_link:"http://ancientapes.cc:10000/node_test/pages/craft/lazer_marking_and_cutting.html",
+        customized_smart_hardware_products_link:"http://ancientapes.cc:10000/node_test/pages/craft/customized_smart_hardware_products.html",
+        product_purchasing_link:"http://ancientapes.cc:10000/node_test/pages/craft/product_purchasing.html",
+        skill_training_link:"http://ancientapes.cc:10000/node_test/pages/craft/skill_training.html",
+        equipment_process_construction_link:"http://ancientapes.cc:10000/node_test/pages/craft/equipment_process_construction.html",
+        artistic_design_link:"http://ancientapes.cc:10000/node_test/pages/craft/artistic_design.html",
+        game_picture_book_design_link:"http://ancientapes.cc:10000/node_test/pages/craft/game_picture_book_design.html",
+        brand_marketing_product_customization_link:"http://ancientapes.cc:10000/node_test/pages/craft/brand_marketing_product_customization.html"
+      },
+
+    }
   }
 }