update
This commit is contained in:
@@ -94,14 +94,14 @@
|
||||
<div class="card-body">
|
||||
<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">
|
||||
<img src="/static/pic/demo_icon.png" class="card-img-top" style="margin-top: 8px;cursor: pointer;" onclick="window.open('detail?id=${item.id}')">
|
||||
<img src="/static/pic/demo_icon.png" class="card-img-top" style="margin-top: 8px;cursor: pointer;" onclick="window.open('2_d?id=${item.id}')">
|
||||
<div style="text-align:right;font-size: 0.8rem;margin-top: 5px;font-family: inherit;">
|
||||
<div class="btn-group btn-group-sm" role="group">
|
||||
<button id="btnGroupDrop1" type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
|
||||
操作
|
||||
</button>
|
||||
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
|
||||
<a class="dropdown-item" href="javascript:void(0);" onclick="window.open('detail?id=${item.id}')">编辑</a>
|
||||
<a class="dropdown-item" href="javascript:void(0);" onclick="window.open('2_d?id=${item.id}')">编辑</a>
|
||||
<a class="dropdown-item" href="javascript:void(0);" onclick="mind.del_mind(${item.id},'card_${uuid}')">删除</a>
|
||||
<a class="dropdown-item" href="javascript:void(0);" onclick="mind.share_mind(${item.id})">分享</a>
|
||||
</div>
|
||||
@@ -178,7 +178,7 @@
|
||||
data: {'id': mind_id},
|
||||
dataType: "json",
|
||||
success: function (resp) {
|
||||
const url = `s_t_d?u=${resp.data.u}&h=${resp.data.h}`
|
||||
const url = `s_2_d?u=${resp.data.u}&h=${resp.data.h}`
|
||||
$('#share_mind_modal .modal-body').html(`分享成功,请复制以下链接进行分享:<div>${window.location.protocol}//${window.location.host}/${url}</div>`)
|
||||
$('#share_mind_modal_a').click()
|
||||
},
|
||||
@@ -341,7 +341,7 @@
|
||||
/**新页面打开*/
|
||||
setTimeout(function () {
|
||||
const id = resp.data
|
||||
window.open('detail?id=' + id)
|
||||
window.open('2_d?id=' + id)
|
||||
}, 500)
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user