index.module.less 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .recommendation{
  2. width: 334px;
  3. .head{
  4. height: 42px;
  5. position: relative;
  6. .headTit{
  7. position: absolute;
  8. bottom: 0;
  9. left: 50%;
  10. transform: translateX(-50%);
  11. width: 157px;
  12. height: 32px;
  13. }
  14. .closeImg{
  15. position: absolute;
  16. top: 0;
  17. right: -38px;
  18. width: 32px;
  19. height: 32px;
  20. cursor: pointer;
  21. }
  22. }
  23. .content{
  24. margin-top: -26px;
  25. height: 318px;
  26. background: #FFFFFF;
  27. border-radius: 16px;
  28. padding: 36px 16px 0 16px;
  29. .conBox{
  30. width: 100%;
  31. height: 100%;
  32. overflow-y: auto;
  33. &::-webkit-scrollbar {
  34. width: 0;
  35. display: none;
  36. }
  37. .rowCon{
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. .tit{
  42. margin-right: 2px;
  43. font-family: PingFangSC, PingFang SC;
  44. font-weight: 500;
  45. font-size: 13px;
  46. color: #aaaaaa;
  47. }
  48. }
  49. .dropdownMenu{
  50. width: 138px;
  51. position: relative;
  52. :global{
  53. .van-dropdown-menu__bar{
  54. height: 30px;
  55. background: #F6F6F6;
  56. border-radius: 15px;
  57. box-shadow: initial;
  58. .van-dropdown-menu__item{
  59. padding: 0 12px;
  60. }
  61. .van-dropdown-menu__title{
  62. --van-gray-4: #AAAAAA;
  63. font-weight: 500;
  64. font-size: 14px;
  65. color: #AAAAAA;
  66. padding: 0 10px 0 0;
  67. &::after{
  68. right: 0;
  69. opacity: initial;
  70. }
  71. }
  72. }
  73. .recommendationDropdownItem{
  74. position: absolute !important;
  75. top: 30px !important;
  76. left: -10px;
  77. width: 172px;
  78. height: 182px;
  79. .van-dropdown-item__content{
  80. margin: 6px 0 0 10px;
  81. width: 152px;
  82. max-height:162px;
  83. padding: 0 10px;
  84. background: #FFFFFF;
  85. box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
  86. border-radius: 12px;
  87. .van-cell{
  88. margin-top: 6px;
  89. padding: 0;
  90. font-weight: 400;
  91. font-size: 13px;
  92. color: #777777;
  93. line-height: 32px;
  94. text-align: center;
  95. &::after{
  96. border: none;
  97. }
  98. &:last-child{
  99. margin-bottom: 6px;
  100. }
  101. &.van-dropdown-item__option--active{
  102. background: #E6F9F8;
  103. border-radius: 8px;
  104. color: #00B2A7;
  105. font-weight: 600;
  106. }
  107. .van-cell__value{
  108. display: none;
  109. }
  110. }
  111. }
  112. }
  113. }
  114. &.currItem{
  115. :global{
  116. .van-dropdown-menu__bar .van-dropdown-menu__title{
  117. color: #00B2A7;
  118. --van-gray-4:#00B2A7;
  119. }
  120. }
  121. }
  122. }
  123. .field{
  124. margin-top: 10px;
  125. height: 100px;
  126. background: #F6F6F6;
  127. border-radius: 12px;
  128. padding: 10px;
  129. :global{
  130. .van-field__control{
  131. font-weight: 500;
  132. font-size: 14px;
  133. color: #131415;
  134. caret-color: #01C1B5;
  135. min-height: 80px;
  136. &::placeholder {
  137. font-weight: 400;
  138. font-size: 14px;
  139. color: #AAAAAA;
  140. }
  141. }
  142. }
  143. }
  144. .uploader{
  145. margin-top: 10px;
  146. display: block;
  147. :global{
  148. .van-uploader__preview{
  149. margin: 0 8px 0 0;
  150. &:nth-child(5){
  151. margin-right: 0;
  152. }
  153. .van-uploader__preview-image{
  154. width: 54px;
  155. height: 54px;
  156. border-radius: 6px;
  157. }
  158. .van-uploader__preview-delete--shadow{
  159. width: 14px;
  160. height: 14px;
  161. border-radius: 50%;
  162. right: 3px;
  163. top: 3px;
  164. background:rgba(0,0,0,0.4);
  165. display: flex;
  166. justify-content: center;
  167. align-items: center;
  168. .van-uploader__preview-delete-icon{
  169. transform:initial;
  170. position:initial;
  171. font-size: 12px;
  172. }
  173. }
  174. }
  175. }
  176. .uploaderbox{
  177. width: 54px;
  178. height: 54px;
  179. background: #FFFFFF;
  180. border-radius: 6px;
  181. border: 1px dashed #D9D9D9;
  182. display: flex;
  183. flex-direction: column;
  184. justify-content: center;
  185. align-items: center;
  186. .img{
  187. width: 22px;
  188. height: 22px;
  189. margin-bottom: 2px;
  190. }
  191. >div{
  192. font-weight: 400;
  193. font-size: 10px;
  194. color: #777777;
  195. }
  196. }
  197. }
  198. .btnCon{
  199. margin-top: 26px;
  200. display: flex;
  201. justify-content: center;
  202. .img{
  203. cursor: pointer;
  204. width: 118px;
  205. height: 39px;
  206. &:first-child{
  207. margin-right: 20px;
  208. }
  209. }
  210. }
  211. }
  212. }
  213. }