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

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.11",
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 {
@@ -17,7 +16,6 @@
17
16
  &-view {
18
17
  width: 100%;
19
18
  overflow: hidden;
20
- border-radius: 4px;
21
19
  table {
22
20
  width: 100%;
23
21
  table-layout: fixed;
@@ -37,7 +35,7 @@
37
35
 
38
36
  &-item-label {
39
37
  color: fade(#000, 85%);
40
- font-weight: normal;
38
+ font-weight: 500;
41
39
  font-size: 14px;
42
40
  line-height: 1.5;
43
41
 
@@ -96,7 +94,6 @@
96
94
 
97
95
  &-bordered {
98
96
  .@{descriptions-prefix-cls}-view {
99
- border: 1px solid hsv(0, 0, 91%);
100
97
  > table {
101
98
  table-layout: auto;
102
99
  }
@@ -105,7 +102,7 @@
105
102
  .@{descriptions-prefix-cls}-item-label,
106
103
  .@{descriptions-prefix-cls}-item-content {
107
104
  padding: @descriptions-default-padding;
108
- border-right: 1px solid hsv(0, 0, 91%); ;
105
+ border: 1px solid #cacacbff; ;
109
106
 
110
107
  &:last-child {
111
108
  border-right: none;
@@ -113,17 +110,14 @@
113
110
  }
114
111
 
115
112
  .@{descriptions-prefix-cls}-item-label {
116
- background-color: #fafafa;
113
+ background-color: #f0f0f1ff;
117
114
  &::after {
118
115
  display: none;
119
116
  }
120
117
  }
121
118
 
122
119
  .@{descriptions-prefix-cls}-row {
123
- border-bottom: 1px solid hsv(0, 0, 91%);
124
- &:last-child {
125
- border-bottom: none;
126
- }
120
+ border: 1px solid #cacacbff; ;
127
121
  }
128
122
 
129
123
  &.@{descriptions-prefix-cls}-middle {
@@ -141,5 +135,4 @@
141
135
  }
142
136
  }
143
137
  }
144
- }
145
138