|
@@ -10,14 +10,6 @@
|
|
.member_nav_a{
|
|
.member_nav_a{
|
|
color: inherit;
|
|
color: inherit;
|
|
}
|
|
}
|
|
-.member-left .glyphicon{
|
|
|
|
- font-size: 20px;
|
|
|
|
- vertical-align: sub;
|
|
|
|
- width: 30px;
|
|
|
|
- text-align: center;
|
|
|
|
- margin-right: 5px;
|
|
|
|
- color: rgb(153, 153, 153);
|
|
|
|
-}
|
|
|
|
.member-loginName{
|
|
.member-loginName{
|
|
display: inline-block;
|
|
display: inline-block;
|
|
max-width: 240px;
|
|
max-width: 240px;
|
|
@@ -80,16 +72,23 @@
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
#serviceMerchan:hover,#personal:hover,#vipMenu:hover,#accountSetMenu:hover{
|
|
#serviceMerchan:hover,#personal:hover,#vipMenu:hover,#accountSetMenu:hover{
|
|
- background-color:#e4e4e4;
|
|
|
|
color:#0099FA;
|
|
color:#0099FA;
|
|
}
|
|
}
|
|
-.list-group .list-group-item {
|
|
|
|
|
|
+#serviceMerchan,#personal,#vipMenu,#accountSetMenu{
|
|
|
|
+ background-color:#F7F6F4;
|
|
|
|
+ margin-top: 10px;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+}
|
|
|
|
+#personal{
|
|
|
|
+ margin-top: 0px;
|
|
|
|
+}
|
|
|
|
+.member-left .list-group .list-group-item {
|
|
border: 0px;
|
|
border: 0px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
- color: #666666;
|
|
|
|
|
|
+ color: #666;
|
|
padding: 10px 0px 10px 70px;
|
|
padding: 10px 0px 10px 70px;
|
|
}
|
|
}
|
|
-a.list-group-item:hover{
|
|
|
|
|
|
+.member-left a.list-group-item:hover{
|
|
background-color:#fff;
|
|
background-color:#fff;
|
|
}
|
|
}
|
|
.member-right{
|
|
.member-right{
|
|
@@ -98,10 +97,48 @@ a.list-group-item:hover{
|
|
border: 1px solid #E5E6E9;
|
|
border: 1px solid #E5E6E9;
|
|
}
|
|
}
|
|
.b-round-dot {
|
|
.b-round-dot {
|
|
- background-color: rgb(255, 90, 95);
|
|
|
|
|
|
+ background-color: #ff5a5f;
|
|
}
|
|
}
|
|
.index-new-head .head-hidemenu i {
|
|
.index-new-head .head-hidemenu i {
|
|
- color: rgb(255, 90, 95);
|
|
|
|
|
|
+ color: #ff5a5f;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon{
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ vertical-align: middle;
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ top: -1px;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-jianyu {
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ vertical-align: sub;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-xuqiu {
|
|
|
|
+ font-size: 22px;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.bofangjilu {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ top: 0px;
|
|
|
|
+ opacity: 0.7;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-dingdan {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-toubiao {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ margin-right: 8px;
|
|
|
|
+ top: 0px;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-renzheng {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ top: 0px;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-guize {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+}
|
|
|
|
+.member-left .glyphicon.qmx-icon-mingpian {
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ vertical-align: baseline;
|
|
|
|
+ top: 0px;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
{{$identWay := session "identWay"}}
|
|
{{$identWay := session "identWay"}}
|
|
@@ -117,7 +154,20 @@ a.list-group-item:hover{
|
|
<img class="img-circle" src="{{Msg "seo" "cdn"}}{{$s_avatar}}" onerror="this.className='img-circle defaultHeadImg';this.src='{{Msg "seo" "cdn"}}/images/image_radius_bg.png'">
|
|
<img class="img-circle" src="{{Msg "seo" "cdn"}}{{$s_avatar}}" onerror="this.className='img-circle defaultHeadImg';this.src='{{Msg "seo" "cdn"}}/images/image_radius_bg.png'">
|
|
{{end}}
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
- <div><span style="line-height:30px;font-size:16px;padding:5px 0px 10px;" class="member-loginName cursor-pointer" onclick="window.location.href = '/member/show/memberindex'">{{session "nickName"}}</span></div>
|
|
|
|
|
|
+ <div><span style="font-size:16px;padding:10px 0px;" class="member-loginName cursor-pointer" onclick="window.location.href = '/member/show/memberindex'">{{session "nickName"}}</span></div>
|
|
|
|
+ {{if and (eq 1 $identWay) (session "identType")}}
|
|
|
|
+ <div style="padding-bottom:10px;">
|
|
|
|
+ <span>{{printf "%v" (index (session "userInfo") "s_enterprisename")}}</span>
|
|
|
|
+ {{$identType := session "identType"}}
|
|
|
|
+ {{if eq 1 $identType}}
|
|
|
|
+ <i class="glyphicon qyrz" style="width:25px;color:red;font-size:16px;margin-right:0px;"></i><span class="font-size-12" style="font-weight:normal;color:#999999;"></span>
|
|
|
|
+ {{else if eq 2 $identType}}
|
|
|
|
+ <i class="glyphicon grrz" style="width:25px;color:red;font-size:16px;margin-right:0px;"></i><span class="font-size-12" style="font-weight:normal;color:#999999;"></span>
|
|
|
|
+ {{else if eq 3 $identType}}
|
|
|
|
+ <i class="glyphicon jgrz" style="width:25px;color:red;font-size:16px;margin-right:0px;"></i><span class="font-size-12" style="font-weight:normal;color:#999999;"></span>
|
|
|
|
+ {{end}}
|
|
|
|
+ </div>
|
|
|
|
+ {{end}}
|
|
<div>
|
|
<div>
|
|
{{if session "credit_qd"}}
|
|
{{if session "credit_qd"}}
|
|
{{if eq (session "credit_qd") "y"}}
|
|
{{if eq (session "credit_qd") "y"}}
|
|
@@ -135,7 +185,7 @@ a.list-group-item:hover{
|
|
<div style="line-height: 24px;width:248px;height:50px;text-align:center;">
|
|
<div style="line-height: 24px;width:248px;height:50px;text-align:center;">
|
|
<div onclick="creditModel(1)" style="float:left;width:120px;border-right:1px;">
|
|
<div onclick="creditModel(1)" style="float:left;width:120px;border-right:1px;">
|
|
<div style="font-weight: 700;">积分</div>
|
|
<div style="font-weight: 700;">积分</div>
|
|
- <div><i class="glyphicon jinbi" style="width:20px;color:red;font-size:13px;margin-top: -7px;vertical-align: middle;"></i><span style="font-weight:normal;" class="gold">{{session "i_credit"}}</span><span class="font-size-12 hidden" style="color:#999999;"> 积分</span></div>
|
|
|
|
|
|
+ <div><i class="glyphicon jinbi" style="width:20px;color:red;font-size:13px;margin-top: -5px;vertical-align: middle;"></i><span style="font-weight:normal;" class="gold">{{session "i_credit"}}</span><span class="font-size-12 hidden" style="color:#999999;"> 积分</span></div>
|
|
</div>
|
|
</div>
|
|
<div style="height:50px;float:left;width:1px;background-color:#e5e6e9"></div>
|
|
<div style="height:50px;float:left;width:1px;background-color:#e5e6e9"></div>
|
|
<div onclick="window.location.href='/member/accountset/index'" style="float:left;width:125px;">
|
|
<div onclick="window.location.href='/member/accountset/index'" style="float:left;width:125px;">
|
|
@@ -172,7 +222,7 @@ a.list-group-item:hover{
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
<div class="list-group-item" id="personal">个人菜单</div>
|
|
<div class="list-group-item" id="personal">个人菜单</div>
|
|
- <a class="list-group-item" onclick="window.location.href = '/member/swordfish/rssset'">剑鱼(信息订阅)</a>
|
|
|
|
|
|
+ <a class="list-group-item" onclick="window.location.href = '/member/swordfish/rssset'"><i class="glyphicon qmx-icon-jianyu"></i>剑鱼</a>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<!-- vipcreditModal -->
|
|
<!-- vipcreditModal -->
|
|
@@ -229,7 +279,7 @@ a.list-group-item:hover{
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
var role = "{{$s_role}}"=="<nil>"?"":"{{$s_role}}";
|
|
var role = "{{$s_role}}"=="<nil>"?"":"{{$s_role}}";
|
|
-var identWay = "{{$identWay}}";
|
|
|
|
|
|
+var identWay = {{$identWay}};
|
|
var entId = '{{session "entid"}}';
|
|
var entId = '{{session "entid"}}';
|
|
var isCanEditEnt = entId!="";
|
|
var isCanEditEnt = entId!="";
|
|
var MemberLeftMenu = {
|
|
var MemberLeftMenu = {
|
|
@@ -240,17 +290,17 @@ var MemberLeftMenu = {
|
|
html += this.accountSetMenu()+this.accountMenu()+this.messageMenu();
|
|
html += this.accountSetMenu()+this.accountMenu()+this.messageMenu();
|
|
return;
|
|
return;
|
|
}else if(role == "" || /^[9]$/.test(role)){//最大权限
|
|
}else if(role == "" || /^[9]$/.test(role)){//最大权限
|
|
- html += this.myAppointment()+this.myDemand()+this.myYellowPageMenu()+this.serverMenu()+this.employeemanageMenu();
|
|
|
|
|
|
+ html += this.myDemand()+this.myAppointment()+this.employeemanageMenu()+this.myFollow();
|
|
if(/^[9]$/.test(role)){
|
|
if(/^[9]$/.test(role)){
|
|
html += this.callCenterMenu();
|
|
html += this.callCenterMenu();
|
|
}
|
|
}
|
|
- html += this.serviceMerchantMenu()+this.orderManageMenu()+this.bidManageMenu();
|
|
|
|
|
|
+ html += this.serviceMerchantMenu()+this.autheMenu()+this.myYellowPageMenu()+this.serverMenu()+this.orderManageMenu()+this.bidManageMenu();
|
|
html += this.employeemanageMenu();
|
|
html += this.employeemanageMenu();
|
|
if(/^[3]$/.test(role)){//客服
|
|
if(/^[3]$/.test(role)){//客服
|
|
html += this.callCenterMenu();
|
|
html += this.callCenterMenu();
|
|
}
|
|
}
|
|
- html += this.accountSetMenu()+this.accountMenu()+this.messageMenu();
|
|
|
|
html += this.vipMenu()+this.myCredit()+this.creditRule();
|
|
html += this.vipMenu()+this.myCredit()+this.creditRule();
|
|
|
|
+ html += this.accountSetMenu()+this.messageMenu()+this.accountMenu();
|
|
}else if(isCanEditEnt){
|
|
}else if(isCanEditEnt){
|
|
html += this.myYellowPageMenu();
|
|
html += this.myYellowPageMenu();
|
|
if(/^[1]$/.test(role)){//黄页编辑者
|
|
if(/^[1]$/.test(role)){//黄页编辑者
|
|
@@ -262,11 +312,14 @@ var MemberLeftMenu = {
|
|
},
|
|
},
|
|
//实名认证菜单
|
|
//实名认证菜单
|
|
autheMenu: function(){
|
|
autheMenu: function(){
|
|
- return '<a class="list-group-item" onclick="window.location.href=\'/member/authentication/index\'"><i class="glyphicon shimingrenzheng"></i>实名1认证</a>';
|
|
|
|
|
|
+ if(identWay == 1){
|
|
|
|
+ return '';
|
|
|
|
+ }
|
|
|
|
+ return '<a class="list-group-item authemenu" onclick="window.location.href=\'/member/authentication/index\'"><i class="glyphicon qmx-icon-renzheng"></i>用户认证</a>';
|
|
},
|
|
},
|
|
//账户设置
|
|
//账户设置
|
|
accountMenu: function(){
|
|
accountMenu: function(){
|
|
- return '<a class="list-group-item accountmenu" onclick="window.location.href = \'/member/accountset/index\'">账户设置</a>';
|
|
|
|
|
|
+ return '<a class="list-group-item accountmenu" onclick="window.location.href = \'/member/accountset/index\'"><i class="glyphicon qmx-icon-shezhi"></i>账户设置</a>';
|
|
},
|
|
},
|
|
//服务商家菜单
|
|
//服务商家菜单
|
|
serviceMerchantMenu: function(){
|
|
serviceMerchantMenu: function(){
|
|
@@ -278,7 +331,7 @@ var MemberLeftMenu = {
|
|
},
|
|
},
|
|
//消息菜单
|
|
//消息菜单
|
|
messageMenu: function(){
|
|
messageMenu: function(){
|
|
- return '<a class="list-group-item" onclick="window.location.href = \'/member/msgcenter\'" id="msgCenter">网站消息</a>'
|
|
|
|
|
|
+ return '<a class="list-group-item" onclick="window.location.href = \'/member/msgcenter\'" id="msgCenter"><i class="glyphicon qmx-icon-xiaoxi"></i>网站消息</a>'
|
|
},
|
|
},
|
|
//员工管理菜单
|
|
//员工管理菜单
|
|
employeemanageMenu: function(){
|
|
employeemanageMenu: function(){
|
|
@@ -302,7 +355,7 @@ var MemberLeftMenu = {
|
|
}else{//不可编辑黄页跳转到企业认证页面
|
|
}else{//不可编辑黄页跳转到企业认证页面
|
|
href = this.authentHref;
|
|
href = this.authentHref;
|
|
}
|
|
}
|
|
- return '<a onclick="window.location.href=\''+href+'\'" class="list-group-item myyellow">我的黄页</a>';
|
|
|
|
|
|
+ return '<a onclick="window.location.href=\''+href+'\'" class="list-group-item myyellow"><i class="glyphicon qmx-icon-mingpian"></i>企业/商家名片</a>';
|
|
},
|
|
},
|
|
//产品服务菜单
|
|
//产品服务菜单
|
|
serverMenu: function(){
|
|
serverMenu: function(){
|
|
@@ -312,7 +365,7 @@ var MemberLeftMenu = {
|
|
}else{//不可编辑黄页跳转到企业认证页面
|
|
}else{//不可编辑黄页跳转到企业认证页面
|
|
href = this.authentHref;
|
|
href = this.authentHref;
|
|
}
|
|
}
|
|
- return '<a onclick="window.location.href=\''+href+'\'" class="list-group-item">产品服务</a>';
|
|
|
|
|
|
+ return '<a onclick="window.location.href=\''+href+'\'" class="list-group-item"><i class="glyphicon qmx-icon-fabufuwu"></i>发布服务</a>';
|
|
},
|
|
},
|
|
//微官网菜单
|
|
//微官网菜单
|
|
microwebsiteMenu: function(){
|
|
microwebsiteMenu: function(){
|
|
@@ -320,19 +373,19 @@ var MemberLeftMenu = {
|
|
},
|
|
},
|
|
//我预约的服务
|
|
//我预约的服务
|
|
myAppointment: function(){
|
|
myAppointment: function(){
|
|
- return '<a onclick="window.location.href=\'/member/myAppointment\'" class="list-group-item myappointment">我预约的服务</a>';
|
|
|
|
|
|
+ return '<a onclick="window.location.href=\'/member/myAppointment\'" class="list-group-item myappointment"><i class="glyphicon bofangjilu"></i>我预约的服务</a>';
|
|
},
|
|
},
|
|
//我发布的需求
|
|
//我发布的需求
|
|
myDemand: function(){
|
|
myDemand: function(){
|
|
- return '<a onclick="window.location.href=\'/member/myDemand\'" class="list-group-item mydemand">我发布的需求</a>';
|
|
|
|
|
|
+ return '<a onclick="window.location.href=\'/member/myDemand\'" class="list-group-item mydemand"><i class="glyphicon qmx-icon-xuqiu"></i>我发布的需求</a>';
|
|
},
|
|
},
|
|
//订单管理
|
|
//订单管理
|
|
orderManageMenu: function(){
|
|
orderManageMenu: function(){
|
|
- return '<a onclick="window.location.href=\'/member/orderManage\'" class="menu-childnode list-group-item ordermanage">订单管理</a>';
|
|
|
|
|
|
+ return '<a onclick="window.location.href=\'/member/orderManage\'" class="menu-childnode list-group-item ordermanage"><i class="glyphicon qmx-icon-dingdan"></i>订单管理</a>';
|
|
},
|
|
},
|
|
//需求管理
|
|
//需求管理
|
|
bidManageMenu: function(){
|
|
bidManageMenu: function(){
|
|
- return '<a onclick="window.location.href=\'/member/bidManage\'" class="menu-childnode list-group-item bidmanage">投标管理</a>';
|
|
|
|
|
|
+ return '<a onclick="window.location.href=\'/member/bidManage\'" class="menu-childnode list-group-item bidmanage"><i class="glyphicon qmx-icon-toubiao"></i>投标管理</a>';
|
|
},
|
|
},
|
|
//vip会有菜单
|
|
//vip会有菜单
|
|
vipMenu: function(){
|
|
vipMenu: function(){
|
|
@@ -340,11 +393,15 @@ var MemberLeftMenu = {
|
|
},
|
|
},
|
|
//我的积分
|
|
//我的积分
|
|
myCredit: function(){
|
|
myCredit: function(){
|
|
- return '<a onclick="creditModel(1)" class="menu-childnode2 list-group-item mycredit" data-target="#vipcreditModal">我的积分</a>';
|
|
|
|
|
|
+ return '<a onclick="creditModel(1)" class="menu-childnode2 list-group-item mycredit" data-target="#vipcreditModal"><i class="glyphicon qmx-icon-jifen"></i>我的积分</a>';
|
|
},
|
|
},
|
|
//积分规则
|
|
//积分规则
|
|
creditRule: function(){
|
|
creditRule: function(){
|
|
- return '<a href="/member/credit/creditRule" class="menu-childnode2 list-group-item credit">积分规则</a>';
|
|
|
|
|
|
+ return '<a href="/member/credit/creditRule" class="menu-childnode2 list-group-item credit"><i class="glyphicon qmx-icon-guize"></i>积分规则</a>';
|
|
|
|
+ },
|
|
|
|
+ //我关注的企业
|
|
|
|
+ myFollow: function(){
|
|
|
|
+ return '<a href="/member/myFollowEnts" class="menu-childnode2 list-group-item myfollow"><i class="glyphicon weiguanzhu"></i>我关注的企业</a>';
|
|
}
|
|
}
|
|
};
|
|
};
|
|
$(function (){
|
|
$(function (){
|