李广朋 9 жил өмнө
parent
commit
22573eee0b

+ 7 - 0
core/src/qfw/front/index.go

@@ -24,11 +24,18 @@ import (
 type Index struct {
 	*xweb.Action
 	loadIndex     xweb.Mapper `xweb:"/"`                    //访问首页
+	loadIndex1    xweb.Mapper `xweb:"/aa/(\\w+)"`           //访问首页
 	getWebSiteTop xweb.Mapper `xweb:"/front/getWebSiteTop"` //获取网站顶部内容
 	advertAjaxRqe xweb.Mapper `xweb:"/front/advertAjaxRqe"` //首页ajax请求
 	reurl         xweb.Mapper `xweb:"/front/reurl"`         //跳转服务产品页面
 }
 
+func (i *Index) LoadIndex1(id string) error {
+	log.Println("/member/incmobile/" + id + ".html")
+	i.Render("/member/incmobile/" + id + ".html")
+	return nil
+}
+
 //加载首页
 func (i *Index) LoadIndex() error {
 	id := i.GetString("id")

+ 425 - 0
core/src/web/staticres/css/mobile/incmobile.css

@@ -0,0 +1,425 @@
+body{
+	margin:0;
+	font-size:14px;
+	font-family: tahoma, arial, 'Hiragino Sans GB', 'Microsoft YaHei', 宋体, sans-serif;
+}
+ul{
+	list-style:none;
+	padding-left:0px;
+}
+.m-searchbar {
+	height:40px;
+	padding:5px 0 0 0 ;
+	background-color:rgb(247,248,250) !important;
+	border-bottom:1px solid #E7E7E7 !important;
+}
+.m-searchbar div.containers{
+	margin:0px auto;
+	width:100%;
+}
+
+.m-searchbar .searchtext{
+	height: 30px;
+	width: 71%;
+	border: 1px solid #DDDFDB !important;
+	border-radius: 15px;
+}
+.m-searchbar .searchbtn{
+	display: inline-block;
+	position: absolute;
+	border-radius: 17px;
+	height: 30px;
+	width: 30px;
+	margin:0  0 0 -29px;
+	text-align:center;
+	background-color:#16A086 !important;
+}
+.m-searchbar .searchbtn b{
+	color:#FFF;
+	line-height:27px;
+}
+.m-searchbar .searchlink{
+	margin-left:15px;
+	text-decoration:underline;
+	color:#16A086 !important;
+}
+
+.inclist{
+	list-style:none;
+	padding-left:0px;
+	text-align:left;
+}
+.inclist table{
+	width:90%;
+}
+.inclist caption{
+	padding-bottom:5px;
+	text-align:left;
+	overflow: auto;
+}
+.inclist caption div.left{  
+	float:left;
+	width:75%;
+	font-size:13px;
+	font-weight:600;
+	color:#1A1A1A !important;
+	clear:both;
+}
+.inclist td{
+	color:#B5B6BB;
+	font-size:12px;
+}
+.inclist td.left{
+	padding-right:15px;
+}
+.inclist span{
+	color:#666666 !important;
+}
+hr.list{
+	border:none;
+	border-bottom:1px solid #CCCCCC !important;
+	margin:0;
+	margin-top:10px;
+	padding:0;
+}
+.loadmore{
+	width:250px;
+	height:35px;
+	margin:20px 0 20px 0;
+	display:inline-block;
+	border:1px solid #16A086 !important;
+	color:#16A086
+}
+.col-xs-12{
+	padding:0;	
+}
+/*筛选导航*/
+.nav-bar {
+	position: relative;
+	z-index: 30;
+}
+.nav-bar .nav{
+	display: -webkit-box;
+	display: -moz-box;
+	display: -ms-flexbox;
+	background: #FFF;
+	border-bottom: 1px solid #E7E7E7;
+	text-align: center;
+	height: 4rem;
+	line-height: 4rem;
+	-webkit-user-select: none;
+}
+.dropdown-toggle:first-child{
+	border: 0;
+}
+.dropdown-toggle {
+	-webkit-box-flex: 1;
+	-moz-box-flex: 1;
+	-ms-flex: 1;
+	border-left: 1px solid #E7E7E7;
+	width: 100%;
+	text-align: left;
+	text-align: center;
+	color: #1A1A1A;
+}
+.location,.category,.reg{
+	position:absolute;
+}
+.location{
+	width:100%;
+	float:left;
+}
+.location div{
+	float:left;
+	overflow:auto; 
+	border:0px; 
+}
+.location div.left{
+	background:rgb(247,248,250);
+	height:300px;
+	width:33.35%;
+}
+.location div.right{
+	background:#FFF;
+	height:300px; 
+	width:65.2%;
+}
+.location li,.category li,.reg li{
+	display:block;
+	height:38px;
+	line-height:38px;
+}
+.location div.left li:first-child,.location div.right li:first-child,.category li:first-child,.reg li:first-child{
+	height:1px;
+	line-height:1px;
+}
+.location div.left  li.hover{
+	background:#FFF;
+}
+.location div.right li.hover{
+	background:#16A086;
+	color:#FFF;
+}
+.category ,.reg {
+	overflow: auto;
+}
+.category li ,.reg  li{
+	text-align:left;
+	padding-left:30px;
+}
+.category,.reg{
+	background:rgb(247,248,250) !important;
+	width:100%;
+}
+.category li:hover,.reg li:hover{
+	background:#FFF;
+}
+.nav-head-name {
+	display: inline-block;
+	white-space: nowrap;
+	overflow: hidden;
+	max-width: 80%;
+	vertical-align: middle;
+	text-overflow: ellipsis;
+}
+.hides{
+	display:none;
+}
+.shows{
+	display:block;
+}
+/*首页*/
+
+.index-header{
+	height:185px;
+	width:100%;
+	padding:25px 0px 30px 15px !important;
+	text-align:left;
+	background:#16A086;
+}
+
+.index-header div.title,.index-header div.type ,.index-header div.taupe,.index-header div.abn{
+	display:inline-table;
+	font-size: 11px;
+	color:#FFF;
+	margin:5px 0 0 0 ;
+	line-height:19px;
+}
+.index-header div.taupe{
+	padding-left:8px;
+	margin-left:5px;
+	width:45px;
+	text-align:left;	
+}
+.index-header div.title{
+	clear:both;
+	margin-top:10px;
+	font-size:14px;
+	font-weight:600;
+}
+.index-header div.abn{
+	background: #FFF;
+	padding: 0 5px 0 5px;
+	margin-left:10px;
+	color: #FF5A5F;
+	border: 1px solid #FF5A5F;
+	display: inline-table;
+}
+.index-middle{
+	height:40px;
+	line-height:40px;
+	color:#FFF;
+	background:#11927A;
+}
+.index-middle div:first-child{
+	border-right:1px solid #16A086;
+}
+.index-navtable div{
+	border-right:1px solid #CCC;
+	border-bottom:1px solid #CCC;
+}
+.index-navtable div:nth-child(3n+0)
+{
+	border-right:none;
+}
+.index-navtable div:hover{
+	background:#F6F8FA !important;
+}
+/*各详细页面*/
+.comnav ,.secnav{
+	height:50px;
+	padding:15px 0px 15px 20px;
+	color:#FFF;
+	text-align:left;
+	background:#16A086;
+}
+.secnav{
+	padding-left:0px;
+	background:#FFF;
+	clear:both;
+}
+.secnav span{
+	display:inline-block;
+	padding:0 5px;
+	color:#FFF;
+}
+.combody{
+	text-align:left;
+	font-size:11px;
+
+}
+.baseinfo li{
+	padding:20px 0 0 10px;
+	clear:both;
+}
+.baseinfo .ent{
+	display:inline-block;
+	background:#AEE7D6;
+	color:#16A086;
+	padding:5px 10px;
+	margin:0 10px 0 5px;
+	border-radius:5px;
+	min-width:70px;
+	text-align:center;
+}
+.baseinfo .entvar{
+	display:inline-block;
+	padding-bottom:15px;
+	border-bottom:1px solid #CCC;
+	min-width:190px;
+}
+.baseinfo li:last-child .entvar{
+	border-bottom:0px;;
+}
+.shareholder{
+	padding:0px 5px;
+}
+.member{
+	padding:15px 0px 0 0px;
+}
+.member .row{
+	margin:0 auto;
+	width:320px;
+	padding: 0 10px 0 10px;
+}
+.member div.split{
+	height:90px;
+	padding-top:44px;
+	float:left;
+}
+.member div.split hr{
+	padding:0px;
+	margin:0px;
+	width:9px;
+}
+.member div.splitver{
+	width:155px;
+	height:10px;
+	margin-left:40px;
+}
+.member div.one{
+	float:left;
+	padding:10px 0px 10px 5px;
+	border:1px solid #F1F2F3;
+	border-radius:5px;
+	height:90px;
+	width:145px;
+}
+.member div.one div.person,.member div.one img{
+	float:left;
+}
+.member div.one div.person{
+	padding:15px;
+	padding-right:0px;
+	text-align:center;
+	height:70px;
+	color:#4E5051;
+}
+.member div.one div.person small{
+	color:#9D9D9D;
+}
+
+.member div.one img{
+	border:1px solid #CCC;
+	border-radius:70px;
+}
+.yellowpage{
+	padding-left:20px;
+}
+.yellowpage li div.text-right{
+	padding-right:20px;
+}
+/*折角效果*/
+.note.taupe {
+    background: red;
+}
+.note {
+	position: relative;
+	width: 55px;
+	height: 20px;
+	line-height:20px;
+	color: #fff;
+	overflow: hidden;
+	text-align:center;
+	padding-left:1px;
+	font-weight:normal;
+}
+.note.taupe:before {
+	border-color: #16A086 #16A086 #A0D468;
+	background: #FFF;
+}
+.note:before {
+	content: "";
+	position: absolute;
+	top: -1px;
+	right: -1px;
+	border-width: 0 8px 8px 0;
+	border-style: solid;
+	border-color: #16A086 #16A086 #658E15 #658E15;
+	background: #A0D468;
+	display: block;
+	width: 0;
+	-webkit-box-shadow: -1px 1px 0px rgba(255,255,255,1), -1px 1px 1px rgba(255,255,255,1);
+	-moz-box-shadow: -1px 1px 0px rgba(255,255,255,1), -1px 1px 1px rgba(255,255,255,1);
+	box-shadow:-1px 1px 0px rgba(255,255,255,1), -1px 1px 1px rgba(255,255,255,1);
+}
+/*折角效果结束*/	
+.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{
+	padding:0;
+}
+.colorf{
+	color:#FFF;
+}
+.colorc{
+	color:#CCC;
+}
+.navbg{
+	background:#AEE7D6;
+}
+.navcolor{
+	color:#16A086 ;
+}
+.icon{
+    text-align: center;
+    display: inline-block;
+    width: 100px;
+    color:#4E5051;
+    vertical-align: top;
+}
+.icon img{
+	border-radius:35px;
+	border:2px solid #16A086;
+	margin-bottom:5px;
+}
+.icon span.name{
+	display:inline-block;
+	margin:3px 0;
+	text-align:center;
+	color:#A0A0A0;
+}
+.border-right{
+	border-right:1px solid #E5E6E9;
+}
+.border-left{
+	border-left:1px solid #E5E6E9;
+}

BIN
core/src/web/staticres/images/entbg.png


+ 106 - 0
core/src/web/staticres/js/entcommunity.js

@@ -0,0 +1,106 @@
+var c_hfl=[["不限行业","0"],["农、林、牧、渔业","A"],["采矿业","B"],["制造业","C"],["住宿和餐饮业","H"],["信息传输、软件和信息技术服务业","I"],["金融业","J"],["房地产业","K"],["租赁和商务服务业","L"],["科学研究和技术服务业","M"],["水利、环境和公共设施管理业","N"],["居民服务、修理和其他服务业","O"],["教育","P"],["卫生和社会工作","Q"],["文化、体育和娱乐业","R"],["公共管理、社会保障和社会组织","S"],["电力、热力、燃气及水生产和供应业","D"],["建筑业","E"],["批发和零售业","F"],["交通运输、仓储和邮政业","G"]]
+var c_zb=[["不限金额","0"],["10W以下","0-10"],["10w-100w","10-100"],["100w-1000w","100-1000"],["1000万-1亿","1000-10000"],["1亿以上","10000"]]
+var c_qfl=[["全部","0"],["股份有限公司分公司(上市、外商投资企业投资)","2211"],["普通合伙企业","4531"],["农民专业合作经济组织","9100"],["个体工商户","9600"],["有限责任公司(自然人投资或控股)","1130"]]
+new FastClick(document.body);
+var mCommunity=function(){
+	return new mCommunity.prototype.init();
+};
+mCommunity.prototype={
+	tabtarget:null,
+	init:function(){
+		return this;
+	},
+	initIndex:function(){
+		//高级搜索
+		$(".searchlink").click(function(){
+			n=$(".nav-bar");
+			if(n.is(":visible")){
+				$(".nav-bar").slideUp(200);
+			}else{
+				$(".nav-bar").slideDown(200);
+			}
+			
+		});
+		var me=this;
+		$("div.nav-bar ul.nav li").each(function(i,n){
+			n=$(n);
+			var target=$("#"+n.attr("id").replace("t-",""));
+			target.height(window.screen.height-88);
+			if(target.attr("id")=="location"){
+				target.find("div").height(window.screen.height-88);
+			}
+		});
+		//初始化筛选
+		var obj=$.cxSelect.defaults.url;
+		var province=$("#province ul");
+		var provincetpl="<li data-id='$id'>$name</li>";
+		for(var i=0;i<obj.length;i++){
+			var node=provincetpl.replace("$id",obj[i].k).replace("$name",obj[i].n);
+			province.append(node);
+			var child=obj[i].s;
+			var ulchild=$("<ul></ul>");
+			ulchild.attr("id","city_"+obj[i].k);
+			ulchild.append("<li></li>");
+			ulchild.addClass("hides");
+			for(var k=0;k<child.length;k++){
+				var lichild=$("<li></li>")	
+				lichild.text(child[k].n);
+				lichild.attr("data-id",child[k].k);
+				ulchild.append(lichild);		
+			}
+			$("#city").append(ulchild);
+		}
+		
+		for(var i=0;i<c_zb.length;i++){
+			var li=$("<li></li>");
+			li.text(c_zb[i][0]);
+			li.attr("value",c_zb[i][1]);
+			$("#reg ul").append(li);
+		}
+		
+		for(var i=0;i<c_hfl.length;i++){
+			var li=$("<li></li>");
+			li.text(c_hfl[i][0]);
+			li.attr("value",c_hfl[i][1]);
+			$("#category ul").append(li);
+		}
+		
+		//初始化监听
+		$("div.nav-bar ul.nav li").click(function(n){
+			n=$(n.target);
+			var target=$("#"+n.attr("id").replace("t-",""));
+			if(target.attr("id")!=me.tabtarget){
+				if(me.tabtarget!=null){
+					$("#"+me.tabtarget).hide();
+				}
+				me.tabtarget=target.attr("id");
+			}
+			if(target.is(":visible")){
+				target.hide();
+			}else{
+				target.show();
+			}
+		});
+		$("#city li").on("click",function(i){
+			var node=$(i.target);
+			$("#city li[class='hover']").attr("class","");
+			node.attr("class","hover");
+		});
+		$("#province ul li").on("click",function(i){
+		var node=$(i.target);
+			$("#province ul li[class='hover']").attr("class","");
+			node.attr("class","hover");
+			target=$("#city #city_"+node.attr("data-id"));
+			if(target.is(":hidden")){
+					$("#city ul:visible").attr("class","hides");
+					target.attr("class","shows");
+			}
+		});
+		$("#city li").click(function(n){
+			//这里处理地区筛选事物
+		})
+		return this;
+	}
+}
+
+mCommunity.prototype.init.prototype = mCommunity.prototype;

+ 841 - 0
core/src/web/staticres/js/fastclick.js

@@ -0,0 +1,841 @@
+;(function () {
+	'use strict';
+
+	/**
+	 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
+	 *
+	 * @codingstandard ftlabs-jsv2
+	 * @copyright The Financial Times Limited [All Rights Reserved]
+	 * @license MIT License (see LICENSE.txt)
+	 */
+
+	/*jslint browser:true, node:true*/
+	/*global define, Event, Node*/
+
+
+	/**
+	 * Instantiate fast-clicking listeners on the specified layer.
+	 *
+	 * @constructor
+	 * @param {Element} layer The layer to listen on
+	 * @param {Object} [options={}] The options to override the defaults
+	 */
+	function FastClick(layer, options) {
+		var oldOnClick;
+
+		options = options || {};
+
+		/**
+		 * Whether a click is currently being tracked.
+		 *
+		 * @type boolean
+		 */
+		this.trackingClick = false;
+
+
+		/**
+		 * Timestamp for when click tracking started.
+		 *
+		 * @type number
+		 */
+		this.trackingClickStart = 0;
+
+
+		/**
+		 * The element being tracked for a click.
+		 *
+		 * @type EventTarget
+		 */
+		this.targetElement = null;
+
+
+		/**
+		 * X-coordinate of touch start event.
+		 *
+		 * @type number
+		 */
+		this.touchStartX = 0;
+
+
+		/**
+		 * Y-coordinate of touch start event.
+		 *
+		 * @type number
+		 */
+		this.touchStartY = 0;
+
+
+		/**
+		 * ID of the last touch, retrieved from Touch.identifier.
+		 *
+		 * @type number
+		 */
+		this.lastTouchIdentifier = 0;
+
+
+		/**
+		 * Touchmove boundary, beyond which a click will be cancelled.
+		 *
+		 * @type number
+		 */
+		this.touchBoundary = options.touchBoundary || 10;
+
+
+		/**
+		 * The FastClick layer.
+		 *
+		 * @type Element
+		 */
+		this.layer = layer;
+
+		/**
+		 * The minimum time between tap(touchstart and touchend) events
+		 *
+		 * @type number
+		 */
+		this.tapDelay = options.tapDelay || 200;
+
+		/**
+		 * The maximum time for a tap
+		 *
+		 * @type number
+		 */
+		this.tapTimeout = options.tapTimeout || 700;
+
+		if (FastClick.notNeeded(layer)) {
+			return;
+		}
+
+		// Some old versions of Android don't have Function.prototype.bind
+		function bind(method, context) {
+			return function() { return method.apply(context, arguments); };
+		}
+
+
+		var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];
+		var context = this;
+		for (var i = 0, l = methods.length; i < l; i++) {
+			context[methods[i]] = bind(context[methods[i]], context);
+		}
+
+		// Set up event handlers as required
+		if (deviceIsAndroid) {
+			layer.addEventListener('mouseover', this.onMouse, true);
+			layer.addEventListener('mousedown', this.onMouse, true);
+			layer.addEventListener('mouseup', this.onMouse, true);
+		}
+
+		layer.addEventListener('click', this.onClick, true);
+		layer.addEventListener('touchstart', this.onTouchStart, false);
+		layer.addEventListener('touchmove', this.onTouchMove, false);
+		layer.addEventListener('touchend', this.onTouchEnd, false);
+		layer.addEventListener('touchcancel', this.onTouchCancel, false);
+
+		// Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
+		// which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
+		// layer when they are cancelled.
+		if (!Event.prototype.stopImmediatePropagation) {
+			layer.removeEventListener = function(type, callback, capture) {
+				var rmv = Node.prototype.removeEventListener;
+				if (type === 'click') {
+					rmv.call(layer, type, callback.hijacked || callback, capture);
+				} else {
+					rmv.call(layer, type, callback, capture);
+				}
+			};
+
+			layer.addEventListener = function(type, callback, capture) {
+				var adv = Node.prototype.addEventListener;
+				if (type === 'click') {
+					adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
+						if (!event.propagationStopped) {
+							callback(event);
+						}
+					}), capture);
+				} else {
+					adv.call(layer, type, callback, capture);
+				}
+			};
+		}
+
+		// If a handler is already declared in the element's onclick attribute, it will be fired before
+		// FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
+		// adding it as listener.
+		if (typeof layer.onclick === 'function') {
+
+			// Android browser on at least 3.2 requires a new reference to the function in layer.onclick
+			// - the old one won't work if passed to addEventListener directly.
+			oldOnClick = layer.onclick;
+			layer.addEventListener('click', function(event) {
+				oldOnClick(event);
+			}, false);
+			layer.onclick = null;
+		}
+	}
+
+	/**
+	* Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
+	*
+	* @type boolean
+	*/
+	var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
+
+	/**
+	 * Android requires exceptions.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;
+
+
+	/**
+	 * iOS requires exceptions.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;
+
+
+	/**
+	 * iOS 4 requires an exception for select elements.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
+
+
+	/**
+	 * iOS 6.0-7.* requires the target element to be manually derived
+	 *
+	 * @type boolean
+	 */
+	var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
+
+	/**
+	 * BlackBerry requires exceptions.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
+
+	/**
+	 * Determine whether a given element requires a native click.
+	 *
+	 * @param {EventTarget|Element} target Target DOM element
+	 * @returns {boolean} Returns true if the element needs a native click
+	 */
+	FastClick.prototype.needsClick = function(target) {
+		switch (target.nodeName.toLowerCase()) {
+
+		// Don't send a synthetic click to disabled inputs (issue #62)
+		case 'button':
+		case 'select':
+		case 'textarea':
+			if (target.disabled) {
+				return true;
+			}
+
+			break;
+		case 'input':
+
+			// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
+			if ((deviceIsIOS && target.type === 'file') || target.disabled) {
+				return true;
+			}
+
+			break;
+		case 'label':
+		case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
+		case 'video':
+			return true;
+		}
+
+		return (/\bneedsclick\b/).test(target.className);
+	};
+
+
+	/**
+	 * Determine whether a given element requires a call to focus to simulate click into element.
+	 *
+	 * @param {EventTarget|Element} target Target DOM element
+	 * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
+	 */
+	FastClick.prototype.needsFocus = function(target) {
+		switch (target.nodeName.toLowerCase()) {
+		case 'textarea':
+			return true;
+		case 'select':
+			return !deviceIsAndroid;
+		case 'input':
+			switch (target.type) {
+			case 'button':
+			case 'checkbox':
+			case 'file':
+			case 'image':
+			case 'radio':
+			case 'submit':
+				return false;
+			}
+
+			// No point in attempting to focus disabled inputs
+			return !target.disabled && !target.readOnly;
+		default:
+			return (/\bneedsfocus\b/).test(target.className);
+		}
+	};
+
+
+	/**
+	 * Send a click event to the specified element.
+	 *
+	 * @param {EventTarget|Element} targetElement
+	 * @param {Event} event
+	 */
+	FastClick.prototype.sendClick = function(targetElement, event) {
+		var clickEvent, touch;
+
+		// On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
+		if (document.activeElement && document.activeElement !== targetElement) {
+			document.activeElement.blur();
+		}
+
+		touch = event.changedTouches[0];
+
+		// Synthesise a click event, with an extra attribute so it can be tracked
+		clickEvent = document.createEvent('MouseEvents');
+		clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
+		clickEvent.forwardedTouchEvent = true;
+		targetElement.dispatchEvent(clickEvent);
+	};
+
+	FastClick.prototype.determineEventType = function(targetElement) {
+
+		//Issue #159: Android Chrome Select Box does not open with a synthetic click event
+		if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
+			return 'mousedown';
+		}
+
+		return 'click';
+	};
+
+
+	/**
+	 * @param {EventTarget|Element} targetElement
+	 */
+	FastClick.prototype.focus = function(targetElement) {
+		var length;
+
+		// Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
+		if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') {
+			length = targetElement.value.length;
+			targetElement.setSelectionRange(length, length);
+		} else {
+			targetElement.focus();
+		}
+	};
+
+
+	/**
+	 * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
+	 *
+	 * @param {EventTarget|Element} targetElement
+	 */
+	FastClick.prototype.updateScrollParent = function(targetElement) {
+		var scrollParent, parentElement;
+
+		scrollParent = targetElement.fastClickScrollParent;
+
+		// Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
+		// target element was moved to another parent.
+		if (!scrollParent || !scrollParent.contains(targetElement)) {
+			parentElement = targetElement;
+			do {
+				if (parentElement.scrollHeight > parentElement.offsetHeight) {
+					scrollParent = parentElement;
+					targetElement.fastClickScrollParent = parentElement;
+					break;
+				}
+
+				parentElement = parentElement.parentElement;
+			} while (parentElement);
+		}
+
+		// Always update the scroll top tracker if possible.
+		if (scrollParent) {
+			scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
+		}
+	};
+
+
+	/**
+	 * @param {EventTarget} targetElement
+	 * @returns {Element|EventTarget}
+	 */
+	FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
+
+		// On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
+		if (eventTarget.nodeType === Node.TEXT_NODE) {
+			return eventTarget.parentNode;
+		}
+
+		return eventTarget;
+	};
+
+
+	/**
+	 * On touch start, record the position and scroll offset.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onTouchStart = function(event) {
+		var targetElement, touch, selection;
+
+		// Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
+		if (event.targetTouches.length > 1) {
+			return true;
+		}
+
+		targetElement = this.getTargetElementFromEventTarget(event.target);
+		touch = event.targetTouches[0];
+
+		if (deviceIsIOS) {
+
+			// Only trusted events will deselect text on iOS (issue #49)
+			selection = window.getSelection();
+			if (selection.rangeCount && !selection.isCollapsed) {
+				return true;
+			}
+
+			if (!deviceIsIOS4) {
+
+				// Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
+				// when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
+				// with the same identifier as the touch event that previously triggered the click that triggered the alert.
+				// Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
+				// immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
+				// Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
+				// which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
+				// random integers, it's safe to to continue if the identifier is 0 here.
+				if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {
+					event.preventDefault();
+					return false;
+				}
+
+				this.lastTouchIdentifier = touch.identifier;
+
+				// If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
+				// 1) the user does a fling scroll on the scrollable layer
+				// 2) the user stops the fling scroll with another tap
+				// then the event.target of the last 'touchend' event will be the element that was under the user's finger
+				// when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
+				// is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
+				this.updateScrollParent(targetElement);
+			}
+		}
+
+		this.trackingClick = true;
+		this.trackingClickStart = event.timeStamp;
+		this.targetElement = targetElement;
+
+		this.touchStartX = touch.pageX;
+		this.touchStartY = touch.pageY;
+
+		// Prevent phantom clicks on fast double-tap (issue #36)
+		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
+			event.preventDefault();
+		}
+
+		return true;
+	};
+
+
+	/**
+	 * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.touchHasMoved = function(event) {
+		var touch = event.changedTouches[0], boundary = this.touchBoundary;
+
+		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
+			return true;
+		}
+
+		return false;
+	};
+
+
+	/**
+	 * Update the last position.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onTouchMove = function(event) {
+		if (!this.trackingClick) {
+			return true;
+		}
+
+		// If the touch has moved, cancel the click tracking
+		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
+			this.trackingClick = false;
+			this.targetElement = null;
+		}
+
+		return true;
+	};
+
+
+	/**
+	 * Attempt to find the labelled control for the given label element.
+	 *
+	 * @param {EventTarget|HTMLLabelElement} labelElement
+	 * @returns {Element|null}
+	 */
+	FastClick.prototype.findControl = function(labelElement) {
+
+		// Fast path for newer browsers supporting the HTML5 control attribute
+		if (labelElement.control !== undefined) {
+			return labelElement.control;
+		}
+
+		// All browsers under test that support touch events also support the HTML5 htmlFor attribute
+		if (labelElement.htmlFor) {
+			return document.getElementById(labelElement.htmlFor);
+		}
+
+		// If no for attribute exists, attempt to retrieve the first labellable descendant element
+		// the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
+		return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
+	};
+
+
+	/**
+	 * On touch end, determine whether to send a click event at once.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onTouchEnd = function(event) {
+		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
+
+		if (!this.trackingClick) {
+			return true;
+		}
+
+		// Prevent phantom clicks on fast double-tap (issue #36)
+		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
+			this.cancelNextClick = true;
+			return true;
+		}
+
+		if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {
+			return true;
+		}
+
+		// Reset to prevent wrong click cancel on input (issue #156).
+		this.cancelNextClick = false;
+
+		this.lastClickTime = event.timeStamp;
+
+		trackingClickStart = this.trackingClickStart;
+		this.trackingClick = false;
+		this.trackingClickStart = 0;
+
+		// On some iOS devices, the targetElement supplied with the event is invalid if the layer
+		// is performing a transition or scroll, and has to be re-detected manually. Note that
+		// for this to function correctly, it must be called *after* the event target is checked!
+		// See issue #57; also filed as rdar://13048589 .
+		if (deviceIsIOSWithBadTarget) {
+			touch = event.changedTouches[0];
+
+			// In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
+			targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
+			targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
+		}
+
+		targetTagName = targetElement.tagName.toLowerCase();
+		if (targetTagName === 'label') {
+			forElement = this.findControl(targetElement);
+			if (forElement) {
+				this.focus(targetElement);
+				if (deviceIsAndroid) {
+					return false;
+				}
+
+				targetElement = forElement;
+			}
+		} else if (this.needsFocus(targetElement)) {
+
+			// Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
+			// Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
+			if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
+				this.targetElement = null;
+				return false;
+			}
+
+			this.focus(targetElement);
+			this.sendClick(targetElement, event);
+
+			// Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
+			// Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)
+			if (!deviceIsIOS || targetTagName !== 'select') {
+				this.targetElement = null;
+				event.preventDefault();
+			}
+
+			return false;
+		}
+
+		if (deviceIsIOS && !deviceIsIOS4) {
+
+			// Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
+			// and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
+			scrollParent = targetElement.fastClickScrollParent;
+			if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
+				return true;
+			}
+		}
+
+		// Prevent the actual click from going though - unless the target node is marked as requiring
+		// real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
+		if (!this.needsClick(targetElement)) {
+			event.preventDefault();
+			this.sendClick(targetElement, event);
+		}
+
+		return false;
+	};
+
+
+	/**
+	 * On touch cancel, stop tracking the click.
+	 *
+	 * @returns {void}
+	 */
+	FastClick.prototype.onTouchCancel = function() {
+		this.trackingClick = false;
+		this.targetElement = null;
+	};
+
+
+	/**
+	 * Determine mouse events which should be permitted.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onMouse = function(event) {
+
+		// If a target element was never set (because a touch event was never fired) allow the event
+		if (!this.targetElement) {
+			return true;
+		}
+
+		if (event.forwardedTouchEvent) {
+			return true;
+		}
+
+		// Programmatically generated events targeting a specific element should be permitted
+		if (!event.cancelable) {
+			return true;
+		}
+
+		// Derive and check the target element to see whether the mouse event needs to be permitted;
+		// unless explicitly enabled, prevent non-touch click events from triggering actions,
+		// to prevent ghost/doubleclicks.
+		if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
+
+			// Prevent any user-added listeners declared on FastClick element from being fired.
+			if (event.stopImmediatePropagation) {
+				event.stopImmediatePropagation();
+			} else {
+
+				// Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
+				event.propagationStopped = true;
+			}
+
+			// Cancel the event
+			event.stopPropagation();
+			event.preventDefault();
+
+			return false;
+		}
+
+		// If the mouse event is permitted, return true for the action to go through.
+		return true;
+	};
+
+
+	/**
+	 * On actual clicks, determine whether this is a touch-generated click, a click action occurring
+	 * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
+	 * an actual click which should be permitted.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onClick = function(event) {
+		var permitted;
+
+		// It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
+		if (this.trackingClick) {
+			this.targetElement = null;
+			this.trackingClick = false;
+			return true;
+		}
+
+		// Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
+		if (event.target.type === 'submit' && event.detail === 0) {
+			return true;
+		}
+
+		permitted = this.onMouse(event);
+
+		// Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
+		if (!permitted) {
+			this.targetElement = null;
+		}
+
+		// If clicks are permitted, return true for the action to go through.
+		return permitted;
+	};
+
+
+	/**
+	 * Remove all FastClick's event listeners.
+	 *
+	 * @returns {void}
+	 */
+	FastClick.prototype.destroy = function() {
+		var layer = this.layer;
+
+		if (deviceIsAndroid) {
+			layer.removeEventListener('mouseover', this.onMouse, true);
+			layer.removeEventListener('mousedown', this.onMouse, true);
+			layer.removeEventListener('mouseup', this.onMouse, true);
+		}
+
+		layer.removeEventListener('click', this.onClick, true);
+		layer.removeEventListener('touchstart', this.onTouchStart, false);
+		layer.removeEventListener('touchmove', this.onTouchMove, false);
+		layer.removeEventListener('touchend', this.onTouchEnd, false);
+		layer.removeEventListener('touchcancel', this.onTouchCancel, false);
+	};
+
+
+	/**
+	 * Check whether FastClick is needed.
+	 *
+	 * @param {Element} layer The layer to listen on
+	 */
+	FastClick.notNeeded = function(layer) {
+		var metaViewport;
+		var chromeVersion;
+		var blackberryVersion;
+		var firefoxVersion;
+
+		// Devices that don't support touch don't need FastClick
+		if (typeof window.ontouchstart === 'undefined') {
+			return true;
+		}
+
+		// Chrome version - zero for other browsers
+		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+
+		if (chromeVersion) {
+
+			if (deviceIsAndroid) {
+				metaViewport = document.querySelector('meta[name=viewport]');
+
+				if (metaViewport) {
+					// Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
+					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
+						return true;
+					}
+					// Chrome 32 and above with width=device-width or less don't need FastClick
+					if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
+						return true;
+					}
+				}
+
+			// Chrome desktop doesn't need FastClick (issue #15)
+			} else {
+				return true;
+			}
+		}
+
+		if (deviceIsBlackBerry10) {
+			blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
+
+			// BlackBerry 10.3+ does not require Fastclick library.
+			// https://github.com/ftlabs/fastclick/issues/251
+			if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {
+				metaViewport = document.querySelector('meta[name=viewport]');
+
+				if (metaViewport) {
+					// user-scalable=no eliminates click delay.
+					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
+						return true;
+					}
+					// width=device-width (or less than device-width) eliminates click delay.
+					if (document.documentElement.scrollWidth <= window.outerWidth) {
+						return true;
+					}
+				}
+			}
+		}
+
+		// IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97)
+		if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') {
+			return true;
+		}
+
+		// Firefox version - zero for other browsers
+		firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+
+		if (firefoxVersion >= 27) {
+			// Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896
+
+			metaViewport = document.querySelector('meta[name=viewport]');
+			if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {
+				return true;
+			}
+		}
+
+		// IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version
+		// http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx
+		if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {
+			return true;
+		}
+
+		return false;
+	};
+
+
+	/**
+	 * Factory method for creating a FastClick object
+	 *
+	 * @param {Element} layer The layer to listen on
+	 * @param {Object} [options={}] The options to override the defaults
+	 */
+	FastClick.attach = function(layer, options) {
+		return new FastClick(layer, options);
+	};
+
+
+	if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
+
+		// AMD. Register as an anonymous module.
+		define(function() {
+			return FastClick;
+		});
+	} else if (typeof module !== 'undefined' && module.exports) {
+		module.exports = FastClick.attach;
+		module.exports.FastClick = FastClick;
+	} else {
+		window.FastClick = FastClick;
+	}
+}());

