|
@@ -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>
|
|
@@ -148,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}}
|
|
@@ -159,10 +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><a href="javascript:void(0)" onclick="showMap()">查看详细地图</a>
|
|
|
+ {{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>
|
|
@@ -635,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;
|
|
|
}
|