index.module.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .photoWrap {
  2. display: flex;
  3. flex-wrap: wrap;
  4. padding: 12px;
  5. box-sizing: border-box;
  6. justify-content: space-between;
  7. div {
  8. box-sizing: border-box;
  9. }
  10. }
  11. .gridImg {
  12. display: flex;
  13. justify-content: center;
  14. align-items: center;
  15. width: 100%;
  16. height: calc(100vw / 2);
  17. border-radius: 10px;
  18. overflow: hidden;
  19. position: relative;
  20. background-color: #eaeaea;
  21. background-repeat: no-repeat;
  22. background-position: center;
  23. background-image: url('../images/icon-photo-default.png');
  24. }
  25. .photoItem {
  26. position: relative;
  27. width: 49%;
  28. margin-bottom: 12px;
  29. .iconImage {
  30. display: flex;
  31. justify-content: center;
  32. }
  33. .gridName {
  34. font-size: 16px;
  35. color: #333;
  36. line-height: 22px;
  37. padding: 8px 0 4px 0;
  38. }
  39. .gridDes {
  40. color: #777;
  41. line-height: 17px;
  42. padding-left: 1px;
  43. font-size: 12px;
  44. }
  45. }
  46. .phoneListDetailWrap {
  47. min-height: calc(100vh - var(--header-height));
  48. }
  49. .phoneListDetail {
  50. position: relative;
  51. box-sizing: border-box;
  52. display: flex;
  53. flex-wrap: wrap;
  54. .gridItem {
  55. padding: 1.5px;
  56. width: calc(100% / 3);
  57. height: calc(100vw / 3);
  58. box-sizing: border-box;
  59. .gridImg {
  60. width: 100%;
  61. height: 100%;
  62. border-radius: 0;
  63. }
  64. }
  65. }
  66. :global {
  67. .van-image-preview {
  68. .van-image-preview__close-icon,
  69. .van-image-preview__index {
  70. top: 50px;
  71. }
  72. }
  73. }
  74. .downBtn {
  75. position: fixed;
  76. right: 20px;
  77. bottom: 40px;
  78. width: 20px;
  79. height: 20px;
  80. border-radius: 50%;
  81. background: rgba(255, 255, 255, 1);
  82. padding: 8px;
  83. box-shadow: 0 2px 8px 0px rgba(0, 0, 0, .2);
  84. &:active{
  85. opacity: .8;
  86. }
  87. img {
  88. width: 100%;
  89. height: 100%;
  90. display: block;
  91. }
  92. }