base.scss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  1. @charset "UTF-8";
  2. wx-image{
  3. height: auto;
  4. }
  5. .padding20 {
  6. padding: 20rpx
  7. }
  8. .paddingTB20 {
  9. padding: 20rpx 0
  10. }
  11. .paddingTB30 {
  12. padding: 30rpx 0
  13. }
  14. .paddingTB10 {
  15. padding: 10rpx 0
  16. }
  17. .pad20 {
  18. padding: 0 20rpx
  19. }
  20. .padding15 {
  21. padding: 15rpx
  22. }
  23. .padding30 {
  24. padding: 30rpx
  25. }
  26. .pad30 {
  27. padding: 0 30rpx
  28. }
  29. .pt20 {
  30. padding-top: 20rpx
  31. }
  32. .pb15 {
  33. padding-bottom: 15rpx
  34. }
  35. .pb20 {
  36. padding-bottom: 20rpx
  37. }
  38. .pb30 {
  39. padding-bottom: 30rpx
  40. }
  41. .mb30 {
  42. margin-bottom: 30rpx;
  43. }
  44. .mr20 {
  45. margin-right: 20rpx;
  46. }
  47. .mr10 {
  48. margin-right: 10rpx;
  49. }
  50. .ml20 {
  51. margin-left: 20rpx;
  52. }
  53. .mt20 {
  54. margin-top: 20rpx;
  55. }
  56. .mt30 {
  57. margin-top: 30rpx;
  58. }
  59. .mt10 {
  60. margin-top: 10rpx;
  61. }
  62. .mb20 {
  63. margin-bottom: 20rpx;
  64. }
  65. page, view, text, image, button, input, scroll-view, swiper{
  66. box-sizing: border-box
  67. }
  68. page {
  69. font-size: 28rpx;
  70. background-color: #f5f5f5 !important;
  71. /* background-color: #ffffff !important; */
  72. color: #333;
  73. /* height: 100%; */
  74. }
  75. body,html {
  76. background-color: #f5f5f5 !important;
  77. /* background-color: #ffffff !important; */
  78. /* height: unset */
  79. }
  80. button {
  81. padding: 0;
  82. margin: 0;
  83. line-height: normal;
  84. background-color: #fff
  85. }
  86. button::after {
  87. border: 0
  88. }
  89. radio .wx-radio-input.wx-radio-input-checked {
  90. border: 1px solid #E93323 !important;
  91. background-color: #E93323 !important
  92. }
  93. radio .uni-radio-input {
  94. border-radius: 50%;
  95. width: 38rpx;
  96. height: 38rpx
  97. }
  98. radio .uni-radio-input.uni-radio-input-checked {
  99. border: 1px solid #E93323 !important;
  100. background-color: #E93323 !important
  101. }
  102. checkbox .wx-checkbox-input {
  103. border-radius: 50%;
  104. width: 38rpx;
  105. height: 38rpx;
  106. margin-right: 0 !important;
  107. }
  108. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  109. border: 1px solid #E93323 !important;
  110. background-color: #E93323 !important;
  111. color: #fff!important;
  112. margin-right: 0 !important;
  113. }
  114. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  115. font-size: 35rpx
  116. }
  117. checkbox .uni-checkbox-input {
  118. border-radius: 50%;
  119. width: 38rpx;
  120. height: 38rpx
  121. }
  122. checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  123. border: 1px solid #E93323 !important;
  124. background-color: #E93323 !important;
  125. color: #fff!important
  126. }
  127. checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
  128. font-size: 35rpx
  129. }
  130. .line1 {
  131. overflow: hidden;
  132. text-overflow: ellipsis;
  133. white-space: nowrap
  134. }
  135. .line2 {
  136. word-break: break-all;
  137. display: -webkit-box;
  138. -webkit-line-clamp: 2;
  139. -webkit-box-orient: vertical;
  140. overflow: hidden;
  141. /* height: 84rpx; */
  142. }
  143. .mask {
  144. position: fixed;
  145. top: 0;
  146. left: 0;
  147. right: 0;
  148. bottom: 0;
  149. background-color: #000;
  150. opacity: .5;
  151. z-index: 5
  152. }
  153. @keyframes load {
  154. from {
  155. transform: rotate(0)
  156. }
  157. to {
  158. transform: rotate(360deg)
  159. }
  160. }
  161. @-webkit-keyframes load {
  162. from {
  163. transform: rotate(0)
  164. }
  165. to {
  166. transform: rotate(360deg)
  167. }
  168. }
  169. .loadingpic {
  170. animation: load 3s linear 1s infinite;
  171. --webkit-animation: load 3s linear 1s infinite
  172. }
  173. .loading-list {
  174. animation: load linear 1s infinite;
  175. -webkit-animation: load linear 1s infinite;
  176. font-size: 40rpx;
  177. margin-right: 22rpx
  178. }
  179. .loading {
  180. width: 100%;
  181. height: 100rpx;
  182. line-height: 100rpx;
  183. align-items: center;
  184. justify-content: center;
  185. position: relative;
  186. text-align: center
  187. }
  188. .loading .line {
  189. position: absolute;
  190. width: 450rpx;
  191. left: 150rpx;
  192. top: 50rpx;
  193. height: 1px;
  194. border-top: 1px solid #eee
  195. }
  196. .loading .text {
  197. position: relative;
  198. display: inline-block;
  199. padding: 0 20rpx;
  200. background: #fff;
  201. z-index: 2;
  202. color: #777
  203. }
  204. .loadingicon .loading {
  205. animation: load linear 1s infinite;
  206. font-size: 45rpx;
  207. color: #000
  208. }
  209. .loadingicon {
  210. width: 100%;
  211. height: 80rpx;
  212. overflow: hidden
  213. }
  214. .bg-color-huic{
  215. background: #F1F1F1!important;
  216. border: 1px solid #ccc!important;
  217. color: #ccc!important;
  218. }
  219. .nowrap{
  220. white-space: nowrap;
  221. }
  222. /*flex样式*/
  223. .flex_1{
  224. flex:1;
  225. }
  226. .flex{
  227. display: flex;
  228. }
  229. .flex_2{
  230. flex: 2;
  231. }
  232. .flex-between{/*两边对齐*/
  233. display: flex;
  234. justify-content: space-between;
  235. }
  236. .flex-align-center{/*垂直居中*/
  237. display: flex !important;
  238. align-items: center;
  239. }
  240. .flex-center{/*水平垂直居中*/
  241. display: flex;
  242. justify-content: center;
  243. align-items: center;
  244. }
  245. .flex-center-flex-end{/*水平垂直居中-尾部对齐*/
  246. display: flex;
  247. justify-content: flex-end;
  248. align-items: center;
  249. }
  250. .flex-center-box-end{/*水平垂直居中-铺满盒内*/
  251. display: -webkit-inline-box;
  252. justify-content: flex-end;
  253. align-items: center;
  254. }
  255. .flex-center-flex-start{/*水平垂直居中-首部对齐*/
  256. display: flex;
  257. justify-content: flex-start;
  258. align-items: center;
  259. }
  260. .flex-center-around{/*水平垂直居中-平均对齐*/
  261. display: flex;
  262. justify-content: space-around;
  263. align-items: center;
  264. }
  265. .flex-center-between{/*水平垂直居中-两边对齐*/
  266. display: flex;
  267. justify-content: space-between;
  268. align-items: center;
  269. }
  270. .flex-column{/*竖直方向*/
  271. display: flex;
  272. flex-direction: column;
  273. }
  274. .flex-column-center{/*竖直方向水平居中 两端对齐*/
  275. display: flex;
  276. flex-direction: column;
  277. justify-content: space-between;
  278. align-items: center;
  279. }
  280. .flex-column-start{/*竖直方向水平居中 首部对齐*/
  281. display: flex;
  282. flex-direction: column;
  283. justify-content: space-around;
  284. align-items: self-start;
  285. }
  286. .flex-column-end{/*竖直方向水平居中 尾部部对齐*/
  287. display: flex;
  288. flex-direction: column;
  289. align-items: flex-end;
  290. }
  291. .flex-column-start-between{/*竖直方向-首部对齐-两端对齐*/
  292. display: flex;
  293. flex-direction: column;
  294. justify-content: space-between;
  295. align-items: self-start;
  296. }
  297. .flex-column-align{/*竖直方向水平居中*/
  298. display: flex;
  299. flex-direction: column;
  300. align-items: center;
  301. }
  302. .flex-center-flex-start-warp{/*水平垂直居中-首部对齐*/
  303. display: flex;
  304. justify-content: flex-start;
  305. align-items: center;
  306. flex-wrap:wrap ;
  307. }
  308. .grid-container {
  309. display: grid;
  310. grid-template-columns: repeat(2, 1fr);
  311. gap: 30rpx;
  312. }
  313. .grid-container3 {
  314. display: grid;
  315. grid-template-columns: repeat(3, 1fr);
  316. gap: 30rpx;
  317. }
  318. .order_btn{
  319. font-size: 25rpx;
  320. color: #ffffff;
  321. border-radius:10rpx;
  322. background-color: $theme-color;
  323. &.error{
  324. background-color: #E93323;
  325. }
  326. &.plain{
  327. border:1px solid #cccccc;
  328. color: #000000;
  329. background-color: #ffffff;
  330. }
  331. }
  332. .border{
  333. border: 1px solid #eeeeee;
  334. }
  335. .border-bottom{
  336. border-bottom: 1px solid #eeeeee;
  337. }
  338. .gray{
  339. color: #666666;
  340. }
  341. .link{
  342. color: #007aff;
  343. }
  344. .bg_color_f5{
  345. background-color: #f5f5f5;
  346. }
  347. .bg_color_fff{
  348. background-color: #ffffff;
  349. }
  350. .bg_color_primary{
  351. background-color: $theme-color;
  352. }
  353. .border_radius_10{
  354. border-radius: 10rpx;
  355. }
  356. .border_radius_20{
  357. border-radius: 20rpx;
  358. }
  359. .border_radius_30{
  360. border-radius: 30rpx;
  361. }
  362. .bold{
  363. font-weight: bold;
  364. }
  365. .font_size60{
  366. font-size: 60rpx;
  367. }
  368. .font_size40{
  369. font-size: 40rpx;
  370. }
  371. .font_size35{
  372. font-size: 36rpx;
  373. }
  374. .font_size30{
  375. font-size: 30rpx;
  376. }
  377. .font_size32{
  378. font-size: 32rpx;
  379. }
  380. .font_size20{
  381. font-size: 20rpx;
  382. }
  383. .font_size24{
  384. font-size: 24rpx;
  385. }
  386. .font_size28{
  387. font-size: 28rpx;
  388. }
  389. .font_size25{
  390. font-size: 25rpx;
  391. }
  392. .line_vertical{
  393. width: 8rpx;
  394. height: 30rpx;
  395. background-color: $theme-color;
  396. border-radius: 4rpx;
  397. }
  398. .color_price{
  399. color: #fc4f1d;
  400. }
  401. .color_vip{
  402. color: #fee189;
  403. }
  404. .color_fff{
  405. color: #333;
  406. }
  407. .color_000{
  408. color: #000000;
  409. }
  410. .color_theme{
  411. color: $theme-color;
  412. }
  413. .text_align_center{
  414. text-align: center;
  415. }
  416. .text_align_right{
  417. text-align: right;
  418. }
  419. .foot{
  420. width: 100%;
  421. position: fixed;
  422. bottom: 0;
  423. left: 0;
  424. box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  425. z-index: 10;
  426. padding: 20rpx 30rpx;
  427. }
  428. .footplaceholder{
  429. height: 100rpx;
  430. }
  431. .ellipsis{
  432. overflow: hidden;
  433. white-space: nowrap;
  434. text-overflow: ellipsis;
  435. }
  436. .bg_img{
  437. width: 100%;
  438. position: absolute;
  439. top: 0;
  440. left: 0;;
  441. z-index: -1;
  442. }
  443. .line_through{
  444. text-decoration: line-through;
  445. }
  446. .required{
  447. color: #E93323;
  448. }
  449. .u_popup_bottom{
  450. border-radius: 30rpx 30rpx 0 0;
  451. }
  452. .overflow_hidden{
  453. overflow: hidden;
  454. }
  455. .payment-radio {
  456. width: 40rpx;
  457. height: 40rpx;
  458. .radio-circle {
  459. width: 100%;
  460. height: 100%;
  461. border: 3rpx solid #ddd;
  462. border-radius: 50%;
  463. position: relative;
  464. transition: all 0.3s;
  465. &.checked {
  466. border-color: $theme-color;
  467. &::after {
  468. content: "";
  469. position: absolute;
  470. top: 50%;
  471. left: 50%;
  472. transform: translate(-50%, -50%);
  473. width: 20rpx;
  474. height: 20rpx;
  475. background: $theme-color;
  476. border-radius: 50%;
  477. }
  478. }
  479. }
  480. }
  481. .noData{
  482. text-align: center;
  483. padding: 30rpx 0;
  484. color: #c8c7cc;
  485. }
  486. .serviceLabel{
  487. background-color: #ffe8e6;
  488. font-size: 25rpx;
  489. color: #E93323;
  490. border-radius: 10rpx;
  491. padding: 5rpx 10rpx;
  492. display: inline-block;
  493. // margin-top: 20rpx;
  494. &:not(:last-child){
  495. margin-right: 10rpx;
  496. }
  497. }