update
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
this.websocket = null
|
||||
this.uuid = (new Date().getTime().toString(16) + Math.random().toString(16).substr(2)).substr(2, 16)
|
||||
this.current_page_num = 1
|
||||
this.default_page_size = 12
|
||||
this.default_page_size = 15
|
||||
}
|
||||
|
||||
DefaultView.prototype = {
|
||||
@@ -86,14 +86,14 @@
|
||||
results.forEach(function (item) {
|
||||
const uuid = me.get_uu_id()
|
||||
const content = `
|
||||
<div class="card col-3" style="margin: 6px;margin-left: 20px;" id='card_${uuid}'>
|
||||
<div class="card col-2" style="margin: 6px;margin-left: 20px;" id='card_${uuid}'>
|
||||
<div class="card-body">
|
||||
<div class="card-title" style="margin-bottom: 0px;text-overflow:ellipsis;font-weight:bold;line-height: 1rem">${item.coop_mind_name}</div>
|
||||
<div class="card-title" style="margin-bottom: 0px;font-weight:bold;text-overflow:ellipsis;white-space:nowrap;overflow: hidden;">${item.coop_mind_name}</div>
|
||||
<hr style="margin: 0">
|
||||
<div style="height: 80px;"></div>
|
||||
<div style="text-align:right;">
|
||||
<a href="#" class="btn btn-info" onclick="window.open('detail?id=${item.id}')">编辑</a>
|
||||
<a href="#" class="btn btn-info" onclick="mind.del_mind(${item.id},'card_${uuid}')">删除</a>
|
||||
<img src="/static/pic/demo_icon.png" class="card-img-top" style="margin-top: 8px;">
|
||||
<div style="text-align:right;font-size: 0.8rem;margin-top: 5px;font-family: inherit;">
|
||||
<a class="" href="javascript:void(0);" onclick="window.open('detail?id=${item.id}')">编辑</a>
|
||||
<a class="" href="javascript:void(0);" onclick="mind.del_mind(${item.id},'card_${uuid}')">删除</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>`
|
||||
@@ -329,6 +329,7 @@
|
||||
/** modal 显示完毕后事件*/
|
||||
$('#newMindModal').on('shown.bs.modal', function () {
|
||||
const cookie_checked_ = $.cookie('open_aft_create')
|
||||
$('#mindName').val('')
|
||||
// 从cookie中获得的是字符串
|
||||
if (cookie_checked_ === 'true') {
|
||||
$('#exampleCheck1').attr('checked', 'checked')
|
||||
@@ -428,7 +429,7 @@
|
||||
</div>
|
||||
|
||||
<!-- navigation start-->
|
||||
<div id="pagination_div"></div>
|
||||
<div id="pagination_div" style="margin-top: 15px;"></div>
|
||||
<!-- navigation end-->
|
||||
</main>
|
||||
<!-- 右侧内容 end-->
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="/static/js/jsmind.css">
|
||||
<style>
|
||||
#jsmind_container {
|
||||
width: calc(100%);
|
||||
width: calc(100rem);
|
||||
height: calc(100%);
|
||||
}
|
||||
</style>
|
||||
@@ -122,11 +122,10 @@
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div>
|
||||
<input type="button" value="折叠" onclick="xxObj.collapse_all()">
|
||||
<input type="button" value="展开" onclick="xxObj.expand_all()">
|
||||
</div>
|
||||
<h3 id="h1" style="text-align: center;"></h3>
|
||||
<div id="jsmind_container"/>
|
||||
<input type="button" value="折叠" onclick="xxObj.collapse_all()">
|
||||
<input type="button" value="展开" onclick="xxObj.expand_all()">
|
||||
</div>
|
||||
<h3 id="h1" style="text-align: center;"></h3>
|
||||
<div id="jsmind_container"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user