Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
你丑我先上
unidocs-zh
提交
7873b991
U
unidocs-zh
项目概览
你丑我先上
/
unidocs-zh
与 Fork 源项目一致
Fork自
DCloud / unidocs-zh
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
unidocs-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7873b991
编写于
2月 22, 2022
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: api readme
上级
ff93f8e4
变更
3
展开全部
显示空白变更内容
内联
并排
Showing
3 changed file
with
203 addition
and
244 deletion
+203
-244
docs/.vuepress/components/md/banner.vue
docs/.vuepress/components/md/banner.vue
+1
-59
docs/.vuepress/theme/components/Navbar.vue
docs/.vuepress/theme/components/Navbar.vue
+5
-4
docs/api/README.md
docs/api/README.md
+197
-181
未找到文件。
docs/.vuepress/components/md/banner.vue
浏览文件 @
7873b991
...
...
@@ -171,7 +171,7 @@
},
};
</
script
>
<
style
>
<
style
scoped
>
/* banner */
.banner
{
width
:
100%
;
...
...
@@ -239,62 +239,4 @@
border-radius
:
10px
;
background
:
rgb
(
225
,
114
,
0
);
}
/* 修改左侧导航 */
.sidebar
.sidebar-nav
{
padding
:
0
0
11px
0
;
}
.sidebar
ul
{
padding-left
:
15px
;
}
.sidebar
ul
li
a
:hover
{
text-decoration
:
none
;
background-color
:
#eff1f3
;
}
.sidebar
ul
li
.active
>
a
:hover
{
background-color
:
#ffffff
;
}
.sidebar
::-webkit-scrollbar
{
width
:
6px
;
}
/* 处理左侧导航的折叠问题TODO */
.sidebar-nav-li.close
ul
{
display
:
none
;
}
.sidebar-nav-li
.chapter
{
display
:
block
;
height
:
30px
;
line-height
:
30px
;
position
:
relative
;
cursor
:
pointer
;
}
.sidebar-nav-li
.chapter
:hover
{
background-color
:
#eff1f3
;
}
.sidebar-nav-li
.chapter
:before
{
position
:
absolute
;
top
:
10px
;
left
:
-16px
;
content
:
'\e581'
;
font-family
:
'uniicons'
;
font-style
:
normal
;
font-weight
:
600
;
line-height
:
1
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
greyscale
;
color
:
#8d8d8d
;
font-size
:
10px
;
}
.sidebar-nav-li.close
.chapter
:before
{
content
:
'\e583'
;
}
</
style
>
docs/.vuepress/theme/components/Navbar.vue
浏览文件 @
7873b991
...
...
@@ -3,8 +3,8 @@
<div
class=
"main-navbar"
>
<!--
<SidebarButton
@
toggle-sidebar=
"$emit('toggle-sidebar')"
/>
-->
<
RouterLink
:to=
"$localePath
"
<
a
href=
"https://www.dcloud.io
"
class=
"home-link"
>
<img
...
...
@@ -25,7 +25,7 @@
class=
"site-name"
:class=
"
{ 'can-hide': $site.themeConfig.logo }"
>
{{
$siteTitle
}}
</span>
</
RouterLink
>
</
a
>
<div
class=
"main-navbar-links can-hide"
>
<template
v-for=
"(item, index) in customNavBar"
>
...
...
@@ -189,7 +189,8 @@ export default {
forbidScroll
(
this
.
showMobilePanel
)
},
switchVersion
()
{
document
.
cookie
=
encodeURIComponent
(
'
__new_version
'
)
+
"
=__new_version; path=/
"
// document.cookie = encodeURIComponent('__new_version') + "=__new_version; path=/"
document
.
cookie
=
encodeURIComponent
(
'
__new_version
'
)
+
"
=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/
"
location
.
replace
(
location
.
origin
+
'
?v=
'
+
Date
.
now
())
}
},
...
...
docs/api/README.md
浏览文件 @
7873b991
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录