index.wxss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  1. /* pages/webview/index.wxss */
  2. page {
  3. /* background-color: #000; */
  4. }
  5. .web-view {
  6. /* background-color: #000; */
  7. }
  8. .readfile {
  9. position: fixed;
  10. left: 0;
  11. right: 0;
  12. top: 0;
  13. bottom: 0;
  14. z-index: 999;
  15. background: rgba(0, 0, 0, 0.5);
  16. display: flex;
  17. align-items: center;
  18. justify-content: center;
  19. }
  20. .readfile cover-view {
  21. color: #fff;
  22. font-size: 14px;
  23. }
  24. .bgd {
  25. position: fixed;
  26. left: 0;
  27. right: 0;
  28. top: 0;
  29. bottom: 0;
  30. z-index: 0;
  31. }
  32. .btn {
  33. float: left;
  34. margin: 0;
  35. padding: 0;
  36. border: none;
  37. height: 100%;
  38. box-sizing: border-box;
  39. width: calc(50% + 2px);
  40. color: #323233;
  41. border: 1px solid #EBEDF0;
  42. font-size: 32rpx;
  43. float: left;
  44. border-radius: 0;
  45. border-bottom: none;
  46. background: #fff;
  47. text-align: center;
  48. top: 0;
  49. left: 0;
  50. }
  51. .btn:nth-child(1) {
  52. border-left: none
  53. }
  54. .btn:nth-child(2) {
  55. border-left: none;
  56. border-right: none
  57. }
  58. .dialog {
  59. position: fixed;
  60. left: 10%;
  61. right: 10%;
  62. background: #FFFFFF;
  63. opacity: .9;
  64. color: #fff;
  65. z-index: 9999;
  66. border-radius: 8px;
  67. }
  68. .guide-view {
  69. top: 10%;
  70. bottom: 20%;
  71. display: flex;
  72. flex-direction: column;
  73. justify-content: space-between;
  74. }
  75. .guide-view .title {
  76. font-size: 36rpx;
  77. color: rgba(255, 255, 255, 0.88);
  78. text-align: center;
  79. }
  80. .guide-view .content {
  81. display: flex;
  82. flex: 1;
  83. flex-direction: column;
  84. justify-content: space-around;
  85. }
  86. .guide-item {
  87. padding-left: 100rpx;
  88. position: relative;
  89. }
  90. .guide-item cover-image {
  91. position: absolute;
  92. left: 0;
  93. top: 0;
  94. width: 77rpx;
  95. height: 96rpx;
  96. }
  97. .guide-item .text {
  98. line-height: 48rpx;
  99. font-size: 30rpx;
  100. display: block;
  101. color: #fff;
  102. }
  103. .guide-view .title,
  104. .guide-view .button {
  105. max-height: 300rpx;
  106. }
  107. .bottom-dialog {
  108. position: fixed;
  109. top: 23%;
  110. bottom: 0;
  111. left: 0;
  112. right: 0;
  113. z-index: 99;
  114. background-color: #fff;
  115. border-radius: 14px 14px 0 0;
  116. display: flex;
  117. flex-direction: column;
  118. }
  119. .bottom-dialog .title {
  120. flex: 0 0 auto;
  121. padding: 36rpx 32rpx;
  122. border-bottom: 1px solid rgb(236, 236, 236);
  123. position: relative;
  124. }
  125. .bottom-dialog .title .text {
  126. font-size: 32rpx;
  127. color: #131D34;
  128. font-weight: bold;
  129. }
  130. .bottom-dialog .icon {
  131. position: absolute;
  132. top: 50%;
  133. transform: translateY(-50%);
  134. width: 27rpx;
  135. height: 27rpx;
  136. padding: 32rpx;
  137. right: 0;
  138. }
  139. .commodity-view {
  140. position: fixed;
  141. top: 23%;
  142. bottom: 0;
  143. left: 0;
  144. right: 0;
  145. z-index: 99;
  146. background-color: #fff;
  147. border-radius: 14px 14px 0 0;
  148. display: flex;
  149. flex-direction: column;
  150. }
  151. .commodity-view .content {
  152. flex: 1;
  153. padding: 0 32rpx;
  154. position: relative;
  155. /* display: flex;
  156. flex-direction: column; */
  157. }
  158. .commodity-view .scene-icon {
  159. position: absolute;
  160. left: 2rpx;
  161. bottom: 2rpx;
  162. width: 40rpx;
  163. height: 40rpx;
  164. z-index: 3;
  165. }
  166. .commodity-view .tabs {
  167. flex: 0 0 auto;
  168. height: 76rpx;
  169. width: 100%;
  170. overflow-x: scroll;
  171. padding-bottom: 4px;
  172. position: relative;
  173. }
  174. .commodity-view .tabs .text {
  175. float: left;
  176. height: 76rpx;
  177. line-height: 76rpx;
  178. color: #131D34;
  179. font-size: 16px;
  180. margin-right: 10px;
  181. text-align: center;
  182. }
  183. .commodity-view .tabs .text.active {
  184. color: #ED5D18;
  185. font-size: 16px;
  186. position: relative;
  187. }
  188. .commodity-view .tabs .text.active cover-view {
  189. position: absolute;
  190. bottom: 0;
  191. left: 0;
  192. right: 0;
  193. height: 4rpx;
  194. background-color: #ED5D18;
  195. margin: 0 20rpx;
  196. }
  197. .commodity-view .current-tab {
  198. flex: 0 0 auto;
  199. height: 60rpx;
  200. margin-left: -32rpx;
  201. width: calc(100% + 64rpx);
  202. background-color: #F8F8F8;
  203. padding: 0 32rpx;
  204. line-height: 60rpx;
  205. font-size: 26rpx;
  206. color: #999999;
  207. }
  208. .commoditys {
  209. position: absolute;
  210. left: 32rpx;
  211. right: 32rpx;
  212. top: 76rpx;
  213. bottom: 0;
  214. height: calc(100% - 100rpx);
  215. overflow-y: scroll;
  216. }
  217. .commodity-item {
  218. margin-top: 34rpx;
  219. display: flex;
  220. align-items: center;
  221. position: relative;
  222. }
  223. .commodity-view .cover {
  224. flex: 0 0 auto;
  225. width: 180rpx;
  226. height: 180rpx;
  227. }
  228. .commodity-view .item-content {
  229. flex: 1;
  230. margin-left: 28rpx;
  231. }
  232. .commodity-view .item-content .desc {
  233. font-size: 14px;
  234. color: #131D34;
  235. line-height: 40rpx;
  236. white-space: pre-wrap;
  237. }
  238. .commodity-view .item-info {
  239. margin-top: 32rpx;
  240. display: flex;
  241. align-items: center;
  242. justify-content: space-between;
  243. height: 54rpx;
  244. }
  245. .commodity-view .item-info>.money {
  246. flex: 0 0 auto;
  247. }
  248. .commodity-view .item-info>.oper {
  249. flex: 1;
  250. text-align: right;
  251. position: relative;
  252. }
  253. .oper .lack {
  254. position: absolute;
  255. left: 50%;
  256. top: 50%;
  257. transform: translate(-50%, -50%);
  258. width: 200rpx;
  259. height: 200rpx;
  260. }
  261. .commodity-view .money .text {
  262. display: inline;
  263. color: #ED5D18;
  264. }
  265. .commodity-view .money .text:nth-child(1),
  266. .money .text:nth-child(3) {
  267. font-size: 24rpx;
  268. margin-right: 10rpx;
  269. vertical-align: baseline;
  270. }
  271. .commodity-view .money .text:nth-child(2) {
  272. font-size: 36rpx;
  273. vertical-align: baseline;
  274. }
  275. .oper-btn {
  276. display: inline-block;
  277. border-radius: 4px;
  278. height: 52rpx;
  279. line-height: 52rpx;
  280. padding: 0 16rpx !important;
  281. color: #fff;
  282. font-size: 24rpx;
  283. }
  284. .commodity-view .oper {
  285. height: 54rpx;
  286. display: flex;
  287. }
  288. .commodity-view .oper-btn:nth-child(1) {
  289. background-color: #FFCD3C;
  290. margin-right: 10rpx;
  291. }
  292. .commodity-view .oper-btn:nth-child(2) {
  293. background-color: #ED5D18;
  294. }
  295. .invitation-view {
  296. top: 50%;
  297. transform: translateY(-50%);
  298. }
  299. .invitation-view .title {
  300. font-size: 36rpx;
  301. font-weight: bold;
  302. margin-bottom: 40rpx;
  303. display: none;
  304. }
  305. .invitation-view .content {
  306. font-size: 30rpx;
  307. line-height: 36rpx;
  308. padding: 48rpx;
  309. white-space: pre-wrap;
  310. color: #323233;
  311. text-align: center;
  312. }
  313. .invitation-view .btns {
  314. position: relative;
  315. height: 80rpx;
  316. overflow: hidden;
  317. }
  318. .cancel {
  319. position: absolute;
  320. left: 50%;
  321. top: 0;
  322. background: #fff;
  323. color: #FA5555;
  324. box-sizing: border-box;
  325. }
  326. .coupon-view .layer {
  327. flex: 1;
  328. overflow-y: scroll;
  329. }
  330. .coupon-view .content {
  331. padding: 0 34rpx;
  332. }
  333. .coupon-item {
  334. height: 185rpx;
  335. padding-right: 30rpx;
  336. background: #EF9B3A;
  337. border-radius: 4px;
  338. margin-top: 34rpx;
  339. display: flex;
  340. position: relative;
  341. align-items: center;
  342. }
  343. .coupon-item .item-before,
  344. .coupon-item .item-after {
  345. position: absolute;
  346. border-radius: 50%;
  347. background-color: rgba(255, 255, 255, 0.16);
  348. z-index: 1;
  349. }
  350. .coupon-item .item-before {
  351. width: 88rpx;
  352. height: 106rpx;
  353. left: 0;
  354. top: 0;
  355. transform: translate(-50%, -50%);
  356. }
  357. .coupon-item .item-after {
  358. width: 140rpx;
  359. height: 186rpx;
  360. right: 0;
  361. bottom: 0;
  362. transform: translate(40%, 50%);
  363. }
  364. .coupon-item .info-before,
  365. .coupon-item .info-after {
  366. position: absolute;
  367. background-color: #fff;
  368. z-index: 99;
  369. width: 40rpx;
  370. height: 40rpx;
  371. border-radius: 50%;
  372. right: 196rpx;
  373. transform: translateX(50%);
  374. }
  375. .coupon-item .info-before {
  376. top: 0;
  377. margin-top: -20rpx;
  378. }
  379. .coupon-item .info-after {
  380. bottom: 0;
  381. margin-bottom: -20rpx;
  382. }
  383. .coupon-item .money {
  384. flex: 0 0 auto;
  385. width: 230rpx;
  386. font-size: 138rpx;
  387. color: #fff;
  388. font-weight: bold;
  389. position: relative;
  390. /* height: 130rpx;
  391. line-height: 138rpx; */
  392. text-align: center;
  393. box-sizing: border-box;
  394. display: flex;
  395. align-items: center;
  396. justify-content: center;
  397. overflow: auto;
  398. height: 138rpx;
  399. }
  400. .poa {
  401. width: 100%;
  402. text-align: center;
  403. font-size: 26rpx;
  404. }
  405. .coupon-item .used {
  406. position: absolute;
  407. z-index: 99;
  408. background-color: rgba(255, 255, 255, 0.6);
  409. left: 0;
  410. right: 0;
  411. top: 0;
  412. bottom: 0;
  413. }
  414. .coupon-item .money-before {
  415. display: inline;
  416. font-size: 26rpx;
  417. /* width: 40rpx;
  418. height: 40rpx;
  419. text-align: center;
  420. line-height: 40rpx;
  421. border: 1px solid #EF9B3A;
  422. color:#EF9B3A;
  423. border-radius: 50%;
  424. position: absolute;
  425. bottom: 0;
  426. right: 0rpx;
  427. font-size: 26rpx;
  428. background-color: #fff; */
  429. }
  430. .coupon-item .info {
  431. flex: 1;
  432. display: flex;
  433. flex-direction: column;
  434. padding: 25rpx 10rpx 10rpx;
  435. height: 92rpx;
  436. }
  437. .coupon-item .info .full {
  438. font-size: 30rpx;
  439. color: #fff;
  440. width: 100%;
  441. height: 52rpx;
  442. margin: 0;
  443. line-height: 32rpx;
  444. white-space: nowrap;
  445. text-overflow: ellipsis;
  446. }
  447. .coupon-item .info button {
  448. width: 168rpx;
  449. color: #EF533A;
  450. text-align: center;
  451. height: 38rpx;
  452. line-height: 32rpx;
  453. border-radius: 19rpx;
  454. font-size: 22rpx;
  455. margin: 10rpx 0;
  456. }
  457. .coupon-item .info .date {
  458. height: 28rpx;
  459. font-size: 16rpx;
  460. color: #fff;
  461. margin: 0;
  462. line-height: 22rpx;
  463. width: 100%;
  464. }
  465. .coupon-item .oper {
  466. flex: 0 0 auto;
  467. font-size: 34rpx;
  468. color: #fff;
  469. width: 166rpx;
  470. text-align: right;
  471. display: flex;
  472. align-items: center;
  473. justify-content: center;
  474. height: 100%;
  475. position: relative;
  476. }
  477. .coupon-item .oper .dotted {
  478. position: absolute;
  479. width: 1px;
  480. left: 0;
  481. top: 20%;
  482. height: 60%;
  483. z-index: 9999999;
  484. }
  485. .coupon-item .oper cover-view {
  486. z-index: 2;
  487. }
  488. .concat-view {
  489. top: 20%;
  490. }
  491. .concat-view .icon {
  492. position: absolute;
  493. right: 6rpx;
  494. top: 6rpx;
  495. width: 27rpx;
  496. height: 27rpx;
  497. padding: 30rpx;
  498. }
  499. .concat-view .title {
  500. font-size: 36rpx;
  501. font-weight: bold;
  502. margin-bottom: 40rpx;
  503. }
  504. .concat-view .item:nth-last-child(1) {
  505. margin-top: 34rpx;
  506. }
  507. .concat-view .item .desc {
  508. line-height: 40rpx;
  509. text-align: center;
  510. font-size: 24rpx;
  511. }
  512. .commodity-ctrl {
  513. position: fixed;
  514. bottom: 218rpx;
  515. right: 40rpx;
  516. width: 140rpx;
  517. height: 140rpx;
  518. border-radius: 50%;
  519. /* background:rgba(237,93,24,1);
  520. box-shadow:0px 1px 6px rgba(0,0,0,0.16); */
  521. display: flex;
  522. flex-direction: column;
  523. align-items: center;
  524. justify-content: center;
  525. }
  526. .commodity-ctrl .bg {
  527. width: 130rpx;
  528. height: 130rpx;
  529. position: absolute;
  530. left: 50%;
  531. top: 50%;
  532. z-index: -1;
  533. transform: translate(-50%, -50%);
  534. }
  535. .commodity-ctrl .ig {
  536. width: 18px;
  537. height: 18px;
  538. }
  539. .commodity-ctrl cover-view {
  540. font-size: 20rpx;
  541. color: rgba(255, 255, 255, 0.88);
  542. line-height: 26rpx;
  543. width: 100%;
  544. text-align: center;
  545. }
  546. .auth-user {
  547. position: fixed;
  548. left: 0;
  549. top: 0;
  550. right: 0;
  551. bottom: 0;
  552. z-index: 8;
  553. background-color: rgba(0, 0, 0, 0.3);
  554. }
  555. .auth-user .layer {
  556. position: absolute;
  557. left: 0;
  558. bottom: 0;
  559. right: 0;
  560. background-color: #fff;
  561. border-radius: 8px 8px 0 0;
  562. padding: 52rpx 36rpx;
  563. }
  564. .auth-user .layer .title {
  565. font-size: 24rpx;
  566. color: #131D34;
  567. font-size: 30rpx;
  568. line-height: 42rpx;
  569. color: #111111;
  570. }
  571. .auth-user .layer .logo {
  572. display: block;
  573. width: 165rpx;
  574. height: 120rpx;
  575. margin: 0 auto;
  576. }
  577. .auth-user .layer .desc {
  578. text-align: center;
  579. color: #111111;
  580. font-size: 26rpx;
  581. padding: 28rpx 0 36rpx;
  582. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  583. }
  584. .auth-user .layer .content {
  585. text-align: center;
  586. padding: 32rpx 0 86rpx;
  587. font-size: 26rpx;
  588. color: #79868F;
  589. }
  590. .auth-user .layer button {
  591. color: #fff;
  592. width: 100%;
  593. font-size: 30rpx;
  594. height: 80rpx;
  595. line-height: 80rpx;
  596. background-color: #ED5D18;
  597. }
  598. .aaaaa {
  599. position: fixed;
  600. z-index: 999;
  601. left: 50%;
  602. top: 50%;
  603. transform: translate(-50%, -50%);
  604. color: #fff;
  605. background-color: rgba(0, 0, 0, 0.7);
  606. z-index: 99999;
  607. }
  608. .test {
  609. z-index: 999;
  610. background-color: #000;
  611. color: #fff;
  612. white-space: pre-wrap;
  613. }
  614. .tp10 {
  615. margin-top: 10px;
  616. }
  617. .mo {
  618. position: fixed;
  619. left: 0;
  620. top: 0;
  621. width: 100%;
  622. height: 100%;
  623. background-color: rgba(0, 0, 0, 0.6);
  624. z-index: 5;
  625. }
  626. .content .diswan {
  627. background: #EBEBEB;
  628. }
  629. .content .diswan .money {
  630. color: #999999;
  631. }
  632. .content .diswan .info .full {
  633. color: #999999
  634. }
  635. .content .diswan .info button {
  636. opacity: 0.7;
  637. color: #999;
  638. }
  639. .content .diswan .info .date {
  640. color: #999;
  641. }
  642. .un-content {
  643. width: 100%;
  644. height: 100%;
  645. text-align: center;
  646. }
  647. .lay {
  648. margin-top: 180rpx;
  649. }
  650. .un-content cover-image {
  651. display: inline-block;
  652. width: 250rpx;
  653. height: 274rpx;
  654. }
  655. .un-content .text {
  656. color: #666C7D;
  657. font-size: 30rpx;
  658. margin-top: 40rpx;
  659. }
  660. .commodity-view .zz {
  661. position: absolute;
  662. left: 0;
  663. top: 0;
  664. width: 100%;
  665. height: 100%;
  666. background: rgba(0, 0, 0, 0.6);
  667. z-index: 999;
  668. }
  669. .commodity-view .dialog-layer {
  670. position: absolute;
  671. left: 0;
  672. top: 0;
  673. width: 100%;
  674. padding: 0 32rpx 10rpx;
  675. box-sizing: border-box;
  676. background-color: #fff;
  677. z-index: 9999;
  678. }
  679. .commodity-view .dialog-layer .tabctrl {
  680. right: 32rpx;
  681. }
  682. .commodity-view .dialog-layer .dialog-tabs {
  683. padding-right: 86rpx;
  684. overflow: hidden;
  685. }
  686. .commodity-view .dialog-layer .dialog-tabs .text {
  687. float: left;
  688. width: calc(33% - 10rpx);
  689. text-align: center;
  690. padding: 14rpx 0;
  691. font-size: 24rpx;
  692. color: #131D34;
  693. border: 1px solid rgba(0, 0, 0, 0.1);
  694. border-radius: 4px;
  695. margin: 10rpx 0;
  696. overflow: hidden;
  697. text-overflow: ellipsis;
  698. white-space: nowrap;
  699. }
  700. .commodity-view .dialog-layer .dialog-tabs .text.active {
  701. background-color: rgba(237, 93, 24, 1);
  702. border-color: rgba(237, 93, 24, 1);
  703. color: #fff;
  704. }
  705. .commodity-view .dialog-layer .dialog-tabs .text:nth-child(3n-1) {
  706. margin: 10rpx;
  707. }
  708. .commodity-view .tabctrl {
  709. position: absolute;
  710. right: 0;
  711. top: 0;
  712. height: 76rpx;
  713. width: 76rpx;
  714. color: #000;
  715. }
  716. /* component/auth/auth.wxss */
  717. .auth-layer {
  718. position: fixed;
  719. height: 612rpx;
  720. height: calc(612rpx + env(safe-area-inset-bottom));
  721. background: #FFFFFF;
  722. border-radius: 8px 8px 0px 0px;
  723. bottom: 0;
  724. left: 0;
  725. width: 100%;
  726. z-index: 99999999999999;
  727. padding: 52rpx 36rpx 32rpx;
  728. box-sizing: border-box;
  729. display: flex;
  730. flex-direction: column;
  731. padding-bottom: calc(env(safe-area-inset-bottom) + 36rpx);
  732. }
  733. .auth-bg {
  734. width: 100vw;
  735. height: 100vh;
  736. background-color: rgba(0, 0, 0, 0.3);
  737. z-index: 9999999999;
  738. position: fixed;
  739. left: 0;
  740. top: 0;
  741. }
  742. .auth-layer .title {
  743. font-size: 30rpx;
  744. color: #111111;
  745. line-height: 42rpx;
  746. }
  747. .auth-layer .content {
  748. height: 406rpx;
  749. display: flex;
  750. flex-direction: column;
  751. align-items: center;
  752. }
  753. .auth-layer .content cover-image {
  754. width: 165rpx;
  755. height: 165rpx;
  756. }
  757. .auth-layer .content .text {
  758. font-size: 26rpx;
  759. color: #111111;
  760. padding: 28rpx 0 36rpx;
  761. }
  762. .xian {
  763. align-self: stretch;
  764. height: 1px;
  765. background-color: rgba(0, 0, 0, 0.1);
  766. }
  767. .auth-layer .authul {
  768. align-self: stretch;
  769. flex: 1;
  770. }
  771. .auth-layer .authul .authli {
  772. text-align: center;
  773. font-size: 26rpx;
  774. color: #79868F;
  775. margin-top: 30rpx;
  776. }
  777. .auth-layer .button {
  778. line-height: 80rpx;
  779. font-size: 30rpx;
  780. color: #fff;
  781. background: #07C563;
  782. opacity: 1;
  783. border-radius: 4px;
  784. width: 100%;
  785. text-align: center;
  786. }