zhangdan 3 gadi atpakaļ
vecāks
revīzija
91ac2ad776
2 mainītis faili ar 7 papildinājumiem un 24 dzēšanām
  1. 2 1
      pages.json
  2. 5 23
      pages/sales/productPricing.vue

+ 2 - 1
pages.json

@@ -205,7 +205,8 @@
 			"style": {
 				"navigationBarTitleText": "产品报价",
 				"enablePullDownRefresh": false,
-				"navigationStyle":"custom"
+				"navigationStyle":"custom",
+				"navigationBarTextStyle": "white"
 			}
 		}
     ],

+ 5 - 23
pages/sales/productPricing.vue

@@ -1,11 +1,10 @@
 <template>
 	<view class="productPricing-content">
-		<view class="top"></view>
-		<view class="status_bar flex justify_between align_center">
-			<u-icon name="arrow-left" color="#191919" size="32" @click="toPage('/pages/sales/index')"></u-icon>
-		    <view class="title">产品报价</view>
-			<view><u-icon name="search" color="#999" size="28" @click="search"></u-icon>查询</view>
-		</view>
+		<u-navbar leftText="返回" title="产品报价" :safeAreaInsetTop="false" :border-bottom="false" @leftClick="toPage('/pages/sales/index')">
+			<view class="u-nav-slot" slot="right" style="padding-right: 20rpx;">
+				<u-icon name="search" color="#999" size="28" @click="search"></u-icon>查询
+			</view>
+		</u-navbar>
 		<view class="checkbox-price">
 			<u-checkbox-group  placement="row"  @change="checkboxChange">
 				<u-checkbox v-model="item.checked" activeColor="rgb(4, 133, 246)" v-for="(item,index) in priceList" :key="index" :name="item.name" :label="item.name">{{item.name}}</u-checkbox>
@@ -174,23 +173,6 @@
 	.productPricing-content{
 		width:100%;
 		height: 100vh;
-		.top {
-				top: var(--status-bar-height);
-			}
-		.status_bar {
-			height: 44px;
-			padding: 7px 3px;
-			width: 100%;
-			background-color: #fff;
-			text-align: center;
-			.title{
-				font-weight: 700;
-				font-size: 16px;
-			}
-			// position: fixed;
-			// top: 0px;
-			// z-index: 999;
-		}
 		.checkbox-price{
 			background-color: #fff;
 			display: flex;