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.

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