album.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .container {
  2. width: 100%;
  3. height: 100%;
  4. min-height: 242rpx;
  5. }
  6. .album-container {
  7. margin: 3rpx;
  8. min-height: 242rpx;
  9. marring-top: 83rpx;
  10. }
  11. .item-group {
  12. display: flex;
  13. }
  14. .album-item {
  15. flex: 1;
  16. text-align: center;
  17. margin: 3rpx;
  18. width: 242rpx;
  19. height: 242rpx;
  20. line-height: 242rpx;
  21. }
  22. .album-item.empty {
  23. background: transparent;
  24. }
  25. .upload-tips {
  26. color: #888;
  27. display: block;
  28. font-size: 30rpx;
  29. height: 80rpx;
  30. line-height: 80rpx;
  31. margin: 0 20rpx;
  32. }
  33. .upload-wrap {
  34. color: #ccc;
  35. background-color: #fff;
  36. border: 1px solid #888;
  37. position: absolute;
  38. left: 6rpx;
  39. top: 86rpx;
  40. width: 240rpx;
  41. height: 239rpx;
  42. text-align: center;
  43. line-height: 240rpx;
  44. overflow: hidden;
  45. }
  46. .upload-add-outer {
  47. display: inline-block;
  48. flex: 1;
  49. text-align: center;
  50. margin: 3rpx;
  51. width: 242rpx;
  52. height: 242rpx;
  53. line-height: 242rpx;
  54. }
  55. .upload-add {
  56. display: block;
  57. position: relative;
  58. text-align: center;
  59. margin: 3rpx;
  60. width: 242rpx;
  61. height: 240rpx;
  62. border: 1rpx solid #ccc;
  63. line-height: 240rpx;
  64. color: #ccc;
  65. overflow: hidden;
  66. box-sizing:border-box;
  67. }
  68. .upload-add image {
  69. position: absolute;
  70. left: 0;
  71. width: 240rpx;
  72. height: 2.6rem;
  73. top: 1.2rem;
  74. }
  75. .upload-add text {
  76. position: absolute;
  77. width: 240rpx;
  78. height: 2rem;
  79. left: 0;
  80. top: 1.6rem;
  81. color: #888;
  82. }
  83. .upload-image {
  84. color: #ccc;
  85. background-color: #fff;
  86. border: 1px solid #888;
  87. position: absolute;
  88. left: 6rpx;
  89. top: 86rpx;
  90. width: 240rpx;
  91. height: 239rpx;
  92. text-align: center;
  93. line-height: 240rpx;
  94. overflow: hidden;
  95. }
  96. .upload-image image {
  97. position: absolute;
  98. left: 0;
  99. width: 242rpx;
  100. height: 2.6rem;
  101. top: 1.2rem;
  102. }
  103. .upload-image text {
  104. position: absolute;
  105. width: 242rpx;
  106. height: 2rem;
  107. left: 0;
  108. top: 1.6rem;
  109. color: #888;
  110. }
  111. .swiper-container {
  112. position: fixed;
  113. left: 0;
  114. top: 0;
  115. width: 100%;
  116. height: 100%;
  117. background: #000;
  118. }
  119. .swiper-container image {
  120. width: 100%;
  121. height: 100%;
  122. }
  123. action-sheet-item.warn {
  124. color: #e64340;
  125. }