|
@@ -41,6 +41,44 @@
|
|
|
margin-left: -47px;
|
|
|
margin-right: -15px;
|
|
|
}
|
|
|
+ .white_content {
|
|
|
+ display: none;
|
|
|
+ position: absolute;
|
|
|
+ top: 25%;
|
|
|
+ left: 25%;
|
|
|
+ width: 55%;
|
|
|
+ height: 55%;
|
|
|
+ padding: 20px;
|
|
|
+ border: 5px solid #dd4814;
|
|
|
+ background-color: white;
|
|
|
+ z-index: 1002;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+.black_overlay {
|
|
|
+ display: none;
|
|
|
+ position: absolute;
|
|
|
+ top: 0px;
|
|
|
+ left: 0px;
|
|
|
+ right: 0px;
|
|
|
+ bottom: 0px;
|
|
|
+ background-color: black;
|
|
|
+ z-index: 1001;
|
|
|
+ -moz-opacity: 0.8;
|
|
|
+ opacity: .80;
|
|
|
+ filter: alpha(opacity=88);
|
|
|
+}
|
|
|
+.closeshowmap{
|
|
|
+ display: none;
|
|
|
+ position: absolute;
|
|
|
+ top: 25%;
|
|
|
+ left: 79%;
|
|
|
+ float:right;
|
|
|
+ margin:5px 5px 0px 0px;
|
|
|
+ background-color: white;
|
|
|
+ z-index:1003;
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|
|
|
<link href="/css/index-new.css" rel="stylesheet">
|
|
|
</head>
|
|
@@ -85,7 +123,32 @@
|
|
|
</div>
|
|
|
<div class="col-xs-12 col-sm-8 d_service_main">
|
|
|
<div class="a-twostage-title u-overflow">{{.T.sinfo.s_name}}<small style="font-size:12px;font-weight:normal;" class="text-primary"> {{.T.sinfo.servicetypename}}</small></div>
|
|
|
- <div><span class="text-muted margin-r-10"><a href="/enterprise/{{.T.sinfo.s_enterpriseid}}.html" target="_blank">{{.T.sinfo.s_enterprisename}}</a></span></div>
|
|
|
+ <div><span class="text-muted margin-r-10"><a href="/enterprise/{{.T.sinfo.s_enterpriseid}}.html" target="_blank">{{.T.sinfo.s_enterprisename}}</a></span>
|
|
|
+ <span>
|
|
|
+ {{$v:=.T.sinfo}}
|
|
|
+ {{ if $v.i_identType }}
|
|
|
+ {{ if eq $v.i_identType 1}}
|
|
|
+ <span class="glyphicon qyrz margin-l-10 jhtb"></span><span class="lineb " ><small style="margin-left:5px;margin-right:5px;">已认证企业 </small></span>
|
|
|
+ {{ if $v.i_comauthenttype }}
|
|
|
+ -
|
|
|
+ {{ if eq $v.i_comauthenttype 2.0}}
|
|
|
+ <span class="glyphicon mprz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-right:-7px;">名片认证</small></span>
|
|
|
+ {{else if eq $v.i_comauthenttype 1.0}}
|
|
|
+ <span class="glyphicon yyzzrz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-left:3px;margin-right:-7px;">营业执照认证</small></span>
|
|
|
+ {{else if eq $v.i_comauthenttype 3.0}}
|
|
|
+ <span class="glyphicon yjrz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-right:-7px;">年报邮箱认证</small></span>
|
|
|
+ {{end}}
|
|
|
+ {{else}}
|
|
|
+ <span class="glyphicon yyzzrz margin-r-10 jhtbtype"></span><span class="lineb " ><small style="margin-left:3px;margin-right:-7px;">营业执照认证</small></span>
|
|
|
+ {{end}}
|
|
|
+ {{else if eq $v.i_identType 2}}
|
|
|
+ <span class="glyphicon grrz margin-l-10 jhtb"></span><span class="lineb " ><small style="margin-left:-5px;margin-right:5px;"> 已认证个人</small></span>
|
|
|
+ {{else if eq $v.i_identType 3}}
|
|
|
+ <span class="glyphicon jgrz margin-l-10 jhtb"></span><span class="lineb " ><small style="margin-left:5px;margin-right:5px;">已认证机构</small></span>
|
|
|
+ {{end}}
|
|
|
+ {{end}}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
<div class="d-service-price">
|
|
|
<div>
|
|
|
{{if .T.sinfo.s_pricemy }}
|
|
@@ -123,7 +186,9 @@
|
|
|
{{end}}
|
|
|
</div>
|
|
|
<div class="margin-b-5 m-linkman">
|
|
|
+ {{if .T.einfo.s_persion}}
|
|
|
<span class="glyphicon ren2 icon_gray text-muted" ></span><span class="margin-r-10 text-muted">{{.T.einfo.s_persion}}</span>
|
|
|
+ {{end}}
|
|
|
{{if .T.sinfo.s_phone}}
|
|
|
<span class="glyphicon shouji icon_gray text-muted" ></span><span class="margin-r-10 text-muted">{{.T.einfo.s_mobile}}</span>
|
|
|
{{end}}
|
|
@@ -134,7 +199,12 @@
|
|
|
{{if .T.einfo.s_qq}}
|
|
|
<span class="glyphicon qq1 icon_gray text-muted" ></span><span class="text-muted"><a href="tencent://message/?uin={{.T.einfo.s_qq}}&Site=hexun.com/ngdao&Menu=yes" class="margin-r-10"><img src="/images/u124.png" style="margin-top:-10px;cursor:pointer;" /></a></span>
|
|
|
{{end}}
|
|
|
- <br/><span class="glyphicon dizhi icon_gray text-muted" ></span><span class="text-muted"><span id="de-address"></span> </span><br/>
|
|
|
+ {{if .T.einfo.i_province}}
|
|
|
+ <br/><span class="glyphicon dizhi icon_gray text-muted" ></span><span class="text-muted"><span id="de-address"></span><a href="javascript:void(0)" onclick="showMap()" style="color:#000;"> 查看详细地图</a>
|
|
|
+ <input id="location" type="hidden" value="">
|
|
|
+ <input id="cityname" type="hidden" value="">
|
|
|
+ </span><br/>
|
|
|
+ {{end}}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -256,7 +326,7 @@
|
|
|
<div style="float:left;" id="zpflower">
|
|
|
<img style="margin-top:-5px;margin-right:10px;" src="/images/rflower.png" />
|
|
|
</div>
|
|
|
- <div style="float:left;">
|
|
|
+ <div style="float:left;width:843px;">
|
|
|
<div>
|
|
|
<div class="graystar1"><div class="greenstar1" style="width: 100%;"></div></div>
|
|
|
</div>
|
|
@@ -297,11 +367,20 @@
|
|
|
{{include "/common/hotservice.html"}}
|
|
|
</div>
|
|
|
</div>
|
|
|
+<!--显示地图信息-->
|
|
|
+<div id="mapshowdiv" class="white_content"></div>
|
|
|
+<a href ="javascript:void(0)" onclick="closeMap();"><div id="closeshowmap" class="closeshowmap">X</div></a>
|
|
|
+<div id="fade" class="black_overlay"></div>
|
|
|
{{include "/common/bottom.html"}}
|
|
|
<script type="text/javascript">
|
|
|
compulsoryreRresh = true;
|
|
|
$(function(){
|
|
|
-
|
|
|
+ //获取地图的经纬度
|
|
|
+ loadJS("http://api.map.baidu.com/getscript?v=2&ak=AFd8b176f363f23e6a23d516f4cfb742&services=&t=20150522093217",function(){
|
|
|
+ loadJS("/js/geocoder.js",function(){
|
|
|
+ doOptions();
|
|
|
+ });
|
|
|
+ });
|
|
|
$(".d_fwfl a").eq(0).addClass("d_fwfl")
|
|
|
$(".m-comment li").mouseover(function(a,b,c){
|
|
|
var node=$(a.currentTarget);
|
|
@@ -434,7 +513,7 @@ function getComment(n,start){
|
|
|
}
|
|
|
str+="<div class='pson'><div class='first' style='margin-right:20px;'>"+img+"</div>";
|
|
|
str+="<div class='first'><div>"+pic+"</div><div><span class=\"dspan\">"+s[i]["s_nickname"].substring(0,2)+"***</span></div></div>";
|
|
|
- str+="<div class='first' style='width:722px;padding:5px 0 0 30px;'><div style='margin-bottom:10px;'> <div class='graystar1'><div class='greenstar1' style='width: "+style+"%;'></div></div></div><div><span style='font-size:13px;'>"+s[i]["s_comment"]+"</span></div> "
|
|
|
+ str+="<div class='first' style='width:722px;padding:5px 0 0 30px;'><div style='margin-bottom:10px;'> <div class='graystar1'><div class='greenstar1' style='width: "+style+"%;'></div></div></div><div><span style='font-size:13px;display: inline-block;width: 110%;'>"+s[i]["s_comment"]+"</span></div> "
|
|
|
if(isSelf==1 && s[i]["s_reply"]==""){
|
|
|
str+="<a style=\"color:#3a87ad;\" class=\"f-reply\" onclick=\"sreply(this)\">回复</a>";
|
|
|
}
|
|
@@ -598,21 +677,28 @@ function comment(){
|
|
|
if(temp1["k"]==i_province){
|
|
|
var temp1c=temp1["s"]
|
|
|
if (i_city=="0"){
|
|
|
+ $("#location").val(address);
|
|
|
address=temp1["n"]+address;
|
|
|
$("#de-address").text(address);
|
|
|
+ $("#cityname").val(temp1["n"]);
|
|
|
}
|
|
|
for(var j=0;j<temp1c.length;j++){
|
|
|
var temp2=temp1c[j];
|
|
|
if(temp2["k"]==i_city){
|
|
|
if(typeof(temp2["s"])=="undefined"){
|
|
|
+ $("#location").val(address);
|
|
|
address=temp1["n"]+temp2["n"]+address;
|
|
|
$("#de-address").text(address);
|
|
|
+ $("#cityname").val(temp1["n"]+temp2["n"]);
|
|
|
}else{
|
|
|
var temp2c=temp2["s"];
|
|
|
for(var k=0;k<temp2c.length;k++){
|
|
|
temp3=temp2c[k];
|
|
|
if(temp3["k"]=i_area){
|
|
|
+ $("#location").val(address);
|
|
|
+
|
|
|
address=temp1["n"]+temp2["n"]+temp3["n"]+address;
|
|
|
+ $("#cityname").val(temp1["n"]+temp2["n"]+temp3["n"]);
|
|
|
$("#de-address").text(address);
|
|
|
break;
|
|
|
}
|
|
@@ -627,11 +713,32 @@ function comment(){
|
|
|
$(".glyphicon.dizhi.icon_gray.text-muted").remove();
|
|
|
}
|
|
|
});
|
|
|
+ //显示地图
|
|
|
+ function showMap(){
|
|
|
+ document.getElementById('mapshowdiv').style.display = 'block';
|
|
|
+ document.getElementById('closeshowmap').style.display = 'block';
|
|
|
+ document.getElementById('fade').style.display = 'block';
|
|
|
+ $("html,body").addClass("overflow-hidden");
|
|
|
+ }
|
|
|
+ //关闭地图
|
|
|
+ function closeMap(){
|
|
|
+ document.getElementById('mapshowdiv').style.display = 'none';
|
|
|
+ document.getElementById('closeshowmap').style.display = 'none';
|
|
|
+ document.getElementById('fade').style.display = 'none';
|
|
|
+ $("html,body").removeClass("overflow-hidden");
|
|
|
+ }
|
|
|
</script>
|
|
|
|
|
|
<script src="/js/jquery.cxselect.js" type="text/javascript"> </script>
|
|
|
<SCRIPT src="/js/lib.js" type="text/javascript"></SCRIPT>
|
|
|
<SCRIPT src="/js/163css.js" type="text/javascript"></SCRIPT>
|
|
|
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16","onAfterClick":function(){$.post("/member/credit/inCreditAjx",{"param":"fx"},function(r){})}},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
|
|
|
+<script>
|
|
|
+ $(function(){
|
|
|
+ $("#releaseService").css("color","#FF5A5F");
|
|
|
+ $("#releaseService").css("font-weight","600");
|
|
|
+ $(".img-circle.b-com-first").css("background-color","#FF5A5F");
|
|
|
+ });
|
|
|
+</script>
|
|
|
</body>
|
|
|
</html>
|