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.

557 line
8.7 KiB

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