docs: update readme and website example links (#22642)

Co-authored-by: ly321100 <ly321100@alibaba-inc.com>
This commit is contained in:
lyfeyaj 2023-08-23 10:27:00 +08:00 committed by GitHub
parent 9640d0fb70
commit 3eeaea5981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 16 deletions

View File

@ -38,10 +38,12 @@
> A Vue.js 2.0 UI Toolkit for Web.
Element will stay with Vue 2.x
Element will stay with Vue 2.x
For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus)(Element Plus is a community develop project)
For MiniProgram development, we recommend using [MorJS](https://github.com/eleme/morjs)
## Links
- Homepage and documentation
- [International users](http://element.eleme.io/#/en-US)

View File

@ -10,6 +10,7 @@
<a :href="'/#/' + lang + '/component/custom-theme'" class="footer-main-link" target="_blank">{{ langConfig.theme }}</a>
<a href="https://github.com/elemefe/element-react" class="footer-main-link" target="_blank">Element-React</a>
<a href="https://github.com/ElemeFE/element-angular" class="footer-main-link" target="_blank">Element-Angular</a>
<a href="https://github.com/eleme/morjs" class="footer-main-link" target="_blank">MorJS</a>
</div>
<div class="footer-main">
<h4>{{ langConfig.community }}</h4>
@ -27,8 +28,17 @@
width="120"
popper-class="footer-popover"
trigger="hover">
<div class="footer-popover-title">{{ langConfig.eleme }} UED</div>
<img src="../assets/images/qrcode.png" alt="">
<div class="footer-popover-title">{{ langConfig.elemeTech }}</div>
<img src="https://gw.alicdn.com/imgextra/i4/O1CN01dBDgJP1t4R3qikGBP_!!6000000005848-0-tps-344-344.jpg" alt="">
</el-popover>
<el-popover
ref="weixin"
placement="top"
width="120"
popper-class="footer-popover"
trigger="hover">
<div class="footer-popover-title">{{ langConfig.elemeDesign }}</div>
<img src="https://gw.alicdn.com/imgextra/i4/O1CN015ha1O71yg3g1QaKEi_!!6000000006607-0-tps-1280-1280.jpg" alt="">
</el-popover>
<i class="doc-icon-weixin elementdoc" v-popover:weixin></i>
<a href="https://github.com/elemefe" target="_blank">

View File

@ -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>
Youre 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

View File

@ -18,7 +18,9 @@
"starter": "脚手架",
"feedback": "反馈建议",
"contribution": "贡献指南",
"eleme": "饿了么"
"eleme": "饿了么",
"elemeTech": "饿了么技术",
"elemeDesign": "饿了么设计"
},
"header": {
"guide": "指南",
@ -49,7 +51,9 @@
"starter": "Starter kit",
"feedback": "Feedback",
"contribution": "Contribution",
"eleme": "Eleme"
"eleme": "Eleme",
"elemeTech": "Eleme Tech",
"elemeDesign": "Eleme Design"
},
"header": {
"guide": "Guide",
@ -80,7 +84,9 @@
"starter": "Kit de inicio",
"feedback": "Comentarios",
"contribution": "Contribución",
"eleme": "Eleme"
"eleme": "Eleme",
"elemeTech": "Eleme Tecnología",
"elemeDesign": "Eleme Diseño"
},
"header": {
"guide": "Guía",
@ -111,7 +117,9 @@
"starter": "Kit de démarrage",
"feedback": "Commentaires",
"contribution": "Contribution",
"eleme": "Eleme"
"eleme": "Eleme",
"elemeTech": "Eleme Technologie",
"elemeDesign": "Eleme Conception"
},
"header": {
"guide": "Guide",