first commit
This commit is contained in:
44
uni_modules/tdesign-uniapp/components/image/image.css
Normal file
44
uni_modules/tdesign-uniapp/components/image/image.css
Normal file
@@ -0,0 +1,44 @@
|
||||
.t-image {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.t-image__mask,
|
||||
.t-image__img {
|
||||
color: var(--td-image-color, var(--td-text-color-placeholder, var(--td-font-gray-3, rgba(0, 0, 0, 0.4))));
|
||||
vertical-align: top;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
.t-image__mask {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--td-image-loading-bg-color, var(--td-bg-color-secondarycontainer, var(--td-gray-color-1, #f3f3f3)));
|
||||
color: var(--td-image-loading-color, var(--td-text-color-placeholder, var(--td-font-gray-3, rgba(0, 0, 0, 0.4))));
|
||||
}
|
||||
.t-image--loading-text {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
.t-image__common {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.t-image--lazy {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.t-image--shape-circle {
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.t-image--shape-round {
|
||||
border-radius: var(--td-image-round-radius, var(--td-radius-default, 12rpx));
|
||||
overflow: hidden;
|
||||
}
|
||||
.t-image--shape-square {
|
||||
border-radius: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user