upload.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-upload .t-upload__grid-content {
  29. background: #f3f3f3;
  30. padding: 0;
  31. }
  32. .t-upload .t-upload__grid-file {
  33. position: relative;
  34. }
  35. .t-upload__add-icon {
  36. width: 100%;
  37. height: 100%;
  38. display: flex;
  39. align-items: center;
  40. justify-content: center;
  41. background-color: #f3f3f3;
  42. color: #a6a6a6;
  43. }
  44. .t-upload__thumbnail {
  45. width: 100%;
  46. height: 100%;
  47. max-height: 100%;
  48. overflow: hidden;
  49. }
  50. .t-upload__wrapper {
  51. position: relative;
  52. }
  53. .t-upload__close-btn {
  54. position: absolute;
  55. top: 0;
  56. right: 0;
  57. font-size: 21rpx;
  58. width: 32rpx;
  59. height: 32rpx;
  60. line-height: 32rpx;
  61. background-color: rgba(0, 0, 0, 0.6);
  62. }
  63. .t-upload .t-upload__progress-mask {
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. width: 100%;
  68. height: 100%;
  69. background-color: rgba(0, 0, 0, 0.6);
  70. display: flex;
  71. align-items: center;
  72. justify-content: center;
  73. }
  74. .t-upload .t-upload__progress-mask .t-upload__progress-failed {
  75. color: #ff4646;
  76. font-size: 24rpx;
  77. }
  78. .t-upload .t-upload__progress-mask .t-upload__progress-value {
  79. color: #fff;
  80. font-size: 24rpx;
  81. }