Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Tc.小浩
unidocs-zh
提交
73bf1739
U
unidocs-zh
项目概览
Tc.小浩
/
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,发现更多精彩内容 >>
提交
73bf1739
编写于
3月 17, 2022
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'vuepress' into vuepress-searchpage
上级
36027151
56062a7c
变更
18
展开全部
隐藏空白更改
内联
并排
Showing
18 changed file
with
1970 addition
and
30 deletion
+1970
-30
docs/.vuepress/theme/global-components/CodeSimulator.vue
docs/.vuepress/theme/global-components/CodeSimulator.vue
+1
-0
docs/.vuepress/theme/global-components/icons.js
docs/.vuepress/theme/global-components/icons.js
+1119
-0
docs/.vuepress/theme/global-components/iconsLayouts.vue
docs/.vuepress/theme/global-components/iconsLayouts.vue
+118
-0
docs/.vuepress/theme/global-components/uniicons.css
docs/.vuepress/theme/global-components/uniicons.css
+663
-0
docs/.vuepress/theme/global-components/uniicons.ttf
docs/.vuepress/theme/global-components/uniicons.ttf
+0
-0
docs/api/plugins/universal-links.md
docs/api/plugins/universal-links.md
+2
-2
docs/app/ios/dsym.md
docs/app/ios/dsym.md
+4
-4
docs/component/_sidebar.md
docs/component/_sidebar.md
+5
-5
docs/component/uniui/color.md
docs/component/uniui/color.md
+3
-3
docs/component/uniui/quickstart.md
docs/component/uniui/quickstart.md
+1
-0
docs/component/uniui/uni-icons.md
docs/component/uniui/uni-icons.md
+6
-0
docs/tutorial/android-gp.md
docs/tutorial/android-gp.md
+6
-6
docs/tutorial/app-ios-dsym.md
docs/tutorial/app-ios-dsym.md
+4
-4
docs/tutorial/store.md
docs/tutorial/store.md
+1
-1
docs/uniCloud/hosting.md
docs/uniCloud/hosting.md
+1
-1
docs/univerify.md
docs/univerify.md
+4
-4
package.json
package.json
+1
-0
yarn.lock
yarn.lock
+31
-0
未找到文件。
docs/.vuepress/theme/global-components/CodeSimulator.vue
浏览文件 @
73bf1739
...
...
@@ -89,6 +89,7 @@ export default {
display
:
flex
;
height
:
667px
;
border
:
1px
#eee
solid
;
margin-top
:
16px
;
}
.page-snippet
{
width
:
100%
;
...
...
docs/.vuepress/theme/global-components/icons.js
0 → 100644
浏览文件 @
73bf1739
此差异已折叠。
点击以展开。
docs/.vuepress/theme/global-components/iconsLayouts.vue
0 → 100644
浏览文件 @
73bf1739
<!-- fixed by mehaotian -->
<
template
>
<div
class=
"icons-box"
>
<div
class=
"icons-item"
v-for=
"(item, index) in iconsList"
:key=
"index"
@
click=
"onClipboard(item)"
>
<span
class=
"icons-tip "
:class=
"
{ show: item.tipShow }">复制成功
</span>
<span
class=
"uni-icon"
:class=
"['uniui-'+item.text]"
></span>
<span
class=
"icons-text"
>
{{
item
.
text
}}
</span>
</div>
</div>
</
template
>
<
script
>
import
uniicons
from
'
./icons.js
'
;
import
Clipboard
from
'
clipboard
'
;
export
default
{
name
:
'
iconsLayouts
'
,
functional
:
false
,
props
:
{},
data
()
{
return
{
iconsList
:
[]
};
},
created
()
{
let
icons
=
uniicons
.
glyphs
icons
.
forEach
(
v
=>
{
this
.
iconsList
.
push
({
icon
:
v
.
unicode
,
text
:
v
.
font_class
,
tipShow
:
false
});
})
},
methods
:
{
onClipboard
(
data
)
{
console
.
log
(
data
);
let
index
=
this
.
iconsList
.
findIndex
((
item
)
=>
item
.
tipShow
)
if
(
index
!==
-
1
){
this
.
iconsList
[
index
].
tipShow
=
false
}
const
_this
=
this
let
clipboard
=
new
Clipboard
(
'
.icons-item
'
,
{
text
:
function
()
{
return
data
.
text
;
}
});
clipboard
.
on
(
'
success
'
,
e
=>
{
data
.
tipShow
=
true
clearTimeout
(
_this
.
timer
)
_this
.
timer
=
setTimeout
(()
=>
{
data
.
tipShow
=
false
},
1000
)
// 释放内存
clipboard
.
destroy
();
});
clipboard
.
on
(
'
error
'
,
e
=>
{
clipboard
.
destroy
();
});
}
}
};
</
script
>
<
style
lang=
"stylus"
>
@import './uniicons.css'
@font-face
font-family uniicons
font-weight normal
font-style normal
src url('./uniicons.ttf') format('truetype')
.icons-box
display flex
flex-wrap wrap
width 100%
border-left 1px #eaecef solid
border-top 1px #eaecef solid
color #5e6d82
.icons-item
position relative
display flex
flex-direction column
align-items center
padding 25px 10px
width 16.66%
border-right 1px #eaecef solid
border-bottom 1px #eaecef solid
box-sizing border-box
-moz-user-select none /* 火狐 */
-webkit-user-select none /* webkit浏览器 */
-ms-user-select none /* IE10 */
-khtml-user-select none /* 早期浏览器 */
user-select none
.icons-tip
padding 2px 10px
position absolute
top 0
left 0
border-radius 5px
color #1AAD19
opacity 0
transition all 0.3s
font-size 14px
&.show
opacity 1
&:hover
background-color #F5F5F5
cursor pointer
.icons-text
text-align center
.uni-icon
font-family uniicons
font-size 35px
margin-bottom 10px
@media (max-width: $MQNarrow)
width 33.3%
padding 15px 0
</
style
>
docs/.vuepress/theme/global-components/uniicons.css
0 → 100644
浏览文件 @
73bf1739
.uniui-color
:before
{
content
:
"\e6cf"
;
}
.uniui-wallet
:before
{
content
:
"\e6b1"
;
}
.uniui-settings-filled
:before
{
content
:
"\e6ce"
;
}
.uniui-auth-filled
:before
{
content
:
"\e6cc"
;
}
.uniui-shop-filled
:before
{
content
:
"\e6cd"
;
}
.uniui-staff-filled
:before
{
content
:
"\e6cb"
;
}
.uniui-vip-filled
:before
{
content
:
"\e6c6"
;
}
.uniui-plus-filled
:before
{
content
:
"\e6c7"
;
}
.uniui-folder-add-filled
:before
{
content
:
"\e6c8"
;
}
.uniui-color-filled
:before
{
content
:
"\e6c9"
;
}
.uniui-tune-filled
:before
{
content
:
"\e6ca"
;
}
.uniui-calendar-filled
:before
{
content
:
"\e6c0"
;
}
.uniui-notification-filled
:before
{
content
:
"\e6c1"
;
}
.uniui-wallet-filled
:before
{
content
:
"\e6c2"
;
}
.uniui-medal-filled
:before
{
content
:
"\e6c3"
;
}
.uniui-gift-filled
:before
{
content
:
"\e6c4"
;
}
.uniui-fire-filled
:before
{
content
:
"\e6c5"
;
}
.uniui-refreshempty
:before
{
content
:
"\e6bf"
;
}
.uniui-location-filled
:before
{
content
:
"\e6af"
;
}
.uniui-person-filled
:before
{
content
:
"\e69d"
;
}
.uniui-personadd-filled
:before
{
content
:
"\e698"
;
}
.uniui-back
:before
{
content
:
"\e6b9"
;
}
.uniui-forward
:before
{
content
:
"\e6ba"
;
}
.uniui-arrow-right
:before
{
content
:
"\e6bb"
;
}
.uniui-arrowthinright
:before
{
content
:
"\e6bb"
;
}
.uniui-arrow-left
:before
{
content
:
"\e6bc"
;
}
.uniui-arrowthinleft
:before
{
content
:
"\e6bc"
;
}
.uniui-arrow-up
:before
{
content
:
"\e6bd"
;
}
.uniui-arrowthinup
:before
{
content
:
"\e6bd"
;
}
.uniui-arrow-down
:before
{
content
:
"\e6be"
;
}
.uniui-arrowthindown
:before
{
content
:
"\e6be"
;
}
.uniui-bottom
:before
{
content
:
"\e6b8"
;
}
.uniui-arrowdown
:before
{
content
:
"\e6b8"
;
}
.uniui-right
:before
{
content
:
"\e6b5"
;
}
.uniui-arrowright
:before
{
content
:
"\e6b5"
;
}
.uniui-top
:before
{
content
:
"\e6b6"
;
}
.uniui-arrowup
:before
{
content
:
"\e6b6"
;
}
.uniui-left
:before
{
content
:
"\e6b7"
;
}
.uniui-arrowleft
:before
{
content
:
"\e6b7"
;
}
.uniui-eye
:before
{
content
:
"\e651"
;
}
.uniui-eye-filled
:before
{
content
:
"\e66a"
;
}
.uniui-eye-slash
:before
{
content
:
"\e6b3"
;
}
.uniui-eye-slash-filled
:before
{
content
:
"\e6b4"
;
}
.uniui-info-filled
:before
{
content
:
"\e649"
;
}
.uniui-reload
:before
{
content
:
"\e6b2"
;
}
.uniui-micoff-filled
:before
{
content
:
"\e6b0"
;
}
.uniui-map-pin-ellipse
:before
{
content
:
"\e6ac"
;
}
.uniui-map-pin
:before
{
content
:
"\e6ad"
;
}
.uniui-location
:before
{
content
:
"\e6ae"
;
}
.uniui-starhalf
:before
{
content
:
"\e683"
;
}
.uniui-star
:before
{
content
:
"\e688"
;
}
.uniui-star-filled
:before
{
content
:
"\e68f"
;
}
.uniui-calendar
:before
{
content
:
"\e6a0"
;
}
.uniui-fire
:before
{
content
:
"\e6a1"
;
}
.uniui-medal
:before
{
content
:
"\e6a2"
;
}
.uniui-font
:before
{
content
:
"\e6a3"
;
}
.uniui-gift
:before
{
content
:
"\e6a4"
;
}
.uniui-link
:before
{
content
:
"\e6a5"
;
}
.uniui-notification
:before
{
content
:
"\e6a6"
;
}
.uniui-staff
:before
{
content
:
"\e6a7"
;
}
.uniui-vip
:before
{
content
:
"\e6a8"
;
}
.uniui-folder-add
:before
{
content
:
"\e6a9"
;
}
.uniui-tune
:before
{
content
:
"\e6aa"
;
}
.uniui-auth
:before
{
content
:
"\e6ab"
;
}
.uniui-person
:before
{
content
:
"\e699"
;
}
.uniui-email-filled
:before
{
content
:
"\e69a"
;
}
.uniui-phone-filled
:before
{
content
:
"\e69b"
;
}
.uniui-phone
:before
{
content
:
"\e69c"
;
}
.uniui-email
:before
{
content
:
"\e69e"
;
}
.uniui-personadd
:before
{
content
:
"\e69f"
;
}
.uniui-chatboxes-filled
:before
{
content
:
"\e692"
;
}
.uniui-contact
:before
{
content
:
"\e693"
;
}
.uniui-chatbubble-filled
:before
{
content
:
"\e694"
;
}
.uniui-contact-filled
:before
{
content
:
"\e695"
;
}
.uniui-chatboxes
:before
{
content
:
"\e696"
;
}
.uniui-chatbubble
:before
{
content
:
"\e697"
;
}
.uniui-upload-filled
:before
{
content
:
"\e68e"
;
}
.uniui-upload
:before
{
content
:
"\e690"
;
}
.uniui-weixin
:before
{
content
:
"\e691"
;
}
.uniui-compose
:before
{
content
:
"\e67f"
;
}
.uniui-qq
:before
{
content
:
"\e680"
;
}
.uniui-download-filled
:before
{
content
:
"\e681"
;
}
.uniui-pyq
:before
{
content
:
"\e682"
;
}
.uniui-sound
:before
{
content
:
"\e684"
;
}
.uniui-trash-filled
:before
{
content
:
"\e685"
;
}
.uniui-sound-filled
:before
{
content
:
"\e686"
;
}
.uniui-trash
:before
{
content
:
"\e687"
;
}
.uniui-videocam-filled
:before
{
content
:
"\e689"
;
}
.uniui-spinner-cycle
:before
{
content
:
"\e68a"
;
}
.uniui-weibo
:before
{
content
:
"\e68b"
;
}
.uniui-videocam
:before
{
content
:
"\e68c"
;
}
.uniui-download
:before
{
content
:
"\e68d"
;
}
.uniui-help
:before
{
content
:
"\e679"
;
}
.uniui-navigate-filled
:before
{
content
:
"\e67a"
;
}
.uniui-plusempty
:before
{
content
:
"\e67b"
;
}
.uniui-smallcircle
:before
{
content
:
"\e67c"
;
}
.uniui-minus-filled
:before
{
content
:
"\e67d"
;
}
.uniui-micoff
:before
{
content
:
"\e67e"
;
}
.uniui-closeempty
:before
{
content
:
"\e66c"
;
}
.uniui-clear
:before
{
content
:
"\e66d"
;
}
.uniui-navigate
:before
{
content
:
"\e66e"
;
}
.uniui-minus
:before
{
content
:
"\e66f"
;
}
.uniui-image
:before
{
content
:
"\e670"
;
}
.uniui-mic
:before
{
content
:
"\e671"
;
}
.uniui-paperplane
:before
{
content
:
"\e672"
;
}
.uniui-close
:before
{
content
:
"\e673"
;
}
.uniui-help-filled
:before
{
content
:
"\e674"
;
}
.uniui-paperplane-filled
:before
{
content
:
"\e675"
;
}
.uniui-plus
:before
{
content
:
"\e676"
;
}
.uniui-mic-filled
:before
{
content
:
"\e677"
;
}
.uniui-image-filled
:before
{
content
:
"\e678"
;
}
.uniui-locked-filled
:before
{
content
:
"\e668"
;
}
.uniui-info
:before
{
content
:
"\e669"
;
}
.uniui-locked
:before
{
content
:
"\e66b"
;
}
.uniui-camera-filled
:before
{
content
:
"\e658"
;
}
.uniui-chat-filled
:before
{
content
:
"\e659"
;
}
.uniui-camera
:before
{
content
:
"\e65a"
;
}
.uniui-circle
:before
{
content
:
"\e65b"
;
}
.uniui-checkmarkempty
:before
{
content
:
"\e65c"
;
}
.uniui-chat
:before
{
content
:
"\e65d"
;
}
.uniui-circle-filled
:before
{
content
:
"\e65e"
;
}
.uniui-flag
:before
{
content
:
"\e65f"
;
}
.uniui-flag-filled
:before
{
content
:
"\e660"
;
}
.uniui-gear-filled
:before
{
content
:
"\e661"
;
}
.uniui-home
:before
{
content
:
"\e662"
;
}
.uniui-home-filled
:before
{
content
:
"\e663"
;
}
.uniui-gear
:before
{
content
:
"\e664"
;
}
.uniui-smallcircle-filled
:before
{
content
:
"\e665"
;
}
.uniui-map-filled
:before
{
content
:
"\e666"
;
}
.uniui-map
:before
{
content
:
"\e667"
;
}
.uniui-refresh-filled
:before
{
content
:
"\e656"
;
}
.uniui-refresh
:before
{
content
:
"\e657"
;
}
.uniui-cloud-upload
:before
{
content
:
"\e645"
;
}
.uniui-cloud-download-filled
:before
{
content
:
"\e646"
;
}
.uniui-cloud-download
:before
{
content
:
"\e647"
;
}
.uniui-cloud-upload-filled
:before
{
content
:
"\e648"
;
}
.uniui-redo
:before
{
content
:
"\e64a"
;
}
.uniui-images-filled
:before
{
content
:
"\e64b"
;
}
.uniui-undo-filled
:before
{
content
:
"\e64c"
;
}
.uniui-more
:before
{
content
:
"\e64d"
;
}
.uniui-more-filled
:before
{
content
:
"\e64e"
;
}
.uniui-undo
:before
{
content
:
"\e64f"
;
}
.uniui-images
:before
{
content
:
"\e650"
;
}
.uniui-paperclip
:before
{
content
:
"\e652"
;
}
.uniui-settings
:before
{
content
:
"\e653"
;
}
.uniui-search
:before
{
content
:
"\e654"
;
}
.uniui-redo-filled
:before
{
content
:
"\e655"
;
}
.uniui-list
:before
{
content
:
"\e644"
;
}
.uniui-mail-open-filled
:before
{
content
:
"\e63a"
;
}
.uniui-hand-down-filled
:before
{
content
:
"\e63c"
;
}
.uniui-hand-down
:before
{
content
:
"\e63d"
;
}
.uniui-hand-up-filled
:before
{
content
:
"\e63e"
;
}
.uniui-hand-up
:before
{
content
:
"\e63f"
;
}
.uniui-heart-filled
:before
{
content
:
"\e641"
;
}
.uniui-mail-open
:before
{
content
:
"\e643"
;
}
.uniui-heart
:before
{
content
:
"\e639"
;
}
.uniui-loop
:before
{
content
:
"\e633"
;
}
.uniui-pulldown
:before
{
content
:
"\e632"
;
}
.uniui-scan
:before
{
content
:
"\e62a"
;
}
.uniui-bars
:before
{
content
:
"\e627"
;
}
.uniui-cart-filled
:before
{
content
:
"\e629"
;
}
.uniui-checkbox
:before
{
content
:
"\e62b"
;
}
.uniui-checkbox-filled
:before
{
content
:
"\e62c"
;
}
.uniui-shop
:before
{
content
:
"\e62f"
;
}
.uniui-headphones
:before
{
content
:
"\e630"
;
}
.uniui-cart
:before
{
content
:
"\e631"
;
}
docs/.vuepress/theme/global-components/uniicons.ttf
0 → 100644
浏览文件 @
73bf1739
文件已添加
docs/api/plugins/universal-links.md
浏览文件 @
73bf1739
...
...
@@ -66,13 +66,13 @@ HBuilderX (3.2.0 版本起) 新增QQ互联和新浪微博开放平台的通用
打开QQ
[
开放平台
](
https://connect.qq.com/index.html
)
,在“管理中心”页面的“移动应用”下找到已经申请的应用(没有申请应用请点击“创建移动应用”新建应用),点击“查看”打开应用详情页面。
在“开发信息”栏后点击修改,在“iOS应用”下的“Universal Links”项中配置应用的通用链接,如下图所示:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/ulink/QQ.jpeg
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/ulink/QQ.jpeg
)
*
注意:QQ开放平台在填写时 只需要填写到host,后边的path QQ会自动生成,比如 HBuilder中一键生成
```https://static-fa42aa5f-xxxxxxx-xxxxxxxx.bspapp.com/qq_conn/11111233333/```
只需要填写
```https://static-fa42aa5f-xxxxxxx-xxxxxxxx.bspapp.com/```
,具体请查看
[
QQ 填写及校验universallinks
](
https://wiki.connect.qq.com/%E5%A1%AB%E5%86%99%E5%8F%8A%E6%A0%A1%E9%AA%8Cuniversallinks
)
##### 微博
打开微博
[
开放平台
](
https://open.weibo.com/
)
,在“我的应用”下找到已经申请的应用,点击“查看”打开应用详情页面。
在“应用信息”栏后点击修改,在“iOS应用”下的“Universal Links”项中配置应用的通用链接,如下图所示:!
[](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/ulink/weibo.jpeg
)
在“应用信息”栏后点击修改,在“iOS应用”下的“Universal Links”项中配置应用的通用链接,如下图所示:!
[](
https://
img-cdn-aliyun.dcloud.net.cn
/client/ulink/weibo.jpeg
)
至此,就已经完成了通用链接的配置全过程,云打包后生效。
...
...
docs/app/ios/dsym.md
浏览文件 @
73bf1739
...
...
@@ -12,11 +12,11 @@
iOS平台中,dSYM文件是指具有调试信息的目标文件,存储着源码文件名、函数名、行号等信息,与可执行文件中的函数内存地址一一对应。
XCode中发布生成xcarchive文件默认包含dysm文件,通常为:xxxx.app.dSYM,其中xxxx为应用程序的包名,如下所示:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-xcarchive.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-xcarchive.png
)
dSYM文件内容为:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-content.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-content.png
)
### dsym文件的用途
...
...
@@ -32,13 +32,13 @@ dSYM文件内容为:
在HBuilderX中云端打包打开项目的manifest.json文件,在“App常用其它设置”界面中的勾选“生成iOS符号表(dsym)文件”:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-hx.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-hx.png
)
保存后提交云端。
云端打包成功后会在HBuilderX控制台输出 dsym 文件下载地址:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-download.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-download.png
)
### 注意事项
-
下载文件格式为zip,解压后可获得 dsym 文件
...
...
docs/component/_sidebar.md
浏览文件 @
73bf1739
*
[
组件概述
](
component/
)
*
基础组件清单
*
[
uni-app
基础组件清单
](
component/view.md
)
*
内置组件
*
[
uni-app
组件
](
component/view.md
)
*
[
视图容器
](
component/view.md
)
*
[
view
](
component/view.md
)
*
[
scroll-view
](
component/scroll-view.md
)
...
...
@@ -53,15 +53,15 @@
*
[
navigation-bar
](
component/navigation-bar.md
)
*
[
custom-tab-bar
](
component/custom-tab-bar.md
)
*
[
基础组件中原生组件说明
](
component/native-component.md
)
*
[
vue
组件
](
component/vue-component.md
)
*
[
NVUE
内置
组件
](
component/barcode.md
)
*
[
Vue
组件
](
component/vue-component.md
)
*
[
NVUE 组件
](
component/barcode.md
)
*
[
barcode
](
component/barcode.md
)
*
[
list
](
component/list.md
)
*
[
cell
](
component/cell.md
)
*
[
recycle-list
](
component/recycle-list.md
)
*
[
waterfall
](
component/waterfall.md
)
*
[
refresh
](
component/refresh.md
)
*
[
小程序
内置
组件
](
component/official-account.md
)
*
[
小程序组件
](
component/official-account.md
)
*
[
official-account
](
component/official-account.md
)
*
[
open-data
](
component/open-data.md
)
*
扩展组件(uni-ui)
...
...
docs/component/uniui/color.md
浏览文件 @
73bf1739
...
...
@@ -268,14 +268,14 @@ $uni-shadow-lg:0px 1px 10px 2px rgba($color: #a5a4a4, $alpha: 0.5);
padding:10px 0;
text-align:center;
}
.markdown-section
p.color-main-text {
p.color-main-text {
margin:0;
color:#fff;
font-size:1
2
px;
font-size:1
4
px;
line-height:1.5;
}
.markdown-section
p.color-main-text.black {
p.color-main-text.black {
color:#333;
}
.color-main-box {
...
...
docs/component/uniui/quickstart.md
浏览文件 @
73bf1739
...
...
@@ -3,6 +3,7 @@ uni-ui支持 HBuilderX直接新建项目模板、npm安装和单独导入个别
### 在HBuilderX 新建uni-app项目的模板中,选择uni-ui模板
![
HBuilderX内创建uni-ui项目
](
https://img.cdn.aliyun.dcloud.net.cn/uni-app/doc/create-uni-ui-project.jpg
)
由于uni-app独特的
[
easycom
](
https://uniapp.dcloud.io/collocation/pages?id=easycom
)
技术,可以免引用、注册,直接使用各种符合规则的vue组件。
在代码区键入
`u`
,拉出各种内置或uni-ui的组件列表,选择其中一个,即可使用该组件。
...
...
docs/component/uniui/uni-icons.md
浏览文件 @
73bf1739
...
...
@@ -13,6 +13,12 @@
```
html
<uni-icons
type=
"contact"
size=
"30"
></uni-icons>
```
## 图标示例
点击复制图标类型
<icons-layouts></icons-layouts>
## API
...
...
docs/tutorial/android-gp.md
浏览文件 @
73bf1739
...
...
@@ -3,7 +3,7 @@
App提交云端打包时请务必勾选“GooglePlay(AAB)”渠道
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/app/android/googleplay/channel.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/app/android/googleplay/channel.png
)
Google Play上架审核要求比较严格,应用中不能存在以下行为:
-
不能直接下载apk方式安装应用,需引导用户到Google Play安装
...
...
@@ -15,7 +15,7 @@ uni-app中部分功能模块不符合Google Play审核要求,请仔细阅读
“App常用其它设置”中需要将targetSdkVersion设置值大于等于30
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/app/android/googleplay/targetsdkversion.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/app/android/googleplay/targetsdkversion.png
)
**注意:务必在Android11设备上进行测试,确保应用所有功能可以正常运行**
...
...
@@ -23,7 +23,7 @@ uni-app中部分功能模块不符合Google Play审核要求,请仔细阅读
### 不能包含安装应用权限
在App权限配置中不要勾选 android.permission.INSTALL_PACKAGES、android.permission.REQUEST_INSTALL_PACKAGES 权限
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/app/android/googleplay/permission-install.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/app/android/googleplay/permission-install.png
)
#### 离线打包:
...
...
@@ -41,7 +41,7 @@ uni-app中部分功能模块不符合Google Play审核要求,请仔细阅读
### 不要使用QQ登录、QQ分享模块
使用QQ登录、分享功能时,如果当前设备上没有安装QQ应用时,会引导用户下载安装,不符合Google Play的审核要求,因此提交到Google Play时不要勾选QQ登录及QQ分享模块
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/app/android/googleplay/qq.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/app/android/googleplay/qq.png
)
#### 离线打包:
...
...
@@ -50,7 +50,7 @@ uni-app中部分功能模块不符合Google Play审核要求,请仔细阅读
### 不要使用国内增强广告SDK
uni-AD国内增强广告(如穿山甲、广点通、快手等SDK)显示的广告落地页可能会引导用户下载安装apk,不符合Google Play的审核要求,因此提交到Google Play时不要勾选增强广告SDK
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/app/android/googleplay/ad.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/app/android/googleplay/ad.png
)
**注意:uni-AD 广告基础功能不受影响**
...
...
@@ -61,7 +61,7 @@ uni-AD国内增强广告(如穿山甲、广点通、快手等SDK)显示的
### 不要使用X5内核
腾讯TBS(X5)内核在Android平台解决了很多适配问题(详情可参考:
[
https://ask.dcloud.net.cn/article/36806
](
https://ask.dcloud.net.cn/article/36806
)
),但它使用了动态热更新技术,不符合Google Play的审核要求,因此提交Google Play时不要勾选使用“Android X5 Webview(腾讯TBS)”模块
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/app/android/googleplay/x5.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/app/android/googleplay/x5.png
)
#### 离线打包:
...
...
docs/tutorial/app-ios-dsym.md
浏览文件 @
73bf1739
...
...
@@ -10,11 +10,11 @@
iOS平台中,dSYM文件是指具有调试信息的目标文件,存储着源码文件名、函数名、行号等信息,与可执行文件中的函数内存地址一一对应。
XCode中发布生成xcarchive文件默认包含dysm文件,通常为:xxxx.app.dSYM,其中xxxx为应用程序的包名,如下所示:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-xcarchive.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-xcarchive.png
)
dSYM文件内容为:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-content.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-content.png
)
#### dsym文件的用途
...
...
@@ -30,13 +30,13 @@ dSYM文件内容为:
在HBuilderX中云端打包打开项目的manifest.json文件,在“App常用其它设置”界面中的勾选“生成iOS符号表(dsym)文件”:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-hx.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-hx.png
)
保存后提交云端。
云端打包成功后会在HBuilderX控制台输出 dsym 文件下载地址:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/ios/dsym-download.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/ios/dsym-download.png
)
#### 注意事项
-
下载文件格式为zip,解压后可获得 dsym 文件
...
...
docs/tutorial/store.md
浏览文件 @
73bf1739
...
...
@@ -9,7 +9,7 @@
首先App提交云端打包时请务必勾选“GooglePlay”渠道:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/doc/channel-google.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/doc/channel-google.png
)
Google Play上架审核要求比较严格,需要注意以下问题:
-
应用中不能存在下载/安装apk的行为,不要勾选android.permission.INSTALL_PACKAGES、android.permission.REQUEST_INSTALL_PACKAGES权限‘
...
...
docs/uniCloud/hosting.md
浏览文件 @
73bf1739
...
...
@@ -98,7 +98,7 @@ DCloud为开发者提供了`uni发布平台`,包括网站发布、App发布和
1、登录
[
uniCloud控制台
](
https://unicloud.dcloud.net.cn/
)
。
2、进入前端网页托管页面,选择【基础设置】,单击【添加域名】,进行域名添加,(注意:域名是需要自行购买的)如下图所示:
!
[](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/uni-app/uniCloud/uniCloud-hosting-domain-add.jpg
)
!
[](
https://
img-cdn-aliyun.dcloud.net.cn
/uni-app/uniCloud/uniCloud-hosting-domain-add.jpg
)
3、添加后,系统会自动分配一个 CNAME 域名,CNAME 域名不能直接访问,您需要在域名服务提供商处完成 CNAME 配置(将添加的域名CNAME到此域名),配置生效后,新域名即可使用。
...
...
docs/univerify.md
浏览文件 @
73bf1739
...
...
@@ -11,7 +11,7 @@
+
支持系统平台: Android,iOS
+
支持运营商: 中国移动,中国联通,中国电信
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/univerify/demo.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/univerify/demo.png
)
<a
id=
"fullscreen"
/>
...
...
@@ -29,7 +29,7 @@ uni.login({
全屏效果如下:
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/univerify/full.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/univerify/full.png
)
### 产品优势
...
...
@@ -54,7 +54,7 @@ uni.login({
2.
用户同意授权后,SDK底层访问运营商网关鉴权,获得当前设备
`access_token`
等信息。
3.
在服务器侧通过 uniCloud 将
`access_token`
等信息 置换为当前设备的真实手机号码。然后服务器直接入库,避免手机号传递到前端发生的不可信情况。
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/univerify/process.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/univerify/process.png
)
前置条件:
+
手机安装有sim卡
...
...
@@ -599,7 +599,7 @@ exports.main = async(event) => {
-
云端打包
在项目manifest.json页面“App模块配置”项的“OAuth(登录鉴权)”下勾选“一键登录(uni-verify)”。
![](
https://
dcloud-img.oss-cn-hangzhou.aliyuncs.com
/client/doc/univerify/hx.png
)
![](
https://
img-cdn-aliyun.dcloud.net.cn
/client/doc/univerify/hx.png
)
-
离线打包
+
Android平台:
[
一键登录Android离线打包配置
](
https://nativesupport.dcloud.net.cn/AppDocs/usemodule/androidModuleConfig/oauth?id=%e4%b8%80%e9%94%ae%e7%99%bb%e5%bd%95
)
...
...
package.json
浏览文件 @
73bf1739
...
...
@@ -23,6 +23,7 @@
"homepage"
:
"
https://github.com/dcloudio/unidoc-zh#readme
"
,
"devDependencies"
:
{
"
@vuepress/plugin-back-to-top
"
:
"
^1.9.5
"
,
"
clipboard
"
:
"
^2.0.10
"
,
"
fs-extra
"
:
"
^10.0.0
"
,
"
glob
"
:
"
^7.1.7
"
,
"
vuepress
"
:
"
^1.8.2
"
...
...
yarn.lock
浏览文件 @
73bf1739
...
...
@@ -2628,6 +2628,15 @@ cli-boxes@^2.2.0:
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f"
integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==
clipboard@^2.0.10:
version "2.0.10"
resolved "https://registry.npmjs.org/clipboard/-/clipboard-2.0.10.tgz#e61f6f7139ac5044c58c0484dcac9fb2a918bfd6"
integrity sha512-cz3m2YVwFz95qSEbCDi2fzLN/epEN9zXBvfgAoGkvGOJZATMl9gtTDVOtBYkx2ODUJl2kvmud7n32sV2BpYR4g==
dependencies:
good-listener "^1.2.2"
select "^1.1.2"
tiny-emitter "^2.0.0"
cliui@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
...
...
@@ -3291,6 +3300,11 @@ delayed-stream@~1.0.0:
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
delegate@^3.1.2:
version "3.2.0"
resolved "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166"
integrity sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==
depd@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
...
...
@@ -4283,6 +4297,13 @@ globby@^9.2.0:
pify "^4.0.1"
slash "^2.0.0"
good-listener@^1.2.2:
version "1.2.2"
resolved "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50"
integrity sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=
dependencies:
delegate "^3.1.2"
got@^9.6.0:
version "9.6.0"
resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
...
...
@@ -7164,6 +7185,11 @@ select-hose@^2.0.0:
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"
integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=
select@^1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d"
integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=
selfsigned@^1.10.8:
version "1.10.14"
resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-1.10.14.tgz#ee51d84d9dcecc61e07e4aba34f229ab525c1574"
...
...
@@ -7808,6 +7834,11 @@ timsort@^0.3.0:
resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=
tiny-emitter@^2.0.0:
version "2.1.0"
resolved "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==
to-arraybuffer@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录