微信

page.scss 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. .mainPage{
  2. &>div.flex-item{
  3. position: relative;
  4. z-index: 1;
  5. .banner{
  6. width: 100%;
  7. position: relative;
  8. overflow: hidden;
  9. padding-bottom: 35%;
  10. background: #eee;
  11. img{
  12. z-index: 1;
  13. }
  14. .bannerInfo{
  15. width: 100%;
  16. position: absolute;
  17. left: 0;
  18. bottom: 0;
  19. z-index: 2;
  20. &>div{
  21. margin-left: .2rem;
  22. &>div{
  23. width: 100%;
  24. font-size: 0;
  25. white-space: nowrap;
  26. span{
  27. overflow: hidden;
  28. text-overflow: ellipsis;
  29. white-space: nowrap;
  30. font-size: .15rem;
  31. color: #fff;
  32. line-height: .4rem;
  33. }
  34. }
  35. }
  36. &>span{
  37. font-size: .15rem;
  38. color: #fff;
  39. line-height: .4rem;
  40. margin-right: .2rem;
  41. margin-left: .1rem;
  42. }
  43. }
  44. }
  45. .tableInfo{
  46. align-items: center;
  47. border-bottom: .01rem solid #eee;
  48. &>div{
  49. margin-left: .2rem;
  50. &>div{
  51. width: 100%;
  52. position: relative;
  53. overflow: hidden;
  54. font-size: 0;
  55. white-space: nowrap;
  56. text-overflow: ellipsis;
  57. span{
  58. display: inline-block;
  59. line-height: .4rem;
  60. font-size: .13rem;
  61. margin-right: .1rem;
  62. }
  63. }
  64. }
  65. &>a{
  66. line-height: .22rem;
  67. font-size: .13rem;
  68. color: #fc6243;
  69. border: .01rem solid #fc6243;
  70. border-radius: .04rem;
  71. padding: 0 .05rem;
  72. margin-right: .2rem;
  73. }
  74. }
  75. .content{
  76. .slideMenus{
  77. width: 24%;
  78. min-width: .9rem;
  79. position: relative;
  80. overflow: hidden;
  81. &>div{
  82. width: 100%;
  83. position: absolute;
  84. left: 0;
  85. top: 0;
  86. bottom: 0;
  87. overflow-y: scroll;
  88. -webkit-overflow-scrolling: touch;
  89. transform: translateZ(0);
  90. -webkit-transform: translateZ(0);
  91. background: #f7f7f7;
  92. ul{
  93. width: 100%;
  94. overflow: hidden;
  95. position: relative;
  96. &>li{
  97. width: 100%;
  98. position: relative;
  99. overflow: hidden;
  100. padding: .18rem 0;
  101. &.active{
  102. background: #fff;
  103. }
  104. span{
  105. width: 100%;
  106. display: block;
  107. text-align: center;
  108. line-height: .22rem;
  109. font-size: .14rem;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. &>div.flex-item{
  116. &>div{
  117. width: 100%;
  118. position: absolute;
  119. left: 0;
  120. top: 0;
  121. bottom: 0;
  122. overflow: hidden;
  123. &>div{
  124. width: 100%;
  125. position: absolute;
  126. left: 0;
  127. top: 0;
  128. bottom: 0;
  129. overflow: hidden;
  130. &>div{
  131. &>.swiper-slide{
  132. &>div{
  133. width: 100%;
  134. position: absolute;
  135. left: 0;
  136. top: 0;
  137. bottom: 0;
  138. overflow: hidden;
  139. &>h4{
  140. width: 100%;
  141. display: block;
  142. line-height: .24rem;
  143. font-size: .11rem;
  144. text-indent: .1rem;
  145. margin-top: .1rem;
  146. }
  147. &>div{
  148. &>div{
  149. width: 100%;
  150. position: absolute;
  151. left: 0;
  152. top: 0;
  153. bottom: 0;
  154. overflow: hidden;
  155. &>div{
  156. width: 100%;
  157. position: absolute;
  158. left: 0;
  159. top: 0;
  160. bottom: 0;
  161. .swiper-slide{
  162. height: auto !important;
  163. padding: 0;
  164. position: relative;
  165. &::after{
  166. content: '';
  167. width: 100%;
  168. height: .01rem;
  169. background: #eee;
  170. position: absolute;
  171. left: 0;
  172. bottom: 0;
  173. z-index: 1;
  174. }
  175. &::before{
  176. content: '';
  177. width: .36rem;
  178. height: .01rem;
  179. background: #fff;
  180. position: absolute;
  181. left: 0;
  182. bottom: 0;
  183. z-index: 2;
  184. }
  185. }
  186. }
  187. }
  188. }
  189. .menuItem{
  190. width: 100%;
  191. position: relative;
  192. overflow: hidden;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. }
  199. }
  200. }
  201. }
  202. &>div.flex-h{
  203. padding: .1rem 0;
  204. box-shadow: 0 0 .1rem .01rem rgba(0, 0, 0, .05);
  205. position: relative;
  206. z-index: 100;
  207. a{
  208. line-height: .4rem;
  209. background: #fc6243;
  210. color: #fff;
  211. padding: 0 .5rem;
  212. border-radius: .4rem;
  213. font-size: .15rem;
  214. margin-right: .2rem;
  215. }
  216. div{
  217. font-size: 0;
  218. white-space: nowrap;
  219. span{
  220. display: inline-block;
  221. line-height: .4rem;
  222. vertical-align: middle;
  223. font-size: .13rem;
  224. margin-left: .05rem;
  225. &:first-child{
  226. margin-left: .2rem;
  227. }
  228. &:nth-child(2){
  229. font-size: .18rem;
  230. }
  231. }
  232. i{
  233. display: inline-block;
  234. line-height: .4rem;
  235. vertical-align: middle;
  236. font-size: .13rem;
  237. margin-left: .1rem;
  238. }
  239. }
  240. }
  241. .successPopup{
  242. width: 100%;
  243. height: 100%;
  244. position: fixed;
  245. top: 0;
  246. left: 0;
  247. z-index: 2;
  248. background: rgba(0, 0, 0, .35);
  249. >div{
  250. position: absolute;
  251. top: 50%;
  252. left: 50%;
  253. transform: translate(-50%,-50%);
  254. width: 2.6rem;
  255. height: 1.7rem;
  256. background:rgba(255,255,255,1);
  257. box-shadow:0px 2px 4px 0px rgba(194,194,194,0.5);
  258. border-radius:4px;
  259. display: flex;
  260. flex-flow: column nowrap;
  261. justify-content: center;
  262. align-items: center;
  263. padding: .2rem;
  264. i{
  265. color: #000;
  266. font-size: .36rem;
  267. margin-bottom: .2rem;
  268. }
  269. .text{
  270. font-size: .16rem;
  271. margin-bottom: .2rem;
  272. }
  273. .back{
  274. padding: .07rem .3rem;
  275. border: 1px solid black;
  276. border-radius: 4px;
  277. }
  278. }
  279. }
  280. }