vue2-client 1.6.63-single → 1.7.1

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.
Files changed (127) hide show
  1. package/.env +15 -15
  2. package/CHANGELOG.md +6 -0
  3. package/Components.md +60 -0
  4. package/index.js +39 -30
  5. package/package.json +4 -2
  6. package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +1 -1
  7. package/src/base-client/components/common/CitySelect/CitySelect.vue +247 -247
  8. package/src/base-client/components/common/CreateQuery/CreateQuery.vue +669 -669
  9. package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +735 -735
  10. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +466 -460
  11. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +510 -510
  12. package/src/base-client/components/common/FormGroupEdit/FormGroupEdit.vue +144 -138
  13. package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +165 -165
  14. package/src/base-client/components/common/JSONToTree/jsontotree.vue +275 -275
  15. package/src/base-client/components/common/Upload/Upload.vue +3 -3
  16. package/src/base-client/components/common/XAddForm/XAddForm.vue +72 -72
  17. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +365 -365
  18. package/src/base-client/components/common/XAddNativeForm/index.md +96 -56
  19. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  20. package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -0
  21. package/src/base-client/components/common/XDataDrawer/index.js +3 -0
  22. package/src/base-client/components/common/XDataDrawer/index.md +41 -0
  23. package/src/base-client/components/common/XForm/XForm.vue +178 -178
  24. package/src/base-client/components/common/XForm/XFormItem.vue +521 -521
  25. package/src/base-client/components/common/XForm/XTreeSelect.vue +184 -184
  26. package/src/base-client/components/common/XFormCol/XFormCol.vue +38 -38
  27. package/src/base-client/components/common/XFormTable/XFormTable.vue +356 -348
  28. package/src/base-client/components/common/XFormTable/index.md +97 -97
  29. package/src/base-client/components/common/XImportExcel/XImportExcel.vue +1 -1
  30. package/src/base-client/components/common/XTable/XTable.vue +519 -519
  31. package/src/base-client/components/common/XTreeOne/XTreeOne.vue +111 -111
  32. package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +1 -1
  33. package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +1 -1
  34. package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +1 -1
  35. package/src/base-client/components/ticket/TicketDetailsView/index.md +29 -29
  36. package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
  37. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +1 -1
  38. package/src/base-client/components/ticket/TicketSubmitSuccessView/index.md +29 -29
  39. package/src/base-client/plugins/AppData.js +76 -76
  40. package/src/base-client/plugins/GetLoginInfoService.js +179 -179
  41. package/src/base-client/plugins/PagedList.js +177 -177
  42. package/src/base-client/plugins/compatible/LoginServiceOA.js +20 -20
  43. package/src/base-client/plugins/i18n-extend.js +32 -32
  44. package/src/components/Ellipsis/Ellipsis.vue +65 -65
  45. package/src/components/Ellipsis/index.md +38 -38
  46. package/src/components/NumberInfo/index.md +43 -43
  47. package/src/components/STable/README.md +341 -341
  48. package/src/components/STable/index.js +318 -318
  49. package/src/components/Trend/index.md +45 -45
  50. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  51. package/src/components/checkbox/ImgCheckbox.vue +163 -163
  52. package/src/components/exception/ExceptionPage.vue +70 -70
  53. package/src/components/form/FormRow.vue +52 -52
  54. package/src/components/index.js +36 -36
  55. package/src/components/menu/SideMenu.vue +62 -62
  56. package/src/components/menu/menu.js +273 -273
  57. package/src/components/page/header/index.less +40 -40
  58. package/src/components/setting/Setting.vue +235 -235
  59. package/src/components/table/StandardTable.vue +141 -141
  60. package/src/components/table/advance/ActionColumns.vue +158 -158
  61. package/src/components/table/advance/SearchArea.vue +355 -355
  62. package/src/components/tool/AStepItem.vue +60 -60
  63. package/src/components/tool/AvatarList.vue +68 -68
  64. package/src/components/tool/Drawer.vue +142 -142
  65. package/src/components/tool/TagSelect.vue +83 -83
  66. package/src/components/transition/PageToggleTransition.vue +97 -97
  67. package/src/config/CreateQueryConfig.js +307 -307
  68. package/src/config/default/admin.config.js +18 -18
  69. package/src/config/default/setting.config.js +48 -48
  70. package/src/config/replacer/resolve.config.js +67 -67
  71. package/src/layouts/CommonLayout.vue +42 -42
  72. package/src/layouts/ComponentLayoutOne.vue +47 -47
  73. package/src/layouts/PageLayout.vue +151 -151
  74. package/src/layouts/SinglePageView.vue +116 -116
  75. package/src/layouts/footer/PageFooter.vue +49 -49
  76. package/src/layouts/header/AdminHeader.vue +134 -134
  77. package/src/layouts/header/HeaderAvatar.vue +64 -64
  78. package/src/layouts/header/HeaderNotice.vue +1 -1
  79. package/src/layouts/header/HeaderSearch.vue +67 -67
  80. package/src/layouts/header/InstitutionDetail.vue +2 -2
  81. package/src/layouts/header/index.less +92 -92
  82. package/src/layouts/tabs/TabsHead.vue +190 -190
  83. package/src/layouts/tabs/TabsView.vue +379 -379
  84. package/src/mock/goods/index.js +108 -108
  85. package/src/pages/CreateQueryPage.vue +2 -2
  86. package/src/pages/login/Login.vue +369 -369
  87. package/src/pages/report/ReportTable.js +124 -124
  88. package/src/pages/report/ReportTableHome.vue +1 -1
  89. package/src/pages/resourceManage/orgListManage.vue +98 -98
  90. package/src/pages/system/dictionary/index.vue +1 -1
  91. package/src/pages/system/file/index.vue +3 -3
  92. package/src/pages/system/monitor/loginInfor/index.vue +1 -1
  93. package/src/pages/system/monitor/operLog/index.vue +1 -1
  94. package/src/pages/system/settings/index.vue +126 -126
  95. package/src/pages/system/settings/modifyPassword.vue +109 -109
  96. package/src/router/async/config.async.js +28 -28
  97. package/src/router/async/router.map.js +66 -74
  98. package/src/router/guards.js +153 -153
  99. package/src/router/index.js +27 -27
  100. package/src/services/api/DictionaryDetailsViewApi.js +1 -1
  101. package/src/services/api/LogDetailsViewApi.js +3 -3
  102. package/src/services/api/QueryParamsDetailsViewApi.js +1 -1
  103. package/src/services/api/TicketDetailsViewApi.js +15 -15
  104. package/src/services/api/cas.js +79 -79
  105. package/src/services/api/common.js +18 -13
  106. package/src/services/api/commonTempTable.js +3 -3
  107. package/src/services/api/index.js +17 -17
  108. package/src/services/api/logininfor/index.js +1 -1
  109. package/src/services/api/manage.js +2 -2
  110. package/src/services/apiService.js +14 -14
  111. package/src/services/user.js +67 -67
  112. package/src/store/modules/index.js +4 -4
  113. package/src/theme/default/nprogress.less +76 -76
  114. package/src/theme/default/style.less +58 -58
  115. package/src/utils/EncryptUtil.js +53 -53
  116. package/src/utils/colors.js +107 -107
  117. package/src/utils/excel/Blob.js +180 -180
  118. package/src/utils/excel/Export2Excel.js +141 -141
  119. package/src/utils/formatter.js +68 -68
  120. package/src/utils/i18n.js +80 -80
  121. package/src/utils/login.js +138 -138
  122. package/src/utils/map-utils.js +37 -37
  123. package/src/utils/theme-color-replacer-extend.js +91 -91
  124. package/src/utils/themeUtil.js +100 -100
  125. package/src/utils/util.js +230 -230
  126. package/vue.config.js +106 -106
  127. package/src/pages/system/queryParams/index.vue +0 -43
