@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.
@@ -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;
@@ -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: ",
@@ -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: ",
@@ -33,6 +33,9 @@ export default {
33
33
  logout: "退出登录",
34
34
  roleManage: "角色管理",
35
35
  favorites: "收藏订阅",
36
+ dashboard: "个人中心",
37
+ profile: "资料修改",
38
+ config: "偏好设置",
36
39
  purchased: "已购资源",
37
40
  orderCenter: "订单中心",
38
41
  feedbackHelp: "反馈帮助",
@@ -33,6 +33,9 @@ export default {
33
33
  logout: "退出登入",
34
34
  roleManage: "角色管理",
35
35
  favorites: "收藏訂閱",
36
+ dashboard: "個人中心",
37
+ profile: "資料修改",
38
+ config: "偏好設定",
36
39
  purchased: "已購資源",
37
40
  orderCenter: "訂單中心",
38
41
  feedbackHelp: "反饋幫助",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -108,6 +108,9 @@ export default {
108
108
  </script>
109
109
 
110
110
  <style lang="less">
111
+ @import '../../assets/css/mixin.less';
112
+
113
+
111
114
  // 用户资产
112
115
  .c-header-assets {
113
116
  position: relative;
@@ -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.profileCenter", "个人中心")
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;