C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

559 行
8.8 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: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  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. height: 400rpx;
  304. }
  305. /* .coupons1-border {
  306. height: 1rpx;
  307. left: 30rpx;
  308. right: 30rpx;
  309. background: #f5f5f5;
  310. position: absolute;
  311. bottom: 0;
  312. } */
  313. .coupons1-img {
  314. width: 344rpx;
  315. height: 233rpx;
  316. overflow: hidden;
  317. }
  318. .coupons1-img image {
  319. display: block;
  320. width: 100%;
  321. height: 233rpx;
  322. }
  323. .coupons1-info {
  324. padding-left: 20rpx;
  325. }
  326. .coupons1-info-name {
  327. font-size: 28rpx;
  328. color: #000;
  329. letter-spacing: 0;
  330. }
  331. .i {
  332. font-size: 20rpx;
  333. font-style: normal;
  334. }
  335. .coupons1-info-price-p {
  336. display: inline-block;
  337. font-size: 36rpx;
  338. color: #f96563;
  339. line-height: 50rpx;
  340. margin-top: 21rpx;
  341. }
  342. .tit {
  343. font-size: 30rpx;
  344. color: #000;
  345. letter-spacing: 0;
  346. line-height: 42rpx;
  347. width: 270rpx;
  348. height: 42rpx;
  349. overflow: hidden;
  350. white-space: nowrap;
  351. text-overflow: ellipsis;
  352. padding-top: 16rpx;
  353. }
  354. .coupons1-info-price-o {
  355. display: block;
  356. text-align: center;
  357. font-size: 26rpx;
  358. color: #b4b4b4;
  359. letter-spacing: 0.96rpx;
  360. text-decoration: line-through;
  361. line-height: 24rpx;
  362. }
  363. .coupons1-info-distance {
  364. font-size: 22rpx;
  365. color: #c0c0c0;
  366. letter-spacing: 0;
  367. padding-bottom: 10rpx;
  368. line-height: 30rpx;
  369. }
  370. .coupons1-info-address {
  371. font-size: 22rpx;
  372. color: #585858;
  373. letter-spacing: 0;
  374. line-height: 30rpx;
  375. }
  376. .coupons1-btn {
  377. position: absolute;
  378. width: 120rpx;
  379. bottom: 25rpx;
  380. right: 13rpx;
  381. }
  382. .coupons1-btn-gm {
  383. background: #00c0ff !important;
  384. border-radius: 10rpx !important;
  385. margin: 0 !important;
  386. padding: 0 !important;
  387. font-family: PingFangSC-Semibold;
  388. font-size: 28rpx;
  389. color: #fff !important;
  390. letter-spacing: 0;
  391. height: 50rpx !important;
  392. width: 138rpx !important;
  393. line-height: 50rpx !important;
  394. }
  395. .subtitle {
  396. font-size: 24rpx;
  397. font-weight: 100;
  398. text-align: left;
  399. overflow: hidden;
  400. white-space: nowrap;
  401. text-overflow: ellipsis;
  402. width: 300rpx;
  403. color: #999;
  404. height: 38rpx;
  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. }
  468. button::after{ border: none; }
  469. .goback{
  470. position: fixed;
  471. right: 50rpx;
  472. bottom: 60rpx;
  473. width:100rpx!important;
  474. height:100rpx;
  475. z-index: 100;
  476. background:rgba(255,255,255,1);
  477. line-height: 95rpx;
  478. border:1rpx solid rgba(227,227,227,1);
  479. border-radius:50%;
  480. }
  481. .goback image{
  482. position: absolute;
  483. width: 60rpx;
  484. left: 0;
  485. right: 0;
  486. top: 0;
  487. bottom: 0;
  488. margin: auto;
  489. }