C端小程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

567 lignes
8.9 KiB

  1. @import "../../app.wxss";
  2. page {
  3. background: #eee;
  4. }
  5. .coupons {
  6. width: 100%;
  7. position: relative;
  8. }
  9. .coupons-body {
  10. flex: 1;
  11. /* overflow: auto; */
  12. }
  13. .banner {
  14. position: relative;
  15. width: 750rpx;
  16. height: 280rpx;
  17. overflow: hidden;
  18. box-shadow:0px 14px 26px 0px rgba(199,203,211,1);
  19. }
  20. .banner image {
  21. width: 750rpx;
  22. height: 280rpx;
  23. }
  24. .act {
  25. position: relative;
  26. z-index: 1000000000;
  27. background: #fff;
  28. border-radius: 12rpx;
  29. width: 100%;
  30. /* height: 212rpx; */
  31. margin:44rpx auto 0;
  32. padding-bottom: 20rpx;
  33. }
  34. .act text {
  35. display: block;
  36. padding-left: 4.8%;
  37. padding-right: 4.8%;
  38. }
  39. .txt001 {
  40. display: block;
  41. font-size: 34rpx;
  42. color: #363636;
  43. letter-spacing: 0;
  44. text-align: left;
  45. line-height: 48rpx;
  46. padding-top: 3.2%;
  47. }
  48. .txt002 {
  49. font-size: 24rpx;
  50. color: #999;
  51. letter-spacing: 0;
  52. text-align: left;
  53. line-height: 33rpx;
  54. }
  55. .proct {
  56. position: relative;
  57. /* height: 60rpx; */
  58. margin-top: 20rpx;
  59. }
  60. .proct text:nth-of-type(1) {
  61. display: block;
  62. font-size: 30rpx;
  63. color: #FD782D;
  64. letter-spacing: 0;
  65. line-height: 32rpx;
  66. margin-bottom: 20rpx;
  67. /* width: 60rpx; */
  68. /* height: 64rpx; */
  69. }
  70. .proct text:nth-of-type(2) {
  71. display: block;
  72. /* width: 498rpx; */
  73. /* height: 63rpx; */
  74. /* overflow: hidden; */
  75. word-wrap:break-word;
  76. /* text-overflow: ellipsis; */
  77. font-size: 22rpx;
  78. color: #6f6f6f;
  79. letter-spacing: 0;
  80. margin: 0 auto;
  81. }
  82. .orbg {
  83. position: absolute;
  84. top: 256rpx;
  85. z-index: 1000000;
  86. }
  87. .banner text {
  88. position: absolute;
  89. right: 0;
  90. top: 0;
  91. bottom: 0;
  92. margin: auto;
  93. width: 122rpx;
  94. height: 48rpx;
  95. line-height: 48rpx;
  96. opacity: 0.8;
  97. background: #000;
  98. font-size: 24rpx;
  99. color: #fff;
  100. letter-spacing: 0;
  101. text-indent: 0.5em;
  102. border-top-left-radius: 50rpx;
  103. border-bottom-left-radius: 50rpx;
  104. }
  105. .coupons_info {
  106. width: 92%;
  107. height: 120rpx;
  108. display: flex;
  109. justify-content: space-between;
  110. padding: 0 4% 4%;
  111. background: #fff;
  112. }
  113. .coupons_info view {
  114. display: flex;
  115. flex-direction: column;
  116. }
  117. .coupons_info view:nth-child(1) text {
  118. font-size: 30rpx;
  119. line-height: 32rpx;
  120. margin-top: 10%;
  121. }
  122. .coupons_info view:nth-child(1) text:nth-child(1) text {
  123. color: #ff3434;
  124. font-size: 24rpx;
  125. border: 1px solid #ff3434;
  126. border-radius: 6rpx;
  127. margin-left: 2%;
  128. padding: 0 5rpx;
  129. }
  130. .coupons_info view:nth-child(1) text:nth-child(2),
  131. .coupons_info view:nth-child(1) text:nth-child(3) {
  132. color: #b8b8b8;
  133. font-size: 24rpx;
  134. margin-top: 4%;
  135. }
  136. .coupons_info view:nth-child(1) text:nth-child(2) text,
  137. .coupons_info view:nth-child(1) text:nth-child(3) text {
  138. color: #ff3434;
  139. font-size: 24rpx;
  140. }
  141. .coupons_info view:nth-child(2) text:nth-child(1) {
  142. font-size: 36rpx;
  143. color: #ff3434;
  144. margin-top: 40rpx;
  145. font-weight: bold;
  146. }
  147. .coupons_info view:nth-child(2) text:nth-child(2) {
  148. font-size: 24rpx;
  149. color: #b4b4b4;
  150. text-decoration: line-through;
  151. padding-left: 10rpx;
  152. padding-top: 4rpx;
  153. }
  154. navigator {
  155. display: block;
  156. margin-bottom: 24rpx;
  157. width: 344rpx;
  158. }
  159. .navigator-hover{
  160. opacity: 1!important;
  161. background: #fff!important;
  162. border-radius:16rpx;
  163. }
  164. .active{
  165. opacity: .6;
  166. }
  167. navigator:nth-of-type(2n) {
  168. float: right;
  169. }
  170. navigator:nth-of-type(2n+1) {
  171. float: left;
  172. }
  173. .contain {
  174. padding: 24rpx 25rpx 0;
  175. }
  176. .posi {
  177. width: 92%;
  178. display: flex;
  179. flex-direction: column;
  180. padding: 0 4%;
  181. background: #fff;
  182. margin-top: 2%;
  183. }
  184. .posi>view:nth-child(2) {
  185. width: 100%;
  186. height: 87rpx;
  187. display: flex;
  188. justify-content: space-between;
  189. border-top: 1px solid #f6f6f6;
  190. line-height: 87rpx;
  191. }
  192. .posi>view:nth-child(2) text:nth-child(1) {
  193. font-size: 30rpx;
  194. color: #a9a9a9;
  195. }
  196. .posi>view:nth-child(2) text:nth-child(2) {
  197. font-size: 30rpx;
  198. color: #a9a9a9;
  199. }
  200. .posi_logo {
  201. width: 100%;
  202. height: 156rpx;
  203. display: flex;
  204. margin-top: 30rpx;
  205. }
  206. .posi_logo view:nth-child(1) {
  207. width: 126rpx;
  208. height: 126rpx;
  209. border-radius: 50%;
  210. overflow: hidden;
  211. flex: 2;
  212. }
  213. .posi_logo view:nth-child(1) image {
  214. width: 100%;
  215. height: 100%;
  216. }
  217. .posi_logo view:nth-child(2) {
  218. display: flex;
  219. flex-direction: column;
  220. flex: 8;
  221. padding-top: 20rpx;
  222. padding-left: 30rpx;
  223. }
  224. .posi_logo view:nth-child(2) text:nth-child(1) {
  225. font-size: 30rpx;
  226. }
  227. .posi_logo view:nth-child(2) text:nth-child(2) {
  228. font-size: 24rpx;
  229. color: #b8b8b8;
  230. padding-top: 10rpx;
  231. }
  232. .notes view:nth-child(1) {
  233. width: 92%;
  234. height: 87rpx;
  235. padding: 0 4%;
  236. line-height: 87rpx;
  237. background: #fff;
  238. /* border-top: 1rpx solid #f5f5f5; */
  239. }
  240. .notes view:nth-child(1) text {
  241. font-size: 30rpx;
  242. font-weight: bold;
  243. }
  244. .notes view:nth-child(2) {
  245. width: 92%;
  246. height: auto;
  247. padding: 0 4% 4%;
  248. background: #fff;
  249. /* border-bottom: 1rpx solid #f5f5f5; */
  250. display: flex;
  251. flex-direction: column;
  252. }
  253. .notes view:nth-child(2)>text {
  254. font-size: 28rpx;
  255. color: #a9a9a9;
  256. line-height: 45rpx;
  257. }
  258. .spot {
  259. width: 12rpx;
  260. height: 12rpx;
  261. display: inline-block;
  262. background: #a9a9a9;
  263. margin-right: 16rpx;
  264. position: relative;
  265. bottom: 4rpx;
  266. border-radius: 50%;
  267. }
  268. .buy-view {
  269. background: #fff;
  270. position: fixed;
  271. padding-top: 10rpx;
  272. height: 98rpx;
  273. bottom: 0rpx;
  274. left: 0;
  275. right: 0;
  276. }
  277. .buy {
  278. display: block;
  279. background: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  280. border-radius: 30rpx;
  281. height: 48rpx;
  282. width: 112rpx;
  283. margin: 0 auto;
  284. color: #fff;
  285. font-size: 26rpx;
  286. line-height: 48rpx;
  287. text-align: center;
  288. }
  289. .coupons1-btn-gm {
  290. background: #00c0ff !important;
  291. border-radius: 10rpx !important;
  292. margin: 0 !important;
  293. padding: 0 !important;
  294. font-family: PingFangSC-Semibold;
  295. font-size: 28rpx;
  296. color: #fff !important;
  297. letter-spacing: 0;
  298. height: 50rpx !important;
  299. width: 138rpx !important;
  300. line-height: 50rpx !important;
  301. }
  302. .coupons1 {
  303. position: relative;
  304. background: #fff;
  305. border-radius: 16rpx;
  306. padding-bottom: 21rpx;
  307. overflow: hidden;
  308. height: 405rpx;
  309. }
  310. /* .coupons1-border {
  311. height: 1rpx;
  312. left: 30rpx;
  313. right: 30rpx;
  314. background: #f5f5f5;
  315. position: absolute;
  316. bottom: 0;
  317. } */
  318. .coupons1-img {
  319. width: 344rpx;
  320. height: 233rpx;
  321. overflow: hidden;
  322. }
  323. .coupons1-img image {
  324. display: block;
  325. width: 100%;
  326. height: 100%;
  327. }
  328. .coupons1-info {
  329. padding-left: 20rpx;
  330. }
  331. .coupons1-info-name {
  332. font-size: 28rpx;
  333. color: #000;
  334. letter-spacing: 0;
  335. }
  336. .i {
  337. font-size: 20rpx;
  338. font-style: normal;
  339. }
  340. .coupons1-info-price-p {
  341. display: inline-block;
  342. font-size: 36rpx;
  343. color: #FD782D;
  344. line-height: 50rpx;
  345. /* margin-top: 21rpx; */
  346. }
  347. .tit {
  348. font-size: 30rpx;
  349. color: #000;
  350. letter-spacing: 0;
  351. line-height: 42rpx;
  352. width: 270rpx;
  353. height: 42rpx;
  354. overflow: hidden;
  355. white-space: nowrap;
  356. text-overflow: ellipsis;
  357. padding-top: 12rpx;
  358. }
  359. .coupons1-info-price-o {
  360. display: block;
  361. text-align: center;
  362. font-size: 26rpx;
  363. color: #b4b4b4;
  364. letter-spacing: 0.96rpx;
  365. text-decoration: line-through;
  366. line-height: 24rpx;
  367. }
  368. .coupons1-info-distance {
  369. font-size: 22rpx;
  370. color: #c0c0c0;
  371. letter-spacing: 0;
  372. padding-bottom: 10rpx;
  373. line-height: 30rpx;
  374. }
  375. .coupons1-info-address {
  376. font-size: 22rpx;
  377. color: #585858;
  378. letter-spacing: 0;
  379. line-height: 30rpx;
  380. }
  381. .coupons1-btn {
  382. position: absolute;
  383. width: 120rpx;
  384. bottom: 25rpx;
  385. right: 13rpx;
  386. }
  387. .coupons1-btn-gm {
  388. background: #00c0ff !important;
  389. border-radius: 10rpx !important;
  390. margin: 0 !important;
  391. padding: 0 !important;
  392. font-family: PingFangSC-Semibold;
  393. font-size: 28rpx;
  394. color: #fff !important;
  395. letter-spacing: 0;
  396. height: 50rpx !important;
  397. width: 138rpx !important;
  398. line-height: 50rpx !important;
  399. }
  400. .subtitle {
  401. font-size: 24rpx;
  402. font-weight: 100;
  403. text-align: left;
  404. overflow: hidden;
  405. white-space: nowrap;
  406. text-overflow: ellipsis;
  407. width: 300rpx;
  408. color: #999;
  409. letter-spacing: 0;
  410. height: 30rpx;
  411. }
  412. .coupons1-info-manjian {
  413. color: #fa7c7a;
  414. font-size: 20rpx;
  415. line-height: 34rpx;
  416. display: inline-block;
  417. }
  418. .jian {
  419. width: 44rpx;
  420. position: absolute;
  421. bottom: 1.7%;
  422. right: 3.5%;
  423. }
  424. /**上拉加载更多**/
  425. .userinfo {
  426. display: flex;
  427. flex-direction: column;
  428. align-items: center;
  429. }
  430. .userinfo-avatar {
  431. width: 128rpx;
  432. height: 128rpx;
  433. margin: 20rpx;
  434. border-radius: 50%;
  435. }
  436. .userinfo-nickname {
  437. color: #aaa;
  438. }
  439. .sy {
  440. display: block;
  441. text-align: center;
  442. width: 120rpx !important;
  443. margin-top: 6rpx;
  444. }
  445. .usermotto {
  446. margin-top: 200px;
  447. }
  448. /**/
  449. scroll-view {
  450. width: 100%;
  451. }
  452. .item {
  453. width: 90%;
  454. height: 300rpx;
  455. margin: 20rpx auto;
  456. background: brown;
  457. overflow: hidden;
  458. }
  459. .item .img {
  460. width: 430rpx;
  461. margin-right: 20rpx;
  462. float: left;
  463. }
  464. .title {
  465. font-size: 30rpx;
  466. display: block;
  467. margin: 30rpx auto;
  468. }
  469. .description {
  470. font-size: 26rpx;
  471. line-height: 15rpx;
  472. }
  473. button::after{ border: none; }
  474. .goback{
  475. position: fixed;
  476. right: 50rpx;
  477. bottom: 60rpx;
  478. width:100rpx!important;
  479. height:100rpx;
  480. z-index: 100;
  481. background:rgba(255,255,255,1);
  482. line-height: 95rpx;
  483. border:1rpx solid rgba(227,227,227,1);
  484. border-radius:50%;
  485. }
  486. .goback image{
  487. position: absolute;
  488. width: 60rpx;
  489. left: 0;
  490. right: 0;
  491. top: 0;
  492. bottom: 0;
  493. margin: auto;
  494. }