+ 115 - 0
core/src/web/templates/member/incmobile/baseinfo.html

@@ -0,0 +1,115 @@
+<div class="comnav">
+	<span></span>
+	基本信息
+</div>
+<div class="combody baseinfo">
+	<ul>
+		<li>
+			<div class="col-xs-4">
+					<span class="glyphicon glyphicon-flag colorc"></span>
+					<span class="ent">注册号</span>
+			</div>
+			<span class="col-xs-8 entvar">1112012350545</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">行业</span>
+			</div>
+			<span class="col-xs-8 entvar">互联网-电子商务</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">成立日期</span>
+			</div>
+			<span class="col-xs-8 entvar">1999年8月4日</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">营业期限</span>
+			</div>
+			<span class="col-xs-8 entvar">1999年18月14日-1999年18月14日</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">注册资本</span>
+			</div>
+			<span class="col-xs-8 entvar">无</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">地址</span>
+			</div>
+			<span class="col-xs-8 entvar">郑州市经三路财富广场</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">企业类型</span>
+			</div>
+			<span class="col-xs-8 entvar">其他股份制有限公司(上市)</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">登记机关</span>
+			</div>
+			<span class="col-xs-8 entvar">北京市工商行政管理局</span>
+		</li>
+		<li>
+			<div class="col-xs-4">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">公司规模</span>
+			</div>
+			<span class="col-xs-8 entvar">500-999人</span>
+		</li>
+		<li>
+			<div class="col-xs-5">
+				<span class="glyphicon glyphicon-flag colorc"></span>
+				<span class="ent">法定代表人</span>
+			</div>
+			<div class="col-xs-2">
+				<span class="col-xs-12 entvar">空</span>
+			</div>
+		</li>
+	</ul>
+</div>
+<div class="secnav navcolor">
+	<span class="navbg">&gt;</span>
+	股东信息
+</div>
+<div class="clear shareholder">
+	<div class="icon col-xs-4">				
+		<img src="/images/entcommunity/ziranren.png" width=70>
+		<div class="type" ><b>自然人</b></div>
+		<span class="name">陈国光</span>
+	</div>
+	<div class="icon col-xs-4">				
+		<img src="/images/entcommunity/ziranren.png" width=70>
+		<div class="type" ><b>自然人</b></div>
+		<span class="name">陈国光</span>
+	</div>
+	<div class="icon col-xs-4">				
+		<img src="/images/entcommunity/ziranren.png" width=70>
+		<div class="type" ><b>自然人</b></div>
+		<span class="name">陈国光</span>
+	</div>
+	<div class="icon col-xs-4">				
+		<img src="/images/entcommunity/ziranren.png" width=70>
+		<div class="type" ><b>自然人</b></div>
+		<span class="name">陈国光</span>
+	</div>
+	<div class="icon col-xs-4">				
+		<img src="/images/entcommunity/ziranren.png" width=70>
+		<div class="type" ><b>自然人</b></div>
+		<span class="name">陈国光</span>
+	</div>
+</div>
+<div class="secnav navcolor">
+	<span class="navbg">&gt;</span>
+	经营范围
+</div>

