@jx3box/jx3box-ui 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/mixin.less +0 -24
- package/i18n/messages/en-US.js +3 -0
- package/i18n/messages/vi.js +3 -0
- package/i18n/messages/zh-CN.js +3 -0
- package/i18n/messages/zh-TW.js +3 -0
- package/package.json +1 -1
- package/src/header/asset.vue +3 -0
- package/src/header/userInfo.vue +10 -5
package/assets/css/mixin.less
CHANGED
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
// ⚠️请勿删除
|
|
2
2
|
|
|
3
|
-
// .scrollbar(@size:4px,@color:#fafbfc) {
|
|
4
|
-
// &::-webkit-scrollbar {
|
|
5
|
-
// width: @size;
|
|
6
|
-
// height: @size;
|
|
7
|
-
// }
|
|
8
|
-
|
|
9
|
-
// &::-webkit-scrollbar-track,
|
|
10
|
-
// &::-webkit-scrollbar-track-piece {
|
|
11
|
-
// background-color: @color;
|
|
12
|
-
// border-radius: 6px;
|
|
13
|
-
// }
|
|
14
|
-
|
|
15
|
-
// &::-webkit-scrollbar-thumb {
|
|
16
|
-
// background-color: @color;
|
|
17
|
-
// border-radius: 6px;
|
|
18
|
-
// }
|
|
19
|
-
|
|
20
|
-
// &::-webkit-scrollbar-button,
|
|
21
|
-
// &::-webkit-scrollbar-corner,
|
|
22
|
-
// &::-webkit-resizer {
|
|
23
|
-
// display: none;
|
|
24
|
-
// }
|
|
25
|
-
// }
|
|
26
|
-
|
|
27
3
|
// 三角
|
|
28
4
|
.u-delta() {
|
|
29
5
|
.pa;
|
package/i18n/messages/en-US.js
CHANGED
|
@@ -35,6 +35,9 @@ export default {
|
|
|
35
35
|
favorites: "Favorites",
|
|
36
36
|
purchased: "Purchased",
|
|
37
37
|
orderCenter: "Orders",
|
|
38
|
+
dashboard: "Dashboard",
|
|
39
|
+
profile: "Profile",
|
|
40
|
+
config: "Settings",
|
|
38
41
|
feedbackHelp: "Help",
|
|
39
42
|
proExpireUntil: "(Valid until: {date})",
|
|
40
43
|
uidPrefix: "UID: ",
|
package/i18n/messages/vi.js
CHANGED
|
@@ -35,6 +35,9 @@ export default {
|
|
|
35
35
|
favorites: "Yêu thích",
|
|
36
36
|
purchased: "Đã mua",
|
|
37
37
|
orderCenter: "Đơn hàng",
|
|
38
|
+
dashboard: "Trung tâm cá nhân",
|
|
39
|
+
profile: "Chỉnh sửa hồ sơ",
|
|
40
|
+
config: "Cài đặt ưu tiên",
|
|
38
41
|
feedbackHelp: "Trợ giúp",
|
|
39
42
|
proExpireUntil: "(Hết hạn: {date})",
|
|
40
43
|
uidPrefix: "UID: ",
|
package/i18n/messages/zh-CN.js
CHANGED
package/i18n/messages/zh-TW.js
CHANGED
package/package.json
CHANGED
package/src/header/asset.vue
CHANGED
package/src/header/userInfo.vue
CHANGED
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
</div>
|
|
74
74
|
|
|
75
75
|
<el-button-group class="u-actions">
|
|
76
|
-
<a class="el-button el-button--default is-plain" href="/dashboard">{{
|
|
77
|
-
$jx3boxT("jx3boxUi.header.
|
|
76
|
+
<a class="el-button el-button--default is-plain" href="/dashboard/config">{{
|
|
77
|
+
$jx3boxT("jx3boxUi.header.config", "偏好设置")
|
|
78
78
|
}}</a>
|
|
79
79
|
<a class="el-button el-button--default is-plain" @click="changeAlternate">{{
|
|
80
80
|
$jx3boxT("jx3boxUi.header.switchAlternate", "切换马甲")
|
|
@@ -91,13 +91,16 @@
|
|
|
91
91
|
<a href="/dashboard/fav" class="u-item"
|
|
92
92
|
><el-icon><Star /></el-icon>{{ $jx3boxT("jx3boxUi.header.favorites", "收藏订阅") }}
|
|
93
93
|
</a>
|
|
94
|
-
<a href="/dashboard/purchases" class="u-item"
|
|
95
|
-
><el-icon><ShoppingBag /></el-icon>{{ $jx3boxT("jx3boxUi.header.purchased", "已购资源") }}
|
|
96
|
-
</a>
|
|
97
94
|
<a href="/dashboard/mall" class="u-item"
|
|
98
95
|
><el-icon><Memo /></el-icon>{{ $jx3boxT("jx3boxUi.header.orderCenter", "订单中心") }}
|
|
99
96
|
</a>
|
|
97
|
+
<a href="/dashboard/config" class="u-item"
|
|
98
|
+
><el-icon><Box /></el-icon>{{ $jx3boxT("jx3boxUi.header.dashboard", "个人中心") }}
|
|
99
|
+
</a>
|
|
100
100
|
<hr />
|
|
101
|
+
<a href="/dashboard/profile" class="u-item"
|
|
102
|
+
><el-icon><Setting /></el-icon>{{ $jx3boxT("jx3boxUi.header.profile", "资料修改") }}
|
|
103
|
+
</a>
|
|
101
104
|
<a href="/dashboard/feedback" class="u-item"
|
|
102
105
|
><el-icon><Phone /></el-icon>{{ $jx3boxT("jx3boxUi.header.feedbackHelp", "反馈帮助") }}
|
|
103
106
|
</a>
|
|
@@ -263,6 +266,7 @@ export default {
|
|
|
263
266
|
</script>
|
|
264
267
|
|
|
265
268
|
<style lang="less">
|
|
269
|
+
@import '../../assets/css/mixin.less';
|
|
266
270
|
//用户相关
|
|
267
271
|
.c-header-user {
|
|
268
272
|
font-size: 14px;
|
|
@@ -597,6 +601,7 @@ export default {
|
|
|
597
601
|
padding: 5px 10px;
|
|
598
602
|
color: #454545;
|
|
599
603
|
.flex(y);
|
|
604
|
+
.r(4px);
|
|
600
605
|
|
|
601
606
|
&:hover {
|
|
602
607
|
background: @v4primary;
|