index.module.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .phoneDetail {
  2. height: calc(100vh - var(--header-height) - var(--header-cellGroup));
  3. overflow: hidden;
  4. overflow-y: auto;
  5. }
  6. .photoWrap {
  7. display: flex;
  8. flex-wrap: wrap;
  9. padding: 12px;
  10. box-sizing: border-box;
  11. justify-content: space-between;
  12. div {
  13. box-sizing: border-box;
  14. }
  15. }
  16. .photoItem {
  17. position: relative;
  18. width: 49%;
  19. margin-bottom: 12px;
  20. .gridImg {
  21. position: relative;
  22. display: flex;
  23. justify-content: center;
  24. align-items: center;
  25. height: calc(100vw / 2);
  26. width: 100%;
  27. border-radius: 2px;
  28. overflow: hidden;
  29. position: relative;
  30. background-color: #eaeaea;
  31. background-repeat: no-repeat;
  32. background-position: center;
  33. background-image: url('../images/icon-photo-default.png');
  34. }
  35. .iconNew {
  36. position: absolute;
  37. top: 6px;
  38. right: 6px;
  39. background: url('../images/icon-new.png') no-repeat center center;
  40. background-size: 100%;
  41. display: inline-block;
  42. width: 44px;
  43. height: 17px;
  44. }
  45. .iconImage {
  46. display: flex;
  47. justify-content: center;
  48. }
  49. .gridName {
  50. font-size: 16px;
  51. font-weight: 500;
  52. color: #333;
  53. line-height: 22px;
  54. padding: 8px 0 4px 0;
  55. }
  56. .gridDes {
  57. color: #777;
  58. line-height: 17px;
  59. padding-left: 1px;
  60. font-size: 12px;
  61. }
  62. }
  63. .cellGroup {
  64. width: calc(100% - 26px);
  65. margin: 12px 13px 0;
  66. }
  67. .select {
  68. height: 45px;
  69. .icon {
  70. width: 17px;
  71. height: 17px;
  72. margin-right: 4px;
  73. flex-shrink: 0;
  74. }
  75. :global {
  76. .van-cell__title {
  77. overflow: hidden;
  78. white-space: nowrap;
  79. text-overflow: ellipsis;
  80. }
  81. .van-cell__right-icon {
  82. color: #333;
  83. transform: rotate(90deg);
  84. margin: 0 0 0 4px;
  85. }
  86. }
  87. }