+ 35 - 0
core/src/web/templates/member/incmobile/detail.html

@@ -0,0 +1,35 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+  <title> 企业社区-列表</title>
+	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
+	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0" user-scalable="yes" />
+	<link href="/css/bootstrap.min.css" rel="stylesheet" />
+ 	<link href="/css/entcommunity.css" rel="stylesheet" />
+	<link href="/css/mobile/incmobile.css" rel="stylesheet" />
+	
+	<style>
+		body{
+			background:#FFF;
+		}
+		.entinfo-page .b-right {
+			margin-top: 0px;
+			float: none;
+			margin-left: 5px;
+			color:#222222;
+		}
+		.entinfo-page .b-right span{
+			font-size:11px;
+		}
+	</style>
+ </head>
+ <body>
+{{include "/member/incmobile/news.html"}}
+<script src="/js/jquery.js"></script>
+<script src="/js/qfw.js"></script>
+<script src="/js/fastclick.js"></script>
+<script src="/js/bootstrap.min.js"></script>
+<script src="/js/entcommunity.js"></script>
+ </body>
+<html>

+ 69 - 0
core/src/web/templates/member/incmobile/detailindex.html

@@ -0,0 +1,69 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+  <title> 企业社区-列表</title>
+	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
+	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0" user-scalable="yes" />
+	<link href="/css/bootstrap.min.css" rel="stylesheet">
+ 	<link href="/css/mobile/incmobile.css" rel="stylesheet">
+ </head>
+ <body>
+	<div class="col-xs-12 index-header" style="text-align:center;">
+		<img src="	" height=85 width=85/>
+		<div class="col-xs-12 title"> 
+			新浪网技术(中国)有限公司
+		</div > 
+		<div class="col-xs-12" style="text-align:center;clear:both;">
+			<div  class="type">其他股份有限公司(上市)</div>
+			<div  class="note taupe"><span>续存</span></div>
+			<div  class="abn" >经营异常</div>
+		</div>
+	</div>
+	<div class="col-xs-12 index-middle">
+		<div class="col-xs-6">企业名片</div>
+		<div class="col-xs-6">微官网</div>
+	</div>
+	<div class="col-xs-12 index-navtable">
+		<div class="col-xs-4">
+			<span class="glyphicon glyphicon-flag"></span>
+			企业黄页
+		</div>
+		<div class="col-xs-4">
+			企业概况
+		</div>
+		<div class="col-xs-4">
+			关系网
+		</div>
+		<div class="col-xs-4">
+			主要人员
+		</div>
+		<div class="col-xs-4">
+			变更信息
+		</div>
+		<div class="col-xs-4">
+			失信信息
+		</div>
+		<div class="col-xs-4">
+			企业新闻
+		</div>
+	</div>
+<body>
+<script src="/js/jquery.js"></script>
+<script src="/js/qfw.js"></script>
+<script src="/js/fastclick.js"></script>
+<script src="/js/bootstrap.min.js"></script>
+<script src="/js/entcommunity.js"></script>
+<script>
+	$(function(){
+			 resize();
+	})
+	$(window).resize(function(){
+	 		resize();
+	});
+	function resize(){
+			$(".index-navtable div").height($(".index-navtable div").width());
+			$(".index-navtable div").css("line-height",$(".index-navtable div").width()+"px");
+	}
+</script>
+</html>

