yunshangxie/unpackage/dist/dev/mp-weixin/tuniao-ui/components/tn-image-upload/tn-image-upload.wxss

99 lines
2.3 KiB
Plaintext
Raw Normal View History

2024-04-24 17:34:38 +08:00
@charset "UTF-8";
/**
* 下方引入的为Tuniao UI的集成样式文件为scss预处理器其中包含了一些"tn-"开头的自定义变量
* 使用的时候请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* Tuniao UI自定义的css类名和scss变量均以"tn-"开头,不会造成冲突,请放心使用
*/
.tn-image-upload.data-v-2546f4ca {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
.tn-image-upload__item.data-v-2546f4ca {
display: flex;
align-items: center;
justify-content: center;
width: 200rpx;
height: 200rpx;
overflow: hidden;
margin: 12rpx;
margin-left: 0;
background-color: #E6E6E6;
position: relative;
border-radius: 10rpx;
}
.tn-image-upload__item-preview.data-v-2546f4ca {
border: 1rpx solid rgba(0, 0, 0, 0.1);
}
.tn-image-upload__item-preview__delete.data-v-2546f4ca {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
right: 0;
z-index: 10;
border-top: 60rpx solid;
border-left: 60rpx solid transparent;
border-top-color: #E83A30;
width: 0rpx;
height: 0rpx;
}
.tn-image-upload__item-preview__delete--icon.data-v-2546f4ca {
position: absolute;
top: -50rpx;
right: 6rpx;
color: #FFFFFF;
font-size: 24rpx;
line-height: 1;
}
.tn-image-upload__item-preview__progress.data-v-2546f4ca {
position: absolute;
width: auto;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
z-index: 9;
display: inline-flex;
}
.tn-image-upload__item-preview__error-btn.data-v-2546f4ca {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #E83A30;
color: #FFFFFF;
font-size: 20rpx;
padding: 8rpx 0;
text-align: center;
z-index: 9;
line-height: 1;
}
.tn-image-upload__item-preview__image.data-v-2546f4ca {
display: block;
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.tn-image-upload__item-add.data-v-2546f4ca {
flex-direction: column;
color: #838383;
font-size: 26rpx;
}
.tn-image-upload__item-add--icon.data-v-2546f4ca {
font-size: 40rpx;
}
.tn-image-upload__item-add__tips.data-v-2546f4ca {
margin-top: 20rpx;
line-height: 40rpx;
}
.tn-image-upload__add.data-v-2546f4ca {
width: auto;
display: inline-block;
}
.tn-image-upload__add--custom.data-v-2546f4ca {
width: 100%;
}