抖音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.

586 lines
9.2 KiB

  1. @import "../../app.ttss";
  2. page {
  3. background: #eee;
  4. }
  5. .coupons {
  6. width: 100%;
  7. position: relative;
  8. }
  9. .coupons-body {
  10. /* padding:40rpx 40rpx; */
  11. flex: 1;
  12. /* overflow: auto; */
  13. }
  14. .banner {
  15. position: relative;
  16. width:750rpx;
  17. overflow: hidden;
  18. /* box-shadow:0px 14px 26px 0px rgba(199,203,211,1); */
  19. }
  20. .banner image {
  21. width: 100%;
  22. border-radius: 12rpx;
  23. }
  24. .act {
  25. position: relative;
  26. z-index: 1000000000;
  27. background: #fff;
  28. border-radius: 12rpx;
  29. width: 94%;
  30. padding-bottom: 20rpx;
  31. margin: 20rpx auto 0;
  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: #FD782D;
  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: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  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. .buyX{
  289. display: block;
  290. background: linear-gradient(90deg, #E3BA79, #BC8D3E);
  291. border-radius: 30rpx;
  292. height: 48rpx;
  293. width: 112rpx;
  294. margin: 0 auto;
  295. color: #fff;
  296. font-size: 26rpx;
  297. line-height: 48rpx;
  298. text-align: center;
  299. }
  300. .coupons1-btn-gm {
  301. background: #00c0ff !important;
  302. border-radius: 10rpx !important;
  303. margin: 0 !important;
  304. padding: 0 !important;
  305. font-family: PingFangSC-Semibold;
  306. font-size: 28rpx;
  307. color: #fff !important;
  308. letter-spacing: 0;
  309. height: 50rpx !important;
  310. width: 138rpx !important;
  311. line-height: 50rpx !important;
  312. }
  313. .coupons1 {
  314. position: relative;
  315. background: #fff;
  316. border-radius: 16rpx;
  317. padding-bottom: 21rpx;
  318. overflow: hidden;
  319. height: 405rpx;
  320. }
  321. /* .coupons1-border {
  322. height: 1rpx;
  323. left: 30rpx;
  324. right: 30rpx;
  325. background: #f5f5f5;
  326. position: absolute;
  327. bottom: 0;
  328. } */
  329. .coupons1-img {
  330. width: 344rpx;
  331. height: 233rpx;
  332. overflow: hidden;
  333. }
  334. .coupons1-img image {
  335. display: block;
  336. width: 100%;
  337. height: 100%;
  338. }
  339. .coupons1-info {
  340. padding-left: 20rpx;
  341. }
  342. .coupons1-info-name {
  343. font-size: 28rpx;
  344. color: #000;
  345. letter-spacing: 0;
  346. }
  347. .i {
  348. font-size: 20rpx;
  349. font-style: normal;
  350. }
  351. .coupons1-info-price-p {
  352. display: inline-block;
  353. font-size: 36rpx;
  354. color: #FD782D;
  355. line-height: 50rpx;
  356. /* margin-top: 21rpx; */
  357. }
  358. .coupons1-info-price-pX{
  359. display: inline-block;
  360. font-size: 36rpx;
  361. color: #D5AF67;
  362. line-height: 50rpx;
  363. margin-top: 21rpx;
  364. }
  365. .tit {
  366. font-size: 30rpx;
  367. color: #000;
  368. letter-spacing: 0;
  369. line-height: 42rpx;
  370. width: 270rpx;
  371. height: 42rpx;
  372. overflow: hidden;
  373. white-space: nowrap;
  374. text-overflow: ellipsis;
  375. padding-top: 12rpx;
  376. }
  377. .coupons1-info-price-o {
  378. display: block;
  379. text-align: center;
  380. font-size: 26rpx;
  381. color: #b4b4b4;
  382. letter-spacing: 0.96rpx;
  383. text-decoration: line-through;
  384. line-height: 24rpx;
  385. }
  386. .coupons1-info-distance {
  387. font-size: 22rpx;
  388. color: #c0c0c0;
  389. letter-spacing: 0;
  390. padding-bottom: 10rpx;
  391. line-height: 30rpx;
  392. }
  393. .coupons1-info-address {
  394. font-size: 22rpx;
  395. color: #585858;
  396. letter-spacing: 0;
  397. line-height: 30rpx;
  398. }
  399. .coupons1-btn {
  400. position: absolute;
  401. width: 120rpx;
  402. bottom: 25rpx;
  403. right: 13rpx;
  404. }
  405. .coupons1-btn-gm {
  406. background: #00c0ff !important;
  407. border-radius: 10rpx !important;
  408. margin: 0 !important;
  409. padding: 0 !important;
  410. font-family: PingFangSC-Semibold;
  411. font-size: 28rpx;
  412. color: #fff !important;
  413. letter-spacing: 0;
  414. height: 50rpx !important;
  415. width: 138rpx !important;
  416. line-height: 50rpx !important;
  417. }
  418. .subtitle {
  419. font-size: 24rpx;
  420. font-weight: 100;
  421. text-align: left;
  422. overflow: hidden;
  423. white-space: nowrap;
  424. text-overflow: ellipsis;
  425. width: 300rpx;
  426. color: #999;
  427. letter-spacing: 0;
  428. height: 30rpx;
  429. }
  430. .coupons1-info-manjian {
  431. color: #fa7c7a;
  432. font-size: 20rpx;
  433. line-height: 34rpx;
  434. display: inline-block;
  435. }
  436. .jian {
  437. width: 44rpx;
  438. position: absolute;
  439. bottom: 1.7%;
  440. right: 3.5%;
  441. }
  442. /**上拉加载更多**/
  443. .userinfo {
  444. display: flex;
  445. flex-direction: column;
  446. align-items: center;
  447. }
  448. .userinfo-avatar {
  449. width: 128rpx;
  450. height: 128rpx;
  451. margin: 20rpx;
  452. border-radius: 50%;
  453. }
  454. .userinfo-nickname {
  455. color: #aaa;
  456. }
  457. .sy {
  458. display: block;
  459. text-align: center;
  460. width: 120rpx !important;
  461. margin-top: 6rpx;
  462. }
  463. .usermotto {
  464. margin-top: 200px;
  465. }
  466. /**/
  467. scroll-view {
  468. width: 100%;
  469. }
  470. .item {
  471. width: 90%;
  472. height: 300rpx;
  473. margin: 20rpx auto;
  474. background: brown;
  475. overflow: hidden;
  476. }
  477. .item .img {
  478. width: 430rpx;
  479. margin-right: 20rpx;
  480. float: left;
  481. }
  482. .title {
  483. font-size: 30rpx;
  484. display: block;
  485. margin: 30rpx auto;
  486. }
  487. .description {
  488. font-size: 26rpx;
  489. line-height: 15rpx;
  490. }
  491. button::after{ border: none; }
  492. .goback{
  493. position: fixed;
  494. right: 50rpx;
  495. bottom: 60rpx;
  496. width:100rpx!important;
  497. height:100rpx;
  498. z-index: 100;
  499. background:rgba(255,255,255,1);
  500. line-height: 95rpx;
  501. border:1rpx solid rgba(227,227,227,1);
  502. border-radius:50%;
  503. }
  504. .goback image{
  505. position: absolute;
  506. width: 60rpx;
  507. left: 0;
  508. right: 0;
  509. top: 0;
  510. bottom: 0;
  511. margin: auto;
  512. }