+ 103 - 0
core/src/web/templates/member/incmobile/index.html

@@ -0,0 +1,103 @@
+<!DOCTYPE HTML>
+<html>
+	<head>
+		<title> 企业社区-列表</title>
+		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
+		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0" user-scalable="yes" />
+		<link href="/css/bootstrap.min.css" rel="stylesheet">
+		<link href="/css/mobile/incmobile.css" rel="stylesheet">
+		<style>
+			.index-bodybg{
+				color:#FFF;
+				background:url('/images/entbg.png') no-repeat left top;
+				background-size:cover;
+			}
+			.index-bodybg .main{
+				padding:80px 20px 0px 25px;
+			}
+			.index-bodybg .main div.sign{
+				font-weight:bold;
+				padding-bottom:10px;
+				font-size:16px;
+			}
+			.index-bodybg .main div.smallsign{
+				font-size:9px;
+				padding-bottom:10px;
+				color:#DBDBDC;
+			}
+			.form-control{
+				border-radius:0px;
+				-webkit-box-shadow:none;
+				box-shadow:none;
+				transition:none;
+				-webkit-transition:none;
+				 -webkit-appearance: none;
+			}
+			.input-group-addon{
+				border:0px;
+				border-radius:0px;
+				width:60px;
+				color:#FFF;
+				background-color:rgb(22,160,134);
+			}
+			.input-before{
+				z-index: 30;
+				position: absolute;
+				top: 15px;
+				left: 9px;
+				color: #A0A0A0;
+				font-size:11px;
+			}
+			.footer {
+				position: absolute;
+				bottom:20px;
+				width: 100%;
+				text-align:center;
+				height: 40px;
+			}
+			.footer .container div{
+				display:inline-block;	
+			}
+			.footer img{
+				margin-top:-15px;
+				margin-right:10px;
+			}
+			.footer .container .inc span{
+				font-weight:bold;
+				line-height:15px;
+			}
+			.footer .container .inc p{
+				font-size:10px;
+			}
+		</style>
+	</head>
+<body class="index-bodybg">
+		<div class="main">
+			<div class="sign">一个企业社区,就够了</div>
+			<div class="smallsign">
+				查企业,查企业失信信息,查企业变更,查你所想,无所不能...
+			</div>
+			<div style="clear:both;" class="col-sm-8">
+              <form>
+						<div class="input-group col-xs-12">
+							<i class="glyphicon glyphicon-search input-before"></i>
+                 		<input type="text" id="query" class="form-control" placeholder="   找企业" style="height:40px;">
+							<span class="input-group-addon"><span class="glyphicon glyphicon-camera"></span></span>
+             		</div>
+					</form>
+			</div>
+		</div>
+		<footer class="footer">
+	      <div class="container">
+	         <div>
+						<img src="/images/bottom_logo.png" width=50 />	
+				</div>
+				<div class="inc">
+							<i><b>企 明 星</b></i>
+							<p >企业服务网</p>
+						</div>
+	      </div>
+		</footer>
+</body>
+</html>

