main.scss 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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. margin: 0;
  29. padding: 0;
  30. }
  31. body {
  32. background: url(../images/bg.png) no-repeat ;
  33. font-family: "SourceHanSansSC-Regular", sans-serif, "Microsoft YaHei", "微软雅黑", STXihei, SimHei, "华文细黑";
  34. background-size: 100% 100%;
  35. min-height: 14.5rem;
  36. font-size: 0.3rem;
  37. }
  38. .section-banner {
  39. .banner {
  40. width: 6.25rem;
  41. height: 3.87rem;
  42. margin: 0.64rem auto 0;
  43. background: url(../images/banner.png) no-repeat;
  44. background-size: 100% 100%;
  45. }
  46. }
  47. .section-order {
  48. margin: 0.32rem 0.6rem 0;
  49. .btn-order {
  50. color: white;
  51. font-size: 0.36rem;
  52. height: 1.04rem;
  53. background: url(../images/bg-order.png) no-repeat;
  54. background-size: 100% 100%;
  55. margin: 0rem auto;
  56. display: flex;
  57. justify-content: center;
  58. font-weight: bold;
  59. text-align: center;
  60. align-items: center;
  61. }
  62. }
  63. .section-agr {
  64. margin-top: 0.3rem;
  65. .content {
  66. margin: 0rem 0.3rem 0rem;
  67. padding: 0.26rem 0.28rem;
  68. border-radius: 0.05rem;
  69. background-color: rgba(255,255,255,0.7);
  70. h2 {
  71. color: #4579FF;
  72. font-size: 0.3rem;
  73. margin-bottom: 0.1rem;
  74. }
  75. ul {
  76. color: #333333;
  77. font-size: 0.3rem;
  78. text-align: justify;
  79. li {
  80. display: flex;
  81. align-items: center;
  82. margin-bottom: 0.1rem;
  83. }
  84. }
  85. }
  86. }
  87. .list-dish {
  88. width: 0.1rem;
  89. height: 0.1rem;
  90. background: #6d6d6d;
  91. border-radius: 100%;
  92. margin-right: 0.05rem;
  93. display: block;
  94. float: left;
  95. margin-top: 0.15rem;
  96. }
  97. .hidden {
  98. display: none;
  99. }
  100. .btn-red {
  101. color: white;
  102. height: 0.4rem;
  103. text-decoration: none;
  104. padding: 0rem 0.15rem;
  105. margin-left: 0.15rem;
  106. border-radius: 0.2rem;
  107. background-color: #ff4a38;
  108. display: flex;
  109. align-items: center;
  110. justify-content: center;
  111. }
  112. input::-webkit-input-placeholder {
  113. color: #b1b1b1;
  114. font-size: 0.28rem;
  115. }
  116. input::-moz-placeholder { /* Mozilla Firefox 19+ */
  117. color: #b1b1b1;
  118. font-size: 0.28rem;
  119. }
  120. input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  121. color: #b1b1b1;
  122. font-size: 0.28rem;
  123. }
  124. input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  125. color: #b1b1b1;
  126. font-size: 0.28rem;
  127. }
  128. .sms-form {
  129. background-color: white;
  130. border-radius: 0.2rem;
  131. margin: 0.15rem 0.4rem 0.3rem;
  132. padding: 0.35rem;
  133. }
  134. .form-group {
  135. .input-row {
  136. display: flex;
  137. align-content: space-between;
  138. justify-content: center;
  139. margin-bottom: 0.25rem;
  140. border-bottom: 0.01rem solid #b9b9b9;
  141. .smscode {
  142. width: 100%;
  143. margin-right: 0.15rem;
  144. }
  145. .sendcode {
  146. font-size: 0.26rem;
  147. height: .5rem;
  148. line-height: 0.55rem;
  149. background: linear-gradient(-90deg, #fa382f, #ff7453);
  150. border-radius: 0.24rem;
  151. color: white;
  152. margin-top: 0.2rem;
  153. padding: 0 0.15rem;
  154. word-break: keep-all;
  155. white-space: nowrap;
  156. }
  157. .sendcode-wait {
  158. font-size: 0.26rem;
  159. color: #eaeaea;
  160. }
  161. &:last-child {
  162. margin-bottom: 0rem;
  163. }
  164. }
  165. input {
  166. color: #222222;
  167. font-size: 0.36rem;
  168. width: 100%;
  169. height: 0.8rem;
  170. border: none;
  171. outline: none;
  172. -webkit-appearance: none;
  173. min-width: 2.4rem;
  174. margin-bottom: 0.01rem;
  175. }
  176. .actions {
  177. margin-top: 0.6rem;
  178. .btn {
  179. color: white;
  180. font-size: 0.36rem;
  181. width: 5rem;
  182. height: 0.8rem;
  183. background: url(../images/bg-order.png) no-repeat;
  184. background-size: 100%;
  185. margin: -0.2rem auto 0;
  186. font-weight: bold;
  187. line-height: 0.8rem;
  188. text-align: center;
  189. }
  190. }
  191. }
  192. .overlay {
  193. position: fixed;
  194. top: 0;
  195. right: 0;
  196. bottom: 0;
  197. left: 0;
  198. z-index: 9990;
  199. background-color: rgba(0, 0, 0, 0.7);
  200. min-height: 6.5rem;
  201. }
  202. .dialog {
  203. top: 3.9rem;
  204. left: 0.6rem;
  205. right: 0.6rem;
  206. z-index: 9990;
  207. position: fixed;
  208. }
  209. /*.dialog-message-active-success {
  210. background: url("../images/bg-active-success.png") no-repeat;
  211. background-size: 100%;
  212. .title {
  213. background: url("../images/txt-active-success.png") no-repeat;
  214. background-size: 100%;
  215. }
  216. }
  217. .dialog-message-active-failure {
  218. background: url("../images/bg-active-failure.png") no-repeat;
  219. background-size: 100%;
  220. .title {
  221. background: url("../images/txt-active-failure.png") no-repeat;
  222. background-size: 100%;
  223. }
  224. }
  225. .dialog-message-order-failure {
  226. background: url("../images/bg-order-failure.png") no-repeat;
  227. background-size: 100%;
  228. .title {
  229. background: url("../images/txt-order-failure.png") no-repeat;
  230. background-size: 100%;
  231. }
  232. }
  233. .dialog-message-cancel-success {
  234. background: url("../images/bg-active-success.png") no-repeat;
  235. background-size: 100%;
  236. .title {
  237. background: url("../images/txt-cancel-success.png") no-repeat;
  238. background-size: 100%;
  239. }
  240. }
  241. .dialog-message-cancel-failure {
  242. background: url("../images/bg-cancel-failure.png") no-repeat;
  243. background-size: 100%;
  244. .title {
  245. background: url("../images/txt-cancel-failure.png") no-repeat;
  246. background-size: 100%;
  247. }
  248. }
  249. .section-flow {
  250. margin-top: -4.9rem;
  251. height: 4.9rem;
  252. .phone-box {
  253. display: flex;
  254. justify-content: center;
  255. .phone {
  256. margin-top: 0.17rem;
  257. color: #e04c29;
  258. font-size: 0.26rem;
  259. margin-left: 1.2rem;
  260. }
  261. }
  262. .surplus-box {
  263. margin-top: 1.8rem;
  264. text-align: center;
  265. font-size: 0.6rem;
  266. color: #ae4415;
  267. }
  268. .actions {
  269. margin-top: 0.4rem;
  270. text-align: center;
  271. display: flex;
  272. justify-content: center;
  273. .btn {
  274. width: 3rem;
  275. height: 0.8rem;
  276. line-height: 0.8rem;
  277. border-radius: 0.3rem;
  278. }
  279. }
  280. }*/
  281. .showmore {
  282. display: flex;
  283. justify-content: CENTER;
  284. margin-top: 0.05rem;
  285. margin-bottom: 0.15rem;
  286. .open {
  287. color: #fff;
  288. font-size: 0.32rem;
  289. padding-bottom: 0.1rem;
  290. border-bottom: 0.02rem solid #fff;
  291. }
  292. }
  293. .dialog-agr {
  294. position: fixed;
  295. top: 12%;
  296. left: 0.5rem;
  297. right: 0.5rem;
  298. height: 10.15rem;
  299. font-size: 0.28rem;
  300. background: url(../images/bg-agr.png);
  301. background-size: 100% 100%;
  302. z-index: 10000;
  303. color: #2D2D2D;
  304. text-align: justify;
  305. border-radius: 0.05rem;
  306. overflow: hidden;
  307. animation: capauth-zoom-in 300ms;
  308. h2 {
  309. height: 0rem;
  310. font-size: 0.38rem;
  311. text-align: center;
  312. margin: 0.4rem auto 0.2rem;
  313. width: auto;
  314. }
  315. .close {
  316. width: 0.16rem;
  317. height: 0.16rem;
  318. top: .2rem;
  319. right: 0.2rem;
  320. position: absolute;
  321. background: url(../images/close.png) no-repeat;
  322. background-size: 100% 100%;
  323. }
  324. .container {
  325. height: 9.14rem;
  326. .title {
  327. color: #457AFF;
  328. font-size: 0.3rem;
  329. padding-left: 0.4rem;
  330. margin-bottom: 0.16rem;
  331. display: flex;
  332. align-items: baseline;
  333. }
  334. .content {
  335. height: 8.7rem;
  336. font-size: 0.26rem;
  337. line-height: 0.36rem;
  338. overflow-y: scroll;
  339. ul {
  340. list-style-type: none;
  341. padding: 0 0.3rem;
  342. li {
  343. margin-bottom: 0.15rem;
  344. .sub-ul {
  345. margin-top: 0.1rem;
  346. padding: 0;
  347. }
  348. }
  349. }
  350. }
  351. }
  352. }
  353. ::-webkit-scrollbar {
  354. width: 0.1rem;
  355. height: 8.8rem;
  356. }
  357. /*滑块*/
  358. ::-webkit-scrollbar-thumb {
  359. background-color: #7A7A7A;
  360. border-radius: 0;
  361. }
  362. ::-webkit-scrollbar-thumb:hover {
  363. background-color: #7A7A7A;
  364. border-radius: 0;
  365. }
  366. .btn-cancel {
  367. text-decoration: none;
  368. border-bottom: 0.02rem solid;
  369. color: #457AFF;
  370. }