info.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. @import 'global.scss';
  2. .banner{
  3. img{
  4. width:100%;
  5. }
  6. }
  7. .info{
  8. position: relative;
  9. margin-top:40px;
  10. margin-bottom:60px;
  11. @media(min-width:768px){
  12. margin-top:50px;
  13. margin-bottom: 90px;
  14. }
  15. @media(min-width:1200px){
  16. margin-top:80px;
  17. margin-bottom: 120px;
  18. }
  19. h2.title{
  20. font-size: 20px;
  21. display: inline-block;
  22. @media(min-width:768px){
  23. font-size: 20px;
  24. }
  25. color: $color;
  26. i{
  27. margin-left: 5px;
  28. display: inline-block;
  29. width:11px;
  30. height:11px;
  31. background: url("/assets/image/filter.png") no-repeat center;
  32. }
  33. &.open-mask{
  34. padding: 0 15px;
  35. margin-bottom: 40px;
  36. }
  37. }
  38. .left{
  39. position: fixed;
  40. top: 0;
  41. left: 0;
  42. right: 0;
  43. bottom: 0;
  44. background: #f8f8f8;
  45. z-index: 1010;
  46. padding: 30px;
  47. overflow: auto;
  48. transform: translateX(100%);
  49. background: #eee;
  50. -webkit-overflow-scrolling: touch;
  51. float: none;
  52. &.showIn{
  53. transform: translateX(0);
  54. }
  55. transition: all .5s ease;
  56. @media(min-width:768px){
  57. z-index: 1;
  58. bottom: auto;
  59. position: relative;
  60. float: left;
  61. width:250px;
  62. background: #fff;
  63. padding:0 30px 0 0;
  64. transform: translateX(0);
  65. }
  66. h2.title{
  67. display: inline-block;
  68. }
  69. .ul-box{
  70. margin-top: 25px;
  71. }
  72. ul{
  73. li{
  74. // margin: 15px 0;
  75. @media(min-width:768px){
  76. padding: 3px 0;
  77. }
  78. a{
  79. display: block;
  80. color:#666;
  81. font-size: 16px;
  82. padding: 10px 0;
  83. @media(min-width:768px){
  84. padding: 5px 0;
  85. font-size: 14px;
  86. }
  87. &.cur{
  88. i{
  89. top:-3px;
  90. @include setArrow(6px,#666,1px,bottom);
  91. }
  92. }
  93. &.active{
  94. color: $color;
  95. &>i{
  96. border-color: $color;
  97. }
  98. }
  99. i{
  100. top: -1px;
  101. position: relative;
  102. margin-left: 6px;
  103. @include setArrow(6px,#666,1px,left);
  104. }
  105. }
  106. ul{
  107. display: none;
  108. li{
  109. padding-left:20px;
  110. }
  111. }
  112. &.cur>a{
  113. color: $color;
  114. i{
  115. border-color: $color;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. .right{
  122. padding: 0 15px;
  123. @media(min-width:768px){
  124. margin-left: 250px;
  125. }
  126. h2{
  127. color: $color;
  128. font-size: 24px;
  129. padding-bottom: 15px;
  130. border-bottom: 1px solid $color;
  131. @media(min-width:768px){
  132. font-size: 32px;
  133. }
  134. @media(min-width:1200px){
  135. font-size: 48px;
  136. }
  137. }
  138. ul{
  139. margin-top: 10px;
  140. li{
  141. a{
  142. transition: all .5s ease;
  143. position: relative;
  144. display: block;
  145. border-bottom: 1px dashed #dddddd;
  146. padding: 15px 0;
  147. color: #666;
  148. &:after{
  149. content:"";
  150. display: block;
  151. clear: right;
  152. }
  153. &:hover,&:active{
  154. color: #000;
  155. padding-left: 10px;
  156. }
  157. span{
  158. display: block;
  159. float: left;
  160. color: #555;
  161. font-size: 15px;
  162. @media(min-width:768px){
  163. font-size: 16px;
  164. }
  165. }
  166. em{
  167. float: right;
  168. color: #999;
  169. margin-top: 3px;
  170. font-size: 12px;
  171. @media(min-width:768px){
  172. font-size: 14px;
  173. }
  174. }
  175. }
  176. }
  177. }
  178. }
  179. }
  180. .info-detail{
  181. padding:10px 20px;
  182. h4{
  183. padding: 20px 0;
  184. font-size: 20px;
  185. }
  186. .con{
  187. line-height: 2;
  188. font-size: 14px;
  189. }
  190. }