daShangDao_miniProgram/unpackage/dist/dev/mp-weixin/components/CameraUpload.wxss
2025-11-24 10:25:20 +08:00

96 lines
1.7 KiB
Plaintext

.update.data-v-12eaed3e {
margin-top: 2rpx;
background-color: #3f51b530;
border-radius: 12rpx;
padding: 20rpx;
}
.image-list.data-v-12eaed3e {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 16rpx;
}
.image-item.data-v-12eaed3e {
position: relative;
width: 150rpx;
height: 150rpx;
border-radius: 8rpx;
overflow: hidden;
}
.preview-img.data-v-12eaed3e {
width: 100%;
height: 100%;
object-fit: cover;
}
.delete-btn.data-v-12eaed3e {
position: absolute;
top: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
color: #fff;
border-radius: 50%;
width: 50rpx;
height: 50rpx;
text-align: center;
line-height: 50rpx;
font-size: 50rpx;
z-index: 2;
}
.camera-icon.data-v-12eaed3e {
width: 150rpx;
height: 150rpx;
display: flex;
align-items: center;
justify-content: center;
background: #f5f5f5;
border-radius: 8rpx;
cursor: pointer;
outline: none !important;
-webkit-tap-highlight-color: transparent;
}
.icon-img.data-v-12eaed3e {
width: 60rpx;
height: 60rpx;
outline: none !important;
-webkit-tap-highlight-color: transparent;
}
/* 新增:上传状态样式 */
.upload-status.data-v-12eaed3e {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 4rpx;
font-size: 20rpx;
color: #fff;
text-align: center;
z-index: 2;
}
.uploading.data-v-12eaed3e {
background-color: rgba(0, 122, 255, 0.7);
}
.error.data-v-12eaed3e {
background-color: rgba(255, 59, 48, 0.7);
}
/* 添加提示文字样式 */
.photo-tip.data-v-12eaed3e {
position: fixed;
top: 20rpx;
left: 0;
right: 0;
z-index: 10000;
text-align: center;
padding: 10rpx;
}
.photo-tip text.data-v-12eaed3e {
background-color: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 10rpx 30rpx;
border-radius: 30rpx;
font-size: 28rpx;
}