Skip to content

Commit

Permalink
docs: update readme and website example links (#22642)
Browse files Browse the repository at this point in the history
Co-authored-by: ly321100 <ly321100@alibaba-inc.com>
  • Loading branch information
lyfeyaj and yujingali authored Aug 23, 2023
1 parent 9640d0f commit 3eeaea5
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 16 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
14 changes: 12 additions & 2 deletions examples/components/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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">
Expand Down
20 changes: 11 additions & 9 deletions examples/components/header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
list-style: none;
position: relative;
cursor: pointer;
&.nav-algolia-search {
cursor: default;
}
&.lang-item,
&:last-child {
cursor: default;
Expand Down Expand Up @@ -210,7 +210,7 @@
}
}
}
.nav-dropdown-list {
width: auto;
}
Expand All @@ -230,7 +230,7 @@
&:last-child {
margin-left: 10px;
}
a {
padding: 0 5px;
}
Expand All @@ -254,11 +254,11 @@
&.lang-item {
height: 100%;
.nav-lang {
display: flex;
align-items: center;
span {
padding-bottom: 0;
}
Expand All @@ -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.
Expand Down Expand Up @@ -326,7 +328,7 @@
:to="`/${ lang }/component`">{{ langConfig.components }}
</router-link>
</li>
<li
<li
class="nav-item nav-item-theme"
>
<router-link
Expand Down
16 changes: 12 additions & 4 deletions examples/i18n/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"starter": "脚手架",
"feedback": "反馈建议",
"contribution": "贡献指南",
"eleme": "饿了么"
"eleme": "饿了么",
"elemeTech": "饿了么技术",
"elemeDesign": "饿了么设计"
},
"header": {
"guide": "指南",
Expand Down Expand Up @@ -49,7 +51,9 @@
"starter": "Starter kit",
"feedback": "Feedback",
"contribution": "Contribution",
"eleme": "Eleme"
"eleme": "Eleme",
"elemeTech": "Eleme Tech",
"elemeDesign": "Eleme Design"
},
"header": {
"guide": "Guide",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 3eeaea5

Please sign in to comment.