mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-27 21:28:12 +00:00
fix:dootask官网调整
This commit is contained in:
parent
b111ecb227
commit
8383b88a44
@ -342,8 +342,8 @@
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.js"></script>
|
||||
<script src="../js/common.js"></script>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.js"></script>
|
||||
<script>
|
||||
const isMobile = 'ontouchstart' in window
|
||||
const androidDOM = document.getElementById("Android")
|
||||
|
||||
@ -365,6 +365,13 @@
|
||||
<a class="txt-4001620 txt" href="#section-19"
|
||||
>Access Permissions</a
|
||||
>
|
||||
</li> <li
|
||||
class="l-ul-item"
|
||||
onclick="closeHelpDraweHandle()"
|
||||
>
|
||||
<a class="txt-4001620 txt" href="#section-20"
|
||||
>Document Display</a
|
||||
>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
@ -735,6 +742,13 @@
|
||||
<a class="txt-4001620 txt help-a"
|
||||
>Access Permissions</a
|
||||
>
|
||||
</li> <li
|
||||
class="l-ul-item"
|
||||
data-id="section-20"
|
||||
>
|
||||
<a class="txt-4001620 txt help-a"
|
||||
>Document Display</a
|
||||
>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
@ -2180,7 +2194,9 @@
|
||||
alt="Access Authority"
|
||||
/>
|
||||
</li>
|
||||
<li class="r-ul-item mb-36">
|
||||
<li class="r-ul-item mb-36"
|
||||
id="section-20"
|
||||
>
|
||||
<h4
|
||||
class="txt-5002430 help-h4 mb-24"
|
||||
>
|
||||
@ -2454,6 +2470,10 @@
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(arrOffsetTop.length - 1 == i){
|
||||
let elementsWithDataId = document.querySelectorAll("[data-id='" + `section-${i + 1}` + "']");
|
||||
elementsWithDataId[0]?.classList?.add("active");
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -291,9 +291,9 @@
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
<script src="../js/common.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/markdown-it/dist/markdown-it.min.js"></script>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.js"></script>
|
||||
<script src="../js/common.js"></script>
|
||||
<script>
|
||||
const getItem = (key)=> {
|
||||
var record = JSON.parse(localStorage.getItem(key));
|
||||
@ -520,8 +520,8 @@ function scrollHandler(){
|
||||
if (liHight > scrollHeight + ulHeight) {
|
||||
ulElement.scrollTop += (pHihtt + pHihtt);
|
||||
}
|
||||
if (liHight < scrollHeight) {
|
||||
ulElement.scrollTop -= (pHihtt + pHihtt);
|
||||
if ((liHight - scrollHeight) <= 40) {
|
||||
ulElement.scrollTop -= (pHihtt );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -340,8 +340,8 @@
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.js"></script>
|
||||
<script src="../js/common.js"></script>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.js"></script>
|
||||
<script>
|
||||
const isMobile = 'ontouchstart' in window
|
||||
const androidDOM = document.getElementById("Android")
|
||||
|
||||
@ -177,11 +177,14 @@
|
||||
<a class="txt-4001620 txt" href="#section-17">文件类型</a>
|
||||
</li>
|
||||
<li class="l-ul-item" onclick="closeHelpDraweHandle()">
|
||||
<a class="txt-4001620 txt" href="#section-18">共享的文件</a>
|
||||
<a class="txt-4001620 txt" href="#section-18">文件共享</a>
|
||||
</li>
|
||||
<li class="l-ul-item" onclick="closeHelpDraweHandle()">
|
||||
<a class="txt-4001620 txt" href="#section-19">访问权限</a>
|
||||
</li>
|
||||
<li class="l-ul-item" onclick="closeHelpDraweHandle()">
|
||||
<a class="txt-4001620 txt" href="#section-20">文件显示</a>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ul>
|
||||
@ -359,11 +362,15 @@
|
||||
<a class="txt-4001620 txt help-a">文件类型</a>
|
||||
</li>
|
||||
<li class="l-ul-item" data-id="section-18">
|
||||
<a class="txt-4001620 txt help-a">共享的文件</a>
|
||||
<a class="txt-4001620 txt help-a">文件共享</a>
|
||||
</li>
|
||||
<li class="l-ul-item" data-id="section-19">
|
||||
<a class="txt-4001620 txt help-a">访问权限</a>
|
||||
</li>
|
||||
<li class="l-ul-item" data-id="section-20">
|
||||
<a class="txt-4001620 txt help-a">文件显示</a>
|
||||
</li>
|
||||
|
||||
</ol>
|
||||
</li>
|
||||
</ul>
|
||||
@ -650,7 +657,7 @@
|
||||
<h6 class="txt-4001624 help-h6">(2) 根据需求选择所有人/指定成员可见,共享文件读写/只读,点击【共享】即可完成操作。</h6>
|
||||
<img class="r-ul-item-pic1" id="help_pic_file4" src="../img/light/help_pic_file4.png" alt="访问权限">
|
||||
</li>
|
||||
<li class="r-ul-item mb-36">
|
||||
<li class="r-ul-item mb-36" id="section-20">
|
||||
<h4 class="txt-5002430 help-h4 mb-24">文件显示</h4>
|
||||
<h6 class="txt-4001624 help-h6">在DooTask页面左侧点击【文件】,勾选页面右上角【仅显示我的】图标,即可分类查看个人关联文件。</h6>
|
||||
<img class="r-ul-item-pic1" id="help_pic_file5" src="../img/light/help_pic_file5.png" alt="文件显示">
|
||||
@ -830,6 +837,10 @@ function scrollHandler(){
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(arrOffsetTop.length - 1 == i){
|
||||
let elementsWithDataId = document.querySelectorAll("[data-id='" + `section-${i + 1}` + "']");
|
||||
elementsWithDataId[0]?.classList?.add("active");
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -291,9 +291,9 @@
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
<script src="../js/common.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/markdown-it/dist/markdown-it.min.js"></script>
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/axios/1.3.6/axios.js"></script>
|
||||
<script src="../js/common.js"></script>
|
||||
<script>
|
||||
const getItem = (key)=> {
|
||||
var record = JSON.parse(localStorage.getItem(key));
|
||||
@ -510,7 +510,7 @@ function scrollHandler(){
|
||||
let elementsWithDataId = document.querySelectorAll("[data-id='" + `section-${i}` + "']");
|
||||
elementsWithDataId[1]?.classList?.add("active");
|
||||
//滚动设置
|
||||
const liHight = elementsWithDataId[1]?.offsetTop;
|
||||
const liHight = elementsWithDataId[1]?.offsetTop - 20;
|
||||
const pHihtt = elementsWithDataId[1]?.offsetHeight;
|
||||
const ulElement = document.getElementById('help-l-ul'); // 替换为你的 <div> 元素的 id
|
||||
const scrollHeight = ulElement.scrollTop;
|
||||
@ -518,8 +518,8 @@ function scrollHandler(){
|
||||
if (liHight > scrollHeight + ulHeight) {
|
||||
ulElement.scrollTop += (pHihtt + pHihtt);
|
||||
}
|
||||
if (liHight < scrollHeight) {
|
||||
ulElement.scrollTop -= (pHihtt + pHihtt);
|
||||
if ((liHight - scrollHeight) <= 40) {
|
||||
ulElement.scrollTop -= (pHihtt );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user