mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
docs: update readme and website example links (#22642)
Co-authored-by: ly321100 <ly321100@alibaba-inc.com>
This commit is contained in:
@@ -112,11 +112,11 @@
|
||||
list-style: none;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
|
||||
&.nav-algolia-search {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
||||
&.lang-item,
|
||||
&:last-child {
|
||||
cursor: default;
|
||||
@@ -210,7 +210,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.nav-dropdown-list {
|
||||
width: auto;
|
||||
}
|
||||
@@ -230,7 +230,7 @@
|
||||
&:last-child {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
padding: 0 5px;
|
||||
}
|
||||
@@ -254,11 +254,11 @@
|
||||
|
||||
&.lang-item {
|
||||
height: 100%;
|
||||
|
||||
|
||||
.nav-lang {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
|
||||
span {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
@@ -284,8 +284,10 @@
|
||||
<div class="headerWrapper">
|
||||
<div id="v3-banner" v-if="isHome">
|
||||
<template v-if="lang === 'zh-CN'">
|
||||
您正在浏览基于 Vue 2.x 的 Element UI 文档;
|
||||
<a href="https://element-plus.org/#/zh-CN">点击这里</a> 查看 Vue 3.x 的升级版本
|
||||
您正在浏览基于 Vue 2.x 的文档;
|
||||
<a href="https://element-plus.org/#/zh-CN">点击查看 Vue 3.x 版本。</a>
|
||||
饿了么开源了自研多端框架 MorJS,
|
||||
<a href="https://github.com/eleme/morjs">欢迎点击查看或试用 👏🏻</a>
|
||||
</template>
|
||||
<template v-else>
|
||||
You’re browsing the documentation of Element UI for Vue 2.x version.
|
||||
@@ -326,7 +328,7 @@
|
||||
:to="`/${ lang }/component`">{{ langConfig.components }}
|
||||
</router-link>
|
||||
</li>
|
||||
<li
|
||||
<li
|
||||
class="nav-item nav-item-theme"
|
||||
>
|
||||
<router-link
|
||||
|
||||
Reference in New Issue
Block a user