index.acss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. .main .basic-content {
  2. display: flex;
  3. flex-wrap: wrap;
  4. margin: calc(40vmax / 12.80) calc(100vmax / 12.80);
  5. }
  6. .mask {
  7. /* background-color: rgba(0, 0, 0, 0.5); */
  8. /* pointer-events: none; */
  9. }
  10. .main .basic-content .form-box {
  11. position: relative;
  12. display: flex;
  13. align-items: center;
  14. justify-content: left;
  15. width: 50%;
  16. font-size: calc(20vmax / 12.80);
  17. color: #063D8C;
  18. margin-bottom: calc(10vmax / 12.80);
  19. line-height: calc(48vmax / 12.80);
  20. min-height: calc(48vmax / 12.80);
  21. }
  22. .main .basic-content .form-box>text {
  23. width: calc(180vmax / 12.80);
  24. margin-right: calc(20vmax / 12.80);
  25. line-height: calc(30vmax / 12.80);
  26. }
  27. .main .cus-switch {
  28. display: flex;
  29. align-items: center;
  30. font-size: calc(20vmax / 12.80);
  31. }
  32. .main .cus-switch .switch-main {
  33. position: relative;
  34. width: calc(58vmax / 12.80);
  35. height: calc(34vmax / 12.80);
  36. background: #fff;
  37. border: calc(1vmax / 12.80) solid #ccc;
  38. margin-right: calc(20vmax / 12.80);
  39. transition: all 0.3s ease;
  40. }
  41. .main .cus-switch .capsule {
  42. border-radius: calc(36vmax / 12.80);
  43. }
  44. .main .cus-switch .switch-main::after {
  45. content: "";
  46. position: absolute;
  47. left: calc(3vmax / 12.80);
  48. top: calc(3vmax / 12.80);
  49. width: calc(28vmax / 12.80);
  50. height: calc(28vmax / 12.80);
  51. background: #fff;
  52. box-shadow: 0 0 0 calc(1vmax / 12.80) #ccc;
  53. transition: all 0.3s ease;
  54. box-sizing: border-box;
  55. }
  56. .main .cus-switch .capsule::after {
  57. border-radius: 50%;
  58. }
  59. .main .cus-switch .checked {
  60. background: rgba(61, 115, 255, 1);
  61. border-color: rgba(61, 115, 255, 1);
  62. }
  63. .main .cus-switch .checked::after {
  64. box-shadow: none;
  65. }
  66. .main .cus-switch .capsule.checked::after {
  67. transform: translateX(calc(58vmax / 12.80 - 34vmax / 12.80));
  68. }
  69. .main .cus-switch .disabled {
  70. opacity: 0.4;
  71. }
  72. .main .basic-content .form-box .radio-group .radioBox-text,
  73. .main .basic-content .form-box .checkbox-group .checkbox-text {
  74. line-height: calc(30vmax / 12.80);
  75. margin-left: calc(16vmax / 12.80);
  76. font-size: calc(20vmax / 12.80);
  77. color: #063D8C;
  78. }
  79. .main .basic-content .form-box .radio-group .radio,
  80. .main .basic-content .form-box .checkbox-group .checkbox {
  81. width: calc(130vmax / 12.80);
  82. height: calc(40vmax / 12.80);
  83. display: flex;
  84. align-items: center;
  85. }
  86. .main .basic-content .form-box .radio-group,
  87. .main .basic-content .form-box .checkbox-group {
  88. display: flex;
  89. align-items: center;
  90. }
  91. .main .basic-content .form-box .checkbox-checked,
  92. .main .basic-content .form-box .checkbox-unchecked,
  93. .main .basic-content .form-box .radioBox-checked,
  94. .main .basic-content .form-box .radioBox-unchecked {
  95. position: relative;
  96. width: calc(28vmax / 12.80);
  97. height: calc(28vmax / 12.80);
  98. border-radius: calc(8vmax / 12.80);
  99. border: calc(1vmax / 12.80) solid rgba(233, 233, 246, 1);
  100. background: #fff;
  101. }
  102. .main .basic-content .form-box .radioBox-checked,
  103. .main .basic-content .form-box .radioBox-unchecked,
  104. .main .basic-content .form-box .radioBox-checked::after {
  105. border-radius: 50% !important;
  106. }
  107. .main .basic-content .form-box .checkbox-checked::after,
  108. .main .basic-content .form-box .radioBox-checked::after {
  109. position: absolute;
  110. content: '✔';
  111. border-radius: calc(8vmax / 12.80);
  112. width: calc(28vmax / 12.80);
  113. height: calc(28vmax / 12.80);
  114. line-height: calc(28vmax / 12.80);
  115. text-align: center;
  116. color: #fff;
  117. background: rgba(61, 115, 255, 1);
  118. border-color: rgba(61, 115, 255, 1);
  119. }
  120. .main .basic-content .form-box .form-input {
  121. width: calc(100% - (200vmax / 12.80) - (85vmax / 12.80));
  122. height: calc(48vmax / 12.80);
  123. background: #fff;
  124. border-radius: calc(8vmax / 12.80);
  125. font-size: calc(18vmax / 12.80);
  126. color: #00A2FF;
  127. padding: 0 calc(20vmax / 12.80);
  128. box-sizing: border-box;
  129. border: 0 solid #B8EFF3;
  130. box-shadow: 0 0 calc(8vmax / 12.80) 0 rgba(115, 218, 228, 1);
  131. }
  132. .main .basic-content .form-box .number-input {
  133. border-radius: 0 !important;
  134. width: calc(140vmax / 12.80) !important;
  135. text-align: center !important;
  136. }
  137. .main .basic-content .form-box .left,
  138. .main .basic-content .form-box .right {
  139. height: calc(48vmax / 12.80);
  140. width: calc(42vmax / 12.80);
  141. background-color: #f1fafb;
  142. color: #78c2f9;
  143. text-align: center;
  144. line-height: calc(48vmax / 12.80);
  145. font-size: calc(17vmax / 12.80);
  146. font-weight: bold;
  147. }
  148. .main .basic-content .form-box .left {
  149. border-radius: calc(5vmax / 12.80) 0 0 calc(5vmax / 12.80);
  150. margin-right: calc(2vmax / 12.80);
  151. font-size: calc(20vmax / 12.80);
  152. }
  153. .main .basic-content .form-box .right {
  154. border-radius: 0 calc(5vmax / 12.80) calc(5vmax / 12.80) 0;
  155. margin-left: calc(2vmax / 12.80);
  156. }
  157. .main .basic-content .wid {
  158. width: 100%;
  159. position: relative;
  160. }
  161. .main .basic-content .form-box .more-box {
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. width: calc(65vmax / 12.80);
  166. height: calc(48vmax / 12.80);
  167. border-radius: calc(8vmax / 12.80);
  168. background-color: #48b5b1;
  169. margin-left: calc(20vmax / 12.80);
  170. }
  171. .main .basic-content .form-box .more-box .more-icon {
  172. width: calc(36vmax / 12.80);
  173. height: calc(28vmax / 12.80);
  174. }
  175. .main .basic-content .form-box .cus-switch {
  176. transform: scale(1.1);
  177. }
  178. .main .basic-content .form-box .select-area {
  179. max-height: calc(150vmax / 12.80);
  180. position: absolute;
  181. left: calc(200vmax / 12.80);
  182. bottom: calc(58vmax / 12.80);
  183. width: calc(100% - (200vmax / 12.80) - (85vmax / 12.80));
  184. background-color: #fff;
  185. padding: calc(6vmax / 12.80) calc(20vmax / 12.80);
  186. box-sizing: border-box;
  187. font-size: calc(18vmax / 12.80);
  188. color: #4489B9;
  189. z-index: 999;
  190. box-shadow: 0 0 calc(8vmax / 12.80) 0 rgba(115, 218, 228, 1);
  191. border-radius: calc(8vmax / 12.80);
  192. overflow-y: auto;
  193. }
  194. .main .basic-content .form-box .select-area .item {
  195. padding: calc(10vmax / 12.80) 0;
  196. opacity: 0.7;
  197. text-align: center;
  198. border-bottom: calc(1vmax / 12.80) solid transparent;
  199. }
  200. .main .basic-content .form-box .select-area .item:not(:last-child) {
  201. border-bottom: calc(1vmax / 12.80) solid #DFEDF7;
  202. }
  203. /* 竖屏样式 */
  204. .portrait-main .basic-content {
  205. display: flex;
  206. flex-wrap: wrap;
  207. margin: calc(40vmin / 12.80) calc(100vmin / 12.80);
  208. }
  209. .portrait-main .basic-content .form-box {
  210. position: relative;
  211. display: flex;
  212. align-items: center;
  213. justify-content: left;
  214. width: 50%;
  215. font-size: calc(20vmin / 12.80);
  216. color: #063D8C;
  217. margin-bottom: calc(10vmin / 12.80);
  218. line-height: calc(48vmin / 12.80);
  219. min-height: calc(48vmin / 12.80);
  220. }
  221. .portrait-main .basic-content .form-box>text {
  222. width: calc(180vmin / 12.80);
  223. margin-right: calc(20vmin / 12.80);
  224. line-height: calc(30vmin / 12.80);
  225. }
  226. .portrait-main .cus-switch {
  227. display: flex;
  228. align-items: center;
  229. font-size: calc(20vmin / 12.80);
  230. }
  231. .portrait-main .cus-switch .switch-main {
  232. position: relative;
  233. width: calc(58vmin / 12.80);
  234. height: calc(34vmin / 12.80);
  235. background: #fff;
  236. border: calc(1vmin / 12.80) solid #ccc;
  237. margin-right: calc(20vmin / 12.80);
  238. transition: all 0.3s ease;
  239. }
  240. .portrait-main .cus-switch .capsule {
  241. border-radius: calc(36vmin / 12.80);
  242. }
  243. .portrait-main .cus-switch .switch-main::after {
  244. content: "";
  245. position: absolute;
  246. left: calc(3vmin / 12.80);
  247. top: calc(3vmin / 12.80);
  248. width: calc(28vmin / 12.80);
  249. height: calc(28vmin / 12.80);
  250. background: #fff;
  251. box-shadow: 0 0 0 calc(1vmin / 12.80) #ccc;
  252. transition: all 0.3s ease;
  253. box-sizing: border-box;
  254. }
  255. .portrait-main .cus-switch .capsule::after {
  256. border-radius: 50%;
  257. }
  258. .portrait-main .cus-switch .checked {
  259. background: rgba(61, 115, 255, 1);
  260. border-color: rgba(61, 115, 255, 1);
  261. }
  262. .portrait-main .cus-switch .checked::after {
  263. box-shadow: none;
  264. }
  265. .portrait-main .cus-switch .capsule.checked::after {
  266. transform: translateX(calc(58vmin / 12.80 - 34vmin / 12.80));
  267. }
  268. .portrait-main .cus-switch .disabled {
  269. opacity: 0.4;
  270. }
  271. .portrait-main .basic-content .form-box .radio-group .radioBox-text,
  272. .portrait-main .basic-content .form-box .checkbox-group .checkbox-text {
  273. line-height: calc(30vmin / 12.80);
  274. margin-left: calc(16vmin / 12.80);
  275. font-size: calc(20vmin / 12.80);
  276. color: #063D8C;
  277. }
  278. .portrait-main .basic-content .form-box .radio-group .radio,
  279. .portrait-main .basic-content .form-box .checkbox-group .checkbox {
  280. width: calc(130vmin / 12.80);
  281. height: calc(40vmin / 12.80);
  282. display: flex;
  283. align-items: center;
  284. }
  285. .portrait-main .basic-content .form-box .radio-group,
  286. .portrait-main .basic-content .form-box .checkbox-group {
  287. display: flex;
  288. align-items: center;
  289. }
  290. .portrait-main .basic-content .form-box .checkbox-checked,
  291. .portrait-main .basic-content .form-box .checkbox-unchecked,
  292. .portrait-main .basic-content .form-box .radioBox-checked,
  293. .portrait-main .basic-content .form-box .radioBox-unchecked {
  294. position: relative;
  295. width: calc(28vmin / 12.80);
  296. height: calc(28vmin / 12.80);
  297. border-radius: calc(8vmin / 12.80);
  298. border: calc(1vmin / 12.80) solid rgba(233, 233, 246, 1);
  299. background: #fff;
  300. }
  301. .portrait-main .basic-content .form-box .radioBox-checked,
  302. .portrait-main .basic-content .form-box .radioBox-unchecked,
  303. .portrait-main .basic-content .form-box .radioBox-checked::after {
  304. border-radius: 50% !important;
  305. }
  306. .portrait-main .basic-content .form-box .checkbox-checked::after,
  307. .portrait-main .basic-content .form-box .radioBox-checked::after {
  308. position: absolute;
  309. content: '✔';
  310. border-radius: calc(8vmin / 12.80);
  311. width: calc(28vmin / 12.80);
  312. height: calc(28vmin / 12.80);
  313. line-height: calc(28vmin / 12.80);
  314. text-align: center;
  315. color: #fff;
  316. background: rgba(61, 115, 255, 1);
  317. border-color: rgba(61, 115, 255, 1);
  318. }
  319. .portrait-main .basic-content .form-box .form-input {
  320. width: calc(100% - (200vmin / 12.80) - (85vmin / 12.80));
  321. height: calc(48vmin / 12.80);
  322. background: #fff;
  323. border-radius: calc(8vmin / 12.80);
  324. font-size: calc(18vmin / 12.80);
  325. color: #00A2FF;
  326. padding: 0 calc(20vmin / 12.80);
  327. box-sizing: border-box;
  328. border: 0 solid #B8EFF3;
  329. box-shadow: 0 0 calc(8vmin / 12.80) 0 rgba(115, 218, 228, 1);
  330. }
  331. .portrait-main .basic-content .form-box .number-input {
  332. border-radius: 0 !important;
  333. width: calc(140vmin / 12.80) !important;
  334. text-align: center !important;
  335. }
  336. .portrait-main .basic-content .form-box .left,
  337. .portrait-main .basic-content .form-box .right {
  338. height: calc(48vmin / 12.80);
  339. width: calc(42vmin / 12.80);
  340. background-color: #f1fafb;
  341. color: #78c2f9;
  342. text-align: center;
  343. line-height: calc(48vmin / 12.80);
  344. font-size: calc(17vmin / 12.80);
  345. font-weight: bold;
  346. }
  347. .portrait-main .basic-content .form-box .left {
  348. border-radius: calc(5vmin / 12.80) 0 0 calc(5vmin / 12.80);
  349. margin-right: calc(2vmin / 12.80);
  350. font-size: calc(20vmin / 12.80);
  351. }
  352. .portrait-main .basic-content .form-box .right {
  353. border-radius: 0 calc(5vmin / 12.80) calc(5vmin / 12.80) 0;
  354. margin-left: calc(2vmin / 12.80);
  355. }
  356. .portrait-main .basic-content .wid {
  357. width: 100%;
  358. position: relative;
  359. }
  360. .portrait-main .basic-content .form-box .more-box {
  361. display: flex;
  362. justify-content: center;
  363. align-items: center;
  364. width: calc(65vmin / 12.80);
  365. height: calc(48vmin / 12.80);
  366. border-radius: calc(8vmin / 12.80);
  367. background-color: #48b5b1;
  368. margin-left: calc(20vmin / 12.80);
  369. }
  370. .portrait-main .basic-content .form-box .more-box .more-icon {
  371. width: calc(36vmin / 12.80);
  372. height: calc(28vmin / 12.80);
  373. }
  374. .portrait-main .basic-content .form-box .cus-switch {
  375. transform: scale(1.1);
  376. }
  377. .portrait-main .basic-content .form-box .select-area {
  378. max-height: calc(150vmin / 12.80);
  379. position: absolute;
  380. left: calc(200vmin / 12.80);
  381. bottom: calc(58vmin / 12.80);
  382. width: calc(100% - (200vmin / 12.80) - (85vmin / 12.80));
  383. background-color: #fff;
  384. padding: calc(6vmin / 12.80) calc(20vmin / 12.80);
  385. box-sizing: border-box;
  386. font-size: calc(18vmin / 12.80);
  387. color: #4489B9;
  388. z-index: 999;
  389. box-shadow: 0 0 calc(8vmin / 12.80) 0 rgba(115, 218, 228, 1);
  390. border-radius: calc(8vmin / 12.80);
  391. overflow-y: auto;
  392. }
  393. .portrait-main .basic-content .form-box .select-area .item {
  394. padding: calc(10vmin / 12.80) 0;
  395. opacity: 0.7;
  396. text-align: center;
  397. border-bottom: calc(1vmin / 12.80) solid transparent;
  398. }
  399. .portrait-main .basic-content .form-box .select-area .item:not(:last-child) {
  400. border-bottom: calc(1vmin / 12.80) solid #DFEDF7;
  401. }