Bladeren bron

手机版首页

wangshan 9 jaren geleden
bovenliggende
commit
d4709c9a0b

+ 5 - 0
core/src/qfw/mobile/index.go

@@ -20,3 +20,8 @@ func (m *Mobile) Index(code string) {
 		m.Render("mobile/index.html", &xweb.T{"code": code})
 	}
 }
+
+//手机首页
+func (m *Mobile) Mobileindex() error {
+	return m.Render("/mobile/mobileindex.html")
+}

+ 1 - 0
core/src/qfw/mobile/mobile.go

@@ -23,6 +23,7 @@ type Mobile struct {
 	wxpushListInfo xweb.Mapper `xweb:"/wxpush/bidinfo/(.*)"`       //推送列表
 	wxpushAjaxReq  xweb.Mapper `xweb:"/wxpush/bid/ajaxReq"`
 	wxpushView     xweb.Mapper `xweb:"/wxpush/bid/wxpushview/(.*)"` //推送结果预览
+	mobileindex    xweb.Mapper `xweb:"/mobile/mobileindex"`
 }
 
 func init() {

+ 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-03 15:02:55"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-03-03 15:02:55"}},"marketisstart":true,"marketrate":300}
+{"comment":{"c_rate":720,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-03-03 17:29:17"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-03-03 17:29:17"}},"marketisstart":true,"marketrate":300}

+ 39 - 0
core/src/web/templates/mobile/mobileindex.html

@@ -0,0 +1,39 @@
+
+<html>
+<head>
+<title>企明星_手机版首页</title>
+{{include "/common/inc.html"}}
+<meta name="Keywords" content="企明星 企业 企业服务网 企业社区 企业服务 企业目录 信用 信用查询 公司查询 法人代表 微官网"/>
+<meta name="Description" content="企明星是一款面向企业和个人提供服务的互联网产品,提供企业社区(企业产品服务信息发布、企业信息查询、企业关系网)、微官网、企业关系网、政策法规查询。"/>
+<style type="text/css">
+body{
+	background-color:#F0F0F0;
+}
+.b-nav {
+    border-top-color: #FF5A5F;
+}
+</style>
+</head>
+<body>
+<!---->
+<div class="index-new-head b-head">
+	<div style="height:25px;width:100%;background-color:#000;"></div>
+	<div class="b-nav index-new-nva">
+		<ul>
+			<li class="b-nav-logo index-new-nva-l"><a href="/"><img src="/images/logo.png" class="logo"></a></li>
+			
+		</ul>
+	</div>
+</div>
+<div class="text-center" style="margin:40px 20px 20px 20px">
+	<div>
+	 	<p>企明星为了用户有更好的使用体验,</p>
+		<p>已成功把各项功能移植到</p>
+		<p>关注企明星公众号:</p>
+		<p>qmx-cn</p>
+		<p>或扫描二维码</p>
+	</div>
+	<div><img src="/images/u109.png"></div>
+</div>
+</body>
+</html>