C端小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

520 rindas
8.0 KiB

  1. @import "../../app.wxss";
  2. page {
  3. background: #fe5252;
  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: 100%;
  21. display: block;
  22. }
  23. .act {
  24. position: relative;
  25. z-index: 1000000000;
  26. background: #fff;
  27. border-radius: 12rpx;
  28. width: 702rpx;
  29. height: 212rpx;
  30. margin: -46rpx 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: 60rpx;
  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. padding: 0 24rpx 0;
  153. margin-bottom: 24rpx;
  154. }
  155. .contain {
  156. padding-top: 24rpx;
  157. }
  158. .posi {
  159. width: 92%;
  160. display: flex;
  161. flex-direction: column;
  162. padding: 0 4%;
  163. background: #fff;
  164. margin-top: 2%;
  165. }
  166. .posi>view:nth-child(2) {
  167. width: 100%;
  168. height: 87rpx;
  169. display: flex;
  170. justify-content: space-between;
  171. border-top: 1px solid #f6f6f6;
  172. line-height: 87rpx;
  173. }
  174. .posi>view:nth-child(2) text:nth-child(1) {
  175. font-size: 30rpx;
  176. color: #a9a9a9;
  177. }
  178. .posi>view:nth-child(2) text:nth-child(2) {
  179. font-size: 30rpx;
  180. color: #a9a9a9;
  181. }
  182. .posi_logo {
  183. width: 100%;
  184. height: 156rpx;
  185. display: flex;
  186. margin-top: 30rpx;
  187. }
  188. .posi_logo view:nth-child(1) {
  189. width: 126rpx;
  190. height: 126rpx;
  191. border-radius: 50%;
  192. overflow: hidden;
  193. flex: 2;
  194. }
  195. .posi_logo view:nth-child(1) image {
  196. width: 100%;
  197. height: 100%;
  198. }
  199. .posi_logo view:nth-child(2) {
  200. display: flex;
  201. flex-direction: column;
  202. flex: 8;
  203. padding-top: 20rpx;
  204. padding-left: 30rpx;
  205. }
  206. .posi_logo view:nth-child(2) text:nth-child(1) {
  207. font-size: 30rpx;
  208. }
  209. .posi_logo view:nth-child(2) text:nth-child(2) {
  210. font-size: 24rpx;
  211. color: #b8b8b8;
  212. padding-top: 10rpx;
  213. }
  214. .notes view:nth-child(1) {
  215. width: 92%;
  216. height: 87rpx;
  217. padding: 0 4%;
  218. line-height: 87rpx;
  219. background: #fff;
  220. /* border-top: 1rpx solid #f5f5f5; */
  221. }
  222. .notes view:nth-child(1) text {
  223. font-size: 30rpx;
  224. font-weight: bold;
  225. }
  226. .notes view:nth-child(2) {
  227. width: 92%;
  228. height: auto;
  229. padding: 0 4% 4%;
  230. background: #fff;
  231. /* border-bottom: 1rpx solid #f5f5f5; */
  232. display: flex;
  233. flex-direction: column;
  234. }
  235. .notes view:nth-child(2)>text {
  236. font-size: 28rpx;
  237. color: #a9a9a9;
  238. line-height: 45rpx;
  239. }
  240. .spot {
  241. width: 12rpx;
  242. height: 12rpx;
  243. display: inline-block;
  244. background: #a9a9a9;
  245. margin-right: 16rpx;
  246. position: relative;
  247. bottom: 4rpx;
  248. border-radius: 50%;
  249. }
  250. .buy-view {
  251. background: #fff;
  252. position: fixed;
  253. padding-top: 10rpx;
  254. height: 98rpx;
  255. bottom: 0rpx;
  256. left: 0;
  257. right: 0;
  258. }
  259. .buy {
  260. display: block;
  261. background: #00c0ff;
  262. height: 50rpx;
  263. width: 120rpx;
  264. margin: 0 auto;
  265. color: #fff;
  266. font-size: 28rpx;
  267. line-height: 50rpx;
  268. text-align: center;
  269. border-radius: 50rpx;
  270. }
  271. .coupons1-btn-gm {
  272. background: #00c0ff !important;
  273. border-radius: 10rpx !important;
  274. margin: 0 !important;
  275. padding: 0 !important;
  276. font-family: PingFangSC-Semibold;
  277. font-size: 28rpx;
  278. color: #fff !important;
  279. letter-spacing: 0;
  280. height: 50rpx !important;
  281. width: 138rpx !important;
  282. line-height: 50rpx !important;
  283. }
  284. .coupons1 {
  285. flex-direction: row;
  286. display: flex;
  287. padding: 24rpx;
  288. position: relative;
  289. height: 152rpx;
  290. background: #fff;
  291. border-radius: 16rpx;
  292. box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.3);
  293. }
  294. /* .coupons1-border {
  295. height: 1rpx;
  296. left: 30rpx;
  297. right: 30rpx;
  298. background: #f5f5f5;
  299. position: absolute;
  300. bottom: 0;
  301. } */
  302. .coupons1-img {
  303. width: 160rpx;
  304. height: 160rpx;
  305. overflow: hidden;
  306. border-radius: 10rpx;
  307. }
  308. .coupons1-img image {
  309. display: block;
  310. width: 100%;
  311. height: 100%;
  312. }
  313. .coupons1-info {
  314. padding-left: 20rpx;
  315. }
  316. .coupons1-info-name {
  317. font-size: 28rpx;
  318. color: #000;
  319. letter-spacing: 0;
  320. line-height: 38rpx;
  321. }
  322. .i {
  323. font-size: 20rpx;
  324. font-style: normal;
  325. }
  326. .coupons1-info-price-p {
  327. display: inline-block;
  328. font-size: 36rpx;
  329. color: #f96563;
  330. line-height: 50rpx;
  331. }
  332. .tit {
  333. font-size: 28rpx;
  334. color: #000;
  335. letter-spacing: 0;
  336. }
  337. .coupons1-info-price-o {
  338. display: block;
  339. text-align: center;
  340. font-size: 26rpx;
  341. color: #b4b4b4;
  342. letter-spacing: 0.96rpx;
  343. text-decoration: line-through;
  344. line-height: 24rpx;
  345. }
  346. .coupons1-info-distance {
  347. font-size: 22rpx;
  348. color: #c0c0c0;
  349. letter-spacing: 0;
  350. padding-bottom: 10rpx;
  351. line-height: 30rpx;
  352. }
  353. .coupons1-info-address {
  354. font-size: 22rpx;
  355. color: #585858;
  356. letter-spacing: 0;
  357. line-height: 30rpx;
  358. }
  359. .coupons1-btn {
  360. position: absolute;
  361. width: 120rpx;
  362. top: 61rpx;
  363. right: 30rpx;
  364. }
  365. .coupons1-btn-gm {
  366. background: #00c0ff !important;
  367. border-radius: 10rpx !important;
  368. margin: 0 !important;
  369. padding: 0 !important;
  370. font-family: PingFangSC-Semibold;
  371. font-size: 28rpx;
  372. color: #fff !important;
  373. letter-spacing: 0;
  374. height: 50rpx !important;
  375. width: 138rpx !important;
  376. line-height: 50rpx !important;
  377. }
  378. .subtitle {
  379. font-size: 24rpx;
  380. font-weight: 100;
  381. text-align: left;
  382. overflow: hidden;
  383. white-space: nowrap;
  384. text-overflow: ellipsis;
  385. width: 300rpx;
  386. height: 33rpx;
  387. color: #919191;
  388. letter-spacing: 0;
  389. }
  390. .coupons1-info-manjian {
  391. color: #fa7c7a;
  392. font-size: 20rpx;
  393. line-height: 34rpx;
  394. display: inline-block;
  395. }
  396. .jian{
  397. width: 44rpx;
  398. position: absolute;
  399. bottom: 1.7%;
  400. right: 3.5%;
  401. }
  402. /**上拉加载更多**/
  403. .userinfo {
  404. display: flex;
  405. flex-direction: column;
  406. align-items: center;
  407. }
  408. .userinfo-avatar {
  409. width: 128rpx;
  410. height: 128rpx;
  411. margin: 20rpx;
  412. border-radius: 50%;
  413. }
  414. .userinfo-nickname {
  415. color: #aaa;
  416. }
  417. .sy {
  418. display: block;
  419. text-align: center;
  420. width: 120rpx !important;
  421. margin-top: 6rpx;
  422. }
  423. .usermotto {
  424. margin-top: 200px;
  425. }
  426. /**/
  427. scroll-view {
  428. width: 100%;
  429. }
  430. .item {
  431. width: 90%;
  432. height: 300rpx;
  433. margin: 20rpx auto;
  434. background: brown;
  435. overflow: hidden;
  436. }
  437. .item .img {
  438. width: 430rpx;
  439. margin-right: 20rpx;
  440. float: left;
  441. }
  442. .title {
  443. font-size: 30rpx;
  444. display: block;
  445. margin: 30rpx auto;
  446. }
  447. .description {
  448. font-size: 26rpx;
  449. line-height: 15rpx;
  450. }