Skip to content

Commit

Permalink
docs: teambition project
Browse files Browse the repository at this point in the history
  • Loading branch information
reruin committed Mar 3, 2021
1 parent a172fd7 commit 71bf262
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
13 changes: 11 additions & 2 deletions docs/zh-cn/plugins/teambition.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
``` 挂载路径
挂载路径留空
```
```挂载路径留空```,ShareList将自动开启挂载向导,按指示填写用户名、密码、初始路径(可留空)即可
```挂载路径留空```,ShareList将自动开启挂载向导,按指示填写用户名、密码、初始路径。

?> 初始路径可用于挂载指定目录,从官网访问到对应文件夹内,复制浏览器URL 作为初始路径即可,它的格式如下:```https://www.teambition.com/pan/org/xxxxxxxxxx/space/xxxxxxxxxx/folder/xxxxxxxxxx```
初始地址可用于选定 初始文件夹 或 初始项目。从官网访问到对应文件夹内,复制浏览器URL 作为初始路径即可。留空时默认为网盘根目录。

绑定网盘时:
```初始地址
https://www.teambition.com/pan/org/xxxxxxxxxx/space/xxxxxxxxxx/folder/xxxxxxxxxx
```
绑定项目时:
```初始地址
https://www.teambition.com/project/xxxxxx/works/xxxxxx
```

?> 未适配国际版。
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"markdown-it": "^12.0.2",
"mime": "^2.4.2",
"node-rsa": "^1.1.1",
"pug": "^2.0.4",
"pug": "^3.0.2",
"ssh2-sftp-client": "^5.1.2",
"webdav": "^2.6.0",
"write-file-atomic": "^2.4.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ function renderViewMode() {
$('.file-thumb-img').each(function(){
$(this).css({'background':'url('+$(this).attr('data-src')+') center center / contain no-repeat'})
})
$('.menu-viewtype').addClass('menu-viewtype--grid')

} else {
$('.node-list').removeClass('node-list--grid')
$('.file-thumb-img').each(function(){
$(this).css({'background':'none'})
})
$('.menu-viewtype').removeClass('menu-viewtype--grid')
}
$('.menu-viewtype').toggleClass('menu-viewtype--grid')
}
$(function() {
var param = (location.search.match(/sort=([\w\W]+?)(&|$)/) || ['', ''])[1]
Expand Down
2 changes: 1 addition & 1 deletion theme/default/view/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ block content
| !{readme}
script('data-no-instant',src='https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js')
script('data-no-instant',src='https://cdn.bootcdn.net/ajax/libs/instantclick/3.1.0/instantclick.min.js')
script('data-no-instant',src='/script/sort.js')
script('data-no-instant',src='/script/main.js')
script('data-no-instant').
InstantClick.init('mousedown')
InstantClick.on('change', function(url, body, title) {
Expand Down

0 comments on commit 71bf262

Please sign in to comment.