Ver código fonte

会员中心

zhangjinkun@topnet.net.cn 9 anos atrás
pai
commit
72b08dd7b6
1 arquivos alterados com 39 adições e 19 exclusões
  1. 39 19
      core/src/web/templates/common/memberleft.html

+ 39 - 19
core/src/web/templates/common/memberleft.html

@@ -60,7 +60,15 @@
 	height: 20px;
 	margin-right: 5px;
 }
-
+.txbootleft{
+	float:left;
+	padding-left:5px;
+	
+}
+.txbootright{
+	float:right;
+	padding-right:5px;
+}
 </style>
 {{$identWay := session "identWay"}}
 {{$s_role := printf "%v" (index (session "userInfo") "s_role")}}
@@ -79,7 +87,7 @@
 			<div>
 			{{if session "credit_qd"}}
 				{{if eq (session "credit_qd") "y"}}
-					<button style="width:100px" class="btn" disabled>签到</button>
+					<button style="width:100px" class="btn" disabled>签到</button>
 				{{else}}
 					<button id="credit_qd" style="width:100px" class="btn btn-primary" onclick="qd()">签到</button>
 				{{end}}	
@@ -87,28 +95,39 @@
 				<button id="credit_qd" style="width:100px" class="btn btn-primary" onclick="qd()">签到</button>
 			{{end}}	
 			</div>
+		</div>
+	</a>
+	<a class="list-group-item" style="padding:10px 2px">
+	<div style="width:198px;height:40px;text-align:center;">
+		<div style="float:left;width:90px;border-right:1px">
+			<div>积分</div>
+			<div><i class="glyphicon jinbi" style="width:25px;color:red;font-size:18px"></i>{{session "i_credit"}}</div>
+		</div>
+		<div style="height:40px;float:left;width:1px;background-color:#DDDDDD"></div>
+		<div style="float:left;width:105px;">
+			<div>认证</div>
 			<div>
-				<i class="glyphicon jinbi" style="color:red"></i>{{session "i_credit"}}
-				{{if session "identType"}}
-					{{$identType := session "identType"}}
-					{{if eq 1 $identType}}
-						{{if eq 1 $identWay}}
-						<i class="glyphicon qyrz" style="color:#FF5A5F;top:4px;"></i>已认证企业
-						{{end}}
-					{{else if eq 2 $identType}}
-						{{if eq 1 $identWay}}
-						<i class="glyphicon grrz" style="color:#FF5A5F;top:4px;"></i>已认证个人
-						{{end}}
-					{{else if eq 3 $identType}}
-						{{if eq 1 $identWay}}
-						<i class="glyphicon jgrz" style="color:#FF5A5F;top:4px;"></i>已认证机构
-						{{end}}
+			{{if session "identType"}}
+				{{$identType := session "identType"}}
+				{{if eq 1 $identType}}
+					{{if eq 1 $identWay}}
+					<i class="glyphicon qyrz" style="width:25px;color:red;font-size:18px;margin-right:0px;"></i>已认证企业
+					{{end}}
+				{{else if eq 2 $identType}}
+					{{if eq 1 $identWay}}
+					<i class="glyphicon grrz" style="width:25px;color:red;font-size:18px;margin-right:0px;"></i>已认证个人
+					{{end}}
+				{{else if eq 3 $identType}}
+					{{if eq 1 $identWay}}
+					<i class="glyphicon jgrz" style="width:25px;color:red;font-size:18px;margin-right:0px;"></i>已认证机构
 					{{end}}
-				{{else}}
-					<i class="glyphicon grrz" style="top:4px;"></i>未认证
 				{{end}}
+			{{else}}
+				<i class="glyphicon grrz" style="width:25px;color:red;font-size:18px;margin-right:0px;"></i>未认证
+			{{end}}
 			</div>
 		</div>
+	</div>
 	</a>
 	<a class="list-group-item" onclick="window.location.href = '/member/accountset/index'"><i class="glyphicon zhanghao"></i>账户设置</a>
 	<a class="list-group-item" onclick="window.location.href = '/member/swordfish/rssset'"><i class="glyphicon iconfontcolor71"></i>剑鱼(信息订阅)</a>
@@ -247,6 +266,7 @@ $(function (){
 		if(r&&r.result=="y"){
 			$("#credit_qd").attr("disabled","disabled");
 			$("#credit_qd").removeClass("btn-primary");
+			$("#credit_qd").html("已签到")
 		}
 	});