+ 90 - 0
core/src/web/templates/member/incmobile/list.html

@@ -0,0 +1,90 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+  <title> 企业社区-列表</title>
+	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
+	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0" user-scalable="yes" />
+	<link href="/css/bootstrap.min.css" rel="stylesheet">
+ 	<link href="/css/mobile/incmobile.css" rel="stylesheet">
+ </head>
+ <body>
+	<div class="col-xs-12">
+	<div class="m-searchbar">
+		<div class="containers">
+			<input type="text" class="searchtext"/>
+			<a class="searchbtn"><b class="glyphicon glyphicon-search"></b></a>
+			<a href="javascript:" class="searchlink">高级搜索</a>
+		</div>
+	</div>
+	<div class="nav-bar hides">
+		<ul class="nav">
+			<li class="dropdown-toggle" id="t-location">所在地</li>
+			<li class="dropdown-toggle" id="t-category">行业类别</li>
+			<li class="dropdown-toggle" id="t-reg">注册资本</li>
+		</ul>
+		<div id="location" class="location hides">
+			<div id="province" class="left">
+				<ul >
+					<li></li>
+					<li data-id="0">不限</li>
+				</ul>
+			</div>
+			<div id="city" class="right">
+				<ul id="city_0">
+					<li></li>
+					<li data-id="0">不限</li>
+				</ul>
+			</div>
+		</div>
+		<div id="category" class="category hides">
+			<ul >
+					<li></li>
+				</ul>
+		</div>
+		<div id="reg" class="reg hides">
+			<ul >
+				<li></li>
+			</ul>
+		</div>
+	</div>
+	<div class="bottom" >
+		<ul class="inclist">
+			<li class="col-xs-12">
+				<table align=center>
+					<caption >
+						<div class="left">纽科伦(新乡)起重机有大师法师打发斯蒂芬限公司洛阳分公司</div>
+						<div class="note taupe">
+							续存
+						</div>
+					</caption>
+					<tr>
+						<td class="left">注册号:<span>420621NB000007X</span></td>
+						<td>法定代表人:<span>李琳</span></td>
+					</tr>
+					<tr>
+						<td class="left">成立时间:<span>2015-05-26</span></td>
+						<td>所在地:<span>湖北 襄阳市</span></td>
+					</tr>
+					<tr>
+						<td colspan=2> <hr class="list"/></td>
+					</tr>
+				</table>
+			</li>
+		</ul>
+	</div>
+	<a class="loadmore btn btn-link">加载更多</a>
+	</div>
+	<script src="/js/jquery.js"></script>
+	<script src="/js/qfw.js"></script>
+	<script src="/js/fastclick.js"></script>
+	<script src="/js/bootstrap.min.js"></script>
+	<script src="/js/jquery.cxselect.js"></script>
+	<script src="/js/entcommunity.js"></script>
+	<script>
+		$(function(){
+			mCommunity().initIndex();
+		});
+	</script>
+ </body>
+</html>

