Selaa lähdekoodia

首页的头部导航换成原生的,统一导航的样式

cxmo 2 vuotta sitten
vanhempi
commit
89fecaa9e4
3 muutettua tiedostoa jossa 5 lisäystä ja 6 poistoa
  1. 1 2
      pages.json
  2. 1 1
      pages/question/question.vue
  3. 3 3
      pages/report/report.vue

+ 1 - 2
pages.json

@@ -3,8 +3,7 @@
 		{
 			"path": "pages/report/report",
 			"style": {
-				"navigationBarTitleText": "报告",
-				"navigationStyle": "custom",
+				"navigationBarTitleText": "FICC研报",
 				"enablePullDownRefresh": true
 			}
 		},

+ 1 - 1
pages/question/question.vue

@@ -230,7 +230,7 @@ page {
 		left: 0;
 		margin:0 -30rpx;
 		z-index: 99;
-		border-top: 1rpx solid rgba(0, 0, 0, 0.1);
+		/* border-top: 1rpx solid rgba(0, 0, 0, 0.1); */
 		.text{
 			width:240rpx;
 			height:70rpx;

+ 3 - 3
pages/report/report.vue

@@ -2,12 +2,12 @@
   <view class="report-page">
     <view class="top-sticky" style="background: #fff">
     <!-- 导航 -->
-    <view class="nav-bar-wrap" :style="{height:navBarStyle.height,paddingTop:navBarStyle.paddingTop,paddingBottom:navBarStyle.paddingBottom}">
+    <!-- <view class="nav-bar-wrap" :style="{height:navBarStyle.height,paddingTop:navBarStyle.paddingTop,paddingBottom:navBarStyle.paddingBottom}">
       <view class="content">
-        <!-- <van-icon custom-class="search-icon" name="search" size="24px" @click="goSearch" /> -->
+        <van-icon custom-class="search-icon" name="search" size="24px" @click="goSearch" />
         <view class="text">FICC研报</view>
       </view>
-    </view>
+    </view> -->
     <!-- 分类 -->
     <view class="type-wrap">
       <view style="display:flex;align-items: center;margin-bottom: 20rpx;">