|
@@ -97,25 +97,34 @@
|
|
|
</div>
|
|
|
<div id="place_bottom" style="width:100%;border:1px solid black;">
|
|
|
<div id="place_bottom_left" style="float:left;width:50%;border:1px solid black;">
|
|
|
+
|
|
|
<div id="place_bottom_leftsubmit" style="float:left;width:50%;border:1px bolid black;">
|
|
|
<input type="text" style="width:100px;height:20px;border:1px solid black;"><button type="submit" style="width:50px;height:20px;border:1px solid black;background-color:#36aeea;">提交</button>
|
|
|
</div>
|
|
|
+
|
|
|
<div id="place_bottom_leftsearch" style="float:right;width:50%;border:1px bolid black;">
|
|
|
<input type="text" style="width:100px;height:20px;border:1px solid black;"><button type="submit style="width:50px;height:20px;border:1px solid black;background-color:#36aeea;">搜索</button>
|
|
|
</div>
|
|
|
+
|
|
|
<#if placeList ??>
|
|
|
<#list placeList as place>
|
|
|
- <div style="">${place.name!}</div>
|
|
|
+ <div id="${place.id!}" class="place_name" style="cursor:pointer;">${place.name!}</div>
|
|
|
</#list>
|
|
|
</#if>
|
|
|
+
|
|
|
<div id="pageDiv" style="margin: -10px 38px 0 0;">
|
|
|
<#include "/common/pagination/simple.ftl"/>
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
- <div id="place_bottom_right" style="float:right;width:49.8%;border:1px solid black;">
|
|
|
- <div style="float:right;height:40px;border:1px solid black;">
|
|
|
- 当前数聚场景名称:
|
|
|
+
|
|
|
+ <div id="place_bottom_right" style="float:right;width:49.7%;border:1px solid black;">
|
|
|
+ <div>当前数聚场景名称:</div>
|
|
|
+ <div class="current_placename" style="width:100%;height:40px;">
|
|
|
</div>
|
|
|
+
|
|
|
+ <ul>当前用户场景名称</ul>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -123,5 +132,23 @@
|
|
|
</div>
|
|
|
<!-- PAGE CONTENT ENDS HERE --/>
|
|
|
</div><!--/row-->
|
|
|
+<script type="text/javascript" >
|
|
|
+$(function(){
|
|
|
+//点击左边场景,显示在右边js
|
|
|
+ $(".place_name").click(function(){
|
|
|
+ var a=$(this).html();
|
|
|
+ var b=$(this).attr("id");
|
|
|
+ alert(b);
|
|
|
+ $(".current_placename").empty();
|
|
|
+ $(".current_placename").append('<li style="" id='+b+'>'+a+'</li>');
|
|
|
+ var url = "${ctx}/back/main/ap/place/get-place?placeId="+b;
|
|
|
+ $.getJSON(url, function(data) {
|
|
|
+ var data_1 = data.placeOperatorList;
|
|
|
+ alert(data_1.name);
|
|
|
+ })
|
|
|
+
|
|
|
+ })
|
|
|
+});
|
|
|
+</script>
|
|
|
</@override>
|
|
|
<@extends name="/common/simple.ftl"/>
|