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.

539 lines
8.3 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. height: 280rpx;
  15. overflow: hidden;
  16. }
  17. .banner image {
  18. display: block;
  19. width: 750rpx;
  20. }
  21. .act {
  22. position: relative;
  23. z-index: 1000000000;
  24. background: #fff;
  25. border-radius: 12rpx;
  26. width: 705rpx;
  27. margin: -30rpx auto 0;
  28. padding-bottom: 20rpx;
  29. }
  30. .act text {
  31. display: block;
  32. text-align: center;
  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: 24rpx;
  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: 30rpx;
  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: #ff4949;
  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. }
  306. /* .coupons1-border {
  307. height: 1rpx;
  308. left: 30rpx;
  309. right: 30rpx;
  310. background: #f5f5f5;
  311. position: absolute;
  312. bottom: 0;
  313. } */
  314. .coupons1-img {
  315. width: 344rpx;
  316. height: 258rpx;
  317. overflow: hidden;
  318. }
  319. .coupons1-img image {
  320. display: block;
  321. width: 100%;
  322. height: 100%;
  323. }
  324. .coupons1-info {
  325. padding-left: 20rpx;
  326. }
  327. .coupons1-info-name {
  328. font-size: 28rpx;
  329. color: #000;
  330. letter-spacing: 0;
  331. }
  332. .i {
  333. font-size: 20rpx;
  334. font-style: normal;
  335. }
  336. .coupons1-info-price-p {
  337. display: inline-block;
  338. font-size: 36rpx;
  339. color: #f96563;
  340. line-height: 50rpx;
  341. margin-top: 21rpx;
  342. }
  343. .tit {
  344. font-size: 30rpx;
  345. color: #000;
  346. letter-spacing: 0;
  347. line-height: 42rpx;
  348. width: 270rpx;
  349. height: 42rpx;
  350. overflow: hidden;
  351. white-space: nowrap;
  352. text-overflow: ellipsis;
  353. padding-top: 16rpx;
  354. }
  355. .coupons1-info-price-o {
  356. display: block;
  357. text-align: center;
  358. font-size: 26rpx;
  359. color: #b4b4b4;
  360. letter-spacing: 0.96rpx;
  361. text-decoration: line-through;
  362. line-height: 24rpx;
  363. }
  364. .coupons1-info-distance {
  365. font-size: 22rpx;
  366. color: #c0c0c0;
  367. letter-spacing: 0;
  368. padding-bottom: 10rpx;
  369. line-height: 30rpx;
  370. }
  371. .coupons1-info-address {
  372. font-size: 22rpx;
  373. color: #585858;
  374. letter-spacing: 0;
  375. line-height: 30rpx;
  376. }
  377. .coupons1-btn {
  378. position: absolute;
  379. width: 120rpx;
  380. bottom: 25rpx;
  381. right: 13rpx;
  382. }
  383. .coupons1-btn-gm {
  384. background: #00c0ff !important;
  385. border-radius: 10rpx !important;
  386. margin: 0 !important;
  387. padding: 0 !important;
  388. font-family: PingFangSC-Semibold;
  389. font-size: 28rpx;
  390. color: #fff !important;
  391. letter-spacing: 0;
  392. height: 50rpx !important;
  393. width: 138rpx !important;
  394. line-height: 50rpx !important;
  395. }
  396. .subtitle {
  397. font-size: 24rpx;
  398. font-weight: 100;
  399. text-align: left;
  400. overflow: hidden;
  401. white-space: nowrap;
  402. text-overflow: ellipsis;
  403. width: 300rpx;
  404. color: #999;
  405. letter-spacing: 0;
  406. }
  407. .coupons1-info-manjian {
  408. color: #fa7c7a;
  409. font-size: 20rpx;
  410. line-height: 34rpx;
  411. display: inline-block;
  412. }
  413. .jian {
  414. width: 44rpx;
  415. position: absolute;
  416. bottom: 1.7%;
  417. right: 3.5%;
  418. }
  419. /**上拉加载更多**/
  420. .userinfo {
  421. display: flex;
  422. flex-direction: column;
  423. align-items: center;
  424. }
  425. .userinfo-avatar {
  426. width: 128rpx;
  427. height: 128rpx;
  428. margin: 20rpx;
  429. border-radius: 50%;
  430. }
  431. .userinfo-nickname {
  432. color: #aaa;
  433. }
  434. .sy {
  435. display: block;
  436. text-align: center;
  437. width: 120rpx !important;
  438. margin-top: 6rpx;
  439. }
  440. .usermotto {
  441. margin-top: 200px;
  442. }
  443. /**/
  444. scroll-view {
  445. width: 100%;
  446. }
  447. .item {
  448. width: 90%;
  449. height: 300rpx;
  450. margin: 20rpx auto;
  451. background: brown;
  452. overflow: hidden;
  453. }
  454. .item .img {
  455. width: 430rpx;
  456. margin-right: 20rpx;
  457. float: left;
  458. }
  459. .title {
  460. font-size: 30rpx;
  461. display: block;
  462. margin: 30rpx auto;
  463. }
  464. .description {
  465. font-size: 26rpx;
  466. line-height: 15rpx;
  467. }