bulade-ui 1.1.19 → 1.1.21

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.
@@ -1,64 +1,64 @@
1
- .m-cell {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- position: relative;
6
- padding: 20rpx 32rpx;
7
- line-height: 54rpx;
8
- font-size: 28rpx;
9
- box-sizing: border-box;
10
- }
11
- .m-cell.m-cell__hairline::after {
12
- position: absolute;
13
- box-sizing: border-box;
14
- content: " ";
15
- pointer-events: none;
16
- right: 32rpx;
17
- bottom: -12rpx;
18
- left: 32rpx;
19
- border-bottom: 1px solid var(--color-border, #dcdee2);
20
- transform: scaleY(0.5);
21
- }
22
- .m-cell.m-cell--hover {
23
- background-color: #f7f8f9;
24
- }
25
- .m-cell .m-cell__icon {
26
- width: 38rpx;
27
- text-align: center;
28
- }
29
- .m-cell .m-cell__header {
30
- margin-right: 12rpx;
31
- display: flex;
32
- align-items: center;
33
- }
34
- .m-cell .m-cell__title {
35
- display: flex;
36
- align-items: center;
37
- flex: 1;
38
- color: var(--color-text-primary, #303133);
39
- vertical-align: middle;
40
- overflow: hidden;
41
- text-overflow: ellipsis;
42
- white-space: nowrap;
43
- }
44
- .m-cell .m-cell__desc {
45
- display: flex;
46
- align-items: center;
47
- margin-left: 20rpx;
48
- max-width: 400rpx;
49
- color: var(--color-text-secondary, #909399);
50
- font-size: 28rpx;
51
- }
52
- .m-cell .m-cell__desc.is-ellipsis {
53
- overflow: hidden;
54
- text-overflow: ellipsis;
55
- white-space: nowrap;
56
- }
57
- .m-cell .m-cell__slot {
58
- display: inline-flex;
59
- align-items: center;
60
- }
61
- .m-cell .m-cell__footer {
62
- text-align: right;
63
- margin-left: 24rpx;
64
- }
1
+ .m-cell {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ position: relative;
6
+ padding: 20rpx 32rpx;
7
+ line-height: 54rpx;
8
+ font-size: 28rpx;
9
+ box-sizing: border-box;
10
+ }
11
+ .m-cell.m-cell__hairline::after {
12
+ position: absolute;
13
+ box-sizing: border-box;
14
+ content: " ";
15
+ pointer-events: none;
16
+ right: 32rpx;
17
+ bottom: -12rpx;
18
+ left: 32rpx;
19
+ border-bottom: 1px solid var(--color-border, #dcdee2);
20
+ transform: scaleY(0.5);
21
+ }
22
+ .m-cell.m-cell--hover {
23
+ background-color: #f7f8f9;
24
+ }
25
+ .m-cell .m-cell__icon {
26
+ width: 38rpx;
27
+ text-align: center;
28
+ }
29
+ .m-cell .m-cell__header {
30
+ margin-right: 12rpx;
31
+ display: flex;
32
+ align-items: center;
33
+ }
34
+ .m-cell .m-cell__title {
35
+ display: flex;
36
+ align-items: center;
37
+ flex: 1;
38
+ color: var(--color-text-primary, #303133);
39
+ vertical-align: middle;
40
+ overflow: hidden;
41
+ text-overflow: ellipsis;
42
+ white-space: nowrap;
43
+ }
44
+ .m-cell .m-cell__desc {
45
+ display: flex;
46
+ align-items: center;
47
+ margin-left: 20rpx;
48
+ max-width: 400rpx;
49
+ color: var(--color-text-secondary, #909399);
50
+ font-size: 28rpx;
51
+ }
52
+ .m-cell .m-cell__desc.is-ellipsis {
53
+ overflow: hidden;
54
+ text-overflow: ellipsis;
55
+ white-space: nowrap;
56
+ }
57
+ .m-cell .m-cell__slot {
58
+ display: inline-flex;
59
+ align-items: center;
60
+ }
61
+ .m-cell .m-cell__footer {
62
+ text-align: right;
63
+ margin-left: 24rpx;
64
+ }
@@ -112,12 +112,12 @@ Component({
112
112
  const month = this.data.month || this.data.months[this.data.selectValue[1]];
113
113
  const day = this.data.day || this.data.days[this.data.selectValue[2]];
114
114
  if(this.data.min){
115
- if(!this.compareSize("min",''+year+month+day)){
115
+ if(!this.compareSize("min",''+year+month.toString().padStart(2, "0")+day.toString().padStart(2, "0"))){
116
116
  return
117
117
  }
118
118
  }
119
119
  if(this.data.max){
120
- if(!this.compareSize("max",''+year+month+day)){
120
+ if(!this.compareSize("max",''+year+month.toString().padStart(2, "0")+day.toString().padStart(2, "0"))){
121
121
  return
122
122
  }
123
123
  }
@@ -23,7 +23,7 @@ Component({
23
23
  let content = this.data.html;
24
24
 
25
25
  content = content.replace(/style="(.*?)"/gm, "");
26
- content = content.replace(/class="(.*?)"/gm, "");
26
+ // content = content.replace(/class="(.*?)"/gm, "");
27
27
  content = content.replaceAll("<p><br></p>", "");
28
28
 
29
29
  this.setData({