C端小程序
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

541 linhas
8.3 KiB

  1. @import "../../app.wxss";
  2. page {
  3. background: #eee;
  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. width: 750rpx;
  21. height: 280rpx;
  22. }
  23. .act {
  24. position: relative;
  25. z-index: 1000000000;
  26. background: #fff;
  27. border-radius: 12rpx;
  28. width: 705rpx;
  29. height: 212rpx;
  30. margin: 24rpx auto 0;
  31. }
  32. .act text {
  33. display: block;
  34. padding-left: 4.8%;
  35. }
  36. .txt001 {
  37. font-size: 34rpx;
  38. color: #363636;
  39. letter-spacing: 0;
  40. text-align: left;
  41. line-height: 48rpx;
  42. padding-top: 3.2%;
  43. }
  44. .txt002 {
  45. font-size: 24rpx;
  46. color: #999;
  47. letter-spacing: 0;
  48. text-align: left;
  49. line-height: 33rpx;
  50. }
  51. .proct {
  52. position: relative;
  53. height: 60rpx;
  54. margin-top: 20rpx;
  55. }
  56. .proct text:nth-of-type(1) {
  57. font-size: 30rpx;
  58. color: #ff4949;
  59. letter-spacing: 0;
  60. line-height: 32rpx;
  61. display: inline-block;
  62. width: 60rpx;
  63. height: 64rpx;
  64. padding-right: 20rpx;
  65. border-right: 2px solid #e5e5e5;
  66. }
  67. .proct text:nth-of-type(2) {
  68. display: inline-block;
  69. width: 498rpx;
  70. height: 63rpx;
  71. overflow: hidden;
  72. white-space: nowrap;
  73. text-overflow: ellipsis;
  74. font-size: 22rpx;
  75. color: #6f6f6f;
  76. letter-spacing: 0;
  77. }
  78. .orbg {
  79. position: absolute;
  80. top: 256rpx;
  81. z-index: 1000000;
  82. }
  83. .banner text {
  84. position: absolute;
  85. right: 0;
  86. top: 0;
  87. bottom: 0;
  88. margin: auto;
  89. width: 122rpx;
  90. height: 48rpx;
  91. line-height: 48rpx;
  92. opacity: 0.8;
  93. background: #000;
  94. font-size: 24rpx;
  95. color: #fff;
  96. letter-spacing: 0;
  97. text-indent: 0.5em;
  98. border-top-left-radius: 50rpx;
  99. border-bottom-left-radius: 50rpx;
  100. }
  101. .coupons_info {
  102. width: 92%;
  103. height: 120rpx;
  104. display: flex;
  105. justify-content: space-between;
  106. padding: 0 4% 4%;
  107. background: #fff;
  108. }
  109. .coupons_info view {
  110. display: flex;
  111. flex-direction: column;
  112. }
  113. .coupons_info view:nth-child(1) text {
  114. font-size: 30rpx;
  115. line-height: 32rpx;
  116. margin-top: 10%;
  117. }
  118. .coupons_info view:nth-child(1) text:nth-child(1) text {
  119. color: #ff3434;
  120. font-size: 24rpx;
  121. border: 1px solid #ff3434;
  122. border-radius: 6rpx;
  123. margin-left: 2%;
  124. padding: 0 5rpx;
  125. }
  126. .coupons_info view:nth-child(1) text:nth-child(2),
  127. .coupons_info view:nth-child(1) text:nth-child(3) {
  128. color: #b8b8b8;
  129. font-size: 24rpx;
  130. margin-top: 4%;
  131. }
  132. .coupons_info view:nth-child(1) text:nth-child(2) text,
  133. .coupons_info view:nth-child(1) text:nth-child(3) text {
  134. color: #ff3434;
  135. font-size: 24rpx;
  136. }
  137. .coupons_info view:nth-child(2) text:nth-child(1) {
  138. font-size: 36rpx;
  139. color: #ff3434;
  140. margin-top: 40rpx;
  141. font-weight: bold;
  142. }
  143. .coupons_info view:nth-child(2) text:nth-child(2) {
  144. font-size: 24rpx;
  145. color: #b4b4b4;
  146. text-decoration: line-through;
  147. padding-left: 10rpx;
  148. padding-top: 4rpx;
  149. }
  150. navigator {
  151. display: block;
  152. margin-bottom: 24rpx;
  153. width: 344rpx;
  154. }
  155. .navigator-hover{
  156. opacity: 1!important;
  157. background: #fff!important;
  158. border-radius:16rpx;
  159. }
  160. .active{
  161. opacity: .6;
  162. }
  163. navigator:nth-of-type(2n) {
  164. float: right;
  165. }
  166. navigator:nth-of-type(2n+1) {
  167. float: left;
  168. }
  169. .contain {
  170. padding: 24rpx 25rpx 0;
  171. }
  172. .posi {
  173. width: 92%;
  174. display: flex;
  175. flex-direction: column;
  176. padding: 0 4%;
  177. background: #fff;
  178. margin-top: 2%;
  179. }
  180. .posi>view:nth-child(2) {
  181. width: 100%;
  182. height: 87rpx;
  183. display: flex;
  184. justify-content: space-between;
  185. border-top: 1px solid #f6f6f6;
  186. line-height: 87rpx;
  187. }
  188. .posi>view:nth-child(2) text:nth-child(1) {
  189. font-size: 30rpx;
  190. color: #a9a9a9;
  191. }
  192. .posi>view:nth-child(2) text:nth-child(2) {
  193. font-size: 30rpx;
  194. color: #a9a9a9;
  195. }
  196. .posi_logo {
  197. width: 100%;
  198. height: 156rpx;
  199. display: flex;
  200. margin-top: 30rpx;
  201. }
  202. .posi_logo view:nth-child(1) {
  203. width: 126rpx;
  204. height: 126rpx;
  205. border-radius: 50%;
  206. overflow: hidden;
  207. flex: 2;
  208. }
  209. .posi_logo view:nth-child(1) image {
  210. width: 100%;
  211. height: 100%;
  212. }
  213. .posi_logo view:nth-child(2) {
  214. display: flex;
  215. flex-direction: column;
  216. flex: 8;
  217. padding-top: 20rpx;
  218. padding-left: 30rpx;
  219. }
  220. .posi_logo view:nth-child(2) text:nth-child(1) {
  221. font-size: 30rpx;
  222. }
  223. .posi_logo view:nth-child(2) text:nth-child(2) {
  224. font-size: 24rpx;
  225. color: #b8b8b8;
  226. padding-top: 10rpx;
  227. }
  228. .notes view:nth-child(1) {
  229. width: 92%;
  230. height: 87rpx;
  231. padding: 0 4%;
  232. line-height: 87rpx;
  233. background: #fff;
  234. /* border-top: 1rpx solid #f5f5f5; */
  235. }
  236. .notes view:nth-child(1) text {
  237. font-size: 30rpx;
  238. font-weight: bold;
  239. }
  240. .notes view:nth-child(2) {
  241. width: 92%;
  242. height: auto;
  243. padding: 0 4% 4%;
  244. background: #fff;
  245. /* border-bottom: 1rpx solid #f5f5f5; */
  246. display: flex;
  247. flex-direction: column;
  248. }
  249. .notes view:nth-child(2)>text {
  250. font-size: 28rpx;
  251. color: #a9a9a9;
  252. line-height: 45rpx;
  253. }
  254. .spot {
  255. width: 12rpx;
  256. height: 12rpx;
  257. display: inline-block;
  258. background: #a9a9a9;
  259. margin-right: 16rpx;
  260. position: relative;
  261. bottom: 4rpx;
  262. border-radius: 50%;
  263. }
  264. .buy-view {
  265. background: #fff;
  266. position: fixed;
  267. padding-top: 10rpx;
  268. height: 98rpx;
  269. bottom: 0rpx;
  270. left: 0;
  271. right: 0;
  272. }
  273. .buy {
  274. display: block;
  275. background: #ff4949;
  276. border-radius: 30rpx;
  277. height: 48rpx;
  278. width: 112rpx;
  279. margin: 0 auto;
  280. color: #fff;
  281. font-size: 26rpx;
  282. line-height: 48rpx;
  283. text-align: center;
  284. }
  285. .coupons1-btn-gm {
  286. background: #00c0ff !important;
  287. border-radius: 10rpx !important;
  288. margin: 0 !important;
  289. padding: 0 !important;
  290. font-family: PingFangSC-Semibold;
  291. font-size: 28rpx;
  292. color: #fff !important;
  293. letter-spacing: 0;
  294. height: 50rpx !important;
  295. width: 138rpx !important;
  296. line-height: 50rpx !important;
  297. }
  298. .coupons1 {
  299. position: relative;
  300. background: #fff;
  301. border-radius: 16rpx;
  302. padding-bottom: 21rpx;
  303. overflow: hidden;
  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: 258rpx;
  316. overflow: hidden;
  317. }
  318. .coupons1-img image {
  319. display: block;
  320. width: 100%;
  321. height: 100%;
  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. height: 33rpx;
  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. }