index.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /**index.wxss**/
  2. page{
  3. background: #F1F1F1;
  4. padding: 30rpx 30rpx 0;
  5. }
  6. .search{
  7. position: relative;
  8. }
  9. input{
  10. display: block;
  11. height: 70rpx;
  12. background: #fff;
  13. border-radius: 10rpx;
  14. width: 100%;
  15. padding: 0 16rpx;
  16. }
  17. input::placeholder{
  18. color: #CCCCCC;
  19. }
  20. .search image{
  21. width: 35rpx;
  22. position: absolute;
  23. right: 16rpx;
  24. top: 0;
  25. bottom: 0;
  26. margin: auto;
  27. }
  28. swiper{
  29. margin: 20rpx 0;
  30. width: 100%;
  31. box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.08);
  32. height: 240rpx;
  33. }
  34. swiper-item{
  35. border-radius: 20rpx;
  36. /* border: 1px solid red; */
  37. overflow: hidden;
  38. }
  39. swiper-item image{
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .wx-swiper-dots{position:relative;left: unset!important;right: 0;}
  44. .wx-swiper-dots.wx-swiper-dots-horizontal{
  45. /* margin-bottom: rpx; */
  46. }
  47. .swiper-item{
  48. position: absolute;
  49. z-index: 9;
  50. bottom: 15rpx;
  51. left: 0;
  52. color: #fff;
  53. background: #1934FD;
  54. opacity: 0.37;
  55. line-height: 58rpx;
  56. padding: 0 30rpx;
  57. }
  58. .tab{
  59. display: flex;
  60. justify-content: space-between;
  61. }
  62. .tab .active{
  63. color: #3780CD;
  64. }
  65. .content{
  66. background: #fff;
  67. border-radius: 20rpx;
  68. padding: 20rpx 25rpx;
  69. margin: 20rpx 0 0;
  70. position: relative;
  71. height: 57vh;
  72. overflow: auto;
  73. }
  74. .zm{
  75. position: fixed;
  76. width: 17rpx;
  77. right: 12rpx;
  78. top: 480rpx;
  79. bottom:40rpx;
  80. display: flex;
  81. flex-direction: column;
  82. justify-content: space-between;
  83. /* line-height: 12px; */
  84. text-align: center;
  85. }
  86. .zm view{
  87. color: #3780CD;
  88. font-size: 18rpx;
  89. }
  90. .tt{
  91. margin-bottom: 20rpx;
  92. }
  93. .list{
  94. box-shadow: 0px 2rpx 9rpx 0px rgba(0, 0, 0, 0.08);
  95. border-radius: 20rpx;
  96. display: flex;
  97. padding: 20rpx;
  98. margin-bottom: 30rpx;
  99. }
  100. .list image{
  101. width: 20%;
  102. }
  103. .list>view{
  104. width: 80%;
  105. padding-left: 20rpx;
  106. }
  107. .list .title{
  108. margin-bottom: 30rpx;
  109. text-overflow: ellipsis;
  110. overflow: hidden;
  111. white-space: nowrap;
  112. }
  113. .list text{
  114. color: #999;
  115. display: block;
  116. text-overflow: ellipsis;
  117. overflow: hidden;
  118. white-space: nowrap;
  119. }
  120. @media(max-height:667px){
  121. .zm{
  122. top: 425rpx;
  123. }
  124. }