@@ -8,7 +8,7 @@ import { post } from '@vue2-client/services/api/restTools'
8
8
 
9
9
  const commonApi = {
10
10
  // 获取表格列配置
11
- getColumnsJson: '/api/af-system/logic/getColumns',
11
+ getConfig: 'logic/getLiuliConfiguration',
12
12
  // 通用查询
13
13
  query: 'logic/commonQuery',
14
14
  // 表单查询
@@ -18,9 +18,9 @@ const commonApi = {
18
18
  // 通用删除
19
19
  delete: 'logic/commonDelete',
20
20
  // 获取字典键列表
21
- getDictionaryParam: '/api/af-system/logic/getDictionaryParam',
21
+ getDictionaryParam: '/api/system/logic/getDictionaryParam',
22
22
  // 获取所有员工及其部门的级联菜单数据
23
- getEmpTree: '/api/af-system/logic/getEmpTree',
23
+ getEmpTree: '/api/system/logic/getEmpTree',
24
24
  // 导入数据
25
25
  importData: 'logic/importData',
26
26
  // 导出数据
@@ -31,66 +31,71 @@ const commonApi = {
31
31
  upload: '/resource/upload'
32
32
  }
33
33
 
34
+ export function getConfigUrl (serviceName = 'system') {
35
+ return '/api/' + serviceName + '/' + commonApi.getConfig
36
+ }
37
+
34
38
  /**
35
39
  * 带缓存查询的表格配置文件查询
36
40
  * @param queryParamsName 配置名称
41
+ * @param serviceName 命名空间名称
37
42
  * @param callback 回调函数
38
43
  */
39
- export function getColumnsJson (queryParamsName, callback) {
40
- indexedDB.getByWeb(queryParamsName, commonApi.getColumnsJson, { str: queryParamsName }, callback)
44
+ export function getColumnsJson (queryParamsName, serviceName = 'system', callback) {
45
+ indexedDB.getByWeb(queryParamsName, getConfigUrl(serviceName), { configName: queryParamsName }, callback)
41
46
  }
42
47
 
43
48
  /**
44
49
  * 通用查询
45
50
  */
46
- export function query (parameter, serviceName = 'af-system') {
51
+ export function query (parameter, serviceName = 'system') {
47
52
  return post('/api/' + serviceName + '/' + commonApi.query, parameter, null)
48
53
  }
49
54
 
50
55
  /**
51
56
  * 通用表单查询
52
57
  */
53
- export function queryWithResource (parameter, serviceName = 'af-system') {
58
+ export function queryWithResource (parameter, serviceName = 'system') {
54
59
  return post('/api/' + serviceName + '/' + commonApi.queryWithResource, parameter, null)
55
60
  }
56
61
 
57
62
  /**
58
63
  * 通用新增/修改
59
64
  */
60
- export function addOrModify (parameter, serviceName = 'af-system') {
65
+ export function addOrModify (parameter, serviceName = 'system') {
61
66
  return post('/api/' + serviceName + '/' + commonApi.addOrModify, parameter, null)
62
67
  }
63
68
 
64
69
  /**
65
70
  * 通用删除
66
71
  */
67
- export function remove (parameter, serviceName = 'af-system') {
72
+ export function remove (parameter, serviceName = 'system') {
68
73
  return post('/api/' + serviceName + '/' + commonApi.delete, parameter, null)
69
74
  }
70
75
 
71
76
  /**
72
77
  * 通用导入
73
78
  */
74
- export function importData (parameter, serviceName = 'af-system') {
79
+ export function importData (parameter, serviceName = 'system') {
75
80
  return post('/api/' + serviceName + '/' + commonApi.importData, parameter, null)
76
81
  }
77
82
 
78
83
  /**
79
84
  * 通用导出
80
85
  */
81
- export function exportData (parameter, serviceName = 'af-system') {
86
+ export function exportData (parameter, serviceName = 'system') {
82
87
  return post('/api/' + serviceName + '/' + commonApi.exportData, parameter, null)
83
88
  }
84
89
 
85
90
  /**
86
91
  * 通用上传
87
92
  */
88
- export function upload (parameter, serviceName = 'af-system', config) {
93
+ export function upload (parameter, serviceName = 'system', config) {
89
94
  return post('/api/' + serviceName + '/' + commonApi.upload, parameter, config)
90
95
  }
91
96
 
92
97
  // 通用下载
93
- export function download (parameter, filename, serviceName = 'af-system') {
98
+ export function download (parameter, filename, serviceName = 'system') {
94
99
  const notificationKey = 'download'
95
100
  notification.open({
96
101
  key: notificationKey,
@@ -1,10 +1,10 @@
1
1
  const CommonTempTable = {
2
2
  // 初始化子表
3
- initApplySubTable: '/api/af-system/logic/initApplySubTable',
3
+ initApplySubTable: '/api/system/logic/initApplySubTable',
4
4
  // 创建临时表,根据配置文件动态生成
5
- createTempTable: '/api/af-system/logic/createTempTable',
5
+ createTempTable: '/api/system/logic/createTempTable',
6
6
  // 向临时表中插入数据
7
- insertDataToTempTable: '/api/af-system/logic/insertDataToTempTable'
7
+ insertDataToTempTable: '/api/system/logic/insertDataToTempTable'
8
8
  }
9
9
 
10
10
  export { CommonTempTable }
@@ -1,17 +1,17 @@
1
- import { commonApi, getColumnsJson, query, addOrModify, remove } from '@vue2-client/services/api/common'
2
- import { QueryParamsDetailsViewApi } from '@vue2-client/services/api/QueryParamsDetailsViewApi'
3
- import { DictionaryDetailsViewApi } from '@vue2-client/services/api/DictionaryDetailsViewApi'
4
- import { LogDetailsViewApi } from '@vue2-client/services/api/LogDetailsViewApi'
5
- import { manageApi } from '@vue2-client/services/api/manage'
6
- import { get, post } from '@vue2-client/services/api/restTools'
7
- import { TicketDetailsViewApi } from '@vue2-client/services/api/TicketDetailsViewApi'
8
-
9
- export {
10
- commonApi, getColumnsJson, query, addOrModify, remove,
11
- DictionaryDetailsViewApi,
12
- LogDetailsViewApi,
13
- manageApi,
14
- QueryParamsDetailsViewApi,
15
- get, post,
16
- TicketDetailsViewApi
17
- }
1
+ import { commonApi, getColumnsJson, query, addOrModify, remove } from '@vue2-client/services/api/common'
2
+ import { QueryParamsDetailsViewApi } from '@vue2-client/services/api/QueryParamsDetailsViewApi'
3
+ import { DictionaryDetailsViewApi } from '@vue2-client/services/api/DictionaryDetailsViewApi'
4
+ import { LogDetailsViewApi } from '@vue2-client/services/api/LogDetailsViewApi'
5
+ import { manageApi } from '@vue2-client/services/api/manage'
6
+ import { get, post } from '@vue2-client/services/api/restTools'
7
+ import { TicketDetailsViewApi } from '@vue2-client/services/api/TicketDetailsViewApi'
8
+
9
+ export {
10
+ commonApi, getColumnsJson, query, addOrModify, remove,
11
+ DictionaryDetailsViewApi,
12
+ LogDetailsViewApi,
13
+ manageApi,
14
+ QueryParamsDetailsViewApi,
15
+ get, post,
16
+ TicketDetailsViewApi
17
+ }
@@ -1,6 +1,6 @@
1
1
  const loginforApi = {
2
2
  // 查询:获取系统访问记录
3
- query: '/api/af-system/logic/getLogininfor'
3
+ query: '/api/system/logic/getLogininfor'
4
4
  }
5
5
 
6
6
  export { loginforApi }
@@ -1,8 +1,8 @@
1
1
  const manageApi = {
2
2
  // 查询:获取字典键列表
3
- getDictionaryValue: '/api/af-system/logic/getDictionaryValue',
3
+ getDictionaryValue: '/api/system/logic/getDictionaryValue',
4
4
  // 查询:获取省市区街道三级分类
5
- getDivisionsOhChina: '/api/af-system/logic/getDivisionsOhChina'
5
+ getDivisionsOhChina: '/api/system/logic/getDivisionsOhChina'
6
6
  }
7
7
 
8
8
  export { manageApi }
@@ -1,14 +1,14 @@
1
- // 跨域代理前缀
2
- // const API_PROXY_PREFIX='/api'
3
- // const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
4
-
5
- module.exports = {
6
- LOGIN: `/rs/logic/getLogin`,
7
- MODIFY_PASSWORD: '/rs/user/modifypwd',
8
- V4_LOGIN: '/auth/login',
9
- V4_LOGOUT: '/auth/logout',
10
- ROUTES: `/rs/user/userLogin`,
11
- SEARCH: `/rs/search`,
12
- GOODS: `/goods`,
13
- GOODS_COLUMNS: `/columns`
14
- }
1
+ // 跨域代理前缀
2
+ // const API_PROXY_PREFIX='/api'
3
+ // const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
4
+
5
+ module.exports = {
6
+ LOGIN: `/rs/logic/getLogin`,
7
+ MODIFY_PASSWORD: '/rs/user/modifypwd',
8
+ V4_LOGIN: '/auth/login',
9
+ V4_LOGOUT: '/auth/logout',
10
+ ROUTES: `/rs/user/userLogin`,
11
+ SEARCH: `/rs/search`,
12
+ GOODS: `/goods`,
13
+ GOODS_COLUMNS: `/columns`
14
+ }
@@ -1,67 +1,67 @@
1
- import { LOGIN, MODIFY_PASSWORD, ROUTES, V4_GET_INFO, V4_LOGIN, V4_LOGOUT } from '@vue2-client/services/apiService'
2
- import { request, METHOD, removeAuthorization } from '@vue2-client/utils/request'
3
- import EncryptUtil from '@vue2-client/utils/EncryptUtil'
4
-
5
- /**
6
- * 登录服务
7
- * @param name 账户名
8
- * @param password 账户密码
9
- * @returns {Promise<AxiosResponse<T>>}
10
- */
11
- export async function login (name, password) {
12
- let data = {
13
- name: name,
14
- password: password
15
- }
16
- data = '$' + EncryptUtil.RSAEncrypt(JSON.stringify(data))
17
- return request(LOGIN, METHOD.POST, data)
18
- }
19
-
20
- export async function modifyPassword (name, password, newPassword) {
21
- return request(MODIFY_PASSWORD, METHOD.POST, {
22
- data: {
23
- ename: name,
24
- password: password,
25
- newpassword: newPassword,
26
- affirmpassword: newPassword
27
- }
28
- })
29
- }
30
-
31
- export async function V4Login (name, password) {
32
- return request(V4_LOGIN, METHOD.POST, {
33
- username: name,
34
- password: password
35
- })
36
- }
37
-
38
- export async function V4GetInfo () {
39
- return request(V4_GET_INFO, METHOD.POST, {})
40
- }
41
-
42
- export async function getRoutesConfig (value, routeName = '智慧燃气') {
43
- return request(ROUTES + '/' + routeName, METHOD.POST, value)
44
- }
45
-
46
- /**
47
- * 退出登录
48
- */
49
- export function logout () {
50
- return new Promise((resolve, reject) => {
51
- request(V4_LOGOUT, METHOD.DELETE, {}).then(() => {
52
- resolve()
53
- }).catch(error => {
54
- reject(error)
55
- }).finally(() => {
56
- localStorage.removeItem(process.env.VUE_APP_ROUTES_KEY)
57
- localStorage.removeItem(process.env.VUE_APP_PERMISSIONS_KEY)
58
- localStorage.removeItem(process.env.VUE_APP_ROLES_KEY)
59
- removeAuthorization()
60
- })
61
- })
62
- }
63
- export default {
64
- login,
65
- logout,
66
- getRoutesConfig
67
- }
1
+ import { LOGIN, MODIFY_PASSWORD, ROUTES, V4_GET_INFO, V4_LOGIN, V4_LOGOUT } from '@vue2-client/services/apiService'
2
+ import { request, METHOD, removeAuthorization } from '@vue2-client/utils/request'
3
+ import EncryptUtil from '@vue2-client/utils/EncryptUtil'
4
+
5
+ /**
6
+ * 登录服务
7
+ * @param name 账户名
8
+ * @param password 账户密码
9
+ * @returns {Promise<AxiosResponse<T>>}
10
+ */
11
+ export async function login (name, password) {
12
+ let data = {
13
+ name: name,
14
+ password: password
15
+ }
16
+ data = '$' + EncryptUtil.RSAEncrypt(JSON.stringify(data))
17
+ return request(LOGIN, METHOD.POST, data)
18
+ }
19
+
20
+ export async function modifyPassword (name, password, newPassword) {
21
+ return request(MODIFY_PASSWORD, METHOD.POST, {
22
+ data: {
23
+ ename: name,
24
+ password: password,
25
+ newpassword: newPassword,
26
+ affirmpassword: newPassword
27
+ }
28
+ })
29
+ }
30
+
31
+ export async function V4Login (name, password) {
32
+ return request(V4_LOGIN, METHOD.POST, {
33
+ username: name,
34
+ password: password
35
+ })
36
+ }
37
+
38
+ export async function V4GetInfo () {
39
+ return request(V4_GET_INFO, METHOD.POST, {})
40
+ }
41
+
42
+ export async function getRoutesConfig (value, routeName = '智慧燃气') {
43
+ return request(ROUTES + '/' + routeName, METHOD.POST, value)
44
+ }
45
+
46
+ /**
47
+ * 退出登录
48
+ */
49
+ export function logout () {
50
+ return new Promise((resolve, reject) => {
51
+ request(V4_LOGOUT, METHOD.DELETE, {}).then(() => {
52
+ resolve()
53
+ }).catch(error => {
54
+ reject(error)
55
+ }).finally(() => {
56
+ localStorage.removeItem(process.env.VUE_APP_ROUTES_KEY)
57
+ localStorage.removeItem(process.env.VUE_APP_PERMISSIONS_KEY)
58
+ localStorage.removeItem(process.env.VUE_APP_ROLES_KEY)
59
+ removeAuthorization()
60
+ })
61
+ })
62
+ }
63
+ export default {
64
+ login,
65
+ logout,
66
+ getRoutesConfig
67
+ }
@@ -1,4 +1,4 @@
1
- import account from './account'
2
- import setting from './setting'
3
-
4
- export default { account, setting }
1
+ import account from './account'
2
+ import setting from './setting'
3
+
4
+ export default { account, setting }
@@ -1,76 +1,76 @@
1
- @import '~ant-design-vue/lib/style/themes/default';
2
-
3
- /* Make clicks pass-through */
4
- #nprogress {
5
- pointer-events: none;
6
- }
7
-
8
- #nprogress .bar {
9
- background: @primary-color;
10
-
11
- position: fixed;
12
- z-index: 1031;
13
- top: 0;
14
- left: 0;
15
-
16
- width: 100%;
17
- height: 2px;
18
- }
19
-
20
- /* Fancy blur effect */
21
- #nprogress .peg {
22
- display: block;
23
- position: absolute;
24
- right: 0;
25
- width: 100px;
26
- height: 100%;
27
- box-shadow: 0 0 10px @primary-color, 0 0 5px @primary-color;
28
- opacity: 1.0;
29
-
30
- -webkit-transform: rotate(3deg) translate(0px, -4px);
31
- -ms-transform: rotate(3deg) translate(0px, -4px);
32
- transform: rotate(3deg) translate(0px, -4px);
33
- }
34
-
35
- /* Remove these to get rid of the spinner */
36
- #nprogress .spinner {
37
- display: block;
38
- position: fixed;
39
- z-index: 1031;
40
- top: 15px;
41
- right: 15px;
42
- }
43
-
44
- #nprogress .spinner-icon {
45
- width: 18px;
46
- height: 18px;
47
- box-sizing: border-box;
48
-
49
- border: solid 2px transparent;
50
- border-top-color: @primary-color;
51
- border-left-color: @primary-color;
52
- border-radius: 50%;
53
-
54
- -webkit-animation: nprogress-spinner 400ms linear infinite;
55
- animation: nprogress-spinner 400ms linear infinite;
56
- }
57
-
58
- .nprogress-custom-parent {
59
- overflow: hidden;
60
- position: relative;
61
- }
62
-
63
- .nprogress-custom-parent #nprogress .spinner,
64
- .nprogress-custom-parent #nprogress .bar {
65
- position: absolute;
66
- }
67
-
68
- @-webkit-keyframes nprogress-spinner {
69
- 0% { -webkit-transform: rotate(0deg); }
70
- 100% { -webkit-transform: rotate(360deg); }
71
- }
72
- @keyframes nprogress-spinner {
73
- 0% { transform: rotate(0deg); }
74
- 100% { transform: rotate(360deg); }
75
- }
76
-
1
+ @import '~ant-design-vue/lib/style/themes/default';
2
+
3
+ /* Make clicks pass-through */
4
+ #nprogress {
5
+ pointer-events: none;
6
+ }
7
+
8
+ #nprogress .bar {
9
+ background: @primary-color;
10
+
11
+ position: fixed;
12
+ z-index: 1031;
13
+ top: 0;
14
+ left: 0;
15
+
16
+ width: 100%;
17
+ height: 2px;
18
+ }
19
+
20
+ /* Fancy blur effect */
21
+ #nprogress .peg {
22
+ display: block;
23
+ position: absolute;
24
+ right: 0;
25
+ width: 100px;
26
+ height: 100%;
27
+ box-shadow: 0 0 10px @primary-color, 0 0 5px @primary-color;
28
+ opacity: 1.0;
29
+
30
+ -webkit-transform: rotate(3deg) translate(0px, -4px);
31
+ -ms-transform: rotate(3deg) translate(0px, -4px);
32
+ transform: rotate(3deg) translate(0px, -4px);
33
+ }
34
+
35
+ /* Remove these to get rid of the spinner */
36
+ #nprogress .spinner {
37
+ display: block;
38
+ position: fixed;
39
+ z-index: 1031;
40
+ top: 15px;
41
+ right: 15px;
42
+ }
43
+
44
+ #nprogress .spinner-icon {
45
+ width: 18px;
46
+ height: 18px;
47
+ box-sizing: border-box;
48
+
49
+ border: solid 2px transparent;
50
+ border-top-color: @primary-color;
51
+ border-left-color: @primary-color;
52
+ border-radius: 50%;
53
+
54
+ -webkit-animation: nprogress-spinner 400ms linear infinite;
55
+ animation: nprogress-spinner 400ms linear infinite;
56
+ }
57
+
58
+ .nprogress-custom-parent {
59
+ overflow: hidden;
60
+ position: relative;
61
+ }
62
+
63
+ .nprogress-custom-parent #nprogress .spinner,
64
+ .nprogress-custom-parent #nprogress .bar {
65
+ position: absolute;
66
+ }
67
+
68
+ @-webkit-keyframes nprogress-spinner {
69
+ 0% { -webkit-transform: rotate(0deg); }
70
+ 100% { -webkit-transform: rotate(360deg); }
71
+ }
72
+ @keyframes nprogress-spinner {
73
+ 0% { transform: rotate(0deg); }
74
+ 100% { transform: rotate(360deg); }
75
+ }
76
+
@@ -1,58 +1,58 @@
1
- .week-mode{
2
- overflow: hidden;
3
- filter: invert(80%);
4
- }
5
- .beauty-scroll{
6
- scrollbar-color: @primary-color @primary-2;
7
- scrollbar-width: thin;
8
- -ms-overflow-style:none;
9
- position: relative;
10
- &::-webkit-scrollbar{
11
- width: 3px;
12
- height: 1px;
13
- }
14
- &::-webkit-scrollbar-thumb {
15
- border-radius: 3px;
16
- background: @primary-color;
17
- }
18
- &::-webkit-scrollbar-track {
19
- -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
20
- border-radius: 3px;
21
- background: @primary-3;
22
- }
23
- }
24
- .split-right{
25
- &:not(:last-child) {
26
- border-right: 1px solid rgba(98, 98, 98, 0.2);
27
- }
28
- }
29
- .disabled{
30
- cursor: not-allowed;
31
- color: @disabled-color;
32
- pointer-events: none;
33
- }
34
-
35
- // 美化滚动条
36
- ::-webkit-scrollbar{
37
- height: 9px;
38
- width: 9px;
39
- }
40
-
41
- ::-webkit-scrollbar-thumb {
42
- border-radius: 10px;
43
- background: @primary-3;
44
- border-style: dashed;
45
- border-color: transparent;
46
- border-width: 2px;
47
- background-clip: padding-box;
48
- }
49
-
50
- ::-webkit-scrollbar-track {
51
- -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
52
- border-radius: 10px;
53
- background: @primary-1;
54
- }
55
-
56
- ::-webkit-scrollbar-thumb:hover {
57
- background: @primary-3;
58
- }
1
+ .week-mode{
2
+ overflow: hidden;
3
+ filter: invert(80%);
4
+ }
5
+ .beauty-scroll{
6
+ scrollbar-color: @primary-color @primary-2;
7
+ scrollbar-width: thin;
8
+ -ms-overflow-style:none;
9
+ position: relative;
10
+ &::-webkit-scrollbar{
11
+ width: 3px;
12
+ height: 1px;
13
+ }
14
+ &::-webkit-scrollbar-thumb {
15
+ border-radius: 3px;
16
+ background: @primary-color;
17
+ }
18
+ &::-webkit-scrollbar-track {
19
+ -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
20
+ border-radius: 3px;
21
+ background: @primary-3;
22
+ }
23
+ }
24
+ .split-right{
25
+ &:not(:last-child) {
26
+ border-right: 1px solid rgba(98, 98, 98, 0.2);
27
+ }
28
+ }
29
+ .disabled{
30
+ cursor: not-allowed;
31
+ color: @disabled-color;
32
+ pointer-events: none;
33
+ }
34
+
35
+ // 美化滚动条
36
+ ::-webkit-scrollbar{
37
+ height: 9px;
38
+ width: 9px;
39
+ }
40
+
41
+ ::-webkit-scrollbar-thumb {
42
+ border-radius: 10px;
43
+ background: @primary-3;
44
+ border-style: dashed;
45
+ border-color: transparent;
46
+ border-width: 2px;
47
+ background-clip: padding-box;
48
+ }
49
+
50
+ ::-webkit-scrollbar-track {
51
+ -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
52
+ border-radius: 10px;
53
+ background: @primary-1;
54
+ }
55
+
56
+ ::-webkit-scrollbar-thumb:hover {
57
+ background: @primary-3;
58
+ }