main.scss 9.7 KB

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