common.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  1. // 安全区域
  2. // page{
  3. // padding-bottom: constant(safe-area-inset-bottom);
  4. // padding-bottom: env(safe-area-inset-bottom);
  5. // }
  6. //详情标题
  7. .detail-top-title {
  8. text-align: center;
  9. .title {
  10. font-size: 30rpx;
  11. font-family: PingFang SC, PingFang SC-Bold;
  12. font-weight: 700;
  13. text-align: center;
  14. color: #0d8748;
  15. margin: 0 26rpx;
  16. vertical-align: middle;
  17. }
  18. .line {
  19. width: 63rpx;
  20. height: 6rpx;
  21. vertical-align: middle;
  22. &:last-child {
  23. transform: rotateY(180deg);
  24. }
  25. }
  26. }
  27. //弹窗1
  28. .tip-popup {
  29. .content-box {
  30. width: 530rpx;
  31. background-color: white;
  32. border-radius: 20rpx;
  33. overflow: hidden;
  34. .title {
  35. height: 90rpx;
  36. width: 100%;
  37. text-align: center;
  38. font-size: 30rpx;
  39. font-family: PingFang SC, PingFang SC-Bold;
  40. font-weight: 700;
  41. text-align: center;
  42. color: #1a1a1a;
  43. line-height: 90rpx;
  44. background: #e6e6e6;
  45. }
  46. .content {
  47. padding: 66rpx 0 49rpx 0 !important;
  48. text-align: center;
  49. .tip {
  50. width: 404rpx;
  51. font-size: 26rpx;
  52. font-family: PingFang SC, PingFang SC-Regular;
  53. font-weight: 400;
  54. text-align: left;
  55. color: #666666;
  56. line-height: 38rpx;
  57. margin: 0 auto 20rpx auto;
  58. word-break: break-all;
  59. }
  60. .btn {
  61. background: #20a634;
  62. border-radius: 40rpx;
  63. width: fit-content;
  64. height: 80rpx;
  65. font-size: 26rpx;
  66. padding: 0 90rpx;
  67. box-sizing: border-box;
  68. font-family: PingFang SC, PingFang SC-Regular;
  69. font-weight: 400;
  70. text-align: center;
  71. color: #ffffff;
  72. line-height: 80rpx;
  73. margin: 40rpx auto 20rpx auto;
  74. &.donation {
  75. width: 434rpx;
  76. background: #f8a764;
  77. margin: 0 auto 20rpx auto;
  78. }
  79. }
  80. .btn-box {
  81. display: flex;
  82. justify-content: space-around;
  83. margin-top: 40rpx;
  84. button {
  85. width: 200rpx;
  86. height: 80rpx;
  87. border: 1px solid #3775f6;
  88. border-radius: 40rpx;
  89. font-size: 32rpx;
  90. font-family: PingFang SC, PingFang SC-Regular;
  91. font-weight: 400;
  92. text-align: center;
  93. background-color: #fa6138;
  94. color: white;
  95. line-height: 80rpx;
  96. &:nth-child(1) {
  97. background-color: white;
  98. color: #fa6138;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. }
  105. //弹窗2
  106. .submit-popup {
  107. .content-box {
  108. border-radius: 12rpx;
  109. width: 530rpx;
  110. padding: 64rpx 46rpx 74rpx 46rpx;
  111. box-sizing: border-box;
  112. background-color: white;
  113. .title {
  114. font-size: 32rpx;
  115. font-family: PingFang SC, PingFang SC-Bold;
  116. font-weight: 700;
  117. text-align: center;
  118. color: #1a1a1a;
  119. }
  120. .content {
  121. padding: 0 !important;
  122. .success-icon {
  123. display: block;
  124. width: 107rpx;
  125. height: 107rpx;
  126. margin: 40rpx auto 34rpx auto;
  127. }
  128. .tip {
  129. margin: 0 auto;
  130. width: 260rpx;
  131. font-size: 26rpx;
  132. font-family: PingFang SC, PingFang SC-Regular;
  133. font-weight: 400;
  134. text-align: center;
  135. color: #666666;
  136. line-height: 42rpx;
  137. }
  138. .btn {
  139. background: #20a634;
  140. border-radius: 40rpx;
  141. padding: 0 90rpx;
  142. box-sizing: border-box;
  143. width: fit-content;
  144. height: 80rpx;
  145. font-size: 32rpx;
  146. font-family: PingFang SC, PingFang SC-Regular;
  147. font-weight: 400;
  148. text-align: center;
  149. color: #ffffff;
  150. line-height: 80rpx;
  151. margin: 40rpx auto 20rpx auto;
  152. }
  153. .btn-box {
  154. display: flex;
  155. justify-content: space-around;
  156. margin-top: 40rpx;
  157. button {
  158. width: 200rpx;
  159. height: 80rpx;
  160. border: 1px solid #20a634;
  161. border-radius: 40rpx;
  162. font-size: 32rpx;
  163. font-family: PingFang SC, PingFang SC-Regular;
  164. font-weight: 400;
  165. text-align: center;
  166. background-color: #20a634;
  167. color: white;
  168. line-height: 80rpx;
  169. &:nth-child(1) {
  170. background-color: white;
  171. color: #20a634;
  172. }
  173. }
  174. }
  175. }
  176. }
  177. }
  178. // 公共表单
  179. .common-form {
  180. width: 100%;
  181. box-sizing: border-box;
  182. padding: 10rpx 30rpx;
  183. .form-title {
  184. font-size: 32rpx;
  185. font-family: PingFang SC, PingFang SC-Regular;
  186. font-weight: 400;
  187. text-align: left;
  188. color: #060606;
  189. margin: 30rpx 0 23rpx 0;
  190. &.required {
  191. &:before {
  192. content: "*";
  193. font-size: 32rpx;
  194. font-family: PingFang SC, PingFang SC-Regular;
  195. font-weight: 400;
  196. text-align: left;
  197. color: #ff0000;
  198. vertical-align: middle;
  199. margin-right: 2rpx;
  200. }
  201. }
  202. .tip {
  203. color: #999999;
  204. }
  205. }
  206. .form-item {
  207. padding-bottom: 10rpx;
  208. border-bottom: 1px solid #d9d9d95c;
  209. display: flex;
  210. justify-content: space-between;
  211. align-items: center;
  212. &.no-border {
  213. border-bottom: none;
  214. }
  215. input {
  216. flex: 1;
  217. }
  218. .iconfont2 {
  219. color: #808080;
  220. font-size: 40rpx;
  221. }
  222. .u-upload {
  223. margin-bottom: 30rpx;
  224. .uicon-plus {
  225. font-size: 50rpx !important;
  226. color: #999999;
  227. }
  228. .u-add-tips {
  229. margin-top: 0;
  230. }
  231. }
  232. .upload-tip {
  233. font-size: 26rpx;
  234. font-family: PingFang SC, PingFang SC-Regular;
  235. font-weight: 400;
  236. text-align: left;
  237. color: #666666;
  238. line-height: 40rpx;
  239. margin-bottom: 40rpx;
  240. }
  241. }
  242. .submit-btn {
  243. width: 690rpx;
  244. height: 80rpx;
  245. line-height: 80rpx;
  246. margin: 20rpx auto;
  247. background: #fa6138;
  248. border-radius: 40px;
  249. text-align: center;
  250. font-size: 32rpx;
  251. font-family: PingFang SC, PingFang SC-Regular;
  252. font-weight: 400;
  253. text-align: center;
  254. color: #ffffff;
  255. }
  256. .form-tip {
  257. font-size: 26rpx;
  258. font-family: PingFang SC, PingFang SC-Regular;
  259. font-weight: 400;
  260. text-align: left;
  261. color: #666666;
  262. line-height: 40rpx;
  263. margin: 27rpx 0 60rpx 0;
  264. }
  265. .form-split {
  266. width: 750rpx;
  267. height: 8rpx;
  268. background: #f5f5f5;
  269. margin: 40rpx 0 40rpx -30rpx;
  270. }
  271. }
  272. //服务体系礼包
  273. .service-sys-moudle {
  274. padding: 0 0 0 30rpx;
  275. box-sizing: border-box;
  276. margin: 0 0 50rpx 0;
  277. .title-box {
  278. font-size: 36rpx;
  279. font-family: PingFang SC, PingFang SC-Bold;
  280. font-weight: 700;
  281. text-align: left;
  282. color: #1a1a1a;
  283. line-height: 30rpx;
  284. margin-bottom: 30rpx;
  285. }
  286. .content {
  287. overflow-x: auto;
  288. overflow-y: hidden;
  289. white-space: nowrap;
  290. .item {
  291. display: inline-block;
  292. text-align: center;
  293. margin-right: 20rpx;
  294. filter: drop-shadow(1px 2px 4px rgba(26, 58, 70, 0.1));
  295. .cover {
  296. width: 217rpx;
  297. height: 217rpx;
  298. margin-bottom: 10rpx;
  299. border-radius: 10rpx;
  300. }
  301. .title {
  302. font-size: 24rpx;
  303. font-family: PingFang SC, PingFang SC-Regular;
  304. font-weight: 400;
  305. color: #333333;
  306. line-height: 24rpx;
  307. margin-bottom: 15rpx;
  308. width: 217rpx;
  309. white-space: nowrap;
  310. overflow: hidden;
  311. text-overflow: ellipsis;
  312. }
  313. .new-price {
  314. margin-bottom: 5rpx;
  315. .company,
  316. .float-num {
  317. font-size: 20rpx;
  318. font-family: PingFang SC, PingFang SC-Medium;
  319. font-weight: 500;
  320. color: #00bf5a;
  321. line-height: 24rpx;
  322. }
  323. .num {
  324. font-size: 36rpx;
  325. font-family: PingFang SC, PingFang SC-Medium;
  326. font-weight: bold;
  327. color: #00bf5a;
  328. line-height: 24rpx;
  329. }
  330. }
  331. .old-price {
  332. font-size: 22rpx;
  333. font-family: PingFang SC, PingFang SC-Regular;
  334. font-weight: 400;
  335. text-decoration: line-through;
  336. color: #999999;
  337. line-height: 24rpx;
  338. }
  339. }
  340. }
  341. }
  342. //标签页
  343. .tab-box {
  344. position: sticky;
  345. top: 0;
  346. left: 0;
  347. background-color: white;
  348. z-index: 50;
  349. height: 110rpx;
  350. width: 100%;
  351. display: flex;
  352. justify-content: space-between;
  353. align-items: center;
  354. padding: 0 106rpx 0 106rpx;
  355. box-sizing: border-box;
  356. border-bottom: 1px solid #e6e6e6;
  357. .tab {
  358. height: 110rpx;
  359. line-height: 110rpx;
  360. font-size: 30rpx;
  361. font-family: PingFang SC, PingFang SC-Bold;
  362. font-weight: 700;
  363. text-align: center;
  364. position: relative;
  365. color: #1a1a1a;
  366. &::before {
  367. content: "";
  368. position: absolute;
  369. left: 50%;
  370. bottom: 0;
  371. transform: translateX(-50%);
  372. width: 0;
  373. height: 2px;
  374. background: #fa6138;
  375. transition: all 0.3s;
  376. }
  377. &.active {
  378. color: #fa6138;
  379. &::before {
  380. width: 100%;
  381. }
  382. }
  383. }
  384. }
  385. //查看更多
  386. .u-load-more-wrap {
  387. margin-top: 30rpx !important;
  388. }
  389. // 富文本展示
  390. .ql-editor-box {
  391. word-break: break-all;
  392. text-align: justify;
  393. ::v-deep .ql-indent-1 {
  394. margin-left: 96rpx;
  395. }
  396. ::v-deep .ql-indent-2 {
  397. margin-left: 192rpx;
  398. }
  399. ::v-deep .ql-indent-3 {
  400. margin-left: 288rpx;
  401. }
  402. ::v-deep .ql-indent-4 {
  403. margin-left: 384rpx;
  404. }
  405. ::v-deep .ql-indent-5 {
  406. margin-left: 480rpx;
  407. }
  408. ::v-deep .ql-indent-6 {
  409. margin-left: 576rpx;
  410. }
  411. ::v-deep .ql-indent-7 {
  412. margin-left: 672rpx;
  413. }
  414. ::v-deep .ql-indent-8 {
  415. margin-left: 768rpx;
  416. }
  417. ::v-deep img {
  418. max-width: 100%;
  419. }
  420. ::v-deep .ql-align-center {
  421. text-align: center;
  422. }
  423. ::v-deep .ql-align-right {
  424. text-align: right;
  425. }
  426. ::v-deep blockquote {
  427. display: block;
  428. border-left: 8px solid #d0e5f2;
  429. padding: 5px 10px;
  430. margin: 10px 0;
  431. line-height: 1.4;
  432. font-size: 100%;
  433. background-color: #f1f1f1;
  434. }
  435. ::v-deep .ql-indent-1 {
  436. margin-left: 60rpx;
  437. }
  438. ::v-deep .ql-indent-2 {
  439. margin-left: 120rpx;
  440. }
  441. ::v-deep .ql-indent-3 {
  442. margin-left: 180rpx;
  443. }
  444. ::v-deep .ql-indent-4 {
  445. margin-left: 240rpx;
  446. }
  447. ::v-deep .ql-indent-5 {
  448. margin-left: 300rpx;
  449. }
  450. ::v-deep .ql-size-huge {
  451. font-size: 80rpx;
  452. display: inline-block;
  453. line-height: 90rpx;
  454. }
  455. ::v-deep .ql-size-large {
  456. font-size: 48rpx;
  457. display: inline-block;
  458. line-height: 50rpx;
  459. }
  460. ::v-deep .ql-size-small {
  461. font-size: 24rpx;
  462. display: inline-block;
  463. line-height: 30rpx;
  464. }
  465. ::v-deep .ql-font-serif {
  466. font-family: Georgia, Times New Roman, serif;
  467. }
  468. ::v-deep .ql-font-monospace {
  469. font-family: Monaco, Courier New, monospace;
  470. }
  471. }
  472. .goods-tools {
  473. display: flex;
  474. flex-direction: column;
  475. justify-content: flex-end;
  476. height: 84rpx;
  477. line-height: 42rpx;
  478. }
  479. .custom-parse {
  480. overflow-x: hidden !important;
  481. }
  482. // 定义u-开头的通用样式类
  483. // 颜色相关
  484. .u-1A1A1A {
  485. color: #1a1a1a;
  486. }
  487. .u-333 {
  488. color: #333;
  489. }
  490. .u-999 {
  491. color: #999;
  492. }
  493. .br-999 {
  494. border: 1rpx solid #999;
  495. }
  496. .u-CCC {
  497. color: #ccc;
  498. }
  499. .u-FF0000 {
  500. color: #ff0000;
  501. }
  502. .u-DCCDA4 {
  503. background-color: #dccda4;
  504. }
  505. // 字体大小相关
  506. .u-font20{
  507. font-size: 20rpx;
  508. }
  509. .u-font22 {
  510. font-size: 22rpx;
  511. }
  512. .u-font24 {
  513. font-size: 24rpx;
  514. }
  515. .u-font26 {
  516. font-size: 26rpx;
  517. }
  518. .u-font28 {
  519. font-size: 28rpx;
  520. }
  521. .u-font30 {
  522. font-size: 30rpx;
  523. }
  524. .u-font32 {
  525. font-size: 32rpx;
  526. }
  527. // 字体粗细相关
  528. .u-bold {
  529. font-weight: bold;
  530. }
  531. // 布局相关
  532. .u-flex-center {
  533. display: flex;
  534. align-items: center;
  535. }
  536. .u-flex-center-sa{
  537. display: flex;
  538. align-items: center;
  539. justify-content: space-around;
  540. }
  541. .u-flex-center-sb {
  542. display: flex;
  543. align-items: center;
  544. justify-content: space-between;
  545. }
  546. .u-flex-column-start {
  547. display: flex;
  548. flex-direction: column;
  549. align-items: flex-start;
  550. }
  551. .u-flex-column-center {
  552. display: flex;
  553. flex-direction: column;
  554. align-items: center;
  555. }
  556. .u-flex1 {
  557. flex: 1;
  558. }
  559. .u-flex {
  560. display: flex;
  561. }
  562. // 边距相关
  563. .u-mt10 {
  564. margin-top: 10rpx;
  565. }
  566. .u-mt20 {
  567. margin-top: 20rpx;
  568. }
  569. .u-mt30 {
  570. margin-top: 30rpx;
  571. }
  572. .u-ml5 {
  573. margin-left: 5rpx;
  574. }
  575. .u-ml10 {
  576. margin-left: 10rpx;
  577. }
  578. .u-ml15 {
  579. margin-left: 15rpx;
  580. }
  581. .u-ml30 {
  582. margin-left: 30rpx;
  583. }
  584. .u-mr10 {
  585. margin-right: 10rpx;
  586. }
  587. .u-plr30 {
  588. padding-left: 30rpx;
  589. padding-right: 30rpx;
  590. }
  591. .u-pl30 {
  592. padding-left: 30rpx;
  593. }
  594. .u-pr30 {
  595. padding-right: 30rpx;
  596. }
  597. .u-text2 {
  598. display: -webkit-box;
  599. -webkit-line-clamp: 2; /* 限制为2行 */
  600. -webkit-box-orient: vertical;
  601. overflow: hidden;
  602. }
  603. .u-ml20 {
  604. margin-left: 20rpx;
  605. }
  606. .u-font44 {
  607. font-size: 44rpx !important;
  608. }
  609. .u-p30 {
  610. padding: 30rpx !important;
  611. }
  612. .u-goods200 {
  613. width: 200rpx;
  614. height: 200rpx;
  615. border-radius: 10rpx;
  616. flex-shrink: 0;
  617. }
  618. .u-font40 {
  619. font-size: 40rpx !important;
  620. }
  621. .u-mt25 {
  622. margin-top: 25rpx;
  623. }
  624. .u-mb10 {
  625. margin-bottom: 10rpx;
  626. }
  627. .u-mb20 {
  628. margin-bottom: 20rpx;
  629. }
  630. .u-ml45 {
  631. margin-left: 45rpx;
  632. }
  633. .u-mr45 {
  634. margin-right: 45rpx;
  635. }
  636. .u-text-center {
  637. text-align: center;
  638. }
  639. .bg-F5FFF9 {
  640. background-color: #f5fff9;
  641. }
  642. .u-bg-fff {
  643. background-color: #fff;
  644. }
  645. .u-mt15 {
  646. margin-top: 15rpx;
  647. }
  648. .u-text-right {
  649. text-align: right;
  650. }
  651. .u-flex-warp {
  652. display: flex;
  653. flex-wrap: wrap;
  654. }
  655. .u-flex-warp-sb {
  656. display: flex;
  657. flex-wrap: wrap;
  658. justify-content: space-between;
  659. }
  660. /* 订单按钮 */
  661. .u-order-btn {
  662. width: 200rpx;
  663. height: 70rpx;
  664. line-height: 70rpx;
  665. border-radius: 35px;
  666. font-size: 28rpx;
  667. // margin-left: 22rpx;
  668. }
  669. .u-br-999 {
  670. border: 1rpx solid #999;
  671. }
  672. .u-999 {
  673. color: #999;
  674. }
  675. .u-ptb30 {
  676. padding-top: 30rpx;
  677. padding-bottom: 30rpx;
  678. }
  679. .u-ctImg180 {
  680. width: 180rpx;
  681. height: 180rpx;
  682. }
  683. .popup-title {
  684. text-align: center;
  685. font-size: 32rpx;
  686. font-weight: 700;
  687. color: #1a1a1a;
  688. }
  689. .form-container {
  690. .form-step {
  691. background-color: #ffffff;
  692. padding: 35rpx 30rpx;
  693. font-size: 28rpx;
  694. .step-title {
  695. font-size: 30rpx;
  696. font-weight: 700;
  697. color: #1a1a1a;
  698. margin-bottom: 11rpx;
  699. }
  700. }
  701. .form-list {
  702. background-color: #ffffff;
  703. padding: 34rpx 30rpx 14rpx 30rpx;
  704. margin-top: 20rpx;
  705. .form-list-title {
  706. font-size: 30rpx;
  707. font-weight: 700;
  708. color: #1a1a1a;
  709. padding-left: 23rpx;
  710. position: relative;
  711. &::after {
  712. content: "";
  713. position: absolute;
  714. left: 0;
  715. top: 4rpx;
  716. display: inline-block;
  717. width: 8rpx;
  718. height: 32rpx;
  719. background: #eb5153;
  720. border-radius: 4rpx;
  721. }
  722. .form-title-tips {
  723. font-weight: 400;
  724. color: #666666;
  725. }
  726. }
  727. .u-flex-center-sb {
  728. .form-value {
  729. text-align: right;
  730. }
  731. }
  732. .form-item {
  733. padding: 30rpx 0 20rpx 0;
  734. border-bottom: 1rpx solid #f0f0f0;
  735. &:last-child {
  736. border-bottom: none;
  737. }
  738. .form-label {
  739. flex-shrink: 0;
  740. margin-right: 10rpx;
  741. font-size: 28rpx;
  742. .required {
  743. color: red;
  744. }
  745. }
  746. .textarea {
  747. margin-top: 20rpx;
  748. background: #f7f7f7;
  749. border: 1rpx solid #e6e6e6;
  750. border-radius: 10rpx;
  751. padding: 13rpx 22rpx;
  752. box-sizing: border-box;
  753. min-height: 162rpx;
  754. &:deep(textarea) {
  755. width: 100%;
  756. min-height: 162rpx;
  757. }
  758. }
  759. .form-value {
  760. flex: 1;
  761. font-size: 28rpx;
  762. }
  763. .placeholder {
  764. color: #cccccc;
  765. }
  766. .upload-view {
  767. text-align: left;
  768. padding-top: 10rpx;
  769. .upload-img-tips {
  770. font-size: 28rpx;
  771. color: #ff0000;
  772. margin-bottom: 5rpx;
  773. }
  774. }
  775. }
  776. }
  777. .form-btn {
  778. margin-top: 40rpx;
  779. padding: 28rpx 60rpx;
  780. box-sizing: border-box;
  781. background-color: #ffffff;
  782. text-align: center;
  783. .checkbox-group-view {
  784. margin-bottom: 20rpx;
  785. display: inline-block;
  786. }
  787. }
  788. }