index.wxss 2.5 KB

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