app.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. /**app.wxss**/
  2. view, button, div, button{
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. font: "microsoft yahei";
  7. }
  8. button{
  9. padding: 0 !important;
  10. margin: 0 !important;
  11. background: #fff !important;
  12. font-weight: 400 !important;
  13. }
  14. .flex{
  15. display: flex;
  16. }
  17. .flex-c{
  18. display: flex;
  19. align-items: center;
  20. }
  21. .flex-c-c{
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. }
  26. .flex-c-end{
  27. display: flex;
  28. align-items: center;
  29. justify-content: flex-end;
  30. }
  31. .flex-c-bet{
  32. display: flex;
  33. align-items: center;
  34. justify-content: space-between;
  35. }
  36. .flex-bet{
  37. display: flex;
  38. justify-content: space-between;
  39. }
  40. .flex-column{
  41. display: flex;
  42. flex-direction: column;
  43. }
  44. .flex-column-bet{
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: space-between;
  48. }
  49. .flex-column-c{
  50. display: flex;
  51. flex-direction: column;
  52. align-items: center;
  53. }
  54. .flex-column-c-c{
  55. display: flex;
  56. flex-direction: column;
  57. align-items: center;
  58. justify-content: center;
  59. }
  60. .flex-column-end{
  61. display: flex;
  62. flex-direction: column;
  63. align-items: flex-end;
  64. justify-content: center;
  65. }
  66. .flex-wrap{
  67. display: flex;
  68. flex-wrap: wrap;
  69. }
  70. .space{
  71. white-space: nowrap;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. }
  75. .textSpill2 {
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. display: -webkit-box;
  79. -webkit-line-clamp: 2;
  80. -webkit-box-orient: vertical;
  81. word-break: break-all;
  82. }
  83. .textSpill3 {
  84. overflow: hidden;
  85. text-overflow: ellipsis;
  86. display: -webkit-box;
  87. -webkit-line-clamp: 3;
  88. -webkit-box-orient: vertical;
  89. word-break: break-all;
  90. }
  91. .icon{
  92. width: 48rpx;
  93. height: 48rpx;
  94. }
  95. .opacity{
  96. opacity: .5 !important;
  97. }
  98. .icon2{
  99. width: 72rpx;
  100. height: 72rpx;
  101. }
  102. .noDataPage{
  103. padding-top: 68rpx;
  104. }
  105. .emptyImage{
  106. width: 300rpx;
  107. height: 228rpx;
  108. }
  109. .emptyTitle{
  110. font-size: 28rpx;
  111. color: #5f6268;
  112. padding-top: 80rpx;
  113. }
  114. .is_bottom {
  115. color:#5f6268;
  116. font-size:26rpx;
  117. text-align:center;
  118. padding: 24rpx 0;
  119. }
  120. .iphone_x{
  121. height: 138rpx !important;
  122. padding-bottom: 20rpx !important;
  123. }
  124. /*公共搜索栏样式*/
  125. .searchContainer{
  126. height: 88rpx;
  127. }
  128. .searchFixed{
  129. height: 88rpx;
  130. position: fixed;
  131. width: 100%;
  132. right: 0;
  133. top: 0;
  134. left: 0;
  135. z-index: 99;
  136. background: #FFFFFF;
  137. }
  138. .searchContent{
  139. flex: 1;
  140. height: 64rpx;
  141. border-radius: 40rpx;
  142. margin-left: 24rpx;
  143. padding-left: 16rpx;
  144. position: relative;
  145. }
  146. .searchContent:after {
  147. content: '';
  148. position: absolute;
  149. left: 0;
  150. top: 0;
  151. border: 2rpx solid #DF3120 !important;
  152. width: 100%;
  153. height: 100%;
  154. /* -webkit-transform: scale(0.5); */
  155. /* transform: scale(0.5); */
  156. -webkit-transform-origin: left top;
  157. transform-origin: left top;
  158. border-radius: 80rpx;
  159. }
  160. .searchContent .sIcon{
  161. width: 48rpx;
  162. height: 48rpx;
  163. margin-right: 8rpx;
  164. }
  165. .searchContent .cInput{
  166. font-size: 28rpx;
  167. font-weight: 400;
  168. flex: 1;
  169. height: 100%;
  170. margin-right: 80rpx;
  171. position: relative;
  172. z-index: 99;
  173. }
  174. .searchContent .cClear{
  175. position: absolute;
  176. top: 0;
  177. bottom: 0;
  178. right: 0;
  179. z-index: 1;
  180. padding: 0 16rpx;
  181. }
  182. .searchContent .cClear .icon{
  183. width: 48rpx;
  184. height: 48rpx;
  185. }
  186. .searchCancel{
  187. width: 128rpx;
  188. height: 100%;
  189. font-size: 32rpx;
  190. color: #5F6268 !important;
  191. }
  192. /*公共价格样式*/
  193. .price_style{
  194. color:#E73E2D;
  195. font-size: 24rpx;
  196. }
  197. .price_style > text{
  198. margin-left: 8rpx;
  199. font-size: 36rpx;
  200. font-weight: 700;
  201. }
  202. .defaultLogo{
  203. background-color: #f5f5f5;
  204. }
  205. .phcolor{
  206. font-size: 26rpx;
  207. color: #909297;
  208. }
  209. /*公共无数据样式*/
  210. .emptyPage{
  211. margin-top: 240rpx;
  212. }
  213. .emptyPage > .image{
  214. width: 300rpx;
  215. height: 228rpx;
  216. }
  217. .emptyPage > .tips{
  218. font-size: 28rpx;
  219. color: #5f6268;
  220. margin-top: 80rpx;
  221. }
  222. .emptyPage > .btn{
  223. width: 176rpx;
  224. height: 72rpx;
  225. background: #e73e2d;
  226. border-radius: 48rpx;
  227. color: #fff;
  228. font-size: 28rpx;
  229. font-weight: 700;
  230. margin-top: 80rpx;
  231. }
  232. /*公共未登录页面样式*/
  233. .noLogPage{
  234. text-align: center;
  235. width: 100%;
  236. position: fixed;
  237. top: 0;
  238. left: 0;
  239. bottom: 0;
  240. right: 0;
  241. z-index: 99;
  242. background: #FFFFFF !important;
  243. }
  244. .noLogPage .image{
  245. width: 300rpx;
  246. height: 226rpx;
  247. margin-top: 120rpx;
  248. }
  249. .noLogPage .tips{
  250. font-size: 28rpx;
  251. color: #5f6268;
  252. margin-top: 80rpx;
  253. }
  254. .noLogPage .toLog{
  255. margin: 0 !important;
  256. padding: 0 !important;
  257. margin-top: 80rpx !important;
  258. width: 176rpx !important;
  259. height: 72rpx !important;
  260. background: #e73e2d !important;
  261. border-radius: 48rpx!important;
  262. font-size: 28rpx !important;
  263. font-weight: bold !important;
  264. color: #ffffff !important;
  265. }
  266. /* 用户身份标签 */
  267. .userTag{
  268. padding: 0 16rpx;
  269. height: 38rpx;
  270. line-height: 38rpx;
  271. background: rgba(156, 156, 156, 0.1) !important;
  272. border-radius: 24rpx;
  273. opacity: 1;
  274. font-size: 24rpx;
  275. color: #5F6268 !important;
  276. margin-top: 16rpx;
  277. display: inline-block;
  278. }
  279. .userTag .icon{
  280. width: 28rpx;
  281. height: 28rpx;
  282. margin-right: 8rpx;
  283. vertical-align: text-top;
  284. margin-top: 2rpx;
  285. }
  286. .userTag.boss{
  287. color: #D47709 !important;
  288. background: rgba(236, 174, 17, 0.1) !important;
  289. }
  290. .userTag.wner{
  291. color: #D4613E !important;
  292. background: rgba(219, 129, 101, 0.1) !important;
  293. }
  294. .userTag.clerk{
  295. color: #5B8DC5 !important;
  296. background: rgba(124, 164, 209, 0.1) !important;
  297. }
  298. .userTag.cook{
  299. color: #5B2C2A !important;
  300. background: rgba(96, 50, 48, 0.1) !important;
  301. }
  302. .userTag.dis{
  303. color: #5F6268 !important;
  304. background: #EFEFEF !important;
  305. }
  306. .userTag.dis.g{
  307. color: #DF3120 !important;
  308. background: #F5ECDF !important;
  309. }
  310. .userTag.dis.c{
  311. color: #ECA927 !important;
  312. background: #F8F2E6 !important;
  313. }
  314. /* 新版本用户身份标签 */
  315. .newUserTag{
  316. padding: 0 16rpx;
  317. height: 38rpx;
  318. line-height: 38rpx;
  319. background: #EFEFEF !important;
  320. border-radius: 24rpx;
  321. opacity: 1;
  322. font-size: 24rpx;
  323. color: #5F6268 !important;
  324. display: inline-block;
  325. margin-right: 16rpx;
  326. }
  327. .newUserTag .icon{
  328. width: 28rpx;
  329. height: 28rpx;
  330. margin-right: 8rpx;
  331. vertical-align: text-top;
  332. margin-top: 2rpx;
  333. }
  334. .newUserTag.showCash{
  335. color: #FFFFFF !important;
  336. background: rgba(239, 239, 239, 0.4) !important;
  337. }
  338. .newUserTag.boss{
  339. color: #EE5F0E !important;
  340. background: rgba(247, 240, 225, 0.4) !important;
  341. }
  342. .newUserTag.wner{
  343. color: #E5653D !important;
  344. background: rgba(245, 236, 233, 0.4) !important;
  345. }
  346. .newUserTag.clerk{
  347. color: #4A9CF9 !important;
  348. background: rgba(235, 239, 244, 0.4) !important;
  349. }
  350. .newUserTag.cook{
  351. color: #5B2C2A !important;
  352. background: rgba(233, 228, 228, 0.4) !important;
  353. }
  354. .newUserTag.dis{
  355. color: #FFFFFF !important;
  356. background: rgba(239, 239, 239, 0.3) !important;
  357. }
  358. .newUserTag.dis.g{
  359. color: #986B28 !important;
  360. background: rgba(245, 236, 223, 0.4) !important;
  361. }
  362. .newUserTag.dis.c{
  363. color: #FFE146 !important;
  364. background: rgba(248, 242, 230, 0.4) !important;
  365. }
  366. /* 弹窗样式 */
  367. .modalContainer{
  368. position: fixed;
  369. z-index: 999;
  370. top: 0;
  371. left: 0;
  372. bottom: 0;
  373. right: 0;
  374. background: rgba(22,23,25,.7);
  375. }
  376. .modalConten{
  377. width: 580rpx;
  378. background: #ffffff;
  379. border-radius: 16rpx;
  380. overflow: hidden;
  381. position: relative;
  382. padding: 32rpx 32rpx 64rpx 32rpx;
  383. }
  384. .closeModal{
  385. top: 0;
  386. right: 0;
  387. z-index: 1;
  388. position: absolute;
  389. padding: 32rpx 32rpx 16rpx 16rpx;
  390. }
  391. .modalTitle{
  392. padding-top: 48rpx;
  393. font-size: 32rpx;
  394. font-weight: bold;
  395. color: #161719;
  396. }
  397. .modalButtonBox{
  398. padding-top: 56rpx;
  399. }
  400. .modalButton{
  401. width: auto !important;
  402. height: 72rpx !important;
  403. background: #e73e2d !important;
  404. border-radius: 48rpx !important;
  405. padding: 0 32rpx !important;
  406. font-size: 28rpx !important;
  407. color: #ffffff !important;
  408. }
  409. .modalImg{
  410. padding-top: 80rpx;
  411. padding-bottom: 32rpx;
  412. }
  413. .modalImg image{
  414. width: 300rpx;
  415. height: 228rpx;
  416. }
  417. /* 底部按钮样式 */
  418. .pageButtonBox{
  419. height: 164rpx;
  420. }
  421. .pageButtonFixed{
  422. position: fixed;
  423. height: 164rpx;
  424. bottom: 0;
  425. z-index: 99;
  426. right: 0;
  427. left: 0;
  428. padding: 0 32rpx;
  429. background: #F7F7F7 !important;
  430. }
  431. .pageButtonFixed.FFFFFF{
  432. background: #FFFFFF !important;
  433. }
  434. .pageButtonFixed.transparent{
  435. background: transparent !important;
  436. }
  437. .pageButtonBox.iphoneX{
  438. height: 204rpx;
  439. }
  440. .pageButtonBox.iphoneX .pageButtonFixed{
  441. padding-bottom: 40rpx;
  442. height: 204rpx;
  443. }
  444. .pageButtonFixed .pageButton{
  445. width: 100% !important;
  446. margin: 0 !important;
  447. padding: 0 !important;
  448. height: 84rpx !important;
  449. background: #e73e2d !important;
  450. font-size: 32rpx !important;
  451. font-weight: bold !important;
  452. color: #ffffff !important;
  453. border-radius: 48rpx !important;
  454. }
  455. .pageButtonFixed .pageViewButton{
  456. flex: 1;
  457. height: 84rpx;
  458. background: #e73e2d;
  459. font-size: 32rpx ;
  460. font-weight: bold;
  461. color: #ffffff ;
  462. border-radius: 48rpx;
  463. }
  464. .appModal{
  465. position: fixed;
  466. z-index: 999;
  467. top: 0;
  468. left: 0;
  469. bottom: 0;
  470. right: 0;
  471. background: rgba(22,23,25,.7);
  472. padding: 0 84rpx;
  473. }
  474. .appModalContent{
  475. background: #ffffff;
  476. border-radius: 16rpx;
  477. overflow: hidden;
  478. position: relative;
  479. padding: 40rpx 32rpx;
  480. margin-top: 34vh;
  481. text-align: center;
  482. }
  483. .appModalTitle{
  484. font-size: 36rpx;
  485. color: #161719;
  486. }
  487. .appModalTisp{
  488. font-size: 24rpx;
  489. color: #5f6268;
  490. padding-top: 8rpx;
  491. }
  492. .appModalBtnBox{
  493. padding-top: 40rpx;
  494. }
  495. .appModalBtnBox .appModalBtn{
  496. width: 176rpx;
  497. height: 72rpx;
  498. border-radius: 48rpx;
  499. font-size: 28rpx;
  500. color: #ffffff;
  501. margin: 0 16rpx;
  502. }
  503. .appModalBtnBox .appModalBtn.cancel{
  504. color: #e73e2d;
  505. position: relative;
  506. width: 174rpx;
  507. height: 70rpx;
  508. }
  509. .appModalBtnBox .appModalBtn.confirm{
  510. background: #e73e2d;
  511. color: #ffffff;
  512. }
  513. .appModalBtnBox .appModalBtn.cancel::after{
  514. content: '';
  515. position: absolute;
  516. left: 0;
  517. top: 0;
  518. border: 2rpx solid #e73e2d;
  519. width: 200%;
  520. height: 200%;
  521. -webkit-transform: scale(0.5);
  522. transform: scale(0.5);
  523. -webkit-transform-origin: left top;
  524. transform-origin: left top;
  525. border-radius: 96rpx;
  526. }
  527. .modalCustom{
  528. padding: 40rpx 32rpx;
  529. }
  530. .newModalTitle{
  531. font-size: 36rpx;
  532. color: #161719 !important;
  533. text-align: center;
  534. }
  535. .newModalTool{
  536. font-size: 28rpx;
  537. color: #5f6268;
  538. padding-top: 16rpx;
  539. text-align: center;
  540. }
  541. .newModalButtonBox{
  542. margin-top: 40rpx;
  543. }
  544. .newModalButtonBox .mButton{
  545. width: 176rpx;
  546. height: 72rpx;
  547. background: #e73e2d;
  548. border-radius: 48rpx;
  549. font-size: 28rpx;
  550. color: #ffffff !important;
  551. margin: 0 16rpx;
  552. }
  553. .newModalButtonBox .mButton.border{
  554. position: relative;
  555. color: #e73e2d !important;
  556. height: 68rpx;
  557. background: transparent;
  558. }
  559. .newModalButtonBox .mButton.border::after{
  560. content: '';
  561. position: absolute;
  562. left: 0;
  563. top: 0;
  564. border: 2rpx solid #e73e2d !important;
  565. width: 200%;
  566. height: 200%;
  567. -webkit-transform: scale(0.5);
  568. transform: scale(0.5);
  569. -webkit-transform-origin: left top;
  570. transform-origin: left top;
  571. border-radius: 96rpx;
  572. }
  573. .memberPriceBox{
  574. height: 38rpx;
  575. background: #FFE8C6 !important;
  576. border-radius: 8rpx;
  577. overflow: hidden;
  578. margin-top: 8rpx;
  579. padding-left: 8rpx;
  580. }
  581. .memberPriceBox .price{
  582. font-size: 22rpx;
  583. color: #333333 !important;
  584. font-weight: bold;
  585. margin-right: 4rpx;
  586. }
  587. .memberPriceBox .price .pr{
  588. font-size: 24rpx;
  589. margin-left: 4rpx;
  590. font-weight: bold;
  591. }
  592. .memberPriceBox .icon{
  593. height: 38rpx;
  594. width: 36rpx;
  595. }
  596. /* @import 'app-wxa-auto-dark.wxss' */