common.scss 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. /**
  2. * @copyright CYZ
  3. * @time 2022/8/5
  4. */
  5. // 安全区域
  6. // page{
  7. // padding-bottom: constant(safe-area-inset-bottom);
  8. // padding-bottom: env(safe-area-inset-bottom);
  9. // }
  10. //详情标题
  11. .detail-top-title{
  12. text-align: center;
  13. .title{
  14. font-size: 30rpx;
  15. font-family: PingFang SC, PingFang SC-Bold;
  16. font-weight: 700;
  17. text-align: center;
  18. color: #0d8748;
  19. margin: 0 26rpx;
  20. vertical-align: middle;
  21. }
  22. .line{
  23. width: 63rpx;
  24. height: 6rpx;
  25. vertical-align: middle;
  26. &:last-child{
  27. transform: rotateY(180deg);
  28. }
  29. }
  30. }
  31. //弹窗1
  32. .tip-popup{
  33. .content-box{
  34. width: 530rpx;
  35. background-color: white;
  36. border-radius: 20rpx;
  37. overflow: hidden;
  38. .title{
  39. height: 90rpx;
  40. width: 100%;
  41. text-align: center;
  42. font-size: 30rpx;
  43. font-family: PingFang SC, PingFang SC-Bold;
  44. font-weight: 700;
  45. text-align: center;
  46. color: #1a1a1a;
  47. line-height: 90rpx;
  48. background: #e6e6e6;
  49. }
  50. .content{
  51. padding: 66rpx 0 49rpx 0!important;
  52. text-align: center;
  53. .tip{
  54. width: 404rpx;
  55. font-size: 26rpx;
  56. font-family: PingFang SC, PingFang SC-Regular;
  57. font-weight: 400;
  58. text-align: left;
  59. color: #666666;
  60. line-height: 38rpx;
  61. margin: 0 auto 20rpx auto;
  62. word-break: break-all;
  63. }
  64. .btn{
  65. background: #20A634;
  66. border-radius: 40rpx;
  67. width: fit-content;
  68. height: 80rpx;
  69. font-size: 26rpx;
  70. padding: 0 90rpx;
  71. box-sizing: border-box;
  72. font-family: PingFang SC, PingFang SC-Regular;
  73. font-weight: 400;
  74. text-align: center;
  75. color: #ffffff;
  76. line-height: 80rpx;
  77. margin: 40rpx auto 20rpx auto;
  78. &.donation{
  79. width: 434rpx;
  80. background: #f8a764;
  81. margin: 0 auto 20rpx auto;
  82. }
  83. }
  84. .btn-box{
  85. display: flex;
  86. justify-content: space-around;
  87. margin-top: 40rpx;
  88. button{
  89. width: 200rpx;
  90. height: 80rpx;
  91. border: 1px solid #3775F6;
  92. border-radius: 40rpx;
  93. font-size: 32rpx;
  94. font-family: PingFang SC, PingFang SC-Regular;
  95. font-weight: 400;
  96. text-align: center;
  97. background-color: #FA6138;
  98. color: white;
  99. line-height: 80rpx;
  100. &:nth-child(1){
  101. background-color: white;
  102. color: #FA6138;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
  109. //弹窗2
  110. .submit-popup{
  111. .content-box{
  112. border-radius: 12rpx;
  113. width: 530rpx;
  114. padding: 64rpx 46rpx 74rpx 46rpx;
  115. box-sizing: border-box;
  116. background-color: white;
  117. .title{
  118. font-size: 32rpx;
  119. font-family: PingFang SC, PingFang SC-Bold;
  120. font-weight: 700;
  121. text-align: center;
  122. color: #1a1a1a;
  123. }
  124. .content{
  125. padding: 0!important;
  126. .success-icon{
  127. display: block;
  128. width: 107rpx;
  129. height: 107rpx;
  130. margin: 40rpx auto 34rpx auto;
  131. }
  132. .tip{
  133. margin: 0 auto;
  134. width: 260rpx;
  135. font-size: 26rpx;
  136. font-family: PingFang SC, PingFang SC-Regular;
  137. font-weight: 400;
  138. text-align: center;
  139. color: #666666;
  140. line-height: 42rpx;
  141. }
  142. .btn{
  143. background: #20A634;
  144. border-radius: 40rpx;
  145. padding: 0 90rpx;
  146. box-sizing: border-box;
  147. width: fit-content;
  148. height: 80rpx;
  149. font-size: 32rpx;
  150. font-family: PingFang SC, PingFang SC-Regular;
  151. font-weight: 400;
  152. text-align: center;
  153. color: #ffffff;
  154. line-height: 80rpx;
  155. margin: 40rpx auto 20rpx auto;
  156. }
  157. .btn-box{
  158. display: flex;
  159. justify-content: space-around;
  160. margin-top: 40rpx;
  161. button{
  162. width: 200rpx;
  163. height: 80rpx;
  164. border: 1px solid #20a634;
  165. border-radius: 40rpx;
  166. font-size: 32rpx;
  167. font-family: PingFang SC, PingFang SC-Regular;
  168. font-weight: 400;
  169. text-align: center;
  170. background-color: #20a634;
  171. color: white;
  172. line-height: 80rpx;
  173. &:nth-child(1){
  174. background-color: white;
  175. color: #20a634;
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }
  182. // 公共表单
  183. .common-form{
  184. width: 100%;
  185. box-sizing: border-box;
  186. padding: 10rpx 30rpx;
  187. .form-title{
  188. font-size: 32rpx;
  189. font-family: PingFang SC, PingFang SC-Regular;
  190. font-weight: 400;
  191. text-align: left;
  192. color: #060606;
  193. margin: 30rpx 0 23rpx 0;
  194. &.required{
  195. &:before{
  196. content: '*';
  197. font-size: 32rpx;
  198. font-family: PingFang SC, PingFang SC-Regular;
  199. font-weight: 400;
  200. text-align: left;
  201. color: #ff0000;
  202. vertical-align: middle;
  203. margin-right: 2rpx;
  204. }
  205. }
  206. .tip{
  207. color: #999999;
  208. }
  209. }
  210. .form-item{
  211. padding-bottom: 10rpx;
  212. border-bottom: 1px solid #d9d9d95c;
  213. display: flex;
  214. justify-content: space-between;
  215. align-items: center;
  216. &.no-border{
  217. border-bottom: none;
  218. }
  219. input{
  220. flex: 1;
  221. }
  222. .iconfont2{
  223. color: #808080;
  224. font-size: 40rpx;
  225. }
  226. .u-upload{
  227. margin-bottom: 30rpx;
  228. .uicon-plus{
  229. font-size: 50rpx!important;
  230. color: #999999;
  231. }
  232. .u-add-tips{
  233. margin-top: 0;
  234. }
  235. }
  236. .upload-tip{
  237. font-size: 26rpx;
  238. font-family: PingFang SC, PingFang SC-Regular;
  239. font-weight: 400;
  240. text-align: left;
  241. color: #666666;
  242. line-height: 40rpx;
  243. margin-bottom: 40rpx;
  244. }
  245. }
  246. .submit-btn{
  247. width: 690rpx;
  248. height: 80rpx;
  249. line-height: 80rpx;
  250. margin: 20rpx auto;
  251. background: #FA6138;
  252. border-radius: 40px;
  253. text-align: center;
  254. font-size: 32rpx;
  255. font-family: PingFang SC, PingFang SC-Regular;
  256. font-weight: 400;
  257. text-align: center;
  258. color: #ffffff;
  259. }
  260. .form-tip{
  261. font-size: 26rpx;
  262. font-family: PingFang SC, PingFang SC-Regular;
  263. font-weight: 400;
  264. text-align: left;
  265. color: #666666;
  266. line-height: 40rpx;
  267. margin: 27rpx 0 60rpx 0;
  268. }
  269. .form-split{
  270. width: 750rpx;
  271. height: 8rpx;
  272. background: #f5f5f5;
  273. margin: 40rpx 0 40rpx -30rpx;
  274. }
  275. }
  276. //服务体系礼包
  277. .service-sys-moudle{
  278. padding: 0 0 0 30rpx;
  279. box-sizing: border-box;
  280. margin: 0 0 50rpx 0;
  281. .title-box{
  282. font-size: 36rpx;
  283. font-family: PingFang SC, PingFang SC-Bold;
  284. font-weight: 700;
  285. text-align: left;
  286. color: #1a1a1a;
  287. line-height: 30rpx;
  288. margin-bottom: 30rpx;
  289. }
  290. .content{
  291. overflow-x: auto;
  292. overflow-y: hidden;
  293. white-space: nowrap;
  294. .item{
  295. display: inline-block;
  296. text-align: center;
  297. margin-right: 20rpx;
  298. filter: drop-shadow(1px 2px 4px rgba(26, 58, 70, 0.1));
  299. .cover{
  300. width: 217rpx;
  301. height: 217rpx;
  302. margin-bottom: 10rpx;
  303. border-radius: 10rpx;
  304. }
  305. .title{
  306. font-size: 24rpx;
  307. font-family: PingFang SC, PingFang SC-Regular;
  308. font-weight: 400;
  309. color: #333333;
  310. line-height: 24rpx;
  311. margin-bottom: 15rpx;
  312. width: 217rpx;
  313. white-space: nowrap;
  314. overflow: hidden;
  315. text-overflow: ellipsis;
  316. }
  317. .new-price{
  318. margin-bottom: 5rpx;
  319. .company,.float-num{
  320. font-size: 20rpx;
  321. font-family: PingFang SC, PingFang SC-Medium;
  322. font-weight: 500;
  323. color: #00bf5a;
  324. line-height: 24rpx;
  325. }
  326. .num{
  327. font-size: 36rpx;
  328. font-family: PingFang SC, PingFang SC-Medium;
  329. font-weight: bold;
  330. color: #00bf5a;
  331. line-height: 24rpx;
  332. }
  333. }
  334. .old-price{
  335. font-size: 22rpx;
  336. font-family: PingFang SC, PingFang SC-Regular;
  337. font-weight: 400;
  338. text-decoration: line-through;
  339. color: #999999;
  340. line-height: 24rpx;
  341. }
  342. }
  343. }
  344. }
  345. //标签页
  346. .tab-box {
  347. position: sticky;
  348. top: 0;
  349. left: 0;
  350. background-color: white;
  351. z-index: 50;
  352. height: 110rpx;
  353. width: 100%;
  354. display: flex;
  355. justify-content: space-between;
  356. align-items: center;
  357. padding: 0 106rpx 0 106rpx;
  358. box-sizing: border-box;
  359. border-bottom: 1px solid #e6e6e6;
  360. .tab {
  361. height: 110rpx;
  362. line-height: 110rpx;
  363. font-size: 30rpx;
  364. font-family: PingFang SC, PingFang SC-Bold;
  365. font-weight: 700;
  366. text-align: center;
  367. position: relative;
  368. color: #1a1a1a;
  369. &::before {
  370. content: '';
  371. position: absolute;
  372. left: 50%;
  373. bottom: 0;
  374. transform: translateX(-50%);
  375. width: 0;
  376. height: 2px;
  377. background: #FA6138;
  378. transition: all 0.3s;
  379. }
  380. &.active {
  381. color: #FA6138;
  382. &::before {
  383. width: 100%;
  384. }
  385. }
  386. }
  387. }
  388. //查看更多
  389. .u-load-more-wrap{
  390. margin-top: 30rpx!important;
  391. }
  392. // 富文本展示
  393. .ql-editor-box{
  394. text-align: justify;
  395. /deep/ .ql-indent-1 {
  396. margin-left: 96rpx;
  397. }
  398. /deep/ .ql-indent-2 {
  399. margin-left: 192rpx;
  400. }
  401. /deep/ .ql-indent-3 {
  402. margin-left: 288rpx;
  403. }
  404. /deep/ .ql-indent-4 {
  405. margin-left: 384rpx;
  406. }
  407. /deep/ .ql-indent-5 {
  408. margin-left: 480rpx;
  409. }
  410. /deep/ .ql-indent-6 {
  411. margin-left: 576rpx;
  412. }
  413. /deep/ .ql-indent-7 {
  414. margin-left: 672rpx;
  415. }
  416. /deep/ .ql-indent-8 {
  417. margin-left: 768rpx;
  418. }
  419. /deep/ img {
  420. max-width: 100%;
  421. }
  422. /deep/ .ql-align-center {
  423. text-align: center;
  424. }
  425. /deep/ .ql-align-right {
  426. text-align: right;
  427. }
  428. /deep/ blockquote {
  429. display: block;
  430. border-left: 8px solid #d0e5f2;
  431. padding: 5px 10px;
  432. margin: 10px 0;
  433. line-height: 1.4;
  434. font-size: 100%;
  435. background-color: #f1f1f1;
  436. }
  437. /deep/ .ql-indent-1 {
  438. margin-left: 60rpx;
  439. }
  440. /deep/ .ql-indent-2 {
  441. margin-left: 120rpx;
  442. }
  443. /deep/ .ql-indent-3 {
  444. margin-left: 180rpx;
  445. }
  446. /deep/ .ql-indent-4 {
  447. margin-left: 240rpx;
  448. }
  449. /deep/ .ql-indent-5 {
  450. margin-left: 300rpx;
  451. }
  452. /deep/ .ql-size-huge{
  453. font-size: 80rpx;
  454. display: inline-block;
  455. line-height: 90rpx;
  456. }
  457. /deep/ .ql-size-large{
  458. font-size: 48rpx;
  459. display: inline-block;
  460. line-height: 50rpx;
  461. }
  462. /deep/ .ql-size-small{
  463. font-size: 24rpx;
  464. display: inline-block;
  465. line-height: 30rpx;
  466. }
  467. /deep/ .ql-font-serif{
  468. font-family: Georgia, Times New Roman, serif;
  469. }
  470. /deep/ .ql-font-monospace{
  471. font-family: Monaco, Courier New, monospace;
  472. }
  473. }
  474. .goods-tools {
  475. display: flex;
  476. flex-direction: column;
  477. justify-content: flex-end;
  478. height: 84rpx;
  479. line-height: 42rpx;
  480. }