look-ui 1.0.11 → 1.1.12

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 (46) hide show
  1. package/README.md +16 -0
  2. package/jsconfig.json +19 -0
  3. package/package.json +19 -2
  4. package/src/App.vue +197 -0
  5. package/src/main.js +14 -0
  6. package/src/normalize.css +9 -0
  7. package/utils/api.js +13 -0
  8. package/utils/request.js +26 -0
  9. package/index.scss +0 -43
  10. package/src/components/look-empty.vue +0 -30
  11. package/src/components/tab-scroll.vue +0 -221
  12. package/src/css/alert/index.scss +0 -66
  13. package/src/css/bread-crumb/index.scss +0 -6
  14. package/src/css/button/index.scss +0 -250
  15. package/src/css/calendar/index.scss +0 -22
  16. package/src/css/card/index.scss +0 -34
  17. package/src/css/cascader/index.scss +0 -25
  18. package/src/css/checkbox/index.scss +0 -29
  19. package/src/css/date-picker/index.scss +0 -73
  20. package/src/css/descriptions/index.scss +0 -10
  21. package/src/css/dialog/index.scss +0 -17
  22. package/src/css/dropdown/index.scss +0 -19
  23. package/src/css/form/index.scss +0 -9
  24. package/src/css/index.scss +0 -42
  25. package/src/css/input/index.scss +0 -75
  26. package/src/css/input-number/index.scss +0 -45
  27. package/src/css/loading/index.scss +0 -15
  28. package/src/css/message-box/index.scss +0 -43
  29. package/src/css/nav-menu/index.scss +0 -169
  30. package/src/css/notification/index.scss +0 -10
  31. package/src/css/page-header/index.scss +0 -39
  32. package/src/css/pagination/index.scss +0 -40
  33. package/src/css/picker/index.scss +0 -17
  34. package/src/css/popover/index.scss +0 -23
  35. package/src/css/radio/index.scss +0 -23
  36. package/src/css/select/index.scss +0 -43
  37. package/src/css/slider/index.scss +0 -9
  38. package/src/css/steps/index.scss +0 -52
  39. package/src/css/switch/index.scss +0 -10
  40. package/src/css/table/index.scss +0 -305
  41. package/src/css/tabs/index.scss +0 -24
  42. package/src/css/time-picker/index.scss +0 -58
  43. package/src/css/transfer/index.scss +0 -19
  44. package/src/css/upload/index.scss +0 -32
  45. package/src/imgs/empty.png +0 -0
  46. package/src/index.js +0 -10
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # look-ui
2
+
3
+ # 鹿鸣前端组件包
4
+
5
+ ## 如何新建组件?
6
+ 1. 在 packages 目录下新建组件文件夹, 名字为 look-xxx, 目录结构参考现有组件
7
+ 2. 在 packages/index.js 文件中引入该组件即可
8
+
9
+ ## 如何打包成组件库?
10
+ 1. 在终端执行 `npm run lib` 命令即可
11
+
12
+ ## 如何发布到 npm ?
13
+ 1. 修改 package.json 中的 version 版本号
14
+ 2. 修改 npm 源为 npm 官方源, 否则在第3步会报错, 在终端执行 `npm config set registry https://registry.npmjs.org/`
15
+ 3. 执行 `npm login` , 登录 npm 账号
16
+ 4. 执行 `npm publish` 发布到 npm 官方源
package/jsconfig.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "esnext",
5
+ "baseUrl": "./",
6
+ "moduleResolution": "node",
7
+ "paths": {
8
+ "@/*": [
9
+ "src/*"
10
+ ]
11
+ },
12
+ "lib": [
13
+ "esnext",
14
+ "dom",
15
+ "dom.iterable",
16
+ "scripthost"
17
+ ]
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,11 +1,28 @@
1
1
  {
2
2
  "name": "look-ui",
3
- "version": "1.0.11",
3
+ "version": "1.1.12",
4
4
  "description": "a ui library which is based on element-ui",
5
- "main": "src/index.js",
5
+ "main": "./dist/look-ui.common.js",
6
6
  "scripts": {
7
+ "serve": "vue-cli-service serve",
8
+ "build": "vue-cli-service build",
9
+ "lib": "vue-cli-service build --target lib --name look-ui --dest dist packages/index.js",
7
10
  "test": "echo \"Error: no test specified\" && exit 1"
8
11
  },
12
+ "dependencies": {
13
+ "axios": "^1.5.1",
14
+ "core-js": "^3.8.3",
15
+ "element-ui": "^2.15.14",
16
+ "qs": "^6.11.2",
17
+ "sass": "^1.63.6",
18
+ "sass-loader": "^13.3.2",
19
+ "vue": "^2.6.14"
20
+ },
21
+ "devDependencies": {
22
+ "@vue/cli-plugin-babel": "~5.0.0",
23
+ "@vue/cli-service": "~5.0.0",
24
+ "vue-template-compiler": "^2.6.14"
25
+ },
9
26
  "repository": {
10
27
  "type": "git",
11
28
  "url": "https://github.com/cyan0714/look-ui"
package/src/App.vue ADDED
@@ -0,0 +1,197 @@
1
+ <template>
2
+ <div class="app">
3
+ <look-dulplicate-checking
4
+ :loadingCheckResultList="loadingCheckResultList"
5
+ :noDealSimilarList="noDealSimilarList"
6
+ :noDealDissimilarList="noDealDissimilarList"
7
+ :hadDealSimilarList="hadDealSimilarList"
8
+ :hadDealDissimilarList="hadDealDissimilarList"
9
+ :checkingResultList="checkingResultList"
10
+ @mission-click="handleMissionClick"
11
+ @toggle-source="toggleSource"
12
+ @detail-click="handleDetailClick"
13
+ @subscription-click="handleSubscribe"
14
+ @merging-click="handleMerge"
15
+ @insertion-click="handleInsert"
16
+ @onClickNoDealSimilar="onClickNoDealSimilar" />
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ import { searchRepeated } from '../utils/api.js';
22
+ export default {
23
+ data() {
24
+ return {
25
+ loadingCheckResultList: false,
26
+ allCheckingResultList: [],
27
+ // 未处理任务-存在相似任务列表
28
+ noDealSimilarList: [
29
+ {
30
+ taskId: '1',
31
+ name: '三亚市第一艘海洋休闲渔船',
32
+ checked: false,
33
+ tenantId: '4602000038',
34
+ checkResultListLength: 0,
35
+ },
36
+ {
37
+ taskId: '2',
38
+ name: '事项工作内容',
39
+ checked: false,
40
+ tenantId: '4602000038',
41
+ checkResultListLength: 0,
42
+ },
43
+ ],
44
+ // 未处理任务-不存在相似任务列表
45
+ noDealDissimilarList: [
46
+ {
47
+ taskId: '1',
48
+ name: '三亚市第一艘海洋休闲渔船',
49
+ checked: false,
50
+ tenantId: '4602000038',
51
+ checkResultListLength: 0,
52
+ },
53
+ {
54
+ taskId: '2',
55
+ name: '事项工作内容',
56
+ checked: false,
57
+ tenantId: '4602000038',
58
+ checkResultListLength: 0,
59
+ },
60
+ ],
61
+ // 已处理任务-存在相似任务列表
62
+ hadDealSimilarList: [
63
+ {
64
+ title:
65
+ '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
66
+ checked: false,
67
+ matchingResultCount: 8,
68
+ checkResultList: [
69
+ { name: '省政府督查', count: 3 },
70
+ { name: '省委督查', count: 3 },
71
+ { name: '深改办(自贸办)', count: 2 },
72
+ ],
73
+ status: 3,
74
+ relation:
75
+ '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
76
+ },
77
+ {
78
+ title:
79
+ '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
80
+ checked: false,
81
+ matchingResultCount: 8,
82
+ checkResultList: [
83
+ { name: '省政府督查', count: 3 },
84
+ { name: '省委督查', count: 3 },
85
+ { name: '深改办(自贸办)', count: 2 },
86
+ ],
87
+ status: 3,
88
+ relation:
89
+ '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
90
+ },
91
+ ],
92
+ // 已处理任务-不存在相似任务列表
93
+ hadDealDissimilarList: [
94
+ {
95
+ title:
96
+ '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
97
+ checked: false,
98
+ status: 3,
99
+ relation:
100
+ '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
101
+ },
102
+ {
103
+ title:
104
+ '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
105
+ checked: false,
106
+ status: 3,
107
+ relation:
108
+ '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
109
+ },
110
+ {
111
+ title:
112
+ '春风验荡。历经百年沧桑的南非比勒陀利亚总统府,习近平主席同拉马福萨总统并肩而立,俯瞰欣欣向荣的城。',
113
+ checked: false,
114
+ status: 3,
115
+ relation:
116
+ '《习近平主席出席金砖国家领导人第十五次会晤并对南非进行国事访问。立足南非和金砖,放眼非洲和世 界。》',
117
+ },
118
+ ],
119
+ checkingResultList: [],
120
+ };
121
+ },
122
+ created() {
123
+ searchRepeated(this.paramsData).then(res => {
124
+ this.allCheckingResultList = res.data.data;
125
+ this.allCheckingResultList.forEach(item => {
126
+ this.noDealSimilarList.forEach(iten => {
127
+ if (item.keyId == iten.taskId) {
128
+ iten.checkResultListLength = item.size;
129
+ }
130
+ });
131
+ });
132
+ this.getCurrMissionCheckingResultList(0);
133
+ });
134
+ },
135
+ computed: {
136
+ paramsData() {
137
+ return {
138
+ from: 0,
139
+ jsonStr: JSON.stringify(this.noDealSimilarList),
140
+ keyId: 'taskId',
141
+ modelIndex: 'common_task',
142
+ modelType: 'task',
143
+ names: 'name',
144
+ size: 10000,
145
+ }
146
+ }
147
+ },
148
+ methods: {
149
+ fetchCheckingResultList(index) {
150
+ this.loadingCheckResultList = true
151
+ searchRepeated(this.paramsData).then(res => {
152
+ this.allCheckingResultList = res.data.data;
153
+ this.getCurrMissionCheckingResultList(index)
154
+ })
155
+ },
156
+ handleDetailClick() {
157
+
158
+ },
159
+ onClickNoDealSimilar(index) {
160
+ this.getCurrMissionCheckingResultList(index)
161
+ },
162
+ getCurrMissionCheckingResultList(index) {
163
+ this.loadingCheckResultList = true
164
+ setTimeout(() => {
165
+ const currentMissionKeyId = this.noDealSimilarList[index].taskId;
166
+ const resObj = this.allCheckingResultList.find(item => item.keyId == currentMissionKeyId) || {};
167
+ this.checkingResultList = resObj.hitRes || [];
168
+ this.loadingCheckResultList = false;
169
+ }, 500)
170
+ },
171
+ handleMissionClick(row) {
172
+ console.log('row', row);
173
+ },
174
+ toggleSource(val, index) {
175
+ this.paramsData.names = val.toString()
176
+ this.fetchCheckingResultList(index)
177
+ },
178
+ // 关注
179
+ handleSubscribe(row) {
180
+ console.log('row', row);
181
+ },
182
+ // 归并
183
+ handleMerge(row) {
184
+ console.log('row', row);
185
+ },
186
+ // 插入
187
+ handleInsert(row) {
188
+ console.log('row', row);
189
+ },
190
+ },
191
+ };
192
+ </script>
193
+ <style>
194
+ .app {
195
+ height: 100%;
196
+ }
197
+ </style>
package/src/main.js ADDED
@@ -0,0 +1,14 @@
1
+ import Vue from 'vue';
2
+ import App from './App.vue';
3
+ import ElementUI from 'element-ui';
4
+ import 'element-ui/lib/theme-chalk/index.css';
5
+ import LookUI from '../packages/index.js';
6
+ import '../style/index.scss';
7
+ import './normalize.css'
8
+
9
+ Vue.config.productionTip = false;
10
+ Vue.use(ElementUI);
11
+ Vue.use(LookUI);
12
+ new Vue({
13
+ render: h => h(App),
14
+ }).$mount('#app');
@@ -0,0 +1,9 @@
1
+ html,body {
2
+ margin: 0;
3
+ padding: 0;
4
+ }
5
+
6
+ html,body {
7
+ width: 100%;
8
+ height: 100%;
9
+ }
package/utils/api.js ADDED
@@ -0,0 +1,13 @@
1
+ import request from './request';
2
+ import Qs from 'qs';
3
+
4
+ export const searchRepeated = function (data) {
5
+ return request({
6
+ url: `/api/searchRepeated/batchSearch`,
7
+ method: 'post',
8
+ headers: {
9
+ 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
10
+ },
11
+ data: Qs.stringify(data),
12
+ });
13
+ };
@@ -0,0 +1,26 @@
1
+ import axios from 'axios';
2
+
3
+ const service = axios.create({
4
+ timeout: 5 * 60000,
5
+ });
6
+
7
+ service.interceptors.request.use(
8
+ config => {
9
+ return config;
10
+ },
11
+ error => {
12
+ console.log(error);
13
+ Promise.reject(error);
14
+ }
15
+ );
16
+
17
+ service.interceptors.response.use(
18
+ res => {
19
+ return res
20
+ },
21
+ error => {
22
+ return Promise.reject(error);
23
+ }
24
+ );
25
+
26
+ export default service;
package/index.scss DELETED
@@ -1,43 +0,0 @@
1
- // base
2
- @import './src/css/button/index.scss';
3
-
4
- // data
5
- @import './src/css/table/index.scss';
6
- @import './src/css/pagination/index.scss';
7
-
8
- // form
9
- @import './src/css/radio/index.scss';
10
- @import './src/css/checkbox/index.scss';
11
- @import './src/css/input/index.scss';
12
- @import './src/css/input-number/index.scss';
13
- @import './src/css/select/index.scss';
14
- @import './src/css/cascader/index.scss';
15
- @import './src/css/switch/index.scss';
16
- @import './src/css/slider/index.scss';
17
- @import './src/css/picker/index.scss';
18
- @import './src/css/time-picker/index.scss';
19
- @import './src/css/date-picker/index.scss';
20
- @import './src/css/upload/index.scss';
21
- @import './src/css/transfer/index.scss';
22
- @import './src/css/form/index.scss';
23
-
24
- // navigation
25
- @import './src/css/bread-crumb/index.scss';
26
- @import './src/css/dropdown/index.scss';
27
- @import './src/css/nav-menu/index.scss';
28
- @import './src/css/page-header/index.scss';
29
- @import './src/css/tabs/index.scss';
30
- @import './src/css/steps/index.scss';
31
-
32
- // notification
33
- @import './src/css/alert/index.scss';
34
- @import './src/css/loading/index.scss';
35
- @import './src/css/notification/index.scss';
36
- @import './src/css/message-box/index.scss';
37
-
38
- // others
39
- @import './src/css/dialog/index.scss';
40
- @import './src/css/popover/index.scss';
41
- @import './src/css/card/index.scss';
42
- @import './src/css/calendar/index.scss';
43
- @import './src/css/descriptions/index.scss';
@@ -1,30 +0,0 @@
1
- <template>
2
- <div class="look-empty">
3
- <img src="../imgs/empty.png" alt="">
4
- </div>
5
- </template>
6
-
7
- <script>
8
- export default {
9
- name: 'look-empty',
10
- components: {},
11
- data() {
12
- return {}
13
- },
14
- props: {},
15
- computed: {},
16
- created() {},
17
- mounted() {},
18
- methods: {}
19
- }
20
- </script>
21
-
22
- <style scoped lang="scss">
23
- .look-empty {
24
- display: flex;
25
- width: 100%;
26
- height: 100%;
27
- justify-content: center;
28
- align-items: center;
29
- }
30
- </style>
@@ -1,221 +0,0 @@
1
- <template>
2
- <div class="cycle-list">
3
- <i class="left-arrow el-icon-arrow-left" @click="handleScrollLeft"></i>
4
- <div class="scroll-container">
5
- <div class="scroll-wrapper" ref="scrollWrapperRef">
6
- <div class="scroll-item" v-for="(item, index) in cycleList" :key="index" @click="handleCycleItemClick(item, index)"
7
- :class="{ active: currentIndex === index }">
8
- <span>{{ item.name }}</span>
9
- <span>{{ item.endTime }}</span>
10
- </div>
11
- </div>
12
- </div>
13
- <i class="right-arrow el-icon-arrow-right" @click="handleScrollRight"></i>
14
- <div class="show-all-container">
15
- <span class="show-all" @click="handleShowAllItems" ref="showAllRef">
16
- 查看全部
17
- </span>
18
- <div class="sa-items" v-show="isShowAllItems" ref="saItemsRef">
19
- <h4 style="font-weight: 400; margin: 20px 30px; font-size: 16px">汇报阶段</h4>
20
- <div class="sa-item-container">
21
- <div v-for="(item, index) in cycleList" :key="index" class="sa-item" @click="handleAllCycleItemClick(item, index)">
22
- <span>{{ item.name }}</span>
23
- <span>{{ item.endTime }}</span>
24
- </div>
25
- </div>
26
- </div>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- export default {
33
- data() {
34
- return {
35
- currentIndex: 0,
36
- isShowAllItems: false,
37
- cycleList: [
38
- {
39
- name: '第一阶段',
40
- endTime: '2023-01-06 23:59'
41
- },
42
- {
43
- name: '第二阶段',
44
- endTime: '2023-01-06 23:59'
45
- },
46
- {
47
- name: '第三阶段',
48
- endTime: '2023-01-06 23:59'
49
- },
50
- {
51
- name: '第四阶段',
52
- endTime: '2023-01-06 23:59'
53
- },
54
- {
55
- name: '第五阶段',
56
- endTime: '2023-01-06 23:59'
57
- },
58
- {
59
- name: '第六阶段',
60
- endTime: '2023-01-06 23:59'
61
- },
62
- {
63
- name: '第七阶段',
64
- endTime: '2023-01-06 23:59'
65
- },
66
- {
67
- name: '第八阶段',
68
- endTime: '2023-01-06 23:59'
69
- },
70
- ],
71
- }
72
- },
73
- computed: {
74
- maxPage() {
75
- return Math.ceil(this.cycleList.length / 5)
76
- },
77
- },
78
- mounted() {
79
- document.body.addEventListener('click', this.handleBodyClick);
80
- },
81
- methods: {
82
- handleBodyClick(ev) {
83
- if (!ev.composedPath().includes(this.$refs.saItemsRef) && !ev.composedPath().includes(this.$refs.showAllRef)) {
84
- this.isShowAllItems = false;
85
- }
86
- },
87
- handleAllCycleItemClick(item, index) {
88
- this.isShowAllItems = false;
89
- },
90
- handleCycleItemClick(item, index) {
91
- this.currentIndex = index
92
- },
93
- handleShowAllItems() {
94
- this.isShowAllItems = !this.isShowAllItems
95
- },
96
- handleScrollLeft() {
97
- if (this.currentPage === 1) return;
98
- console.log('hhh');
99
- // console.log(JSON.parse(JSON.stringify('hhhh')))
100
- this.$refs.scrollWrapperRef.style.left = Number.parseInt(this.$refs.scrollWrapperRef.style.left) + this.ONEGROUPWIDTH + 'px'
101
- this.currentPage--
102
- },
103
- handleScrollRight() {
104
- if (this.currentPage === this.maxPage) return
105
- this.$refs.scrollWrapperRef.style.left = "-" + this.currentPage * this.ONEGROUPWIDTH + 'px'
106
- this.currentPage++;
107
- },
108
- }
109
- }
110
- </script>
111
-
112
- <style scoped lang="scss">
113
- .cycle-list {
114
- display: flex;
115
- justify-content: center;
116
- align-items: center;
117
- height: 70px;
118
- border: 1px solid #dcdfe6;
119
-
120
- .left-arrow,
121
- .right-arrow,
122
- .show-all {
123
- position: relative;
124
- display: flex;
125
- justify-content: center;
126
- align-items: center;
127
- width: 40px;
128
- height: 100%;
129
- cursor: pointer;
130
- z-index: 2;
131
- text-align: center;
132
- color: $--color-primary;
133
- }
134
-
135
- .left-arrow {
136
- border-right: 1px solid #dcdfe6;
137
- font-size: 24px;
138
- }
139
-
140
- .right-arrow {
141
- font-size: 24px;
142
- }
143
-
144
- .right-arrow,
145
- .show-all {
146
- border-left: 1px solid #dcdfe6;
147
- }
148
-
149
- .show-all-container {
150
- position: relative;
151
- width: 40px;
152
- height: 100%;
153
-
154
- .sa-items {
155
- position: absolute;
156
- top: 69px;
157
- right: 0;
158
- width: 1120px;
159
- background-color: #fff;
160
- border-radius: 10px;
161
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
162
- border: 1px solid #dcdfe6;
163
- z-index: 2;
164
- padding-bottom: 20px;
165
-
166
- .sa-item-container {
167
- display: flex;
168
- width: 100%;
169
- flex-wrap: wrap;
170
-
171
- .sa-item {
172
- display: flex;
173
- flex-direction: column;
174
- align-items: center;
175
- width: 160px;
176
- margin: 0 30px;
177
- border: 1px solid #dcdfe6;
178
- border-radius: 30px;
179
- margin-bottom: 20px;
180
- cursor: pointer;
181
-
182
- &:hover {
183
- color: $--color-primary;
184
- border-color: $--color-primary;
185
- }
186
- }
187
- }
188
- }
189
- }
190
-
191
- .scroll-container {
192
- overflow: auto;
193
- flex: 1;
194
- margin-top: 20px;
195
-
196
- .scroll-item {
197
- &.active {
198
- color: $--color-primary;
199
- border-bottom: 2px solid $--color-primary;
200
- }
201
-
202
- display: flex;
203
- flex-direction: column;
204
- flex-shrink: 0;
205
- align-items: center;
206
- width: 130px;
207
- margin: 0 30px;
208
- padding-bottom: 8px;
209
- cursor: pointer;
210
- }
211
- }
212
-
213
- .scroll-wrapper {
214
- display: flex;
215
- position: relative;
216
- top: 0;
217
- left: 0;
218
- transition: all 1s;
219
- }
220
- }
221
- </style>
@@ -1,66 +0,0 @@
1
- @import '../index.scss';
2
- .lookui-alert {
3
- &.el-alert--success {
4
- &.is-light {
5
- background-color: $--green-100;
6
- color: #000;
7
- border: 1px solid $--green-400
8
- }
9
- &.is-dark {
10
- background-color: $--green-900;
11
- }
12
- }
13
- &.el-alert--info {
14
- &.is-light {
15
- background-color: $--themeColor-100;
16
- color: #000;
17
- border: 1px solid $--themeColor-400;
18
- }
19
- &.is-dark {
20
- background-color: $--themeColor;
21
- }
22
- }
23
- &.el-alert--warning {
24
- &.is-light {
25
- background-color: $--yellow-100;
26
- color: #000;
27
- border: 1px solid $--yellow-400;
28
- }
29
- &.is-dark {
30
- background-color: $--orange-900;
31
- }
32
- }
33
- &.el-alert--error {
34
- &.is-light {
35
- background-color: $--red-100;
36
- color: #000;
37
- border: 1px solid $--red-400;
38
- }
39
- &.is-dark {
40
- background-color: $--red-900;
41
- }
42
- }
43
- .el-icon {
44
- &-success {
45
- color: $--green-900;
46
- }
47
- &-info {
48
- color: $--themeColor;
49
- }
50
- &-warning {
51
- color: $--orange-900;
52
- }
53
- &-error {
54
- color: $--red-900;
55
- }
56
- }
57
- .el-alert__content {
58
- .el-alert__title.is-bold {
59
- font-weight: normal;
60
- font-size: 14px;
61
- }
62
- .el-alert__description {
63
- color: #000;
64
- }
65
- }
66
- }
@@ -1,6 +0,0 @@
1
- @import '../index.scss';
2
- .lookui-breadcrumb {
3
- .el-breadcrumb__inner a:hover, .el-breadcrumb__inner.is-link:hover {
4
- color: $--themeColor;
5
- }
6
- }