Browse Source

手机版首页

wangshan 9 years ago
parent
commit
642adaba12

+ 0 - 3
core/src/qfw/swordfish/swordfishmanage.go

@@ -122,12 +122,9 @@ func (s *SwordFish) Wxsearchlist() error {
 
 //跳转到用户中心查询剑鱼信息列表
 func (s *SwordFish) Searchinfolist() error {
-	//moborpc := s.GetString("moborpc")
 	s_type := s.GetString("s_type")
 	s_name := s.GetString("s_name")
 	keywords := s.GetString("searchname")
-	//	if moborpc == "pc" {
-	//	}
 	if s_type == "1" {
 		s_type = "tender"
 	} else if s_type == "2" {

+ 1 - 1
core/src/timetask.json

@@ -1 +1 @@
-{"comment":{"c_rate":720,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-03-22 09:50:08"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-03-22 09:50:08"}},"marketisstart":true,"marketrate":300}
+{"comment":{"c_rate":720,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-03-22 11:15:00"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-03-22 11:15:00"}},"marketisstart":true,"marketrate":300}

+ 26 - 23
core/src/web/templates/index.html

@@ -7,38 +7,41 @@
 <meta name="Description" content="{{Msg "seo" "qfw.homepage.description"}}"/>
 <link href="{{Msg "seo" "cdn"}}/css/index-new.css" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.lazyload.min.js"></script>
-<script type="text/javascript">
-$(function(){
-	var kd = document.body.clientWidth;
-	if(kd < 760){
-		window.location.href="/front/webindexcontent/56efb9ba61fd0010d0000001.html"
-	}
-});
-</script>
+
 </head>
 <body>
 
 <!---->
 <div class="index-new-head b-head visible-xs">
-	<div style="height:25px;width:100%;background-color:#000;"></div>
-	<div class="b-nav index-new-nva">
-		<ul style="margin-left:15px;">
-			<li class="b-nav-logo index-new-nva-l"><a href="/"><img src="/images/logo.png" class="logo"></a></li>
-			
-		</ul>
+	
+	<div class="b-nav index-new-nva text-center" style="height:69px;">
+		<a href="/"><img src="/images/logo.png" class="logo"></a>
 	</div>
 </div>
-<div class="text-center visible-xs" style="margin:40px 20px 20px 20px">
-	<div>
-	 	<p>企明星为了用户有更好的使用体验,</p>
-		<p>已成功把各项功能移植到</p>
-		<p>关注企明星公众号:</p>
-		<p>qmx-cn</p>
-		<p>或扫描二维码</p>
+{{$s:=(Ad "index-center-mob" 1)}}
+	{{range $k,$v := $s}}
+<div class="text-center visible-xs" style="margin-top:10px;">
+	<div style="background-color:#fff;padding:20px;">
+	<div style="height:35px; border-bottom:1px solid #e5e6e9;padding-bottom:15px;">
+	<div style="height:20px;width:10px;background-color:#FF5A5F;float:left;"></div>
+	<div style="color:#FF5A5F;float:left;margin-left:15px;">网站介绍</div>
+	<div style="clear:both;"></div>
+	</div>
+	<div style="margin-top:20px;">
+	{{if $v.s_remark}}{{$v.s_remark}} {{end}}
+	</div>
+	</div>
+	<div  style="background-color:#fff; margin-top:10px;padding:20px;">
+	<div style="height:35px; border-bottom:1px solid #e5e6e9;padding-bottom:15px;">
+	<div style="height:20px;width:10px;background-color:#FF5A5F;float:left;"></div>
+	<div style="color:#FF5A5F;float:left;margin-left:15px;">手机体验</div>
+	<div style="clear:both;"></div>
+	</div>
+	<div style="margin-top:20px;"><img src="{{if $v.s_pic}} {{$v.s_pic}} {{else}}/images/u109.png{{end}}"></div>
+	<div style="width:100%;margin-top: 20px;" class="text-center">微信关注企明星公众号qmx-cn,体验企明星的强大功能。</div>	
 	</div>
-	<div><img src="/images/u109.png"></div>
 </div>
-
+	{{end}}
 {{include "/common/indexhead.html"}}
 <div class="a-content a-index hidden-xs">	
 	<div class="a-index-head index-new-head">

+ 6 - 7
core/src/web/templates/manage/webmobindex.html

@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>移动端首页</title>
+<title>企明星_移动端首页</title>
 {{include "/common/inc.html"}}
 <script src="{{Msg "seo" "cdn"}}/js/validform-min.js"></script>
 <style type="text/css">
@@ -27,7 +27,7 @@ body{
 	 margin-right: 0; 
      position: relative; 
      width: auto; 
-    border-top-left-radius: 8px;
+    border-radius: 4px;
 }
 </style>
 </head>
@@ -38,7 +38,7 @@ body{
 	</div>
 </div>
 <!-- 中间 -->
-<div class="row" style="padding:10px; margin:0 auto;">
+<div class="row" style="padding:10px 0px; margin:0 auto;">
 		<div id="contentindex">
 			
 			<div class="container-fluid">
@@ -51,7 +51,7 @@ body{
 	<div style="margin-top: 40px;height:35px; border-bottom:1px solid #e5e6e9;">
 	<div style="height:20px;width:10px;background-color:#FF5A5F;float:left;"></div>
 	<div style="color:#FF5A5F;float:left;margin-left:15px;">网站介绍</div>
-	<div style="both:clear;"></div>
+	<div style="clear:both;"></div>
 	</div>
 	<div  style="margin-top: 20px;">{{.T.s_content}}</div>							
 		                        </div>
@@ -66,9 +66,8 @@ body{
 
 
 </div>
-<div class="row" style="padding:0px 10px; margin:0 auto;">
+<div class="row" style="padding:0px; margin-left:auto; margin-right:auto;margin-bottom:20px;">
 		<div id="contentindex">
-			
 			<div class="container-fluid">
 				<div style="margin-top:0px;" class="row-fluid">
 					<div class="span12">		
@@ -79,7 +78,7 @@ body{
 	<div style="margin-top: 40px;height:35px; border-bottom:1px solid #e5e6e9;">
 	<div style="height:20px;width:10px;background-color:#FF5A5F;float:left;"></div>
 	<div style="color:#FF5A5F;float:left;margin-left:15px;">手机体验</div>
-	<div style="both:clear;"></div>
+	<div style="clear:both;"></div>
 	</div>
 	<div style="width:100%;    margin-top: 20px;" class="text-center"><img src="{{if .T.s_pic }}{{.T.s_pic}}{{else}}{{Msg "seo" "cdn"}}/images/u109.png{{end}}"/></div>	
 	<div style="width:100%;margin-top: 20px;" class="text-center">微信关注企明星公众号qmx-cn,体验企明星的强大功能。</div>						

+ 2 - 2
core/src/web/templates/swordfish/wxsearch.html

@@ -113,7 +113,7 @@
 		<div class="searchzhao3">
 		<span>{{.T.keywords}}</span>
 		</div>
-		<div style="both:clear;"></div>
+		<div style="clear:both"></div>
 		<input name="searchname" id="searchname1" value="" style="display:none;"/>
 		<input name="s_type" id="sea_type" value="1" style="display:none;"/>
 		<input name="s_name" id="sea_name1" value="" style="display:none;"/>
@@ -127,7 +127,7 @@
 		<div class="searchzhong3">
 		<span>{{.T.keywords}}</span>
 		</div>
-		<div style="both:clear;"></div>
+		<div style="clear:both"></div>
 		<input name="searchname" id="searchname2" value="" style="display:none;"/>
 		<input name="s_type" id="sea_type" value="2" style="display:none;"/>
 		<input name="s_name" id="sea_name2" value="" style="display:none;"/>

+ 1 - 1
core/src/web/templates/swordfish/wxsearchlist.html

@@ -286,7 +286,7 @@ body{
 直接订阅
 </div>
 
-<div style="both:clear;"></div>
+<div style="clear:both"></div>
 </div>
 
 <div class="nullcontent text-center  hidden">