index.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .img-group {
  2. display: flex;
  3. flex-wrap: wrap;
  4. font-size: 24rpx;
  5. margin-top: 30rpx;
  6. }
  7. .img-group .img-item {
  8. margin: 0 6rpx;
  9. width: 150rpx;
  10. height: 150rpx;
  11. position: relative;
  12. box-sizing: border-box;
  13. }
  14. .img-group .img-item .img {
  15. width: 150rpx;
  16. height: 150rpx;
  17. }
  18. .img-group .img-item .progress {
  19. position: absolute;
  20. left: 16rpx;
  21. bottom: 20rpx;
  22. width: 120rpx;
  23. height: 16rpx;
  24. border-radius: 20rpx;
  25. border: 2rpx solid #ddd;
  26. display: flex;
  27. align-items: center;
  28. }
  29. .img-group .img-item .progress .span {
  30. height: 8rpx;
  31. width: 0;
  32. max-width: 112rpx;
  33. border-radius: 12rpx;
  34. position: absolute;
  35. left: 4rpx;
  36. top: 4rpx;
  37. background: #f5f5f5;
  38. }
  39. .img-group .img-item .hide-progress {
  40. opacity: 0;
  41. }
  42. .img-group .img-item .close {
  43. width: 32rpx;
  44. height: 32rpx;
  45. position: absolute;
  46. right: -8rpx;
  47. top: -8rpx;
  48. z-index: 1;
  49. }
  50. .img-group .img-item .closeImg {
  51. height: 100%;
  52. width: 100%;
  53. font-size: 40rpx;
  54. color: #a0a0a0;
  55. }
  56. .img-group .img-add {
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. flex-direction: column;
  61. border: 2rpx dashed #dedede;
  62. color: #bcbcbc;
  63. }
  64. .img-group .img-add .cameraImg {
  65. width: 44rpx;
  66. height: 44rpx;
  67. color: #cdcdcd;
  68. margin-bottom: 8rpx;
  69. display: flex;
  70. justify-content: center;
  71. align-items: center;
  72. }