+ 40 - 0
core/src/web/templates/member/incmobile/member.html

@@ -0,0 +1,40 @@
+<div class="comnav">
+	<span></span>
+	主要人员
+</div>
+<div>
+	<div class="member">
+		<div class="row">
+			<div class="one">
+				<img src="https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=936799099,1721094993&fm=80" height=70 width=70 />
+				<div class="person">
+					<div>张三丰</div>
+					<div><small>董事长</small></div>
+				</div>
+			</div>
+		</div>	
+		<div class="row">
+			<div class="border-left splitver">
+				
+			</div>
+		</div>
+		<div class="row">
+			<div class="one">
+				<img src="https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=936799099,1721094993&fm=80" height=70 width=70 />
+				<div class="person">
+					<div>张三丰</div>
+					<div><small>董事长</small></div>
+				</div>
+			</div>
+			<div class="split"><hr/></div>
+			<div class="one">
+				<img src="https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=936799099,1721094993&fm=80" height=70 width=70 />
+				<div class="person">
+					<div>张三丰</div>
+					<div><small>董事长</small></div>
+				</div>
+			</div>
+		</div>	
+		
+	</div>
+</div>

+ 18 - 0
core/src/web/templates/member/incmobile/news.html

@@ -0,0 +1,18 @@
+<div class="comnav">
+	<span></span>
+	主要人员
+</div>
+<div class="entinfo-page" style="background:#FFF;">
+	<div class="b-right"> 
+   <div class="margin-t-10 b-adver"> 
+    <div class="b-adver-content newsInfo">
+     <ul>
+      <li><span><img src="/images/swordfish/circle.png" />2016-03-17 11:02:41</span><br /><a href="/front/webcontent/56eb70b9af53745027000022.html">比Bigbang还火爆的郑州物联网大会门票我!们!有!</a></li>
+      <li><span><img src="/images/swordfish/circle.png" />2016-03-17 09:57:00</span><br /><a href="/front/webcontent/56ea800daf53745027000018.html">大白兔奶糖换了外衣就涨价!你还会买吗?</a></li>
+      <li><span><img src="/images/swordfish/circle.png" />2016-03-17 01:40:55</span><br /><a href="/front/webcontent/56ea088daf53745027000005.html">这种诡异的二维码千万别碰!</a></li>
+     </ul>
+     <div class="clearfix"></div>
+    </div> 
+   </div> 
+  </div>
+</div>

