C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

571 lines
8.8 KiB

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