소스 검색

企明星修改

wangshan 9 년 전
부모
커밋
bbfd9e81d4

+ 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-06-07 14:10:07"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-06-07 14:10:07"}},"marketisstart":true,"marketrate":300}
+{"comment":{"c_rate":720,"commentrate":900},"market":{"demand":{"attr":["i_hits","i_bids","i_status"],"timepoint":"2016-06-07 16:31:56"},"service":{"attr":["i_hits","i_sales","i_comments","i_score","i_appcounts"],"timepoint":"2016-06-07 16:31:56"}},"marketisstart":true,"marketrate":300}

+ 43 - 4
core/src/web/templates/member/credit/mcreditindex.html

@@ -1,4 +1,3 @@
-<!DOCTYPE HTML>
 <html>
 	<title>我的积分</title>
 	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
@@ -42,7 +41,7 @@
 			float:left;
 			margin-right:25px;
 		}
-		div.title{
+		div.title,div.mytitle{
 			border-bottom:1px solid #F8F8F8;
 			height:40px;
 			line-height:42px;
@@ -55,9 +54,15 @@
 		.m-rules{
 			padding-left: 15px;
 		}
+		.my-rules{
+			padding-left: 15px;
+		}
 		.m-rules div.title:hover{
 			background:#F6F9F4;
 		}
+		.my-rules div.mytitle:hover{
+			background:#F6F9F4;
+		}
 		.m-rules div.title span{
 			line-height:40px;
 			padding-right:30px;
@@ -65,15 +70,31 @@
 			font-weight:100;
 			float:right;
 		}
+		.my-rules div.mytitle span{
+			line-height:40px;
+			padding-right:30px;
+			color:#CCCCCC;
+			font-weight:100;
+			float:right;
+		}
 		.m-rules div.title button{
 			margin-top:2px;
 			font-weight:600;
 			font-size:15px;
 		}
+		.my-rules div.mytitle button{
+			margin-top:2px;
+			font-weight:600;
+			font-size:15px;
+		}
 		.m-rules img{
 			width:22px;
 			margin:-5px 5px 0 0 ;
 		}
+		.my-rules img{
+			width:22px;
+			margin:-5px 5px 0 0 ;
+		}
 		.padding0{
 			padding-right:0px;
 		}
@@ -155,6 +176,21 @@
 		div.title b.u-back small a{
 			color:#B3B3B3;
 		}
+		.my-rules div.mytitle i.u-prefix{
+			color:#FF5A5F;
+			margin-right:5px;
+		}
+		div.mytitle b.u-mycunt{
+			padding-left:10px;
+			color:#FF5A5F;
+		}
+		div.mytitle b.u-back small{
+			font-weight:normal;
+			color:#F8F8F8;
+		}
+		div.mytitle b.u-back small a{
+			color:#B3B3B3;
+		}
 		.mycredit .content{
 			padding:15px;
 			padding-right:0px;
@@ -275,8 +311,8 @@
 		<div class="m-rules" target="creditrules">
 				<div class="title"><i class="u-prefix  glyphicon qmx-icon-jifen"></i> 积分规则<span class="glyphicon xiayibu"></span></div>
 		</div>
-		<div class="m-rules" target="">
-			<div class="title"><i class="u-prefix glyphicon yiguanzhu"></i> 我关注的企业<span class="glyphicon xiayibu"></span></div>
+		<div class="my-rules">
+			<div class="mytitle" onclick="window.location='/member/myFollowEnts'"><i class="u-prefix glyphicon yiguanzhu"></i> 我关注的企业<b class="u-mycunt">( 8 )</b><span class="glyphicon xiayibu"></span></div>
 		</div>
 	</div>
 	
@@ -374,6 +410,9 @@
 			
 	<script>
 		$(function(){
+				$.get("/member/enterprise/entcount",function(a){
+					$(".u-mycunt").text("("+a+")");
+				})
 				changeStatus();
 				$(".m-rules").bind("click",show);
 				$(".bookin").bind("click",show);

+ 1 - 2
core/src/web/templates/member/incmobile/index.html

@@ -116,8 +116,7 @@ if(typeof(signature) != "undefined" && signature != null && signature.length ==
 <script src="{{Msg "seo" "cdn"}}/js/qfw.js"></script>
 <script>
 $(function(){
-	$.get("http://127.0.0.1/member/enterprise/entcount",function(a){
-		alert(a)
+	$.get("/member/enterprise/entcount",function(a){
 		$("#entcount").text(a);
 	})
 });

+ 4 - 1
core/src/web/templates/member/incmobile/myfollow.html

@@ -48,14 +48,16 @@
 		</div>
 {{end}}
 </div>
+<!--
 <div class="text-center" id="mf_add">
 	<span class="btn btn-default">+ 添加你关注的企业名称</span>
 </div>
-
+-->
 <div class="text-center" onClick="" id="mf_tishi">
 	<span class="glyphicon tishi"></span> <span>为给你更好的使用体验目前仅支持关注10家企业</span>
 </div>
 </div>
+<!--
 <div class="mf_addcontent  hidden">
 	<div class="mf_title">
 	<span class="mf_one">关注企业</span>
@@ -65,6 +67,7 @@
 	<textarea id="mf_entName" name="mf_entName" placeholder="企业名称"></textarea>
 	</div>
 </div>
+-->
 <body>