album.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /* pages/album/album.wxss */
  2. @import "/component/welCropper/welCropper.wxss";
  3. .album {
  4. width: 100%;
  5. height: 100%;
  6. padding: 0 30rpx;
  7. box-sizing: border-box;
  8. background: #eaeaea;
  9. }
  10. .album-state {
  11. display: flex;
  12. align-items: center;
  13. padding-top: 52rpx;
  14. }
  15. .album-state text {
  16. font-size: 36rpx;
  17. margin-right: 62rpx;
  18. }
  19. .state {
  20. display: flex;
  21. align-items: center;
  22. justify-content: space-between;
  23. position: relative;
  24. width: 188rpx;
  25. height: 64rpx;
  26. background: #fff;
  27. border-radius: 64rpx;
  28. padding: 0 20rpx;
  29. box-sizing: border-box;
  30. }
  31. .state view {
  32. font-size: 28rpx;
  33. color: #797979;
  34. }
  35. .state .open {
  36. position: absolute;
  37. left: 10rpx;
  38. top: 5rpx;
  39. width: 78rpx;
  40. height: 54rpx;
  41. background: #A1d100;
  42. border-radius: 54rpx;
  43. }
  44. .state .private {
  45. position: absolute;
  46. right: 10rpx;
  47. top: 5rpx;
  48. width: 68rpx;
  49. height: 54rpx;
  50. background: #ce3800;
  51. border-radius: 54rpx;
  52. }
  53. .album-code {
  54. display: flex;
  55. align-items: center;
  56. height: 60rpx;
  57. margin-top: 52rpx;
  58. font-size: 36rpx;
  59. }
  60. .album-code text {
  61. margin-right: 26rpx;
  62. }
  63. .album-code .code view {
  64. width: 60rpx;
  65. height: 60rpx;
  66. background: #fff;
  67. border-radius: 10rpx;
  68. margin-right: 10rpx;
  69. text-align: center;
  70. line-height: 60rpx;
  71. float: left;
  72. }
  73. .photo {
  74. display: flex;
  75. flex-wrap: wrap;
  76. margin-top: 22rpx;
  77. }
  78. .img {
  79. position: relative;
  80. width: 332rpx;
  81. height: 241rpx;
  82. border-radius: 20rpx;
  83. margin-top: 30rpx;
  84. }
  85. .img image{
  86. width: 100%;
  87. height: 100%;
  88. border-radius: 20rpx;
  89. }
  90. .img .delect {
  91. position: absolute;
  92. top: 15rpx;
  93. right: 15rpx;
  94. width: 53rpx;
  95. height: 53rpx;
  96. }
  97. .img:nth-child(even) {
  98. margin-left: 26rpx;
  99. }