diff --git a/web/foreground/en/index.html b/web/foreground/en/index.html index a3d56b6..f22351b 100644 --- a/web/foreground/en/index.html +++ b/web/foreground/en/index.html @@ -198,6 +198,16 @@
+
+ + English + + +
+ 中文 + English +
+
Home
  • VanityVanity/Toilet
  • @@ -299,7 +309,7 @@
  • -
    @@ -944,7 +954,7 @@

    Classical KitchenClassical Kitchen/Matt Flooring

    @@ -978,7 +988,7 @@

    Modern KitchenModern Kitchen/Polished Flooring

    @@ -1011,7 +1021,7 @@

    VanityVanity/Toilet

    @@ -1247,12 +1257,12 @@
  • - Kitchen + Kitchen/Tiles
  • - Vanity + Vanity/Toilet
  • diff --git a/web/foreground/en/page-Request-caculator.html b/web/foreground/en/page-Request-caculator.html index 072e17e..bd6364d 100644 --- a/web/foreground/en/page-Request-caculator.html +++ b/web/foreground/en/page-Request-caculator.html @@ -48,6 +48,16 @@
  • +
    + + 中文 + + +
    + 中文 + English +
    +
    Home
  • - Kitchen + Kitchen/Tiles
  • - Vanity + Vanity/Toilet
  • diff --git a/web/foreground/en/page-case-study.html b/web/foreground/en/page-case-study.html index 1b79900..e8b3e15 100644 --- a/web/foreground/en/page-case-study.html +++ b/web/foreground/en/page-case-study.html @@ -50,6 +50,16 @@
  • + Home
  • VanityVanity/Toilet
  • @@ -150,7 +160,7 @@
  • -
  • - Kitchen + Kitchen/Tiles
  • - Vanity + Vanity/Toilet
  • diff --git a/web/foreground/en/page-contact.html b/web/foreground/en/page-contact.html index 5e813d8..c91a0a5 100644 --- a/web/foreground/en/page-contact.html +++ b/web/foreground/en/page-contact.html @@ -48,6 +48,16 @@
  • + @@ -84,18 +94,18 @@ Home
  • VanityVanity/Toilet
  • @@ -146,7 +156,7 @@
  • -
  • - Kitchen + Kitchen/Tiles
  • - Vanity + Vanity/Toilet
  • diff --git a/web/foreground/en/study-details.html b/web/foreground/en/study-details.html index 4644b9a..2eabaaf 100644 --- a/web/foreground/en/study-details.html +++ b/web/foreground/en/study-details.html @@ -101,6 +101,16 @@
  • + Home
  • VanityVanity/Toilet
  • @@ -201,9 +211,9 @@
  • -
  • + @@ -468,12 +478,12 @@
  • - Kitchen + Kitchen/Tiles
  • - Vanity + Vanity/Toilet
  • diff --git a/web/foreground/static/css/MyStyle.css b/web/foreground/static/css/MyStyle.css index 46c37a3..1993cf3 100644 --- a/web/foreground/static/css/MyStyle.css +++ b/web/foreground/static/css/MyStyle.css @@ -46,6 +46,48 @@ color: #E5E8E7; } +/* 语言切换样式 */ +.lang-switch { + display: inline-block; + margin-right: 15px; + position: relative; +} + +.lang-switch > a { + color: #777; + font-size: 14px; + display: flex; + align-items: center; +} + +.lang-switch > a i { + margin-left: 5px; +} + +.lang-dropdown { + position: absolute; + background: #434e6e; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); + display: none; + min-width: 100px; + z-index: 100; +} + +.lang-dropdown a { + display: block; + padding: 5px 10px; + color: #777; + text-decoration: none; +} + +.lang-dropdown a:hover { + background-color: #f5f5f5; +} + +.lang-switch:hover .lang-dropdown { + display: block; +} + /*.My#MyFooter {*/ /* background-color: #08405B;*/ /* width: 100%;*/ diff --git a/web/foreground/static/js/tourl.js b/web/foreground/static/js/tourl.js index 0206bc5..4669112 100644 --- a/web/foreground/static/js/tourl.js +++ b/web/foreground/static/js/tourl.js @@ -21,8 +21,8 @@ const titleArrZH = [ ]; const titleArrEN = [ "Home", - ["Classical Kitchen", "Modern Kitchen"], - "Vanity", + ["Classical Kitchen/Matt Flooring", "Modern Kitchen/Polished Flooring"], + "Vanity/Toilet", "Closet", ["Solidwood Door", "Composite Wood Door"], ["Chair", "Combination"], diff --git a/web/foreground/zh/index.html b/web/foreground/zh/index.html index b62f8e0..e74f65c 100644 --- a/web/foreground/zh/index.html +++ b/web/foreground/zh/index.html @@ -197,6 +197,16 @@
  • + 首页
  • 浴室柜浴室柜/马桶
  • @@ -293,7 +303,7 @@
  • -
    + 首页
  • 浴室柜浴室柜/马桶
  • @@ -210,7 +220,7 @@
  • -
    + 首页
  • 浴室柜浴室柜/马桶
  • @@ -148,7 +158,7 @@
  • -
    + @@ -82,18 +92,18 @@ 首页
  • 浴室柜浴室柜/马桶
  • @@ -144,7 +154,7 @@
  • -
    + 首页
  • 浴室柜浴室柜/马桶
  • @@ -201,17 +211,9 @@
  • -
  • + -
  • + -->