C端小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

544 satır
8.4 KiB

  1. @import "../../app.wxss";
  2. page {
  3. background: #8A211B;
  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. }
  19. .banner image {
  20. display: block;
  21. width: 750rpx;
  22. }
  23. .act {
  24. position: relative;
  25. z-index: 1000000000;
  26. background: #fff;
  27. border-radius: 12rpx;
  28. width: 705rpx;
  29. margin: -30rpx auto 0;
  30. padding-bottom: 20rpx;
  31. }
  32. .act text {
  33. display: block;
  34. text-align: center;
  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: #ff4949;
  63. letter-spacing: 0;
  64. line-height: 32rpx;
  65. margin-bottom: 20rpx;
  66. text-align: left!important;
  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: #ff4949;
  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. }
  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: 258rpx;
  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: #f96563;
  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: 16rpx;
  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. }
  410. .coupons1-info-manjian {
  411. color: #fa7c7a;
  412. font-size: 20rpx;
  413. line-height: 34rpx;
  414. display: inline-block;
  415. }
  416. .jian {
  417. width: 44rpx;
  418. position: absolute;
  419. bottom: 1.7%;
  420. right: 3.5%;
  421. }
  422. /**上拉加载更多**/
  423. .userinfo {
  424. display: flex;
  425. flex-direction: column;
  426. align-items: center;
  427. }
  428. .userinfo-avatar {
  429. width: 128rpx;
  430. height: 128rpx;
  431. margin: 20rpx;
  432. border-radius: 50%;
  433. }
  434. .userinfo-nickname {
  435. color: #aaa;
  436. }
  437. .sy {
  438. display: block;
  439. text-align: center;
  440. width: 120rpx !important;
  441. margin-top: 6rpx;
  442. }
  443. .usermotto {
  444. margin-top: 200px;
  445. }
  446. /**/
  447. scroll-view {
  448. width: 100%;
  449. }
  450. .item {
  451. width: 90%;
  452. height: 300rpx;
  453. margin: 20rpx auto;
  454. background: brown;
  455. overflow: hidden;
  456. }
  457. .item .img {
  458. width: 430rpx;
  459. margin-right: 20rpx;
  460. float: left;
  461. }
  462. .title {
  463. font-size: 30rpx;
  464. display: block;
  465. margin: 30rpx auto;
  466. }
  467. .description {
  468. font-size: 26rpx;
  469. line-height: 15rpx;
  470. }