common.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218
  1. *,
  2. :before,
  3. :after {
  4. box-sizing: border-box;
  5. border-width: 0;
  6. border-style: solid;
  7. border-color: currentColor;
  8. }
  9. * {
  10. -webkit-text-size-adjust: 100%; /* 禁止微信或浏览器改变字体大小 */
  11. }
  12. html {
  13. font-size: 0;
  14. }
  15. body {
  16. font-size: 14px;
  17. font-family: PoppinsRegular;
  18. }
  19. .p-header {
  20. font-size: 14px;
  21. }
  22. body,
  23. html,
  24. ul,
  25. li {
  26. display: block;
  27. margin: 0;
  28. padding: 0;
  29. }
  30. ol,
  31. ul,
  32. menu,
  33. h1,
  34. h2,
  35. h3,
  36. h4,
  37. h5,
  38. h6,
  39. p {
  40. list-style: none;
  41. margin: 0;
  42. padding: 0;
  43. }
  44. h1,
  45. h2,
  46. h3,
  47. h4,
  48. h5,
  49. h6 {
  50. font-size: inherit;
  51. font-weight: inherit;
  52. }
  53. html,
  54. body,
  55. #__nuxt {
  56. width: 100%;
  57. }
  58. html,
  59. body,
  60. #__nuxt,
  61. .main-body {
  62. height: 100%;
  63. margin: 0;
  64. padding: 0;
  65. }
  66. .el-popup-parent--hidden {
  67. overflow: hidden;
  68. }
  69. img {
  70. max-width: 100%;
  71. display: block;
  72. padding: 0;
  73. margin: 0;
  74. height: auto;
  75. }
  76. a {
  77. color: inherit;
  78. text-decoration: inherit;
  79. }
  80. :root {
  81. --heading-color: #13172c;
  82. --section-color: #272f58;
  83. --button-color: #0067ed;
  84. --icon-color: #8291e3;
  85. --bg-color: #fff;
  86. --el-color-primary: #0067ed !important;
  87. --el-menu-active-color: #0067ed;
  88. --el-menu-hover-bg-color: #eff1fb;
  89. // --el-color-info: #fff !important;
  90. // --el-color-success:#fff !important;
  91. // --el-color-warning:#fff !important;
  92. // --el-color-error:#fff !important;
  93. --van-toast-background: rgba(0, 0, 0, 0.7) !important;
  94. --van-toast-text-color: #fff;
  95. --van-toast-z-index: 2020;
  96. --van-button-primary-background: #0067ed !important
  97. ;
  98. }
  99. .max-w1280 {
  100. max-width: 100%;
  101. margin: 0 auto;
  102. }
  103. .f-c-fs {
  104. display: flex;
  105. align-items: center;
  106. justify-content: flex-start;
  107. }
  108. .f-c-fe {
  109. display: flex;
  110. align-items: center;
  111. justify-content: flex-end;
  112. }
  113. .el-message--error,
  114. .el-message--info,
  115. .el-message--warning,
  116. .el-message--success {
  117. --el-message-text-color: #ffffff !important;
  118. }
  119. @font-face {
  120. font-family: PoppinsRegular;
  121. src: url("@/assets/fonts/Poppins-Regular.ttf");
  122. }
  123. .desc_title_poppins {
  124. color: #292929;
  125. }
  126. /** 消息样式 */
  127. .el-message {
  128. border-radius: var(--el-border-radius-round);
  129. }
  130. .el-message__content {
  131. font-size: 14px !important;
  132. }
  133. .el-message--success {
  134. background-image: linear-gradient(195deg, #66bb6a, #43a047);
  135. }
  136. .el-message--error {
  137. background-image: linear-gradient(195deg, #ef5350, #e53935);
  138. }
  139. .el-message--info {
  140. background-image: linear-gradient(195deg, #49a3f1, #1a73e8);
  141. }
  142. .el-message--warning {
  143. background-image: linear-gradient(195deg, #ffa726, #fb8c00);
  144. }
  145. /** dialog */
  146. .el-dialog {
  147. border-radius: var(--el-border-radius-round) !important;
  148. box-shadow: var(--el-box-shadow);
  149. }
  150. /** date picker */
  151. .el-picker-panel {
  152. border-radius: var(--el-border-radius-round) !important;
  153. box-shadow: var(--el-box-shadow);
  154. }
  155. /** 按钮链接不显示下划线 */
  156. .button-link.el-link.is-underline:hover:after {
  157. content: none;
  158. }
  159. /** 注册页/登陆页的顶部框框 */
  160. .box-top-frame {
  161. width: 64px;
  162. height: 64px;
  163. background-color: rgb(76, 175, 80);
  164. position: absolute;
  165. margin-top: -18rem !important;
  166. margin-left: -25rem !important;
  167. border-radius: 20px;
  168. box-shadow: var(--el-box-shadow);
  169. background-image: linear-gradient(195deg, var(--el-color-primary-light-5), var(--el-color-primary));
  170. }
  171. .admin-top-info {
  172. padding: 20px 30px 20px 30px;
  173. flex: 1;
  174. width: 100%;
  175. margin: 0 auto;
  176. .admin-top-title {
  177. h1 {
  178. line-height: 42px;
  179. font-size: 30px;
  180. @extend .desc_inner;
  181. }
  182. }
  183. .admin-top-tabs {
  184. user-select: none;
  185. width: 100%;
  186. margin-top: 12px;
  187. }
  188. }
  189. .page_div {
  190. margin: 20px auto 0 auto;
  191. max-width: 1140px;
  192. padding: 0 20px;
  193. .back {
  194. height: 39px;
  195. font-size: 20px;
  196. font-weight: 400;
  197. color: #6376dc;
  198. line-height: 28px;
  199. margin-top: 60px;
  200. margin: 0 auto;
  201. text-align: left;
  202. margin-top: 60px;
  203. }
  204. .info_title {
  205. height: 39px;
  206. font-size: 28px;
  207. line-height: 42px;
  208. margin: 0 auto;
  209. text-align: left;
  210. margin-top: 53px;
  211. color: #272f58;
  212. }
  213. .info_inner {
  214. font-size: 18px;
  215. font-weight: 400;
  216. line-height: 29px;
  217. margin: 0 auto;
  218. text-align: left;
  219. margin-top: 20px;
  220. margin-bottom: 108px;
  221. color: #292929;
  222. }
  223. .tit_cls {
  224. font-weight: 800;
  225. color: #525583;
  226. margin-top: 60px;
  227. margin-bottom: 30px;
  228. }
  229. }
  230. .blogs-detail {
  231. &.page_div {
  232. .info_title {
  233. display: flex;
  234. }
  235. .info_inner {
  236. font-size: 16px;
  237. color: #292929;
  238. }
  239. }
  240. }
  241. .page-text-bg {
  242. background: #fff;
  243. justify-content: center;
  244. }
  245. .page-text-box {
  246. padding: 20px;
  247. max-width: 1000px;
  248. position: relative;
  249. width: 100%;
  250. }
  251. .page-text-wrap {
  252. margin-top: 30px;
  253. }
  254. .mt20 {
  255. margin-top: 20px;
  256. }
  257. .mb20 {
  258. margin-bottom: 20px;
  259. }
  260. .mt40 {
  261. margin-top: 40px;
  262. }
  263. .mb40 {
  264. margin-bottom: 40px;
  265. }
  266. .mb8 {
  267. margin-bottom: 8px;
  268. }
  269. .ml20 {
  270. margin-left: 20px;
  271. }
  272. .ml40 {
  273. margin-left: 40px;
  274. }
  275. @for $i from 1 through 200 {
  276. .w#{$i} {
  277. width: 1px * $i !important;
  278. }
  279. .hd#{$i} {
  280. height: 1px * $i;
  281. }
  282. }
  283. @for $i from 1 through 100 {
  284. .ml#{$i} {
  285. margin-left: 1px * $i;
  286. }
  287. .mr#{$i} {
  288. margin-right: 1px * $i;
  289. }
  290. .mt#{$i} {
  291. margin-top: 1px * $i;
  292. }
  293. .mb#{$i} {
  294. margin-bottom: 1px * $i;
  295. }
  296. .mg#{$i} {
  297. margin: 1px * $i;
  298. }
  299. .pl#{$i} {
  300. padding-left: 1px * $i;
  301. }
  302. .pr#{$i} {
  303. padding-right: 1px * $i;
  304. }
  305. .pt#{$i} {
  306. padding-top: 1px * $i;
  307. }
  308. .pb#{$i} {
  309. padding-bottom: 1px * $i;
  310. }
  311. .pg#{$i} {
  312. padding: 1px * $i;
  313. }
  314. }
  315. @for $i from 1 through 100 {
  316. .ml#{$i}_i {
  317. margin-left: 1px * $i !important;
  318. }
  319. .mr#{$i}_i {
  320. margin-right: 1px * $i !important;
  321. }
  322. .mt#{$i}_i {
  323. margin-top: 1px * $i !important;
  324. }
  325. .mb#{$i}_i {
  326. margin-bottom: 1px * $i !important;
  327. }
  328. .mg#{$i}_i {
  329. margin: 1px * $i !important;
  330. }
  331. .pl#{$i}_i {
  332. padding-left: 1px * $i !important;
  333. }
  334. .pr#{$i}_i {
  335. padding-right: 1px * $i !important;
  336. }
  337. .pt#{$i}_i {
  338. padding-top: 1px * $i !important;
  339. }
  340. .pb#{$i}_i {
  341. padding: 1px * $i !important;
  342. }
  343. .wd#{$i}_i {
  344. width: 1px * $i !important;
  345. }
  346. .hd#{$i}_i {
  347. height: 1px * $i !important;
  348. }
  349. }
  350. .w100_ {
  351. width: 100%;
  352. }
  353. .d-flex {
  354. display: flex;
  355. }
  356. .f-s-a {
  357. display: flex;
  358. justify-content: space-between;
  359. align-items: center;
  360. }
  361. .space-between {
  362. justify-content: space-between;
  363. }
  364. .flex-direction-column {
  365. flex-direction: column;
  366. }
  367. .justify-content-center {
  368. justify-content: center;
  369. }
  370. .flex-start {
  371. justify-content: flex-start;
  372. }
  373. .align-center {
  374. align-items: center;
  375. }
  376. .text-4xl {
  377. font-size: 36px;
  378. line-height: 40px;
  379. }
  380. .text-2xl {
  381. font-size: 24px;
  382. line-height: 32px;
  383. }
  384. .text-xl {
  385. font-size: 20px;
  386. line-height: 28px;
  387. }
  388. .justify-start {
  389. justify-content: flex-start;
  390. }
  391. .btn-bg-none {
  392. background: unset;
  393. }
  394. .el-dialog {
  395. .el-dialog__headerbtn .el-dialog__close {
  396. color: rgb(114, 118, 123);
  397. }
  398. }
  399. .w100 {
  400. width: 100%;
  401. }
  402. .w100px {
  403. width: 100px;
  404. }
  405. .mainColor {
  406. color: $mainColor;
  407. }
  408. .mainColor_i {
  409. color: $mainColor !important;
  410. }
  411. .fb {
  412. font-weight: bold;
  413. }
  414. .el-link:hover {
  415. color: $mainColor !important;
  416. }
  417. .c-green-900 {
  418. color: rgba(20, 83, 45, 1);
  419. }
  420. .nuxtLink:hover {
  421. color: $mainColor !important;
  422. }
  423. .el-message-box__btns .el-button {
  424. &:hover {
  425. border-color: #d6d6d6;
  426. background-color: #f2f3f5;
  427. color: #292929;
  428. }
  429. &.el-button--primary:hover {
  430. background-color: #d70848;
  431. border-color: #d70848;
  432. color: #fff;
  433. }
  434. }
  435. /** 取消按钮文字全大写 */
  436. :deep(.el-button) {
  437. text-transform: none;
  438. font-weight: normal;
  439. }
  440. /** 禁用按钮的颜色变浅 */
  441. :deep(.el-button.is-disabled) {
  442. opacity: 0.4;
  443. }
  444. .el-button:not(.el-picker-panel__link-btn) {
  445. @extend .btnDefault;
  446. }
  447. /** 主按钮样式 */
  448. .btn_main:not(.is-disabled) {
  449. border: 1px solid #d6d6d6 !important;
  450. background-color: $mainColor !important;
  451. color: #fff !important;
  452. &:hover {
  453. background-color: $AuxColor !important;
  454. }
  455. &:active {
  456. background-color: $AuxColor !important;
  457. transition: background-color 0.3s ease !important;
  458. }
  459. }
  460. /** 次按钮样式 */
  461. .btn_second:not(.is-disabled) {
  462. border: 1px solid #000 !important;
  463. background-color: #000 !important;
  464. color: #fff !important;
  465. &:hover {
  466. background-color: #434343 !important;
  467. }
  468. &:active {
  469. background-color: #434343 !important;
  470. transition: background-color 0.3s ease !important;
  471. }
  472. }
  473. /** 普通线性按钮样式 */
  474. .btn_edge:not(.is-disabled) {
  475. border: 1px solid #d6d6d6 !important;
  476. background-color: #ffffff !important;
  477. color: #292929 !important;
  478. &:hover {
  479. background-color: #f2f3f5 !important;
  480. }
  481. &:active {
  482. background-color: #f2f3f5 !important;
  483. transition: background-color 0.3s ease !important;
  484. }
  485. }
  486. .btn_text {
  487. margin-left: 24px;
  488. display: flex;
  489. align-items: center;
  490. color: #666;
  491. position: relative;
  492. &::before {
  493. position: absolute;
  494. content: "";
  495. width: 100%;
  496. height: 1px;
  497. background: #a0a0a0;
  498. left: 0;
  499. bottom: 10px;
  500. }
  501. &:hover {
  502. color: $mainColor;
  503. &::before {
  504. background: $mainColor;
  505. }
  506. }
  507. }
  508. .btn_text:hover {
  509. color: $mainColor;
  510. }
  511. .el-dialog {
  512. padding: 20px 30px !important;
  513. border-radius: 7px !important;
  514. .el-dialog__headerbtn {
  515. right: 10px;
  516. top: 10px;
  517. }
  518. .el-dialog__body {
  519. padding: 15px 0 10px;
  520. }
  521. }
  522. .SelectProduct {
  523. .el-dialog__body {
  524. padding: 15px 0 10px;
  525. }
  526. }
  527. .el-row .el-pagination {
  528. color: red;
  529. .el-select__wrapper,
  530. .el-input__wrapper {
  531. height: 42px;
  532. }
  533. &.is-background {
  534. .btn-prev {
  535. background: unset !important;
  536. }
  537. .btn-next {
  538. background: unset !important;
  539. }
  540. .el-pager li {
  541. margin: 0 4px;
  542. background-color: #fff;
  543. color: #606266;
  544. min-width: 32px;
  545. border-radius: 8px !important;
  546. border: 1px solid #dee2e6;
  547. width: 36px !important;
  548. height: 36px !important;
  549. &:not(.is-disabled).is-active {
  550. background-image: linear-gradient(to right, $mainColor, $mainColor);
  551. color: #fff;
  552. font-weight: 700;
  553. }
  554. }
  555. }
  556. }
  557. .el-input .el-input__wrapper {
  558. &.is-focus {
  559. box-shadow: 0 0 0 1px #c0c0c0 inset !important;
  560. }
  561. }
  562. .el-select {
  563. .el-select__wrapper {
  564. border-radius: 4px !important;
  565. &.is-focus,
  566. &.is-focused {
  567. box-shadow: 0 0 0 1px #000000 inset !important;
  568. }
  569. }
  570. }
  571. .el-textarea__inner {
  572. &:focus {
  573. box-shadow: 0 0 0 1px #000000 inset !important;
  574. }
  575. }
  576. .el-range-editor.is-active:hover,
  577. .el-range-editor.is-active {
  578. box-shadow: 0 0 0 1px #000000 inset !important;
  579. }
  580. .nav-wrap {
  581. justify-content: space-between;
  582. align-items: center;
  583. margin: 0px 0 30px;
  584. width: 1280px;
  585. .result-wrap {
  586. font-size: 18px;
  587. span {
  588. &:nth-child(2) {
  589. font-weight: bold;
  590. }
  591. &:nth-child(3) {
  592. color: #999;
  593. }
  594. }
  595. }
  596. .pagination-wrap {
  597. .pagination-size,
  598. .pagination-sort {
  599. align-items: center;
  600. justify-content: flex-start;
  601. .el-select__wrapper {
  602. width: 70px;
  603. }
  604. span {
  605. min-width: 110px;
  606. }
  607. }
  608. .el-select__wrapper {
  609. height: 45px;
  610. border-radius: 25px !important;
  611. padding-left: 20px;
  612. cursor: pointer;
  613. }
  614. .pagination-sort {
  615. margin-left: 40px;
  616. .el-select__wrapper {
  617. width: 100px;
  618. padding-left: 30px;
  619. }
  620. span {
  621. min-width: 32px;
  622. }
  623. }
  624. }
  625. }
  626. // product
  627. .product-ul {
  628. display: flex;
  629. flex-wrap: wrap;
  630. margin: 0px 6px 10px;
  631. flex-direction: column;
  632. .product-li {
  633. width: 100%;
  634. padding: 0 6px;
  635. margin-bottom: 12px;
  636. position: relative;
  637. & > a {
  638. background: #fff;
  639. display: flex;
  640. border-radius: 8px;
  641. padding-left: 12px;
  642. position: relative;
  643. z-index: 1;
  644. }
  645. .addCart {
  646. position: absolute;
  647. right: 16px;
  648. bottom: 10px;
  649. z-index: 2;
  650. }
  651. }
  652. .product-img {
  653. overflow: hidden;
  654. min-width: 60px;
  655. width: 60px;
  656. position: relative;
  657. display: flex;
  658. align-items: center;
  659. border-radius: 4px 4px 0 0;
  660. flex-direction: column;
  661. justify-content: center;
  662. padding: 10px 0;
  663. p {
  664. font-size: 12px;
  665. display: flex;
  666. flex-direction: column;
  667. align-items: center;
  668. a{
  669. margin: 0;
  670. }
  671. }
  672. & > img {
  673. min-width: 60px;
  674. width: 40px;
  675. height: 60px;
  676. transition: all 0.4s ease-out;
  677. border-radius: 4px 4px 0 0;
  678. width: 100%;
  679. }
  680. .img-tag {
  681. position: absolute;
  682. top: 0;
  683. left: 0;
  684. padding: 0 8px;
  685. height: 20px;
  686. font-size: 12px;
  687. color: #fff;
  688. display: flex;
  689. align-items: center;
  690. background: $mainColor;
  691. border-bottom-right-radius: 8px;
  692. }
  693. .willSale-tag {
  694. background: #1f6ffc;
  695. }
  696. .presale-tag {
  697. background: rgb(10, 136, 1);
  698. }
  699. .out-stock,
  700. .totalIncoming-count {
  701. position: absolute;
  702. width: 100%;
  703. height: 100%;
  704. background: rgba(255, 255, 255, 0.5);
  705. display: flex;
  706. align-items: center;
  707. justify-content: center;
  708. span {
  709. width: 96px;
  710. height: 96px;
  711. background: rgba(0, 0, 0, 0.5);
  712. border-radius: 50%;
  713. display: flex;
  714. align-items: center;
  715. justify-content: center;
  716. font-weight: 400;
  717. font-size: 20px;
  718. color: #ffffff;
  719. }
  720. }
  721. .totalIncoming-count {
  722. span {
  723. background: rgba(255, 0, 79, 0.5);
  724. }
  725. }
  726. }
  727. .product-info {
  728. padding: 10px;
  729. flex: 1;
  730. position: relative;
  731. .title {
  732. font-weight: bold;
  733. font-size: 14px;
  734. overflow: hidden;
  735. word-wrap: break-word;
  736. word-break: break-all;
  737. line-height: 24px;
  738. }
  739. p {
  740. font-size: 12px;
  741. line-height: 20px;
  742. a{
  743. color: $mainColor;
  744. }
  745. &.price {
  746. margin-top: 5px;
  747. span {
  748. font-size: 15px;
  749. }
  750. }
  751. }
  752. }
  753. }
  754. .pagination-btn {
  755. display: flex;
  756. justify-content: center;
  757. margin-bottom: 20px;
  758. .btn_noLogin {
  759. width: 260px;
  760. border-radius: 50px !important;
  761. }
  762. }
  763. .admin-con {
  764. .el-select .el-select__wrapper {
  765. border-radius: 4px !important;
  766. }
  767. .el-range-editor.el-input__wrapper {
  768. border-radius: 4px !important;
  769. height: 42px;
  770. width: 225px;
  771. }
  772. .el-date-editor .el-range__close-icon--hidden {
  773. display: none;
  774. }
  775. .el-form-item__label {
  776. line-height: 42px;
  777. height: 42px;
  778. }
  779. .el-select {
  780. width: 200px;
  781. }
  782. .btn_main,
  783. .btn_edge {
  784. border-radius: 25px !important;
  785. }
  786. }
  787. .category-wrap {
  788. min-height: calc(100vh - 80px - 364px - 40px);
  789. }
  790. .p-header .custom-menu .el-menu-item {
  791. padding: 0 10px;
  792. margin-right: 25px;
  793. .is-active {
  794. color: $mainColor !important;
  795. }
  796. }
  797. // table 单元格多字段分行展示
  798. .d-row {
  799. display: flex;
  800. &:first-child {
  801. margin-top: 10px;
  802. }
  803. &:last-child {
  804. margin-bottom: 10px;
  805. }
  806. span {
  807. &:first-child {
  808. text-align: left;
  809. color: #646562;
  810. font-size: small;
  811. width: 80px;
  812. min-width: 80px;
  813. margin-right: 5px;
  814. }
  815. &:last-child {
  816. word-break: break-all;
  817. }
  818. }
  819. }
  820. @for $i from 40 through 120 {
  821. .d-span-#{$i} {
  822. .d-row {
  823. span {
  824. &:first-child {
  825. width: 1px * $i;
  826. min-width: 1px * $i;
  827. }
  828. }
  829. }
  830. }
  831. }
  832. .login-from .el-form-item__error {
  833. padding-top: 5px;
  834. }
  835. .el-popover.el-popper.cs-wrap {
  836. min-width: 170px;
  837. padding-top: 6px;
  838. padding-bottom: 6px;
  839. }
  840. .customer {
  841. display: flex;
  842. flex-direction: column;
  843. align-items: center;
  844. justify-content: center;
  845. position: fixed;
  846. right: 48px;
  847. bottom: 15%;
  848. width: 60px;
  849. height: 110px;
  850. background: #fff;
  851. border-radius: 48px;
  852. font-size: 12px;
  853. color: #151a23;
  854. line-height: 16px;
  855. z-index: 99;
  856. cursor: pointer;
  857. box-shadow: 0 3px 10px 0 rgba(19, 0, 72, 0.09);
  858. .customer-icon {
  859. width: 36px;
  860. height: 36px;
  861. background: url("~/assets/img/ico/customer.svg");
  862. background-size: 36px auto;
  863. margin-bottom: 10px;
  864. }
  865. &:hover {
  866. .customer-icon {
  867. background: url("~/assets/img/ico/customerHover.svg");
  868. background-size: 36px auto;
  869. }
  870. color: $mainColor;
  871. }
  872. .customer-text {
  873. text-align: center;
  874. }
  875. }
  876. .primary_search_title {
  877. line-height: 50px;
  878. display: flex;
  879. margin: 10px 0;
  880. width: 100%;
  881. min-width: 1280px;
  882. span {
  883. color: #9fafbc;
  884. i {
  885. display: block;
  886. overflow: hidden;
  887. white-space: nowrap;
  888. text-overflow: ellipsis;
  889. margin-left: 13px;
  890. padding-right: 10px;
  891. max-width: 800px;
  892. font-style: unset;
  893. }
  894. }
  895. a {
  896. color: #9fafbc;
  897. margin: 0 13px;
  898. }
  899. }
  900. .el-overlay.is-message-box {
  901. z-index: 2222 !important;
  902. }
  903. .el-empty .el-empty__description {
  904. display: none;
  905. }
  906. .el-empty__bottom .noContent {
  907. font-size: 14px;
  908. color: #a0a0a0;
  909. }
  910. .swiper-pagination-bullet-active {
  911. background: $mainColor !important;
  912. }
  913. .pt-wrap {
  914. min-height: 100vh;
  915. padding: 30px 16px 20px;
  916. h3 {
  917. font-size: 18px;
  918. font-weight: bold;
  919. text-align: center;
  920. margin-bottom: 30px;
  921. }
  922. h4 {
  923. font-size: 14px;
  924. font-weight: bold;
  925. margin-top: 25px;
  926. margin-bottom: 10px;
  927. }
  928. p {
  929. font-size: 14px;
  930. line-height: 22px;
  931. margin-bottom: 10px;
  932. }
  933. }
  934. .errorText {
  935. color: $mainColor;
  936. }
  937. .el-message-box__message p {
  938. word-wrap: break-word;
  939. display: block;
  940. word-break: break-all;
  941. }
  942. * {
  943. -webkit-tap-highlight-color: transparent;
  944. }
  945. .search-wrap .layer-content,
  946. .admin-wrap {
  947. padding-bottom: 0px;
  948. .loading {
  949. margin: 0 auto 20px;
  950. }
  951. .loading-text {
  952. font-size: 12px;
  953. text-align: center;
  954. margin: 0 auto 20px;
  955. color: #999;
  956. }
  957. }
  958. .admin-wrap {
  959. .loading,
  960. .loading-text {
  961. margin: 20px auto 20px;
  962. }
  963. }
  964. .el-skeleton__item {
  965. background: #f0f2f5;
  966. border-radius: 4px;
  967. display: inline-block;
  968. height: 16px;
  969. width: 100%;
  970. }
  971. .el-skeleton__p {
  972. width: 100%;
  973. }
  974. .info-notify.el-button {
  975. padding: 0 10px;
  976. height: 22px !important;
  977. border-radius: 16px 16px 16px 16px !important;
  978. border: 1px solid #333333;
  979. font-size: 12px;
  980. color: #333333;
  981. font-weight: 400;
  982. line-height: 22px;
  983. &.isNotify {
  984. background: $mainColor !important;
  985. color: #ffffff;
  986. border-color: $mainColor !important;
  987. &:hover {
  988. background: $mainColor !important;
  989. color: #ffffff;
  990. border-color: $mainColor !important;
  991. }
  992. }
  993. &:hover {
  994. background-color: #ffffff !important;
  995. border-color: #333333 !important;
  996. color: #333333;
  997. }
  998. }
  999. .info-reserve.el-button {
  1000. padding: 0 10px;
  1001. height: 24px !important;
  1002. border-radius: 16px 16px 16px 16px !important;
  1003. border: 1px solid #333333;
  1004. font-size: 12px;
  1005. color: #333333;
  1006. font-weight: 400;
  1007. line-height: 24px;
  1008. &.isReserve {
  1009. background: $mainColor !important;
  1010. color: #ffffff;
  1011. border-color: $mainColor !important;
  1012. &:hover {
  1013. background: $mainColor !important;
  1014. color: #ffffff;
  1015. border-color: $mainColor !important;
  1016. }
  1017. }
  1018. &:hover {
  1019. background-color: #ffffff !important;
  1020. border-color: #333333 !important;
  1021. color: #333333;
  1022. }
  1023. }
  1024. .category-boxs-bg {
  1025. background-color: #fff;
  1026. .category-boxs {
  1027. background: linear-gradient(180deg, #fff, #fff0 2.666667rem) !important;
  1028. margin: 0;
  1029. min-height: calc(100vh - 304px);
  1030. }
  1031. }
  1032. @for $i from 10 through 40 {
  1033. .fs#{$i} {
  1034. font-size: 1px * $i;
  1035. }
  1036. .fs#{$i}_i {
  1037. font-size: 1px * $i !important;
  1038. }
  1039. }
  1040. .admin-boxs-bg {
  1041. background-color: #f7f7f7;
  1042. }
  1043. .admin-wrap {
  1044. background: linear-gradient(180deg, #fff, hsla(0, 0%, 100%, 0) 100px);
  1045. min-height: calc(100vh - 44px);
  1046. }
  1047. .text-overflow {
  1048. overflow: hidden;
  1049. text-overflow: ellipsis;
  1050. white-space: nowrap;
  1051. }
  1052. .el-message {
  1053. max-width: 90% !important;
  1054. width: max-content !important;
  1055. min-width: 130px;
  1056. .el-message__content {
  1057. width: 100%;
  1058. min-width: 62px;
  1059. }
  1060. }
  1061. .c_0A8800_i {
  1062. color: #0a8800 !important;
  1063. }
  1064. .c_0A8800 {
  1065. color: #0a8800;
  1066. }
  1067. .c_e6a237 {
  1068. color: #e6a237;
  1069. }
  1070. .tab {
  1071. border: 1px solid #e8e8e8;
  1072. .tr {
  1073. display: flex;
  1074. & + .tr {
  1075. border-top: 1px solid #e8e8e8;
  1076. }
  1077. }
  1078. .th {
  1079. background: #f4f4f4;
  1080. }
  1081. .th,
  1082. .td {
  1083. width: 50%;
  1084. height: 28px;
  1085. display: flex;
  1086. align-items: center;
  1087. padding: 0 10px;
  1088. color: #666;
  1089. & + .th,
  1090. & + .td {
  1091. border-left: 1px solid #e8e8e8;
  1092. }
  1093. }
  1094. }
  1095. .detail-drawer {
  1096. border-radius: 10px 10px 0 0;
  1097. .el-input-number__increase:hover ~ .el-input:not(.is-disabled) .el-input__wrapper {
  1098. box-shadow: 0 0 0 0.026667rem #e8e8e8 inset;
  1099. }
  1100. .title {
  1101. font-size: 15px;
  1102. font-weight: bold;
  1103. text-align: center;
  1104. margin-bottom: 10px;
  1105. }
  1106. p {
  1107. color: #7a8599;
  1108. line-height: 30px;
  1109. span {
  1110. color: #334463;
  1111. margin-left: 10px;
  1112. }
  1113. }
  1114. .footer-btn,
  1115. .inp-wrap {
  1116. display: flex;
  1117. align-items: center;
  1118. justify-content: space-between;
  1119. margin-top: 12px;
  1120. }
  1121. }
  1122. /* 重置 Toast 样式,确保不被 Popup 影响 */
  1123. .my-custom-toast.van-toast {
  1124. z-index: 2020 !important;
  1125. background: var(--van-toast-background);
  1126. box-sizing: content-box;
  1127. transition: all var(--van-duration-fast);
  1128. width: var(--van-toast-default-width);
  1129. max-width: var(--van-toast-max-width);
  1130. /* 其他需要重置的样式 */
  1131. }
  1132. .van-dialog {
  1133. top: 45% !important;
  1134. width: var(--van-dialog-width) !important;
  1135. }
  1136. .news-nav-tab {
  1137. display: flex;
  1138. justify-content: center;
  1139. align-items: center;
  1140. margin-top: 20px;
  1141. a {
  1142. border: 1px solid #e8e8e8;
  1143. color: #333;
  1144. border-radius: 3px;
  1145. padding: 0 10px;
  1146. font-size: 14px;
  1147. height: 30px;
  1148. display: flex;
  1149. justify-content: center;
  1150. align-items: center;
  1151. & + a {
  1152. margin-left: 12px;
  1153. }
  1154. &.current {
  1155. background: $mainColor;
  1156. border-color: $mainColor;
  1157. color: #fff;
  1158. }
  1159. }
  1160. }