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

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