photo.module.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. .phone {
  2. overflow: hidden;
  3. padding: 0 13px 0;
  4. .select {
  5. margin-top: 12px;
  6. border-radius: 10px;
  7. overflow: hidden;
  8. height: 45px;
  9. .icon {
  10. width: 17px;
  11. height: 17px;
  12. margin-right: 4px;
  13. flex-shrink: 0;
  14. }
  15. :global {
  16. .van-cell__title {
  17. overflow: hidden;
  18. white-space: nowrap;
  19. text-overflow: ellipsis;
  20. }
  21. .van-cell__right-icon {
  22. color: #333;
  23. transform: rotate(90deg);
  24. margin: 0 0 0 4px;
  25. }
  26. }
  27. }
  28. }
  29. .addPhotoTop {
  30. color: var(--van-primary-text);
  31. font-size: 14px;
  32. }
  33. .addPhone {
  34. margin-top: 12px;
  35. color: var(--van-primary-text);
  36. border-color: #F67146;
  37. border-radius: 10px;
  38. font-size: 16px;
  39. background: #FFF7F3;
  40. }
  41. .btnGroup {
  42. display: flex;
  43. padding: 12px;
  44. .addPhone {
  45. margin: 0 8px;
  46. }
  47. }
  48. .phoneContainer {
  49. display: flex;
  50. justify-content: space-between;
  51. flex-wrap: wrap;
  52. padding-bottom: 32px;
  53. margin: 0 12px;
  54. .item {
  55. position: relative;
  56. padding-top: 12px;
  57. .more {
  58. display: inline-block;
  59. position: absolute;
  60. top: 130px;
  61. right: 8px;
  62. background: url('../images/icon_more.png') center center no-repeat;
  63. background-size: contain;
  64. width: 24px;
  65. height: 24px;
  66. z-index: 12;
  67. }
  68. .img {
  69. position: relative;
  70. display: flex;
  71. align-items: center;
  72. justify-content: center;
  73. background: #eaeaea;
  74. width: 150px;
  75. height: 150px;
  76. border-radius: 2px;
  77. overflow: hidden;
  78. background-color: #eaeaea;
  79. background-repeat: no-repeat;
  80. background-position: center;
  81. background-image: url('../images/icon-photo-default.png');
  82. z-index: 10;
  83. }
  84. .imgSection {
  85. position: relative;
  86. &::after {
  87. content: '';
  88. position: absolute;
  89. left: 0;
  90. right: 0;
  91. top: 0;
  92. bottom: 0;
  93. background: #CACED1;
  94. z-index: -1;
  95. transform: rotate(5deg);
  96. }
  97. }
  98. .name {
  99. padding: 6px 0 4px;
  100. font-size: 16px;
  101. font-weight: 500;
  102. color: #333333;
  103. max-width: 168px;
  104. }
  105. .num {
  106. font-size: 12px;
  107. color: #777777;
  108. line-height: 17px;
  109. }
  110. }
  111. }
  112. .dialogTitle {
  113. i {
  114. display: inline-block;
  115. width: 4px;
  116. height: 14px;
  117. background: #ff8057;
  118. border-radius: 2px;
  119. margin-right: 6px;
  120. }
  121. text-align: left;
  122. font-size: 18px;
  123. font-weight: 500;
  124. color: #333333;
  125. line-height: 25px;
  126. padding: 20px 0 20px 25px;
  127. }
  128. .phoneName {
  129. background: #f2f2f2;
  130. border-radius: 10px;
  131. margin: 0 15px 30px;
  132. width: auto;
  133. }
  134. .photos {
  135. padding: 0 16px 16px;
  136. }
  137. :global {
  138. .van-image-preview {
  139. .van-image-preview__close-icon,
  140. .van-image-preview__index {
  141. top: 50px;
  142. }
  143. }
  144. }