look-ui 1.0.2 → 1.0.4
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/package.json +2 -2
- package/src/components/look-empty.vue +30 -0
- package/src/css/table/index.scss +30 -0
- package/src/imgs/empty.png +0 -0
- package/src/index.js +6 -0
- package/src/test.js +0 -1
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
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>
|
package/src/css/table/index.scss
CHANGED
|
@@ -261,6 +261,36 @@
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
+
// 修复element-ui表格表头与表体不对齐
|
|
265
|
+
.el-table th.gutter {
|
|
266
|
+
display: table-cell !important;
|
|
267
|
+
}
|
|
268
|
+
.el-table::before {
|
|
269
|
+
height: 0;
|
|
270
|
+
}
|
|
271
|
+
// 调整滚动条样式
|
|
272
|
+
::-webkit-scrollbar {
|
|
273
|
+
width: 6px;
|
|
274
|
+
height: 8px;
|
|
275
|
+
background-color: #ebeef5;
|
|
276
|
+
}
|
|
277
|
+
::-webkit-scrollbar-thumb {
|
|
278
|
+
box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
|
|
279
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
|
|
280
|
+
background-color: #ccc;
|
|
281
|
+
}
|
|
282
|
+
::-webkit-scrollbar-track{
|
|
283
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
284
|
+
border-radius: 3px;
|
|
285
|
+
background: rgba(255, 255, 255, 1);
|
|
286
|
+
}
|
|
287
|
+
// 修复固定列最后一行宽度问题
|
|
288
|
+
.el-table__fixed {
|
|
289
|
+
height:100% !important;
|
|
290
|
+
}
|
|
291
|
+
.el-table__fixed-right {
|
|
292
|
+
height:100% !important;
|
|
293
|
+
}
|
|
264
294
|
// 取消文档默认样式
|
|
265
295
|
th, td {
|
|
266
296
|
border: 0;
|
|
Binary file
|
package/src/index.js
ADDED
package/src/test.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log('hh');
|