photo-detail.module.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .phoneDetail {
  2. // padding: 13px;
  3. --van-uploader-size: 92px !important;
  4. :global {
  5. .van-button {
  6. font-size: 18px;
  7. }
  8. }
  9. .addPhone {
  10. margin: 13px;
  11. width: calc(100% - 26px);
  12. color: var(--van-primary-text);
  13. border-color: #fff;
  14. border-radius: 10px;
  15. font-size: 16px;
  16. }
  17. .phoneContainer {
  18. display: flex;
  19. flex-wrap: wrap;
  20. .item {
  21. position: relative;
  22. padding: 1.5px;
  23. .img {
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. width: calc(100vw / 3 - 3px);
  28. height: calc(100vw / 3 - 3px);
  29. border-radius: 4px;
  30. overflow: hidden;
  31. position: relative;
  32. background-color: #eaeaea;
  33. background-repeat: no-repeat;
  34. background-position: center;
  35. background-image: url('../images/icon-photo-default.png');
  36. }
  37. }
  38. .itemBorder .img::before {
  39. content: ' ';
  40. position: absolute;
  41. border-radius: 10px;
  42. border: 2px solid #64a9ff;
  43. z-index: 10;
  44. top: 0;
  45. left: 0;
  46. right: 0;
  47. bottom: 0;
  48. }
  49. --van-checkbox-border-color: transparent;
  50. position: relative;
  51. :global {
  52. .van-checkbox {
  53. position: absolute;
  54. top: 16px;
  55. right: 10px;
  56. z-index: 9;
  57. height: 25px;
  58. }
  59. .van-checkbox__icon--checked {
  60. .van-icon {
  61. border-color: #64a9ff;
  62. }
  63. }
  64. }
  65. .checkboxHide {
  66. opacity: 0;
  67. }
  68. .iconChecked {
  69. font-size: 18px;
  70. border: 1px solid transparent;
  71. :global {
  72. .van-icon__image {
  73. width: 100%;
  74. height: 100%;
  75. }
  76. }
  77. }
  78. }
  79. .dialogTitle {
  80. i {
  81. display: inline-block;
  82. width: 4px;
  83. height: 14px;
  84. background: #ff8057;
  85. border-radius: 2px;
  86. margin-right: 6px;
  87. }
  88. text-align: left;
  89. font-size: 18px;
  90. font-weight: 500;
  91. color: #333333;
  92. line-height: 25px;
  93. padding: 20px 0 20px 25px;
  94. }
  95. }
  96. .photos {
  97. padding: 0 16px 16px;
  98. }
  99. .downBtn {
  100. position: fixed;
  101. right: 20px;
  102. bottom: 40px;
  103. width: 20px;
  104. height: 20px;
  105. border-radius: 50%;
  106. background: rgba(255, 255, 255, 1);
  107. padding: 8px;
  108. box-shadow: 0 2px 8px 0px rgba(0, 0, 0, .2);
  109. &:active{
  110. opacity: .8;
  111. }
  112. img {
  113. width: 100%;
  114. height: 100%;
  115. display: block;
  116. }
  117. }