Administrator 2 lat temu
rodzic
commit
ee6529f1f2

BIN
pages/images/top_nav_03.png


BIN
pages/images/top_nav_05.png


+ 5 - 4
pages/index/index.wxml

@@ -1,14 +1,15 @@
 <!--index.wxml-->
 <!-- 自定义顶部栏 -->
 <view class="nav-bar">
-  <view class="nav-barback"></view>
+ <image src="../images/top_nav_03.png"  class="nav-bar-img"/>
+<view class="nav-barback" ></view>
 </view>
 <!-- 占位,高度与顶部栏一样 -->
 <view style="height:450rpx;"></view>
 <view class="container">
-  <view class="bg">
-    <image src="../images/top_bg.png" class="img" mode="widthFix" />
-  </view>
+<view class="bg">
+  <image src="../images/top_nav_05.png" class="img" mode="widthFix" />
+</view>
 
   <!-- 头部图片 -->
   <view class="head_banner wid15"></view>

+ 8 - 5
pages/index/index.wxss

@@ -27,8 +27,7 @@ page{
   
   }
   .nav-barback{
-    background: -webkit-linear-gradient(top, rgb(255, 123, 0), rgb(249, 75, 14));
-  width: 100%;
+    width: 100%;
   position: relative;
   top: 0;
   z-index: 10001;
@@ -37,13 +36,17 @@ page{
   color: #fff;
   font-size: 38rpx;
   }
+  .nav-bar-img{
+    width: 100%;
+    height: 100%;
+  }
   .nav-bar .search {
   width: 60%;
   color: #333;
   font-size: 14px;
   background: #fff;
   position: absolute;
-  border-radius: 50px;
+  border-radius: 100px;
   background: rgb(255, 255, 255);
   padding-left: 14px;
   z-index: 10002;
@@ -55,11 +58,11 @@ page{
   top:0rpx;
   width: 100%;
   z-index: -1;
-  background:#f94b0e;
+  background-color: #fb4514;
 }
 .bg .img{
   height: auto;
-  margin-top: 180rpx;
+  margin-top: 158rpx;
 }
 .head_banner .img{
   height: auto;

+ 1 - 1
pages/xunjian/xunjian.wxss

@@ -9,7 +9,7 @@
   padding-left: 30rpx;
 }
 .xj_nav .nav_text1{
-  font-size: 40rpx;
+  font-size: 38rpx;
   color:#f94b0e ;
   font-weight: bolder;
 }