+ 59 - 0
core/src/web/templates/member/incmobile/relation.html

@@ -0,0 +1,59 @@
+<div class="comnav">
+	<span></span>
+	关系网
+</div>
+<div class="ent-alterinfo">
+	<div class="ent-layout-up">
+		<div class="b-com-content">
+			<ul>		
+				<li>
+					<div>
+						<div>2015-07-15</div>
+						<div>注册资本(或外资中方认缴资本)</div>
+						<div>查看详情</div>
+						<div style="display:none;">变更前:50<br>变更后:2000.000000</div>
+						<a></a>
+					</div>
+					<div>
+						<div>2015-07-15</div>
+						<div>注册资本(或外资中方认缴资本)</div>
+						<div>查看详情</div>
+						<div style="display:none;">变更前:50<br>变更后:2000.000000</div>
+						<a></a>
+					</div>
+				</li>
+				<li>
+					<div>
+						<div>2015-07-15</div>
+						<div>注册资本(或外资中方认缴资本)</div>
+						<div>查看详情</div>
+						<div style="display:none;">变更前:50<br>变更后:2000.000000</div>
+						<a></a>
+					</div>
+					<div>
+						<div>2015-07-15</div>
+						<div>注册资本(或外资中方认缴资本)</div>
+						<div>查看详情</div>
+						<div style="display:none;">变更前:50<br>变更后:2000.000000</div>
+						<a></a>
+					</div>
+				</li>
+				<li>
+					<div>
+						<div></div>
+						<div></div>
+						<div></div>
+						<a></a>
+					</div>
+					<div>
+						<div></div>
+						<div></div>
+						<div></div>
+						<a></a>
+					</div>
+				</li>
+				<div class="clearfix"></div>
+			</ul>
+		</div>
+	</div>
+</div>

