白色主题

This commit is contained in:
2023-02-12 19:04:01 +08:00
parent d736a5912f
commit 57ab6fbb49
411 changed files with 1752 additions and 5304 deletions

View File

@@ -2,6 +2,6 @@
"component": true,
"usingComponents": {
"t-picker": "../picker/picker",
"t-picker-item": "../picker/picker-item"
"t-picker-item": "../picker-item/picker-item"
}
}

View File

@@ -1,5 +1,7 @@
<wxs src="../common/utils.wxs" module="_" />
<t-picker
custom-style="{{ customStyle }}"
style="{{ style }}"
class="{{classPrefix}}"
visible="{{visible}}"
value="{{columnsValue}}"
@@ -14,6 +16,12 @@
>
<slot slot="header" name="header" />
<t-picker-item wx:for="{{columns}}" wx:key="index" class="{{classPrefix}}__item" options="{{item}}" index="index" />
<t-picker-item
wx:for="{{columns}}"
wx:key="index"
class="{{_.cls(classPrefix + '__item', [['roomly', columns.length > 5 && index == 0]])}}"
options="{{item}}"
index="index"
/>
<slot slot="footer" name="footer" />
</t-picker>

View File

@@ -0,0 +1,31 @@
.t-float-left {
float: left;
}
.t-float-right {
float: right;
}
@keyframes tdesign-fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.hotspot-expanded.relative {
position: relative;
}
.hotspot-expanded::after {
content: '';
display: block;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
transform: scale(1.5);
}
.t-date-time-picker__item--roomly {
width: var(--td-data-time-picker-year-width, 128rpx);
flex: 0 0 var(--td-data-time-picker-year-width, 128rpx);
}

View File

@@ -7,7 +7,7 @@ const props = {
type: String,
value: '',
},
customStyle: {
style: {
type: String,
value: '',
},

View File

@@ -7,7 +7,7 @@ export interface TdDateTimePickerProps {
type: StringConstructor;
value?: string;
};
customStyle?: {
style?: {
type: StringConstructor;
value?: string;
};