Commit 79fdd457 by wangling

20190518---wangling---同住信息样式修改

parent dcaa08d6
......@@ -286,13 +286,13 @@ body .layui-layer-tips .layui-layer-content{/* color:#000; */}
.layui-layer-tips .layui-layer-content{background:rgb(10, 135, 165) !important;color:#fff;}
body .layui-layer-tips i.layui-layer-TipsB, .layui-layer-tips i.layui-layer-TipsT{border-top-color: transparent; !important;border-top-style: solid;border-right-color: transparent !important;border-right-style: inherit;line-height: 0;border-color: transparent transparent rgb(10, 135, 165) transparent;border-style: dashed dashed solid dashed;}
body .layui-layer-tips i.layui-layer-TipsB{top:-16px;}
#content2 .new1:nth-child(1),#content3 .new1:nth-child(1){margin-left: -420px;margin-top: -344px;}
#content2 .new1:nth-child(2),#content3 .new1:nth-child(2){margin-left: -500px;margin-top: -186px;}
#content2 .new1:nth-child(1),#content3 .new1:nth-child(1){margin-left: -526px;margin-top: -344px;}
#content2 .new1:nth-child(2),#content3 .new1:nth-child(2){margin-left: -555px;margin-top: -186px;}
#content2 .new1:nth-child(3),#content3 .new1:nth-child(3){margin-left: 186px;margin-top: -336px;}
#content2 .new1:nth-child(4),#content3 .new1:nth-child(4){margin-left: 241px;margin-top: -166px;}
#content2 .new1:nth-child(5),#content3 .new1:nth-child(5){margin-left: -407px;margin-top: -24px;}
#content2 .new1:nth-child(5),#content3 .new1:nth-child(5){margin-left: -510px;margin-top: -24px;}
#content2 .new1:nth-child(6),#content3 .new1:nth-child(6){margin-left: 175px;margin-top: -1px;}
#content2 .new1:nth-child(7),#content3 .new1:nth-child(7){margin-left: -430px;margin-top: 128px;}
#content2 .new1:nth-child(7),#content3 .new1:nth-child(7){margin-left: -563px;margin-top: 144px;}
#content2 .new1:nth-child(8),#content3 .new1:nth-child(8){margin-left: 191px;margin-top: 118px;}
.count .count-eclipse{
display: inline-block;
......
......@@ -18,9 +18,10 @@ function tips(obj){
var _this=obj;
var ss="";
$(_this).next(".ajbh").find("span").each(function(){
$(_this).next(".ajbh").find("span").each(function(index){
var val=$(this).text();
ss += '<p>'+val+'</p>';
var ind=index+1;
ss += '<p>'+ind+'、'+val+'</p>';
});
var object=$(_this).parents(".tabs-o");
......
......@@ -35,20 +35,19 @@
</div>
</div>
</c:if>
<c:forEach var="tzxx" items="${listOtherHotelData}">
<c:if test="${not empty listOtherHotelData}">
<div class="new1 tabs-o animated pulse">
<span class="tbs-title">同住人</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">${tzxx.xm}</div>
<div class="fl ajbh">${tzxx.idcode}</div>
<div class="fl count" onclick="tips(this)">${listOtherHotelDatacount}</div>
<div class="fl ajbh" style="width:180px;"><c:forEach var="tzxx" items="${listOtherHotelData}"><c:if test="${not empty listOtherHotelData}"><span>${tzxx.xm}&nbsp;&nbsp;${tzxx.xb}&nbsp;&nbsp;${tzxx.idcode}&nbsp;&nbsp;${tzxx.csrq}&nbsp;&nbsp;${tzxx.mz}&nbsp;&nbsp;${tzxx.address}</span></c:if></c:forEach>
</div>
</div>
</div>
</c:if>
</c:forEach>
<c:if test="${empty listOtherHotelData}">
<div class="new1 tabs-o animated pulse" style="margin-top: -298px;">
<span class="tbs-title" style="font-size:14px; margin-left: 13px;">提示</span>
<span class="tbs-title" style="font-size:14px; margin-left: 13px;">同住人</span>
<div class="tbs-cont">
<div class="fl count" onclick="tips(this)">${listOtherHotelDatacount}</div>
<div class="fl ajbh">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment