index.wxss 12 KB

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