photo-detail.module.less 2.3 KB

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