Skip to content

Commit

Permalink
add shitiao001
Browse files Browse the repository at this point in the history
  • Loading branch information
lialittis committed Feb 3, 2024
1 parent 307e05b commit 03d7d0f
Show file tree
Hide file tree
Showing 12 changed files with 1,530 additions and 15 deletions.
Binary file added assets/images/news/shitiao001/H2Pro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/byd.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/catl.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/evtol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/gelinmei.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/shangqi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/vision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/zdhs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news/shitiao001/zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 12 additions & 15 deletions index-ch.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,20 +290,17 @@
</a>
</div>
</li> -->
<li>
<!-- class="inline-flex items-center justify-center rounded-lg bg-gradient-to-b py-4 px-4 text-center text-base font-normal text-dark transition duration-300 sm:px-5"> -->
<a href="index.html"
class="mx-8 flex py-2 text-base text-body-color group-hover:text-primary lg:mr-0 lg:ml-7 lg:inline-flex lg:py-6 lg:px-0 lg:text-white lg:group-hover:text-black lg:group-hover:opacity-70 xl:ml-12">

<!-- class="ud-menu-scroll mx-8 flex py-2 text-base text-body-color group-hover:text-primary lg:mr-0 lg:ml-7 lg:inline-flex lg:py-6 lg:px-0 lg:text-white lg:group-hover:text-black lg:group-hover:opacity-70 xl:ml-12"> -->

<font style="vertical-align: inherit;">
<font style="vertical-align: inherit;">
English
</font>
</font>
</a>
</li>
<li>
<!-- class="inline-flex items-center justify-center rounded-lg bg-gradient-to-b py-4 px-4 text-center text-base font-normal text-dark transition duration-300 sm:px-5"> -->
<a href="index.html"
class="mx-8 flex py-2 text-base text-body-color group-hover:text-primary lg:mr-0 lg:ml-7 lg:inline-flex lg:py-6 lg:px-0 lg:text-white lg:group-hover:text-black lg:group-hover:opacity-70 xl:ml-12">
<font style="vertical-align: inherit;">
<font style="vertical-align: inherit;">
English
</font>
</font>
</a>
</li>
</ul>
</nav>
</div>
Expand All @@ -325,7 +322,7 @@
</div>
</div>


</div>
<!-- ====== Navbar Section End -->

Expand Down
1,480 changes: 1,480 additions & 0 deletions shitiao001.html

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>中英文切换按钮</title>
</head>

<body>

<div id="content">
<h1 id="title">你好,世界!</h1>
<p id="paragraph">这是一个简单的中英文切换按钮示例。</p>
</div>

<button onclick="toggleLanguage()">切换语言</button>

<script>
function toggleLanguage() {
var titleElement = document.getElementById('title');
var paragraphElement = document.getElementById('paragraph');

if (document.documentElement.lang === 'zh-CN') {
document.documentElement.lang = 'en';
titleElement.textContent = 'Hello, World!';
paragraphElement.textContent = 'This is a simple example of a language toggle button.';
} else {
document.documentElement.lang = 'zh-CN';
titleElement.textContent = '你好,世界!';
paragraphElement.textContent = '这是一个简单的中英文切换按钮示例。';
}
}
</script>

</body>

</html>

0 comments on commit 03d7d0f

Please sign in to comment.