main.scss 9.5 KB

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