index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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: 280rpx;
  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. color: #3780CD;
  78. font-size: 20rpx;
  79. right: 32rpx;
  80. top: 480rpx;
  81. line-height: 12px;
  82. text-align: center;
  83. }
  84. .tt{
  85. margin-bottom: 20rpx;
  86. }
  87. .list{
  88. box-shadow: 0px 2rpx 9rpx 0px rgba(0, 0, 0, 0.08);
  89. border-radius: 20rpx;
  90. display: flex;
  91. padding: 20rpx;
  92. margin-bottom: 30rpx;
  93. }
  94. .list image{
  95. width: 20%;
  96. }
  97. .list>view{
  98. width: 80%;
  99. padding-left: 20rpx;
  100. }
  101. .list .title{
  102. margin-bottom: 30rpx;
  103. text-overflow: ellipsis;
  104. overflow: hidden;
  105. white-space: nowrap;
  106. }
  107. .list text{
  108. color: #999;
  109. display: block;
  110. text-overflow: ellipsis;
  111. overflow: hidden;
  112. white-space: nowrap;
  113. }
  114. @media(max-height:667px){
  115. .zm{
  116. top: 480rpx;
  117. }
  118. }