+ 38 - 0
core/src/web/templates/member/incmobile/yellowpage.html

@@ -0,0 +1,38 @@
+<div class="comnav">
+	<span></span>
+	企业黄页
+</div>
+<div class="combody baseinfo yellowpage">
+		<ul>
+			<li>
+				<div class="col-xs-1 text-right">
+						<span class="glyphicon glyphicon-flag colorc"></span>
+				</div>
+				<span class="col-xs-11 entvar">宋经理</span>
+			</li>
+			<li>
+				<div class="col-xs-1 text-right">
+						<span class="glyphicon glyphicon-flag colorc"></span>
+				</div>
+				<span class="col-xs-11 entvar">010-58983018</span>
+			</li>
+			<li>
+				<div class="col-xs-1 text-right">
+						<span class="glyphicon glyphicon-flag colorc"></span>
+				</div>
+				<span class="col-xs-11 entvar">yumei@staff.sina.com.cn</span>
+			</li>
+			<li>
+				<div class="col-xs-1 text-right">
+						<span class="glyphicon glyphicon-flag colorc"></span>
+				</div>
+				<span class="col-xs-11 entvar">www.sina.com</span>
+			</li>
+			<li>
+				<div class="col-xs-1 text-right">
+						<span class="glyphicon glyphicon-flag colorc"></span>
+				</div>
+				<span class="col-xs-11 entvar">北京市海淀区北四环西路58号理想大厦1506室</span>
+			</li>
+		</ul>
+</div>