index.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 .progress {
  15. position: absolute;
  16. left: 16rpx;
  17. bottom: 20rpx;
  18. width: 120rpx;
  19. height: 16rpx;
  20. border-radius: 20rpx;
  21. border: 2rpx solid #ddd;
  22. display: flex;
  23. align-items: center;
  24. }
  25. .img-group .img-item .progress span {
  26. height: 8rpx;
  27. width: 0;
  28. max-width: 112rpx;
  29. border-radius: 12rpx;
  30. position: absolute;
  31. left: 4rpx;
  32. top: 4rpx;
  33. background: #f5f5f5;
  34. }
  35. .img-group .img-item .hide-progress {
  36. opacity: 0;
  37. }
  38. .img-group .img-item .close {
  39. width: 32rpx;
  40. height: 32rpx;
  41. position: absolute;
  42. right: -8rpx;
  43. top: -8rpx;
  44. }
  45. .img-group .img-item .closeImg {
  46. height: 100%;
  47. width: 100%;
  48. font-size: 40rpx;
  49. color: #a0a0a0;
  50. }
  51. .img-group .img-add {
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. flex-direction: column;
  56. border: 2rpx dashed #dedede;
  57. color: #bcbcbc;
  58. }
  59. .img-group .img-add .cameraImg {
  60. width: 44rpx;
  61. height: 44rpx;
  62. color: #cdcdcd;
  63. margin-bottom: 8rpx;
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. }