maxiaoshan 8 år sedan
förälder
incheckning
4821d5059f
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      src/jfw/front/entsearch.go
  2. 2 2
      src/web/templates/pc/biddingsearch_enterprise.html

+ 2 - 2
src/jfw/front/entsearch.go

@@ -29,7 +29,7 @@ func (e *Entsearch) Bidsearchforent() error {
 	area := e.GetString("area")
 	pricetype := e.GetString("pricetype")
 	minprice, _ := strconv.ParseFloat(e.GetString("minprice"), 64)
-	maxprice, _ := strconv.ParseFloat(e.GetString("minprice"), 64)
+	maxprice, _ := strconv.ParseFloat(e.GetString("maxprice"), 64)
 	if pricetype == "y" {
 		//搜索minprice和maxprice价格区间的数据
 	}
@@ -85,7 +85,7 @@ func (e *Entsearch) PcSearchZbqyAjax() error {
 	area := e.GetString("area")
 	pricetype := e.GetString("pricetype")
 	minprice, _ := strconv.ParseFloat(e.GetString("minprice"), 64)
-	maxprice, _ := strconv.ParseFloat(e.GetString("minprice"), 64)
+	maxprice, _ := strconv.ParseFloat(e.GetString("maxprice"), 64)
 
 	if pricetype == "y" {
 		//搜索minprice和maxprice价格区间的数据

+ 2 - 2
src/web/templates/pc/biddingsearch_enterprise.html

@@ -168,10 +168,10 @@
 					</div>
 					<!--搜索-->
 					<div class="searchInput clearfix">
-						<form action="/jylab/bidsearchforent" method="post" id="zbSeatchT" class="clearfix" onsubmit="return true">
+						<form action="/jylab/bidsearchforent.html" method="post" id="zbSeatchT" class="clearfix" onsubmit="return true">
 							<input class="searchname" autocomplete="off" type="search" name="keywords" id="searchinput" value="{{.T.searchvalue}}" placeholder="高速公路" />
 
-							<input type="button" class="searchBtn" value="搜索" />
+							<input type="submit" class="searchBtn" value="搜索" />
 							<!--<div class="searchSlideText">
 								<ul>
 									<li>大连<i>万达集团</i>股份有限公司北京投资管理分公司</li>