Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
吹了一夜风~
unidocs-zh
提交
26cb3fcc
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,体验更适合开发者的 AI 搜索 >>
提交
26cb3fcc
编写于
10月 13, 2021
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: remove mp
上级
4d764ab1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
1 addition
and
25 deletion
+1
-25
docs/collocation/vue-config.md
docs/collocation/vue-config.md
+0
-1
docs/component/editor.md
docs/component/editor.md
+0
-6
docs/component/icon.md
docs/component/icon.md
+1
-7
docs/component/input.md
docs/component/input.md
+0
-6
docs/component/video.md
docs/component/video.md
+0
-4
docs/frame.md
docs/frame.md
+0
-1
未找到文件。
docs/collocation/vue-config.md
浏览文件 @
26cb3fcc
...
...
@@ -129,7 +129,6 @@ function replaceManifest(path, value) {
// 使用
replaceManifest
(
'
app-plus.usingComponents
'
,
false
)
replaceManifest
(
'
app-plus.splashscreen.alwaysShowBeforeRender
'
,
false
)
replaceManifest
(
'
mp-baidu.usingComponents
'
,
false
)
fs
.
writeFileSync
(
manifestPath
,
Manifest
,
{
"
flag
"
:
"
w
"
})
...
...
docs/component/editor.md
浏览文件 @
26cb3fcc
...
...
@@ -86,15 +86,9 @@ editor组件目前只有H5、App的vue页面支持,其他端平台自身未提
},
methods: {
onEditorReady() {
// #ifdef MP-BAIDU
this.editorCtx = requireDynamicLib('editorLib').createEditorContext('editorId');
// #endif
// #ifdef APP || H5 ||MP-WEIXIN
uni.createSelectorQuery().select('#editor').context((res) => {
this.editorCtx = res.context
}).exec()
// #endif
},
undo() {
this.editorCtx.undo()
...
...
docs/component/icon.md
浏览文件 @
26cb3fcc
...
...
@@ -42,15 +42,9 @@ export default {
}
},
onLoad
()
{
// #ifdef APP
|| MP-WEIXIN
// #ifdef APP
this
.
iconType
=
[
'
success
'
,
'
success_no_circle
'
,
'
info
'
,
'
warn
'
,
'
waiting
'
,
'
cancel
'
,
'
download
'
,
'
search
'
,
'
clear
'
]
// #endif
// #ifdef MP-ALIPAY
this
.
iconType
=
[
'
info
'
,
'
warn
'
,
'
waiting
'
,
'
cancel
'
,
'
download
'
,
'
search
'
,
'
clear
'
,
'
success
'
,
'
success_no_circle
'
,
'
loading
'
]
// #endif
// #ifdef MP-BAIDU
this
.
iconType
=
[
'
success
'
,
'
info
'
,
'
warn
'
,
'
waiting
'
,
'
success_no_circle
'
,
'
clear
'
,
'
search
'
,
'
personal
'
,
'
setting
'
,
'
top
'
,
'
close
'
,
'
cancel
'
,
'
download
'
,
'
checkboxSelected
'
,
'
radioSelected
'
,
'
radioUnselect
'
]
// #endif
}
}
...
...
docs/component/input.md
浏览文件 @
26cb3fcc
...
...
@@ -156,12 +156,6 @@ App平台软键盘弹出有 adjustResize|adjustPan 两种模式,默认为 adju
<view
class=
"title"
>
控制输入的input
</view>
<input
class=
"uni-input"
@
input=
"replaceInput"
v-model=
"changeValue"
placeholder=
"连续的两个1会变成2"
/>
</view>
<!-- #ifndef MP-BAIDU -->
<view
class=
"uni-form-item uni-column"
>
<view
class=
"title"
>
控制键盘的input
</view>
<input
class=
"uni-input"
ref=
"input1"
@
input=
"hideKeyboard"
placeholder=
"输入123自动收起键盘"
/>
</view>
<!-- #endif -->
<view
class=
"uni-form-item uni-column"
>
<view
class=
"title"
>
数字输入的input
</view>
<input
class=
"uni-input"
type=
"number"
placeholder=
"这是一个数字输入框"
/>
...
...
docs/component/video.md
浏览文件 @
26cb3fcc
...
...
@@ -72,7 +72,6 @@
<video
id=
"myVideo"
src=
"https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/%E7%AC%AC1%E8%AE%B2%EF%BC%88uni-app%E4%BA%A7%E5%93%81%E4%BB%8B%E7%BB%8D%EF%BC%89-%20DCloud%E5%AE%98%E6%96%B9%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B@20200317.mp4"
@
error=
"videoErrorCallback"
:danmu-list=
"danmuList"
enable-danmu
danmu-btn
controls
></video>
</view>
<!-- #ifndef MP-ALIPAY -->
<view
class=
"uni-list uni-common-mt"
>
<view
class=
"uni-list-cell"
>
<view>
...
...
@@ -86,7 +85,6 @@
<view
class=
"uni-btn-v"
>
<button
@
click=
"sendDanmu"
class=
"page-body-button"
>
发送弹幕
</button>
</view>
<!-- #endif -->
</view>
</view>
</template>
...
...
@@ -112,9 +110,7 @@ export default {
}
},
onReady
:
function
(
res
)
{
// #ifndef MP-ALIPAY
this
.
videoContext
=
uni
.
createVideoContext
(
'
myVideo
'
)
// #endif
},
methods
:
{
sendDanmu
:
function
()
{
...
...
docs/frame.md
浏览文件 @
26cb3fcc
...
...
@@ -113,7 +113,6 @@ background-image: url(../../static/logo.png);
-
引入字体图标请参考,
[
字体图标
](
frame?id=字体图标
)
-
`@`
开头的绝对路径以及相对路径会经过base64转换规则校验
-
不支持本地图片的平台,小于40kb,一定会转base64。(共四个平台mp-weixin, mp-qq, mp-toutiao, app v2)
-
h5平台,小于4kb会转base64,超出4kb时不转。
-
其余平台不会转base64
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录