index.wxss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. page{
  2. /* background: linear-gradient(#f94b0e,#fff); */
  3. background: #f2f2f2;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: flex-start;
  7. }
  8. .img {
  9. width: 100%;
  10. }
  11. .container{
  12. background: #fff;
  13. border-top-left-radius: 45rpx;
  14. }
  15. /* 导航 */
  16. .nav-bar {
  17. position: fixed;
  18. width: 100%;
  19. top: 0;
  20. color: rgb(255, 255, 255);
  21. /* background: rgb(255, 255, 255); */
  22. z-index: 10000;
  23. height: 160rpx;
  24. text-align: center;
  25. }
  26. .nav-barback{
  27. width: 100%;
  28. position: relative;
  29. top: 0;
  30. z-index: 10001;
  31. height: 160rpx;
  32. line-height: 230rpx;
  33. color: #fff;
  34. font-size: 38rpx;
  35. }
  36. .nav-bar-img{
  37. width: 100%;
  38. height: 100%;
  39. }
  40. .nav-bar .search {
  41. width: 60%;
  42. color: #333;
  43. font-size: 14px;
  44. background: #fff;
  45. position: absolute;
  46. border-radius: 100px;
  47. background: rgb(255, 255, 255);
  48. padding-left: 14px;
  49. z-index: 10002;
  50. }
  51. .bg{
  52. height: 500rpx;
  53. position: absolute;
  54. top:0rpx;
  55. width: 100%;
  56. z-index: -1;
  57. background-color: #fb4514;
  58. }
  59. .bg .img{
  60. height: auto;
  61. margin-top: 158rpx;
  62. }
  63. .head_banner .img{
  64. height: auto;
  65. border: 0px;
  66. border-radius: 10rpx;
  67. }
  68. .nav {
  69. display: flex;
  70. flex-direction: row;
  71. padding: 60rpx 30rpx 20rpx 30rpx;
  72. justify-content:space-around;
  73. }
  74. .nav .item{
  75. display: flex;
  76. flex-direction: column;
  77. text-align: center;
  78. }
  79. .nav .item text{
  80. margin-top: 10rpx;
  81. font-size: 34rpx;
  82. color: rgba(0, 0, 0, 0.9);
  83. }
  84. .nav .item .img{
  85. width: 100rpx;
  86. height: 100rpx;
  87. }
  88. /* 新手指南 使用攻略 */
  89. .top_banner{
  90. background: #fff;
  91. width: auto;
  92. text-align: center;
  93. display: grid;
  94. padding: 20rpx 0;
  95. position: relative;
  96. }
  97. .top_banner p{
  98. font-size: 20rpx;
  99. height: 60rpx;
  100. line-height: 60rpx;
  101. color: rgba(0, 0, 0, 0.5);
  102. padding-top: 20rpx;
  103. }
  104. .top_banner h1{
  105. font-size: 55rpx;
  106. height: 60rpx;
  107. line-height: 60rpx;
  108. color: rgba(0, 0, 0, 0.9);
  109. font-weight: 500;
  110. }
  111. .top_banner span{
  112. font-size: 20rpx;
  113. height: 40rpx;
  114. line-height: 40rpx;
  115. color: #d2d2d2;
  116. }
  117. .top_banner_btn{
  118. position: absolute;
  119. top:3%;
  120. padding: 0;
  121. margin: 0;
  122. display: grid;
  123. justify-content:space-around;
  124. background: none;
  125. }
  126. .top_banner .xszn{
  127. left:10% ;
  128. top:43%;
  129. }
  130. .top_banner .sygl{
  131. right:10% ;
  132. top:44%;
  133. }
  134. .top_banner .xszn span{
  135. background-image:-webkit-linear-gradient(right,#ff2e56,#d260a8);
  136. color: #fff;
  137. padding: 5rpx 20rpx;
  138. border-radius: 50rpx;
  139. font-size: 26rpx;
  140. }
  141. .top_banner .xszn i{
  142. color: rgb(14, 211, 211);
  143. font-size: 24rpx;
  144. padding: 8rpx 0;
  145. }
  146. .top_banner .sygl span{
  147. border-radius: 50rpx;
  148. border: 4rpx solid #3076f7;
  149. color: #3076f7;
  150. padding: 5rpx 20rpx;
  151. font-size: 24rpx;
  152. }
  153. .tzgg{
  154. display: flex;
  155. flex-direction: row;
  156. align-items: center;
  157. height: 120rpx;
  158. line-height: 120rpx;
  159. padding: 0rpx 30rpx;
  160. border-bottom: 2px solid #eee;
  161. }
  162. .tzgg .img{
  163. width: 10%;
  164. margin-right: 20rpx;
  165. display: flex;
  166. align-items: center;
  167. justify-content: center;
  168. }
  169. .tzgg .img image{
  170. width: 60rpx;
  171. height: 60rpx;
  172. }
  173. .tzgg b{
  174. font-size: 32rpx;
  175. color: #181818;
  176. padding-right: 5rpx;
  177. }
  178. .tzgg text{
  179. width: 75%;
  180. font-size: 32rpx;
  181. color: #181818;
  182. overflow: hidden;
  183. white-space: nowrap;
  184. text-overflow: ellipsis;
  185. }
  186. .tzgg .more{
  187. width: 15%;
  188. margin-left:auto;
  189. font-size: 28rpx;
  190. color: #7b7b7b;
  191. text-align: right;
  192. }
  193. .con_banner .img{
  194. height: auto;
  195. }
  196. .yjtd_vi{
  197. display: flex;
  198. flex-direction: column;
  199. }
  200. .yjtd_vi .tittle{
  201. display: flex;
  202. flex-direction: row;
  203. align-items: center;
  204. height: 100rpx;
  205. line-height: 100rpx;
  206. border-bottom: 2rpx solid #f5f5f5;
  207. }
  208. .yjtd_vi .tittle .img{
  209. width: 60rpx;
  210. height: 60rpx;
  211. padding: 5rpx 14rpx;
  212. }
  213. .yjtd_vi .tittle span{
  214. font-size: 38rpx;
  215. color: #181818;
  216. margin-right: 30rpx;
  217. font-weight: 500;
  218. }
  219. .yjtd_vi .tittle u{
  220. font-size: 26rpx;
  221. color: #7b7b7b;
  222. }
  223. .yjtd_icon{
  224. display: flex;
  225. flex-direction: row;
  226. flex-wrap: wrap;
  227. padding: 20rpx 20rpx;
  228. }
  229. .yjtd_icon .icon_vi{
  230. display: flex;
  231. flex-direction: column;
  232. align-items: center;
  233. margin:20rpx 29.9rpx;
  234. }
  235. .yjtd_icon .icon_vi .icon_bg{
  236. width: 120rpx;
  237. height: 120rpx;
  238. border-radius: 50%;
  239. }
  240. .yjtd_icon .icon_vi .icon_bg i{
  241. color: #fff;
  242. align-items: center;
  243. font-size: 70rpx;
  244. justify-content:center;
  245. align-items: stretch;
  246. display: flex;
  247. line-height: 120rpx;
  248. }
  249. .yjtd_icon .icon_vi .icon_xg{
  250. background: #ffb05b;
  251. }
  252. .yjtd_icon .icon_vi .icon_xj{
  253. background: #6467f0;
  254. }
  255. .yjtd_icon .icon_vi .icon_yj{
  256. background: #07c160;
  257. }
  258. .yjtd_icon .icon_vi .icon_hy{
  259. background: #fa5151;
  260. }
  261. .yjtd_icon .icon_vi .icon_wz{
  262. background: #95ec69;
  263. }
  264. .yjtd_icon .icon_vi .icon_ck{
  265. background: #1485ee;
  266. }
  267. .yjtd_icon .icon_vi .icon_dw{
  268. background: #ffc300;
  269. }
  270. .yjtd_icon .icon_vi text{
  271. font-size: 34rpx;
  272. height: 80rpx;
  273. line-height: 80rpx;
  274. color: #181818;
  275. }
  276. /* 轮播图 */
  277. swiper {
  278. height: 200rpx;
  279. width: 100%;
  280. }
  281. swiper-item {
  282. height: 100%;
  283. width: 100%;
  284. }
  285. .slide-image{
  286. height: 100%;
  287. width: 100%;
  288. }
  289. .fg_line{
  290. width: 100%;
  291. height: 20rpx;
  292. }
  293. .fg_line image{
  294. width: 100%;
  295. height: 100%;
  296. }