update
This commit is contained in:
+26
-3
@@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Jsmind</title>
|
<title>导图详情</title>
|
||||||
<link rel="shortcut icon" href="/static/abl1b-qks1b-001.ico"/>
|
<link rel="shortcut icon" href="/static/abl1b-qks1b-001.ico"/>
|
||||||
<link rel="stylesheet" type="text/css" href="/static/js/jsmind.css">
|
<link rel="stylesheet" type="text/css" href="/static/js/jsmind.css">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/bootstrap-4.6.1-dist/css/bootstrap.css">
|
<link rel="stylesheet" type="text/css" href="/static/bootstrap-4.6.1-dist/css/bootstrap.css">
|
||||||
@@ -11,6 +11,14 @@
|
|||||||
width: calc(100vw);
|
width: calc(100vw);
|
||||||
height: calc(100vh - 50px);
|
height: calc(100vh - 50px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.un_selected {
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="/static/js/jquery-1.11.3.min.js"></script>
|
<script src="/static/js/jquery-1.11.3.min.js"></script>
|
||||||
<script src="/static/js/jsmind.js"></script>
|
<script src="/static/js/jsmind.js"></script>
|
||||||
@@ -20,6 +28,7 @@
|
|||||||
<script src="/static/js/jsmind.coop.js?d="></script>
|
<script src="/static/js/jsmind.coop.js?d="></script>
|
||||||
<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
|
<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
|
||||||
<script src="/static/js/mind/c_m_m.js"></script>
|
<script src="/static/js/mind/c_m_m.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons@4.28.0/dist/feather.min.js"></script> <!-- 图标相关-->
|
||||||
<!-- js 压缩: https://www.toptal.com/developers/javascript-minifier -->
|
<!-- js 压缩: https://www.toptal.com/developers/javascript-minifier -->
|
||||||
<script>
|
<script>
|
||||||
const fetch = function () {
|
const fetch = function () {
|
||||||
@@ -129,17 +138,31 @@
|
|||||||
mind.data = data
|
mind.data = data
|
||||||
}
|
}
|
||||||
this.jm.show(mind)
|
this.jm.show(mind)
|
||||||
|
},
|
||||||
|
/**收藏或者取消收藏*/
|
||||||
|
star: function () {
|
||||||
|
const coop_mind_id = this.coop_mind_id
|
||||||
|
console.log(coop_mind_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$(function () {
|
||||||
const xxObj = new fetch()
|
const xxObj = new fetch()
|
||||||
xxObj.loadMind()
|
xxObj.loadMind()
|
||||||
|
window.xxObj = xxObj
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<input type="button" value="折叠" onclick="xxObj.collapse_all()" style="position: absolute;top: 0px;z-index: 1000;">
|
<div style="position: absolute;top: 0px;z-index: 1000;cursor: pointer;" onclick="xxObj.collapse_all()"><span data-feather="folder-minus"></span><span class="un_selected">折叠</span></div>
|
||||||
<input type="button" value="展开" onclick="xxObj.expand_all()" style="position: absolute;top: 40px;z-index: 1000;">
|
<div style="position: absolute;top: 0px;left:80px;z-index: 1000;cursor: pointer;" onclick="xxObj.expand_all()"><span data-feather="folder-plus"></span><span class="un_selected">展开</span></div>
|
||||||
|
<div style="position: absolute;top: 0px;left:160px;z-index: 1000;cursor: pointer;" onclick="xxObj.star()"><span data-feather="star"></span><span class="un_selected">收藏</span></div>
|
||||||
<h3 id="h1" style="text-align: center;max-height: 40px;"></h3>
|
<h3 id="h1" style="text-align: center;max-height: 40px;"></h3>
|
||||||
<div id="jsmind_container"></div>
|
<div id="jsmind_container"></div>
|
||||||
</body>
|
</body>
|
||||||
|
<script>
|
||||||
|
if (window.feather) {
|
||||||
|
window.feather.replace();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user