index.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. .p-repair {
  2. .search-wrap {
  3. display: flex;
  4. height: 88px;
  5. }
  6. .search-input {
  7. flex: 1;
  8. height: 100%;
  9. border-radius: 8px 0 0 8px;
  10. border-right: 0;
  11. }
  12. .search-btn {
  13. width: 120px;
  14. height: 100%;
  15. border-radius: 0 8px 8px 0;
  16. background: $primary-color url(@img/search.png) no-repeat center;
  17. background-size: 48px 48px;
  18. @include media-breakpoint-up(md) {
  19. width: 206px;
  20. }
  21. }
  22. .search-suggestions {
  23. max-height: 464px * 2;
  24. overflow: auto;
  25. @include media-breakpoint-down(md) {
  26. + .shop-wrap {
  27. display: none !important;
  28. }
  29. }
  30. @include media-breakpoint-up(md) {
  31. position: absolute;
  32. left: 0;
  33. top: 116px;
  34. padding: 0 64px 32px;
  35. width: 962px;
  36. // max-height: 464px * 2;
  37. background: #FFFFFF;
  38. box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.08);
  39. // overflow: auto;
  40. z-index: 2;
  41. }
  42. }
  43. .suggestion {
  44. padding: 48px 0 40px;
  45. font-size: 32px;
  46. color: #1a1a1a;
  47. cursor: pointer;
  48. @include thin-border(bottom);
  49. &:hover,
  50. &:active {
  51. background: #f2f5fb;
  52. }
  53. }
  54. .tip {
  55. margin-top: 48px;
  56. line-height: 44px;
  57. font-size: 32px;
  58. color: #999;
  59. }
  60. .shop {
  61. &-list-wrap {
  62. height: 1000px;
  63. width: calc(100% + 32px);
  64. padding-right: 32px;
  65. &:only-child {
  66. margin-top: 16px;
  67. }
  68. }
  69. &-item {
  70. padding: 48px 0;
  71. &:last-child {
  72. padding-bottom: 0;
  73. &::before {
  74. display: none;
  75. }
  76. }
  77. }
  78. &-name {
  79. display: flex;
  80. justify-content: space-between;
  81. line-height: 56px;
  82. font-size: 40px;
  83. font-weight: 600;
  84. color: #1a1a1a;
  85. .distance {
  86. margin-left: 32px;
  87. font-size: 24px;
  88. font-weight: 400;
  89. color: #999;
  90. }
  91. }
  92. &-address {
  93. margin: 24px 0;
  94. line-height: 44px;
  95. font-size: 32px;
  96. color: #666;
  97. }
  98. &-mark {
  99. position: relative;
  100. display: inline-block;
  101. vertical-align: top;
  102. padding: 0 16px 0 56px;
  103. line-height: 48px;
  104. font-size: 28px;
  105. color: $primary-color;
  106. background: #dae1ef;
  107. .icon {
  108. @include icon('@img/success-s.png', 24px);
  109. position: absolute;
  110. left: 16px;
  111. top: 10px;
  112. }
  113. &.danger {
  114. background: #fce9de;
  115. color: #fb5c00;
  116. .icon {
  117. background-image: url(@img/warn-s.png);
  118. }
  119. }
  120. }
  121. &-action {
  122. text-align: right;
  123. font-size: 0;
  124. }
  125. }
  126. .date {
  127. &-list {
  128. display: flex;
  129. flex-wrap: wrap;
  130. justify-content: space-between;
  131. }
  132. width: 47.5%;
  133. line-height: 116px;
  134. text-align: center;
  135. &:nth-child(n + 3) {
  136. margin-top: 36px;
  137. }
  138. }
  139. .t1 {
  140. margin-bottom: 48px;
  141. font-size: 32px;
  142. line-height: 44px;
  143. color: #333;
  144. }
  145. .t2 {
  146. margin-bottom: 48px;
  147. font-size: 32px;
  148. line-height: 44px;
  149. color: #999;
  150. }
  151. textarea {
  152. display: block;
  153. padding: 22px 34px;
  154. width: 100%;
  155. height: 346px;
  156. border-radius: 8px;
  157. border: 2px solid #d9d9d9;
  158. resize: none;
  159. font-size: 32px;
  160. font-family: inherit;
  161. line-height: 44px;
  162. }
  163. .sub-title {
  164. line-height: 44px;
  165. font-size: 32px;
  166. font-weight: 600;
  167. color: #333;
  168. }
  169. .cell {
  170. line-height: 64px;
  171. font-size: 32px;
  172. &-label {
  173. margin-right: 8px;
  174. color: #999;
  175. }
  176. &-value {
  177. color: #333;
  178. }
  179. }
  180. .mb36 {
  181. margin-bottom: 36px;
  182. }
  183. .container {
  184. padding: 0 72px;
  185. }
  186. .alert {
  187. margin-top: 64px;
  188. &-icon {
  189. @include icon('@img/success.png', 96px);
  190. display: block;
  191. margin: auto;
  192. }
  193. &-message {
  194. margin-top: 32px;
  195. text-align: center;
  196. line-height: 56px;
  197. font-size: 40px;
  198. font-weight: bold;
  199. color: #333;
  200. }
  201. }
  202. .icon-calendar {
  203. margin-right: 8px;
  204. @include icon('@img/calendar.png', 32px);
  205. }
  206. .action {
  207. margin-top: 50px;
  208. display: flex;
  209. justify-content: center;
  210. align-items: center;
  211. font-size: 30px;
  212. color: $primary-color;
  213. }
  214. .note {
  215. margin: 48px 0;
  216. padding: 24px 22px;
  217. background: #f2f5fb;
  218. font-size: 28px;
  219. color: #193059;
  220. &-title {
  221. margin-bottom: 16px;
  222. line-height: 40px;
  223. }
  224. &-list {
  225. line-height: 46px;
  226. font-size: inherit;
  227. }
  228. }
  229. .pb24 {
  230. padding-bottom: 24px;
  231. }
  232. .block-title {
  233. display: flex;
  234. justify-content: space-between;
  235. align-items: flex-start;
  236. .text {
  237. font-size: 32px;
  238. font-weight: 600;
  239. color: #333333;
  240. line-height: 44px;
  241. }
  242. }
  243. .ptc-tag {
  244. flex-shrink: 0;
  245. font-size: 24px;
  246. &.s1 {
  247. background: #dae1ef;
  248. color: $primary-color;
  249. }
  250. &.s0 {
  251. background: #f2f5fb;
  252. color: #97A6C4;
  253. }
  254. &.s2 {
  255. background: #eaeaea;
  256. color: #999;
  257. }
  258. }
  259. .button-group {
  260. display: flex;
  261. justify-content: flex-end;
  262. margin-top: 48px;
  263. @include media-breakpoint-up(md) {
  264. margin-left: auto;
  265. margin-right: auto;
  266. margin-bottom: 24px;
  267. width: 1188px;
  268. }
  269. .ptc-button {
  270. width: 328px;
  271. height: 92px;
  272. + .ptc-button {
  273. margin-left: 26px;
  274. }
  275. }
  276. @include media-breakpoint-down(md) {
  277. .ptc-button {
  278. width: 48%;
  279. + .ptc-button {
  280. margin-left: 4%;
  281. }
  282. }
  283. }
  284. }
  285. @include media-breakpoint-up(md) {
  286. .inner {
  287. margin: auto;
  288. width: 1188px;
  289. }
  290. .block-title {
  291. justify-content: flex-start;
  292. .text {
  293. width: 50%;
  294. }
  295. .ptc-tag {
  296. margin-left: 10%;
  297. }
  298. }
  299. .cell-group {
  300. display: flex;
  301. flex-wrap: wrap;
  302. justify-content: space-between;
  303. .cell {
  304. &:nth-child(2n + 1) {
  305. width: 50%;
  306. }
  307. &:nth-child(2n) {
  308. width: 40%;
  309. }
  310. &:last-child {
  311. width: 100%;
  312. }
  313. }
  314. }
  315. }
  316. @include media-breakpoint-up(xl) {
  317. .wrapper {
  318. display: flex;
  319. padding-left: 176px;
  320. }
  321. .inner {
  322. margin: 0;
  323. }
  324. .button-group {
  325. display: block;
  326. width: auto;
  327. margin-left: 130px;
  328. margin-top: 152px;
  329. .ptc-button + .ptc-button {
  330. margin-left: 0;
  331. margin-top: 24px;
  332. }
  333. }
  334. }
  335. .modify {
  336. line-height: 44px;
  337. font-size: 32px;
  338. font-weight: 600;
  339. color: $primary-color;
  340. cursor: pointer;
  341. &.hidden {
  342. visibility: hidden;
  343. }
  344. }
  345. .p1 {
  346. line-height: 56px;
  347. font-size: 40px;
  348. color: #1a1a1a;
  349. }
  350. .p2 {
  351. font-size: 32px;
  352. color: #1a1a1a;
  353. }
  354. .mg0 {
  355. margin-left: 0;
  356. margin-right: 0;
  357. }
  358. @include media-breakpoint-down(md) {
  359. &.step0 {
  360. display: flex;
  361. flex-direction: column;
  362. height: calc(100vh - var(--nav-bar-height) - 48px);
  363. .ptc-block {
  364. flex: 1;
  365. overflow: hidden;
  366. }
  367. .ptc-inner-md {
  368. display: flex;
  369. flex-direction: column;
  370. height: 100%;
  371. }
  372. .shop-wrap {
  373. flex: 1;
  374. display: flex;
  375. flex-direction: column;
  376. overflow: hidden;
  377. }
  378. .infinite-list {
  379. flex: 1;
  380. }
  381. }
  382. }
  383. }