suggestion-option.module.less 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. .pxToVW (@px, @attr: width) {
  2. @vw: (@px / 1920) * 100;
  3. @{attr}:~"@{vw}vw";
  4. }
  5. .isHidden {
  6. background: url(../images/inBack.png) no-repeat,
  7. url(../images/inBack2.png) no-repeat,
  8. url(../images/inBack3.png) no-repeat,
  9. url(../images/inBack4.png) no-repeat,
  10. url(../images/inBack5.png) no-repeat;
  11. opacity: 0;
  12. background-size: 754px 672px;
  13. }
  14. .suggestOption {
  15. .updateBtnGroup {
  16. padding: 0;
  17. justify-content: center !important;
  18. position: relative;
  19. :global {
  20. .n-button {
  21. height: 48px !important;
  22. min-width: 156px;
  23. }
  24. }
  25. }
  26. .suggestSelect {
  27. :global {
  28. .n-base-selection__border {
  29. border: 1px solid #AADCFF;
  30. }
  31. }
  32. }
  33. @keyframes forDown {
  34. 0% {
  35. top: 0
  36. }
  37. 100% {
  38. top: 450px
  39. }
  40. }
  41. @keyframes forUp {
  42. 0% {
  43. top: 0
  44. }
  45. 100% {
  46. top: -180px
  47. }
  48. }
  49. @keyframes endRoute {
  50. 0% {
  51. // top: -150px;
  52. // left: 200px;
  53. // transform-origin: 291px 438px; rotate(180deg)
  54. // transform: scale(1);
  55. opacity: 1;
  56. }
  57. // 25% {
  58. // top: -180px;
  59. // left: 300px;
  60. // transform-origin: 291px 438px;
  61. // transform: rotate(-360deg) scale(.8);
  62. // }
  63. // 50% {
  64. // top: -210px;
  65. // left: 400px;
  66. // transform-origin: 291px 438px;
  67. // transform: rotate(-450deg) scale(.6);
  68. // }
  69. 100% {
  70. // top: -240px;
  71. // left: 500px;
  72. // transform-origin: 291px 438px; rotate(360deg)
  73. opacity: 0;
  74. transform: scale(.4);
  75. }
  76. }
  77. @keyframes reversal {
  78. 0% {
  79. background: url(../images/inBack.png) no-repeat;
  80. background-size: 754px 672px;
  81. }
  82. 25% {
  83. background: url(../images/inBack2.png) no-repeat;
  84. background-size: 754px 672px;
  85. }
  86. // 50% {
  87. // background: url(../images/inBack3.png) no-repeat;
  88. // background-size: 754px 672px;
  89. // z-index: .1;
  90. // }
  91. 50% {
  92. background: url(../images/inBack3.png) no-repeat;
  93. background-size: 754px 672px;
  94. opacity: .1;
  95. z-index: 0;
  96. }
  97. 75% {
  98. background: url(../images/inBack4.png) no-repeat;
  99. background-size: 754px 672px;
  100. // background-color: #005FA0;
  101. z-index: 300;
  102. }
  103. 100% {
  104. background: url(../images/inBack5.png) no-repeat;
  105. background-size: 754px 672px;
  106. z-index: 300;
  107. }
  108. }
  109. @keyframes stamp {
  110. 0% {
  111. opacity: 1;
  112. transform: scale(1.5);
  113. }
  114. 100% {
  115. transform: scale(1);
  116. opacity: 1;
  117. }
  118. }
  119. .inBack {
  120. width: 754px;
  121. height: 672px;
  122. position: absolute;
  123. bottom: 0;
  124. background: url(../images/inBack.png) no-repeat;
  125. // url(../images/inBack2.png) no-repeat,
  126. // url(../images/inBack3.png) no-repeat,
  127. // url(../images/inBack4.png) no-repeat,
  128. // url(../images/inBack5.png) no-repeat;
  129. background-size: 754px 672px;
  130. z-index: 1;
  131. }
  132. .inBack.isAni {
  133. animation: reversal .3s 1s forwards;
  134. }
  135. .inBackBottom {
  136. width: 754px;
  137. left: 12px;
  138. width: 730px;
  139. height: 393px;
  140. // background: url(../images/boxBg.png) 754px 380px;
  141. position: absolute;
  142. bottom: 0;
  143. border-radius: 35px 25px;
  144. }
  145. .inFront {
  146. width: 754px;
  147. height: 262px;
  148. position: absolute;
  149. bottom: -1px;
  150. // left: 12px;
  151. z-index: 200;
  152. }
  153. .submitBtn {
  154. width: 272px;
  155. height: 54px;
  156. position: absolute;
  157. z-index: 201;
  158. bottom: 111px;
  159. left: 50%;
  160. margin-left: -136px;
  161. cursor: pointer;
  162. z-index: 400;
  163. }
  164. .updatePassword.isAni {
  165. // endRoute linear .3s 2.3s forwards;
  166. animation: forUp linear .3s forwards,
  167. }
  168. .updatePassword {
  169. // padding: 0 12px;
  170. background-color: transparent;
  171. margin: 0 auto 0;
  172. position: relative;
  173. overflow: hidden;
  174. top: 0;
  175. .formWrap.isAni {
  176. animation: forDown linear 1s forwards;
  177. }
  178. .sealing {
  179. position: absolute;
  180. bottom: 58px;
  181. z-index: 300;
  182. width: 173px;
  183. height: 175px;
  184. left: 50%;
  185. margin-left: -87px;
  186. opacity: 0;
  187. }
  188. .sealing.isAni {
  189. animation: stamp linear .3s 1.5s forwards;
  190. }
  191. // padding: 40px;
  192. .formWrap {
  193. background-color: #fff;
  194. margin: 0 27px 0;
  195. width: 700px;
  196. height: 836px;
  197. border-radius: 20px;
  198. padding: 15px 15px 5px;
  199. position: relative;
  200. z-index: 100;
  201. .formTitle {
  202. text-align: center;
  203. margin-top: 31px;
  204. }
  205. .bgLine {
  206. position: absolute;
  207. width: 670px;
  208. height: 779px;
  209. left: 15px;
  210. top: 15px;
  211. }
  212. h2 {
  213. font-size: 28px;
  214. }
  215. .formWrapInfo {
  216. padding: 24px 19px 0;
  217. }
  218. .closeBtn {
  219. width: 60px;
  220. height: 60px;
  221. position: absolute;
  222. right: -1px;
  223. top: 0;
  224. z-index: 100;
  225. cursor: pointer;
  226. }
  227. }
  228. }
  229. .countInput {
  230. border-radius: 8px;
  231. min-height: 265px;
  232. :global {
  233. .n-input__textarea-el {
  234. line-height: 51px !important;
  235. font-size: 16px;
  236. font-weight: 400;
  237. color: #131415;
  238. background: url('../images/textLIne.png') repeat;
  239. background-size: 632px 51px;
  240. }
  241. .n-input__placeholder {
  242. margin-top: 13px !important;
  243. }
  244. .n-input-wrapper {
  245. padding: 0 !important;
  246. }
  247. .n-input-word-count {
  248. bottom: -25px !important;
  249. font-size: 14px;
  250. font-weight: 400;
  251. color: #AAAAAA;
  252. line-height: 20px;
  253. }
  254. }
  255. }
  256. .addInput {
  257. font-size: 16px;
  258. font-weight: 400;
  259. color: #777777;
  260. line-height: 22px;
  261. display: flex;
  262. flex-direction: column;
  263. align-items: center;
  264. img {
  265. width: 35px;
  266. height: 35px;
  267. margin-bottom: 5px;
  268. }
  269. }
  270. :global {
  271. .n-upload-trigger.n-upload-trigger--image-card {
  272. width: 110px;
  273. height: 110px;
  274. background: #FDFDFD;
  275. border-radius: 8px;
  276. }
  277. .n-upload-file-list .n-upload-file.n-upload-file--image-card-type {
  278. width: 110px;
  279. height: 110px;
  280. background: #FDFDFD;
  281. border-radius: 8px;
  282. }
  283. .n-upload-file-list.n-upload-file-list--grid {
  284. display: grid;
  285. grid-template-columns: repeat(auto-fill, 110px);
  286. grid-gap: 20px;
  287. margin-top: 0;
  288. }
  289. }
  290. .messageWrap {
  291. // display: flex;
  292. // flex-direction: row;
  293. align-items: center;
  294. position: absolute;
  295. bottom: 35px;
  296. z-index: 202;
  297. width: 100%;
  298. text-align: center;
  299. p {
  300. height: 25px;
  301. font-size: 18px;
  302. font-weight: 400;
  303. color: #005FA0;
  304. line-height: 25px;
  305. // margin-right: 40px;
  306. }
  307. }
  308. }