Procházet zdrojové kódy

50强企业添加搜索

yin_yu820 před 8 hodinami
rodič
revize
21a0fed741
1 změnil soubory, kde provedl 66 přidání a 4 odebrání
  1. 66 4
      jp-mobile/pages/buildList/buildList.vue

+ 66 - 4
jp-mobile/pages/buildList/buildList.vue

@@ -129,7 +129,33 @@
 				</view>
 				
 				<view class="search-box" v-if="showMoreFilters" >
-					<view class="search-box1">
+					
+					<!-- 专门50强企业搜索 -->
+					<view class="search-box1" v-if="show50search">
+						<view class="choose-box22">
+										
+														
+							
+							<jp-picker2 class="choose-boxp2" v-model="searchForm.des1" empty="选择属地" rangeKey="label" rangeValue="value"
+								:range="parkList2"  >						
+							</jp-picker2>
+							
+							
+						</view>
+						<view class="choose-box23">
+							
+							<view style="width: 520rpx;margin-left: 30rpx;">
+								<input type="text"  placeholder="输入产品或企业名称" v-model="searchForm.name" confirm-type="search"
+								></input>
+							</view>
+							
+							<text style="padding-left: 40rpx;flex: 1;padding-right: 20rpx;" class="cuIcon-search color-white" @click="doSearch"></text>
+							
+						</view>
+					</view>
+					
+					
+					<view class="search-box1" v-if="!show50search">
 						<view class="choose-box">
 												
 							<input type="text"  placeholder="输入或选择属地" v-model="searchForm.des1" confirm-type="search" style="padding-left: 28rpx;"
@@ -151,7 +177,7 @@
 						</view>
 					</view>
 					
-					<view class="choose-box2" style="margin-top: 20rpx;">
+					<view class="choose-box2" style="margin-top: 20rpx;" v-if="!show50search">
 						<view class="choose-box3">
 												
 							<!-- <view style="width: 520rpx;">
@@ -181,7 +207,7 @@
 						
 					</view>
 							
-					<view class="choose-box2" style="margin-top: 20rpx;">
+					<view class="choose-box2" style="margin-top: 20rpx;" v-if="!show50search">
 						<view style="width: 520rpx;">
 							<input type="text"  placeholder="输入关键词产品或企业名称" v-model="searchForm.name" confirm-type="search"
 							></input>
@@ -271,8 +297,9 @@
 				isLogin:"",
 				pageInfo: {},
 				loginid:"",
-				showMoreFilters: false,
+				showMoreFilters: false,				
 				isshowMoreFilters: true,
+				show50search: false,
 				tabs: [
 						{ name: '全部' },
 				        { name: '三大新兴产业' },
@@ -352,6 +379,12 @@
 					this.searchForm.totalNumber="";					
 					this.isshowMoreFilters=false;
 					this.title="双50强企业";
+					
+					
+					//显示筛选,但只搜索属地和企业名称
+					this.isshowMoreFilters=false;
+					this.showMoreFilters=true;
+					this.show50search=true;
 				}	
 			}			
 		},
@@ -1024,6 +1057,30 @@
 		margin-right: 20rpx;
 		border: 1rpx  solid #808080;
 	}
+	.choose-box22{
+		background: #fff;
+		width: 200rpx;
+		border-radius: 23rpx;
+		height: 70rpx;
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		margin-right: 20rpx;
+		padding-left: 18rpx;
+		border: 1rpx  solid #808080;
+	}
+	
+	.choose-box23{
+		background: #fff;
+		width: 450rpx;
+		border-radius: 23rpx;
+		height: 70rpx;
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		margin-right: 20rpx;
+		border: 1rpx  solid #808080;
+	}
 	
 	.choose-box2{
 		background: #fff;
@@ -1045,6 +1102,11 @@
 		width: 80rpx;
 	}
 	
+	.choose-boxp2{
+		font-size: 32rpx;
+		width: 180rpx;
+	}
+	
 	.fixed-bottom-right {
 		padding: 20rpx;
 	  position: fixed;