@lambo-design/detail-table 1.0.0-beta.1 → 1.0.0-beta.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/detail-table",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,16 +12,16 @@
12
12
  <div :class="[`${prefixCls}-view`]">
13
13
  <table>
14
14
  <tbody>
15
- <Row
16
- v-for="(item, index) in childrenArray"
17
- :children="item"
18
- :key="index"
19
- :index="index"
20
- :prefixCls="prefixCls"
21
- :bordered="bordered"
22
- :layout="layout"
23
- :colon="colon"
24
- ></Row>
15
+ <Row
16
+ v-for="(item, index) in childrenArray"
17
+ :children="item"
18
+ :key="index"
19
+ :index="index"
20
+ :prefixCls="prefixCls"
21
+ :bordered="bordered"
22
+ :layout="layout"
23
+ :colon="colon"
24
+ ></Row>
25
25
  </tbody>
26
26
  </table>
27
27
  </div>
@@ -1,9 +1,8 @@
1
- .lambo-detail-table-style(){
2
1
  @descriptions-prefix-cls: lambo-detail-table;
3
2
 
4
- @descriptions-default-padding: 16px 24px;
5
- @descriptions-middle-padding: 12px 24px;
6
- @descriptions-small-padding: 8px 16px;
3
+ @descriptions-default-padding: 16px 10px;
4
+ @descriptions-middle-padding: 12px 10px;
5
+ @descriptions-small-padding: 8px 5px;
7
6
 
8
7
  .@{descriptions-prefix-cls} {
9
8
  &-title {
@@ -21,14 +20,14 @@
21
20
  table {
22
21
  width: 100%;
23
22
  table-layout: fixed;
24
- border-collapse: collapse
23
+ //border-collapse: collapse
25
24
  }
26
25
  }
27
26
 
28
27
  &-row {
29
28
  > th,
30
29
  > td {
31
- padding-bottom: 16px;
30
+ padding-bottom: 15px;
32
31
  }
33
32
  &:last-child {
34
33
  border-bottom: none;
@@ -37,7 +36,7 @@
37
36
 
38
37
  &-item-label {
39
38
  color: fade(#000, 85%);
40
- font-weight: normal;
39
+ font-weight: 500;
41
40
  font-size: 14px;
42
41
  line-height: 1.5;
43
42
 
@@ -105,7 +104,8 @@
105
104
  .@{descriptions-prefix-cls}-item-label,
106
105
  .@{descriptions-prefix-cls}-item-content {
107
106
  padding: @descriptions-default-padding;
108
- border-right: 1px solid hsv(0, 0, 91%); ;
107
+ //border-right: 1px solid hsv(0, 0, 91%); ;
108
+ border: 1px solid #cacacbff; ;
109
109
 
110
110
  &:last-child {
111
111
  border-right: none;
@@ -113,17 +113,18 @@
113
113
  }
114
114
 
115
115
  .@{descriptions-prefix-cls}-item-label {
116
- background-color: #fafafa;
116
+ background-color: #f0f0f1ff;
117
117
  &::after {
118
118
  display: none;
119
119
  }
120
120
  }
121
121
 
122
122
  .@{descriptions-prefix-cls}-row {
123
- border-bottom: 1px solid hsv(0, 0, 91%);
124
- &:last-child {
125
- border-bottom: none;
126
- }
123
+ //border-bottom: 1px solid hsv(0, 0, 91%);
124
+ border: 1px solid #cacacbff; ;
125
+ //&:last-child {
126
+ // border-bottom: none;
127
+ //}
127
128
  }
128
129
 
129
130
  &.@{descriptions-prefix-cls}-middle {
@@ -141,5 +142,4 @@
141
142
  }
142
143
  }
143
144
  }
144
- }
145
145