base.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. $--font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
  2. "Microsoft YaHei", Arial, sans-serif;
  3. $--color-text-gray-4: #ccc !default;
  4. $--color-text-gray-3: #aaa !default;
  5. /* reset */
  6. body,
  7. div,
  8. ul,
  9. ol,
  10. li,
  11. h1,
  12. h2,
  13. h3,
  14. h4,
  15. h5,
  16. h6,
  17. input,
  18. p,
  19. tr,
  20. th,
  21. td,
  22. span,
  23. a,
  24. header,
  25. footer,
  26. i {
  27. margin: 0;
  28. padding: 0;
  29. box-sizing: border-box;
  30. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  31. }
  32. li {
  33. list-style: none;
  34. }
  35. em,
  36. i,
  37. u {
  38. font-style: normal;
  39. }
  40. input {
  41. outline: none;
  42. border: none;
  43. background: rgba(245, 245, 245, 1);
  44. font-family: $--font-family;
  45. }
  46. input::-webkit-input-placeholder,
  47. input::-moz-placeholder,
  48. input:-ms-input-placeholder,
  49. input:-moz-placeholder {
  50. font-size: 12px;
  51. font-weight: bold;
  52. color: $--color-text-gray-4;
  53. }
  54. button,
  55. textarea {
  56. font-family: $--font-family;
  57. }
  58. h1,
  59. h2,
  60. h3,
  61. h4,
  62. h5,
  63. h6 {
  64. font-size: 100%;
  65. }
  66. fieldset,
  67. img {
  68. border: 0;
  69. }
  70. abbr {
  71. border: 0;
  72. font-variant: normal;
  73. }
  74. a {
  75. text-decoration: none;
  76. color: inherit;
  77. }
  78. img {
  79. vertical-align: middle;
  80. }
  81. /* common-style */
  82. input:-webkit-autofill {
  83. box-shadow: 0 0 0 1000px white inset;
  84. }
  85. input[type="text"]:focus,
  86. input[type="password"]:focus,
  87. input[type="number"]:focus,
  88. textarea:focus {
  89. box-shadow: 0 0 0 1000px white inset;
  90. }
  91. /* browse style */
  92. ::-webkit-scrollbar {
  93. width: 8px;
  94. height: 8px;
  95. background: transparent;
  96. }
  97. ::-webkit-scrollbar-button {
  98. display: none;
  99. }
  100. ::-webkit-scrollbar-track {
  101. background: transparent;
  102. }
  103. ::-webkit-scrollbar-thumb {
  104. border-radius: 8px;
  105. background: #666;
  106. }
  107. ::-webkit-scrollbar-corner {
  108. background: transparent;
  109. }
  110. ::-webkit-scrollbar-resizer {
  111. background: transparent;
  112. }
  113. body {
  114. font-family: $--font-family;
  115. -webkit-font-smoothing: antialiased;
  116. -moz-osx-font-smoothing: grayscale;
  117. font-size: 14px;
  118. color: #202b4b;
  119. background-color: #f0f4f9;
  120. }
  121. // page
  122. .download {
  123. background: #f0f4f9;
  124. &-header {
  125. height: 64px;
  126. padding: 16px;
  127. &-body {
  128. width: 1200px;
  129. margin: 0 auto;
  130. height: 100%;
  131. }
  132. }
  133. &-logo {
  134. max-height: 32px;
  135. display: block;
  136. }
  137. &-info {
  138. height: 440px;
  139. background: linear-gradient(360deg, #02abff 0%, #0173ff 100%);
  140. &-body {
  141. width: 1200px;
  142. height: 100%;
  143. margin: 0 auto;
  144. position: relative;
  145. padding: 0 600px 0 115px;
  146. &::before {
  147. content: "";
  148. display: block;
  149. position: absolute;
  150. width: 458px;
  151. height: 332px;
  152. background-image: url(../images/body-bg.png);
  153. background-size: 100% 100%;
  154. top: 68px;
  155. right: 115px;
  156. z-index: 8;
  157. }
  158. }
  159. }
  160. &-title {
  161. font-size: 48px;
  162. font-weight: normal;
  163. color: #ffffff;
  164. line-height: 57px;
  165. padding-top: 106px;
  166. margin-bottom: 10px;
  167. }
  168. &-desc {
  169. height: 17px;
  170. font-size: 14px;
  171. font-weight: normal;
  172. color: #ffffff;
  173. line-height: 17px;
  174. letter-spacing: 1px;
  175. margin-bottom: 42px;
  176. }
  177. &-action {
  178. display: flex;
  179. align-items: center;
  180. }
  181. &-btn {
  182. padding: 14px 30px;
  183. line-height: 1;
  184. border-radius: 4px;
  185. background: linear-gradient(270deg, #00c57e 0%, #00d488 100%);
  186. color: #fff;
  187. font-size: 16px;
  188. font-weight: bold;
  189. cursor: pointer;
  190. &:hover {
  191. background: mix(#333, #00c57e, 5%);
  192. }
  193. }
  194. &-qrcode {
  195. width: 120px;
  196. height: 120px;
  197. border-radius: 4px;
  198. border: 3px solid #fff;
  199. margin-left: 40px;
  200. position: relative;
  201. > img {
  202. display: block;
  203. height: 100%;
  204. width: 100%;
  205. }
  206. > p {
  207. position: absolute;
  208. height: 12px;
  209. font-size: 12px;
  210. line-height: 1;
  211. text-align: center;
  212. color: #ffffff;
  213. left: 0;
  214. right: 0;
  215. bottom: -25px;
  216. }
  217. }
  218. &-qa {
  219. margin-bottom: 20px;
  220. &-body {
  221. width: 1200px;
  222. margin: 0 auto;
  223. padding-top: 20px;
  224. display: flex;
  225. justify-content: stretch;
  226. }
  227. &-menu {
  228. width: 260px;
  229. flex-shrink: 0;
  230. flex-grow: 0;
  231. margin-right: 20px;
  232. background: #ffffff;
  233. border-radius: 4px;
  234. padding: 30px 20px;
  235. .el-menu {
  236. border: none;
  237. }
  238. .el-submenu {
  239. margin-bottom: 15px;
  240. }
  241. .el-menu-item {
  242. font-size: 13px;
  243. padding: 5px 10px !important;
  244. line-height: 18px;
  245. height: auto;
  246. white-space: normal;
  247. margin-bottom: 5px;
  248. }
  249. .el-submenu__title {
  250. font-size: 14px;
  251. padding: 5px 10px !important;
  252. line-height: 20px;
  253. height: auto;
  254. white-space: normal;
  255. font-weight: bold;
  256. }
  257. .icon {
  258. margin-right: 8px;
  259. }
  260. .el-submenu__icon-arrow {
  261. right: 10px;
  262. }
  263. }
  264. &-texts {
  265. flex-grow: 2;
  266. background: #ffffff;
  267. border-radius: 4px;
  268. padding: 22px 30px;
  269. }
  270. &-title {
  271. padding: 0 0 22px 30px;
  272. border-bottom: 1px solid #f0f4f9;
  273. position: relative;
  274. line-height: 20px;
  275. font-size: 16px;
  276. font-weight: bold;
  277. color: #202b4b;
  278. min-height: 42px;
  279. &::before {
  280. content: "";
  281. display: block;
  282. position: absolute;
  283. width: 20px;
  284. height: 20px;
  285. background-image: url(../images/icon-question.png);
  286. background-size: 100% 100%;
  287. top: 0;
  288. left: 0;
  289. }
  290. }
  291. &-content {
  292. padding: 20px 0 0 30px;
  293. position: relative;
  294. font-size: 14px;
  295. font-weight: normal;
  296. color: #202b4b;
  297. line-height: 24px;
  298. min-height: 400px;
  299. > p {
  300. margin-bottom: 10px;
  301. }
  302. img {
  303. max-width: 100%;
  304. box-shadow: 0 0 5px #ccc;
  305. }
  306. a {
  307. color: #0173ff;
  308. margin: 0 5px;
  309. &:hover {
  310. color: mix(#000, #0173ff, 20%);
  311. }
  312. }
  313. &::before {
  314. content: "";
  315. display: block;
  316. position: absolute;
  317. width: 20px;
  318. height: 20px;
  319. background-image: url(../images/icon-answer.png);
  320. background-size: 100% 100%;
  321. top: 24px;
  322. left: 0;
  323. }
  324. }
  325. }
  326. }