微信

page.scss 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. .mainPage{
  2. .top{
  3. position: relative;
  4. overflow: hidden;
  5. // align-items: center;
  6. // background: rgba(0, 0, 0, .3);
  7. // padding: .05rem 0;
  8. // &>*{
  9. // margin-left: .05rem;
  10. // line-height: .2rem;
  11. // font-size: .12rem;
  12. // color: #fff;
  13. // }
  14. // i{
  15. // font-size: .15rem;
  16. // }
  17. // a{
  18. // color: #fb6b2f;
  19. // text-decoration: underline;
  20. // margin-left: .1rem;
  21. // }
  22. // &>*:first-child{
  23. // margin-left: .2rem;
  24. // }
  25. // &>div{
  26. // text-align: right;
  27. // margin-right: .2rem;
  28. // font-size: 0;
  29. // span{
  30. // font-size: .12rem;
  31. // color: #fff;
  32. // }
  33. // }
  34. }
  35. .content{
  36. &>div{
  37. width: 100%;
  38. position: absolute;
  39. left: 0;
  40. top: 0;
  41. bottom: 0;
  42. overflow-y: scroll;
  43. -webkit-overflow-scrolling: touch;
  44. transform: translateZ(0);
  45. -webkit-transform: translateZ(0);
  46. &>div.flex-h{
  47. &>div{
  48. margin: 0 .2rem;
  49. position: relative;
  50. overflow: visible;
  51. .areaList{
  52. &:last-child{
  53. margin-bottom: .2rem;
  54. }
  55. .title{
  56. font-size: 0;
  57. white-space: nowrap;
  58. margin-top: .22rem;
  59. *{
  60. line-height: .26rem;
  61. font-size: .14rem;
  62. }
  63. i{
  64. color: red;
  65. margin-right: .05rem;
  66. }
  67. }
  68. .subAreaList{
  69. position: relative;
  70. overflow: visible;
  71. flex-wrap: wrap;
  72. -webkit-flex-wrap: wrap;
  73. &>li{
  74. position: relative;
  75. overflow: hidden;
  76. border-radius: .06rem;
  77. background: #fff;
  78. padding: .15rem 0;
  79. box-shadow: 0 0 .1rem .01rem rgba(0, 0, 0, .1);
  80. min-width: 40%;
  81. margin-top: .2rem;
  82. align-items: center;
  83. &:nth-child(2n){
  84. margin-left: .2rem;
  85. }
  86. &.noData{
  87. box-shadow: none;
  88. background: none;
  89. }
  90. &>i{
  91. display: inline-block;
  92. position: absolute;
  93. right: .1rem;
  94. top: .05rem;
  95. font-size: .36rem;
  96. z-index: 1;
  97. color: rgba(255, 0, 0, .1);
  98. }
  99. .itemNo{
  100. width: .44rem;
  101. position: relative;
  102. overflow: hidden;
  103. margin-left: .15rem;
  104. z-index: 2;
  105. a{
  106. width: 100%;
  107. display: block;
  108. padding-bottom: 100%;
  109. box-sizing: border-box;
  110. border: .01rem solid #eee;
  111. border-radius: 100%;
  112. position: relative;
  113. overflow: hidden;
  114. div{
  115. width: 100%;
  116. text-align: center;
  117. font-size: 0;
  118. white-space: nowrap;
  119. i{
  120. display: inline-block;
  121. font-size: .13rem;
  122. color: #666;
  123. }
  124. }
  125. }
  126. }
  127. &>div.flex-item{
  128. margin: 0 .1rem;
  129. position: relative;
  130. overflow: hidden;
  131. z-index: 2;
  132. &>div{
  133. width: 100%;
  134. position: relative;
  135. overflow: hidden;
  136. span{
  137. width: 100%;
  138. display: block;
  139. overflow: hidden;
  140. text-overflow: ellipsis;
  141. white-space: nowrap;
  142. font-size: .13rem;
  143. color: #666;
  144. line-height: .24rem;
  145. }
  146. a{
  147. line-height: .22rem;
  148. color: #fb6b2f;
  149. font-size: .13rem;
  150. }
  151. }
  152. }
  153. }
  154. }
  155. }
  156. }
  157. }
  158. }
  159. }
  160. .selectCase{
  161. width: 100%;
  162. position: absolute;
  163. left: 0;
  164. top: 0;
  165. bottom: 0;
  166. background: rgba(0, 0, 0, .3);
  167. z-index: 100;
  168. }
  169. }