Skip to content

Commit 3eeaea5

Browse files
lyfeyajyujingali
andauthored
docs: update readme and website example links (#22642)
Co-authored-by: ly321100 <[email protected]>
1 parent 9640d0f commit 3eeaea5

File tree

4 files changed

+38
-16
lines changed

4 files changed

+38
-16
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@
3838

3939
> A Vue.js 2.0 UI Toolkit for Web.
4040
41-
Element will stay with Vue 2.x
41+
Element will stay with Vue 2.x
4242

4343
For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus)(Element Plus is a community develop project)
4444

45+
For MiniProgram development, we recommend using [MorJS](https://github.com/eleme/morjs)
46+
4547
## Links
4648
- Homepage and documentation
4749
- [International users](http://element.eleme.io/#/en-US)

examples/components/footer.vue

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<a :href="'/#/' + lang + '/component/custom-theme'" class="footer-main-link" target="_blank">{{ langConfig.theme }}</a>
1111
<a href="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/elemefe/element-react" class="footer-main-link" target="_blank">Element-React</a>
1212
<a href="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/ElemeFE/element-angular" class="footer-main-link" target="_blank">Element-Angular</a>
13+
<a href="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/eleme/morjs" class="footer-main-link" target="_blank">MorJS</a>
1314
</div>
1415
<div class="footer-main">
1516
<h4>{{ langConfig.community }}</h4>
@@ -27,8 +28,17 @@
2728
width="120"
2829
popper-class="footer-popover"
2930
trigger="hover">
30-
<div class="footer-popover-title">{{ langConfig.eleme }} UED</div>
31-
<img src="../assets/images/qrcode.png" alt="">
31+
<div class="footer-popover-title">{{ langConfig.elemeTech }}</div>
32+
<img src="https://gw.alicdn.com/imgextra/i4/O1CN01dBDgJP1t4R3qikGBP_!!6000000005848-0-tps-344-344.jpg" alt="">
33+
</el-popover>
34+
<el-popover
35+
ref="weixin"
36+
placement="top"
37+
width="120"
38+
popper-class="footer-popover"
39+
trigger="hover">
40+
<div class="footer-popover-title">{{ langConfig.elemeDesign }}</div>
41+
<img src="https://gw.alicdn.com/imgextra/i4/O1CN015ha1O71yg3g1QaKEi_!!6000000006607-0-tps-1280-1280.jpg" alt="">
3242
</el-popover>
3343
<i class="doc-icon-weixin elementdoc" v-popover:weixin></i>
3444
<a href="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/elemefe" target="_blank">

examples/components/header.vue

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@
112112
list-style: none;
113113
position: relative;
114114
cursor: pointer;
115-
115+
116116
&.nav-algolia-search {
117117
cursor: default;
118118
}
119-
119+
120120
&.lang-item,
121121
&:last-child {
122122
cursor: default;
@@ -210,7 +210,7 @@
210210
}
211211
}
212212
}
213-
213+
214214
.nav-dropdown-list {
215215
width: auto;
216216
}
@@ -230,7 +230,7 @@
230230
&:last-child {
231231
margin-left: 10px;
232232
}
233-
233+
234234
a {
235235
padding: 0 5px;
236236
}
@@ -254,11 +254,11 @@
254254
255255
&.lang-item {
256256
height: 100%;
257-
257+
258258
.nav-lang {
259259
display: flex;
260260
align-items: center;
261-
261+
262262
span {
263263
padding-bottom: 0;
264264
}
@@ -284,8 +284,10 @@
284284
<div class="headerWrapper">
285285
<div id="v3-banner" v-if="isHome">
286286
<template v-if="lang === 'zh-CN'">
287-
您正在浏览基于 Vue 2.x 的 Element UI 文档;
288-
<a href="https://element-plus.org/#/zh-CN">点击这里</a> 查看 Vue 3.x 的升级版本
287+
您正在浏览基于 Vue 2.x 的文档;
288+
<a href="https://element-plus.org/#/zh-CN">点击查看 Vue 3.x 版本。</a>
289+
饿了么开源了自研多端框架 MorJS,
290+
<a href="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/eleme/morjs">欢迎点击查看或试用 👏🏻</a>
289291
</template>
290292
<template v-else>
291293
You’re browsing the documentation of Element UI for Vue 2.x version.
@@ -326,7 +328,7 @@
326328
:to="`/${ lang }/component`">{{ langConfig.components }}
327329
</router-link>
328330
</li>
329-
<li
331+
<li
330332
class="nav-item nav-item-theme"
331333
>
332334
<router-link

examples/i18n/component.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"starter": "脚手架",
1919
"feedback": "反馈建议",
2020
"contribution": "贡献指南",
21-
"eleme": "饿了么"
21+
"eleme": "饿了么",
22+
"elemeTech": "饿了么技术",
23+
"elemeDesign": "饿了么设计"
2224
},
2325
"header": {
2426
"guide": "指南",
@@ -49,7 +51,9 @@
4951
"starter": "Starter kit",
5052
"feedback": "Feedback",
5153
"contribution": "Contribution",
52-
"eleme": "Eleme"
54+
"eleme": "Eleme",
55+
"elemeTech": "Eleme Tech",
56+
"elemeDesign": "Eleme Design"
5357
},
5458
"header": {
5559
"guide": "Guide",
@@ -80,7 +84,9 @@
8084
"starter": "Kit de inicio",
8185
"feedback": "Comentarios",
8286
"contribution": "Contribución",
83-
"eleme": "Eleme"
87+
"eleme": "Eleme",
88+
"elemeTech": "Eleme Tecnología",
89+
"elemeDesign": "Eleme Diseño"
8490
},
8591
"header": {
8692
"guide": "Guía",
@@ -111,7 +117,9 @@
111117
"starter": "Kit de démarrage",
112118
"feedback": "Commentaires",
113119
"contribution": "Contribution",
114-
"eleme": "Eleme"
120+
"eleme": "Eleme",
121+
"elemeTech": "Eleme Technologie",
122+
"elemeDesign": "Eleme Conception"
115123
},
116124
"header": {
117125
"guide": "Guide",

0 commit comments

Comments
 (0)