main.scss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. @import "../../../../public/scss/reset.scss";
  2. @import "../../../../public/scss/unicom.scss";
  3. @font-face {
  4. font-family: "SourceHanSansSC-Regular";
  5. src: url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.woff2") format("woff2"),
  6. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.woff") format("woff"),
  7. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.ttf") format("truetype"),
  8. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.eot") format("embedded-opentype"),
  9. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.svg") format("svg");
  10. }
  11. @font-face {
  12. font-family: "SourceHanSansSC-Medium";
  13. src: url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.woff2") format("woff2"),
  14. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.woff") format("woff"),
  15. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.ttf") format("truetype"),
  16. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.eot") format("embedded-opentype"),
  17. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.svg") format("svg");
  18. }
  19. @font-face {
  20. font-family: "SourceHanSansSC-Light";
  21. src: url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.woff2") format("woff2"),
  22. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.woff") format("woff"),
  23. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.ttf") format("truetype"),
  24. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.eot") format("embedded-opentype"),
  25. url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.svg") format("svg");
  26. }
  27. html, body {
  28. height: 100%;
  29. }
  30. body {
  31. background: url(../images/bg-big.png) no-repeat #ffeee0;
  32. font-family: "SourceHanSansSC-Regular", sans-serif, "Microsoft YaHei", "微软雅黑", STXihei, SimHei, "华文细黑";
  33. background-size: 100%;
  34. min-height: 11.97rem;
  35. font-size: 0.3rem;
  36. }
  37. .banner {
  38. padding-top: 0.6rem;
  39. .banner-text {
  40. width: 4.94rem;
  41. height: 4.42rem;
  42. margin: 0 auto;
  43. background: url(../images/banner.png) no-repeat;
  44. background-size: 100% 100%;
  45. }
  46. }
  47. .products {
  48. display: flex;
  49. justify-content: center;
  50. margin-top: 0.7rem;
  51. .item {
  52. width: 3.34rem;
  53. height: 1.88rem;
  54. background-color: #95C1FF;
  55. margin-top: 0.07rem;
  56. margin-right: 0.12rem;
  57. border-radius: 0.2rem;
  58. .box {
  59. width: 2.41rem;
  60. height: 1.4rem;
  61. margin: 0.24rem auto;
  62. &.baidu {
  63. background: url(../images/product-baidu.png) no-repeat;
  64. background-size: 100% 100%;
  65. }
  66. &.douyin {
  67. background: url(../images/product-douyin.png) no-repeat;
  68. background-size: 100% 100%;
  69. }
  70. }
  71. &.active {
  72. width: 3.53rem;
  73. height: 2.20rem;
  74. margin-top: 0;
  75. background: url(../images/bg-item-active.png) no-repeat;
  76. background-size: 100% 100%;
  77. .box {
  78. margin: 0.33rem auto;
  79. &.baidu {
  80. background: url(../images/product-baidu-de.png) no-repeat;
  81. background-size: 100% 100%;
  82. }
  83. &.douyin {
  84. background: url(../images/product-douyin-de.png) no-repeat;
  85. background-size: 100% 100%;
  86. }
  87. }
  88. }
  89. &:last-child {
  90. margin-right: 0;
  91. }
  92. }
  93. }
  94. .order {
  95. width: 6.33rem;
  96. height: 0.97rem;
  97. margin: 0.14rem auto 0;
  98. background: url(../images/bg-btn-order-9.png) no-repeat;
  99. background-size: 100% 100%;
  100. }
  101. .more {
  102. height: 0.5rem;
  103. color: #FFF;
  104. font-size: 0.26rem;
  105. font-weight: 400;
  106. text-align: center;
  107. margin-top: 0.25rem;
  108. .text {
  109. border-bottom: 0.02rem solid #FFF;
  110. padding-bottom: 0.1rem;
  111. }
  112. }
  113. .change {
  114. display: flex;
  115. margin-top: 0.5rem;
  116. justify-content: center;
  117. .item {
  118. width: 3.83rem;
  119. height: 1.8rem;
  120. }
  121. .modify {
  122. background: url("../images/bg-btn-modify.png") no-repeat;
  123. background-size: 100%;
  124. }
  125. .cancel {
  126. background: url("../images/bg-btn-cancel.png") no-repeat;
  127. background-size: 100%;
  128. }
  129. }
  130. .login {
  131. width: 7.19rem;
  132. height: 4.71rem;
  133. margin: 0 auto;
  134. background: url(../images/bg-login-border.png) no-repeat;
  135. background-size: 100% 100%;
  136. input::-webkit-input-placeholder {
  137. color: #b1b1b1;
  138. font-size: 0.28rem;
  139. }
  140. input::-moz-placeholder { /* Mozilla Firefox 19+ */
  141. color: #b1b1b1;
  142. font-size: 0.28rem;
  143. }
  144. input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  145. color: #b1b1b1;
  146. font-size: 0.28rem;
  147. }
  148. input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  149. color: #b1b1b1;
  150. font-size: 0.28rem;
  151. }
  152. .sms-form {
  153. padding: 0.3rem 0.4rem 0;
  154. }
  155. .form-group {
  156. border-radius: 0.2rem;
  157. padding: 0.4rem 0.2rem 0.35rem;
  158. .input-row {
  159. display: flex;
  160. align-content: space-between;
  161. justify-content: center;
  162. margin-bottom: 0.4rem;
  163. .smscode {
  164. width: 100%;
  165. margin-right: 0.15rem;
  166. }
  167. .sendcode {
  168. color: white;
  169. font-size: 0.32rem;
  170. font-weight: bold;
  171. height: .86rem;
  172. line-height: 0.86rem;
  173. padding: 0 0.2rem;
  174. word-break: keep-all;
  175. white-space: nowrap;
  176. border-radius: 0.1rem;
  177. background: url('../images/bg-btn-send-smscode.png') no-repeat;
  178. background-size: 100% 100%;
  179. }
  180. .sendcode-wait {
  181. font-weight: unset;
  182. }
  183. }
  184. .mb0 {
  185. margin-bottom: 0;
  186. }
  187. input {
  188. font-size: 0.36rem;
  189. width: 100%;
  190. height: 0.88rem;
  191. outline: none;
  192. -webkit-appearance: none;
  193. min-width: 2.4rem;
  194. border: 0.01rem solid rgb(204,204,204);
  195. border-radius: 0.1rem;
  196. padding-left: 0.3rem;
  197. }
  198. .actions {
  199. width: 2.58rem;
  200. height: 0.89rem;
  201. margin: 0.31rem auto 0;
  202. background: url(../images/btn-cancel.png) no-repeat;
  203. background-size: 100% 100%;
  204. .btn {
  205. width: 2.2rem;
  206. height: 0.8rem;
  207. background: none;
  208. }
  209. }
  210. }
  211. }
  212. .section-agr {
  213. .title {
  214. width: 2.47rem;
  215. height: 0.95rem;
  216. background: url(../images/tips-title.png) no-repeat;
  217. background-size: 100% 100%;
  218. margin: 0 auto;
  219. }
  220. ul {
  221. color: white;
  222. font-size: 0.26rem;
  223. margin: 0.3rem 0.45rem;
  224. li {
  225. margin-bottom: 0.1rem;
  226. }
  227. }
  228. }
  229. .overlay {
  230. position: fixed;
  231. top: 0;
  232. right: 0;
  233. bottom: 0;
  234. left: 0;
  235. z-index: 9990;
  236. background-color: rgba(0, 0, 0, 0.4);
  237. min-height: 6.5rem;
  238. }
  239. .dialog-meesage {
  240. width: 4.93rem;
  241. min-height: 2.8rem;
  242. background: url(../images/bg-dialog.png) no-repeat;
  243. background-size: 100% 100%;
  244. z-index: 9991;
  245. position: fixed;
  246. left: 50%;
  247. top: 50%;
  248. transform: translate(-50%,-50%);
  249. .content {
  250. color: #2A2A2A;
  251. font-size: 0.36rem;
  252. padding: 0.6rem;
  253. text-align: center;
  254. }
  255. .actions {
  256. display: flex;
  257. margin: 0 0.2rem 0.24rem;
  258. .btn {
  259. width: 3.05rem;
  260. height: 0.83rem;
  261. margin: 0 auto;
  262. background: url(../images/bg-btn-okay.png) no-repeat;
  263. background-size: 100% 100%;
  264. }
  265. .btn-okay {
  266. width: 1.99rem;
  267. height: 0.89rem;
  268. background: url(../images/btn-okay.png) no-repeat;
  269. background-size: 100% 100%;
  270. }
  271. .btn-no {
  272. width: 1.99rem;
  273. height: 0.89rem;
  274. background: url(../images/btn-no.png) no-repeat;
  275. background-size: 100% 100%;
  276. }
  277. }
  278. }
  279. .dialog-agr {
  280. width: 6.6rem;
  281. height: 10.11rem;
  282. background: url(../images/bg-agr.png) no-repeat;
  283. background-size: 100% 100%;
  284. z-index: 9991;
  285. position: fixed;
  286. left: 50%;
  287. top: 50%;
  288. transform: translate(-50%,-50%);
  289. .head {
  290. position: relative;
  291. padding-top: 0.3rem;
  292. .title {
  293. width: 2.47rem;
  294. height: 0.95rem;
  295. background: url(../images/tips-title.png) no-repeat;
  296. background-size: 100% 100%;
  297. margin: 0 auto;
  298. }
  299. .close {
  300. position: absolute;
  301. top: 0.2rem;
  302. right: 0.18rem;
  303. width: 0.16rem;
  304. height: 0.16rem;
  305. background: url(../images/btn-close.png) no-repeat;
  306. background-size: 100% 100%;
  307. }
  308. }
  309. ul {
  310. color: #333333;
  311. font-size: 0.26rem;
  312. margin: 0.3rem;
  313. height: 8.18rem;
  314. overflow: scroll;
  315. text-align: justify;
  316. li {
  317. margin-bottom: 0.1rem;
  318. }
  319. }
  320. }
  321. .dialog-alert .actions .btn {
  322. color: white;
  323. font-size: 0.34rem;
  324. background: linear-gradient(-90deg, #4e52ef, #10b1fd);
  325. height: 0.7rem;
  326. display: flex;
  327. align-items: center;
  328. justify-content: center;
  329. width: 2rem;
  330. border-radius: 0.4rem;
  331. }