index.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /* pages/channel/index/index.wxss */
  2. .switch_section{
  3. width: 100%;
  4. display: inline-block;
  5. background-color:#fff;
  6. position:relative;
  7. }
  8. .switch_section::before {
  9. content: " ";
  10. position: absolute;
  11. left: 0;
  12. top: 0;
  13. right: 0;
  14. height: 1px;
  15. border-top: 1px solid #D9D9D9;
  16. color: #D9D9D9;
  17. -webkit-transform-origin: 0 0;
  18. transform-origin: 0 0;
  19. -webkit-transform: scaleY(0.5);
  20. transform: scaleY(0.5);
  21. }
  22. .switch_section::after {
  23. content: " ";
  24. position: absolute;
  25. left: 0;
  26. bottom: 0;
  27. right: 0;
  28. height: 1px;
  29. border-bottom: 1px solid #D9D9D9;
  30. color: #D9D9D9;
  31. -webkit-transform-origin: 0 100%;
  32. transform-origin: 0 100%;
  33. -webkit-transform: scaleY(0.5);
  34. transform: scaleY(0.5);
  35. }
  36. .switch_view{
  37. padding-left:30rpx;
  38. padding-right:30rpx;
  39. height: 40px;
  40. position: relative;
  41. }
  42. .switch_view::before {
  43. content: " ";
  44. position: absolute;
  45. top: 0;
  46. right: 0;
  47. height: 1px;
  48. border-top: 1px solid #D9D9D9;
  49. color: #D9D9D9;
  50. -webkit-transform-origin: 0 0;
  51. transform-origin: 0 0;
  52. -webkit-transform: scaleY(0.5);
  53. transform: scaleY(0.5);
  54. left: 15px;
  55. }
  56. .switch_text{
  57. float:left;
  58. display: inline-block;
  59. font-size:32rpx;
  60. color:#000;
  61. margin-right:16rpx;
  62. height:40px;
  63. line-height: 40px;
  64. }
  65. switch{
  66. float:right;
  67. margin-top: 4px;
  68. }
  69. .section__title {
  70. margin-bottom:16rpx;
  71. padding-left:30rpx;
  72. padding-right:30rpx;
  73. color:#999999;
  74. font-size:14px;
  75. }
  76. .button-wrapper{
  77. margin:0;
  78. /*margin-bottom:1.8em;*/
  79. /*width:150px;*/
  80. float:left;
  81. }
  82. .button {
  83. position:relative;
  84. display:block;
  85. margin-left:auto;
  86. margin-right:auto;
  87. padding-left:14px;
  88. padding-right:14px;
  89. box-sizing:border-box;
  90. /*font-size:18px;*/
  91. text-align:center;
  92. text-decoration:none;
  93. line-height:2.55555556;
  94. border-radius:30px;
  95. -webkit-tap-highlight-color:transparent;
  96. overflow:hidden;
  97. color:#fff;
  98. /*width:200px;*/
  99. background-color: #50B7E3;
  100. border:0px solid #AAAAAA;
  101. font-size: 14px;
  102. padding-bottom:1px;
  103. padding-top:1px;
  104. }
  105. .section {
  106. margin-bottom:10rpx;
  107. }
  108. .article{
  109. padding:50px 40px;
  110. }
  111. .article text{
  112. line-height: 25px;
  113. font-size:16px;
  114. color: #fff;
  115. }
  116. .active{
  117. position: fixed;
  118. width: 100%;
  119. height:100%;
  120. top:0;
  121. left:0;
  122. background-color: rgba(0, 0, 0, 1);
  123. overflow-y:auto;
  124. }
  125. .item{
  126. width:16%;
  127. display: inline-block;
  128. float:left;
  129. margin-right:4%;
  130. margin-bottom:10px;
  131. }
  132. .item:nth-child(5n){
  133. margin-right:0;
  134. }
  135. .item image{
  136. width:100%;
  137. }
  138. .weui-loadmore {
  139. width: 65%;
  140. margin: 1.5em auto;
  141. line-height: 1.6em;
  142. font-size: 14px;
  143. text-align: center;
  144. }
  145. .weui-loading {
  146. width: 20px;
  147. height: 20px;
  148. display: inline-block;
  149. vertical-align: middle;
  150. -webkit-animation: weuiLoading 1s steps(12, end) infinite;
  151. animation: weuiLoading 1s steps(12, end) infinite;
  152. background: transparent url(http://www.ibanling.com/h5/gate/images/loading.svg) no-repeat;
  153. background-size: 100%;
  154. }
  155. .weui-loadmore__tips {
  156. display: inline-block;
  157. vertical-align: middle;
  158. }
  159. @-webkit-keyframes weuiLoading {
  160. 0% {
  161. transform: rotate3d(0, 0, 1, 0deg);
  162. }
  163. 100% {
  164. transform: rotate3d(0, 0, 1, 360deg);
  165. }
  166. }
  167. @keyframes weuiLoading {
  168. 0% {
  169. transform: rotate3d(0, 0, 1, 0deg);
  170. }
  171. 100% {
  172. transform: rotate3d(0, 0, 1, 360deg);
  173. }
  174. }
  175. .weui-loadmore_line {
  176. border-top: 1px solid #E5E5E5;
  177. margin-top: 2.4em;
  178. }
  179. .weui-loadmore_line .weui-loadmore__tips {
  180. position: relative;
  181. top: -0.9em;
  182. padding: 0 .55em;
  183. background-color: #000;
  184. color: #999999;
  185. }