From 71bc6ae66f487ab18c43c60aa6f4386e467fbfc5 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Thu, 5 Jan 2023 16:25:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E6=A1=A3=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E8=87=B3=20CDN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/components/md/banner.vue | 12 +-- docs/.vuepress/config.js | 6 +- docs/.vuepress/config/footer.js | 2 +- docs/.vuepress/config/siderbar/index.js | 2 +- docs/.vuepress/config/siderbar/uni-app.js | 8 +- docs/.vuepress/config/siderbar/uniCloud.js | 8 +- docs/README.md | 42 +++++----- docs/api/a-d/content-page.md | 2 +- docs/api/a-d/interactive.md | 4 +- docs/api/a-d/rewarded-video.md | 4 +- docs/api/canvas/CanvasContext.md | 78 +++++++++---------- docs/api/canvas/CanvasGradient.md | 2 +- docs/api/media/background-audio-manager.md | 2 +- docs/api/media/video-context.md | 2 +- docs/api/other/open-miniprogram.md | 2 +- docs/api/plugins/payment.md | 2 +- docs/api/plugins/share.md | 16 ++-- docs/api/plugins/universal-links.md | 10 +-- docs/api/ui/media-query-observer.md | 2 +- docs/app/oauth/oauth-facebook.md | 22 +++--- docs/app/oauth/oauth-google.md | 12 +-- docs/case.md | 34 ++++---- docs/collocation/pages.md | 2 +- docs/component/ad-content-page.md | 2 +- docs/component/ad-draw.md | 4 +- docs/component/ad-interstitial.md | 2 +- docs/component/ad-rewarded-video.md | 6 +- docs/component/ad-weixin.md | 2 +- docs/component/ad.md | 4 +- docs/component/audio.md | 4 +- docs/component/custom-tab-bar.md | 4 +- docs/component/icon.md | 4 +- docs/component/image.md | 28 +++---- docs/component/list.md | 2 +- docs/component/rich-text.md | 2 +- docs/component/uniui/resource.md | 2 +- docs/component/uniui/uni-card.md | 8 +- docs/component/uniui/uni-collapse.md | 8 +- docs/component/uniui/uni-file-picker.md | 6 +- docs/component/uniui/uni-icons.md | 12 +-- docs/component/uniui/uni-list.md | 26 +++---- docs/component/uniui/uni-swiper-dot.md | 6 +- docs/component/waterfall.md | 4 +- docs/history.md | 2 +- docs/hybrid.md | 2 +- docs/m3w.md | 6 +- docs/matter.md | 24 +++--- docs/plugin/native-plugin.md | 6 +- docs/plugin/sell.md | 12 +-- docs/plugin/uni_modules.md | 36 +++++---- docs/plugin/uts-component.md | 2 +- docs/plugin/uts-for-android.md | 8 +- docs/quickstart-hx.md | 40 +++++----- docs/quickstart.md | 50 ++++++------ docs/tutorial/adapt.md | 4 +- docs/tutorial/app-oauth-facebook-open.md | 22 +++--- docs/tutorial/app-oauth-google-open.md | 12 +-- docs/tutorial/build/publish-mp-weixin-cli.md | 2 +- docs/tutorial/debug/debug-app.md | 14 ++-- docs/tutorial/debug/debug-mp.md | 4 +- docs/tutorial/debug/debug-web-via-hx.md | 4 +- docs/tutorial/debug/uni-vue-devtools.md | 4 +- docs/tutorial/i18n.md | 6 +- docs/tutorial/internationalization.md | 8 +- docs/tutorial/nvue-api.md | 8 +- docs/tutorial/nvue-css.md | 18 ++--- docs/tutorial/nvue-outline.md | 4 +- docs/tutorial/page-component.md | 48 +++++++++--- docs/tutorial/page.md | 2 +- docs/tutorial/platform.md | 20 ++--- docs/tutorial/run-and-debug.md | 4 +- docs/tutorial/run/apple-signature-ipa.md | 2 +- .../run/ios-apple-certificate-signature.md | 12 +-- docs/tutorial/run/run-app.md | 14 ++-- docs/tutorial/run/uts-development-android.md | 14 ++-- docs/tutorial/run/uts-development-ios.md | 4 +- docs/tutorial/ssr.md | 6 +- docs/tutorial/syntax-uts.md | 8 +- docs/tutorial/typescript-subject.md | 6 +- docs/tutorial/vue-basics.md | 2 +- docs/tutorial/vue-vuex.md | 4 +- docs/tutorial/vue3-basics.md | 2 +- docs/tutorial/vue3-components.md | 4 +- docs/tutorial/vue3-vuex.md | 4 +- docs/uni-ad.md | 2 +- docs/uni-stat-v1.md | 2 +- docs/uni-stat-v2.md | 26 +++---- docs/uniCloud/README.md | 8 +- docs/uniCloud/admin.md | 42 +++++----- docs/uniCloud/aliyun-migrate-business.md | 6 +- docs/uniCloud/authentication.md | 2 +- docs/uniCloud/cf-common.md | 2 +- docs/uniCloud/cf-functions.md | 2 +- docs/uniCloud/clientdb.md | 8 +- docs/uniCloud/cloud-obj.md | 4 +- docs/uniCloud/concepts/cloudfunction.md | 2 +- docs/uniCloud/concepts/space.md | 6 +- docs/uniCloud/db-index.md | 10 +-- docs/uniCloud/db-performance.md | 2 +- docs/uniCloud/hellodb.md | 8 +- docs/uniCloud/hosting.md | 2 +- docs/uniCloud/http.md | 4 +- docs/uniCloud/ip-filter.md | 4 +- docs/uniCloud/jql-runner.md | 2 +- docs/uniCloud/jql.md | 4 +- docs/uniCloud/learning.md | 2 +- docs/uniCloud/publish.md | 2 +- docs/uniCloud/quickstart.md | 4 +- docs/uniCloud/redis-buy.md | 4 +- docs/uniCloud/resource.md | 22 +++--- docs/uniCloud/rundebug.md | 30 +++---- docs/uniCloud/schema.md | 6 +- docs/uniCloud/schema2code.md | 18 ++--- docs/uniCloud/secure-network.md | 14 ++-- docs/uniCloud/send-sms.md | 2 +- docs/uniCloud/uni-cloud-push/api.md | 4 +- docs/uniCloud/uni-cloud-push/mate.md | 2 +- docs/uniCloud/uni-cloud-push/options.md | 6 +- docs/uniCloud/uni-id-pages.md | 2 +- docs/uniCloud/uni-id-summary.md | 2 +- docs/uniCloud/uni-id.md | 8 +- docs/uniCloud/uni-im.md | 2 +- docs/uniCloud/uni-open-bridge.md | 2 +- docs/uniCloud/uni-pay.md | 48 ++++++------ docs/uniCloud/uni-portal.md | 6 +- docs/uniCloud/uni-publish.md | 10 +-- docs/uniCloud/uni-starter.md | 10 +-- docs/uniCloud/upgrade-center.md | 14 ++-- docs/unipush-v2.md | 24 +++--- docs/univerify.md | 2 +- .../auto/hbuilderx-extension/index.md | 16 ++-- 131 files changed, 654 insertions(+), 622 deletions(-) diff --git a/docs/.vuepress/components/md/banner.vue b/docs/.vuepress/components/md/banner.vue index fbea2e5cb..c7989b48a 100644 --- a/docs/.vuepress/components/md/banner.vue +++ b/docs/.vuepress/components/md/banner.vue @@ -20,11 +20,11 @@ data() { return { images: [ - 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/41136990-4f3e-11eb-8ff1-d5dcf8779628.png', - 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/3ecf6d00-4f3e-11eb-8ff1-d5dcf8779628.png', - 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/3df62400-4f3e-11eb-8ff1-d5dcf8779628.png', - 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/3f872440-4f3e-11eb-8a36-ebb87efcf8c0.png', - 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/40596860-4f3e-11eb-bdc1-8bd33eb6adaa.png', + 'https://web-assets.dcloud.net.cn/unidoc/zh/case6.png', + 'https://web-assets.dcloud.net.cn/unidoc/zh/case2.png', + 'https://web-assets.dcloud.net.cn/unidoc/zh/case1.png', + 'https://web-assets.dcloud.net.cn/unidoc/zh/case3.png', + 'https://web-assets.dcloud.net.cn/unidoc/zh/case4.png', ], }; }, @@ -194,7 +194,7 @@ -webkit-transform: translateY(-50%); z-index: 20; display: none; - background-image: url(https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/d2c41062-9e93-478f-9c06-06778b0f2c84.png); + background-image: url(https://web-assets.dcloud.net.cn/unidoc/zh/arrow.png); } .banner .slider-btn.slider-btn-left { diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 0fc4844fa..a2704de5d 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -13,7 +13,7 @@ const config = { ['link', { rel: 'shortcut icon', type: 'image/x-icon', - href: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-a90b5f95-90ba-4d30-a6a7-cd4d057327db/d23e842c-58fc-4574-998d-17fdc7811cc3.png?v=1556263038788' + href: 'https://web-assets.dcloud.net.cn/unidoc/zh/icon.png?v=1556263038788' }], ['script', { src: `/js/redirect.js?${Date.now()}&v=${Date.now()}&version=${Date.now()}` }], ['script', { src: 'https://hm.baidu.com/hm.js?fe3b7a223fc08c795f0f4b6350703e6f' }] @@ -24,8 +24,8 @@ const config = { } }, themeConfig: { - titleLogo: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/1ae87107-2943-4ba6-be2b-390ca27c6260.png', - logo: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/5a7f902b-21a7-4822-884f-925219eacc4b.png', + titleLogo: 'https://web-assets.dcloud.net.cn/unidoc/zh/uni-app.png', + logo: 'https://web-assets.dcloud.net.cn/unidoc/zh/logo.png', // TODO use plugin/theme sidebar: createSidebar(tabs), sidebarDepth: 0, diff --git a/docs/.vuepress/config/footer.js b/docs/.vuepress/config/footer.js index d7e21c397..b01ef079e 100644 --- a/docs/.vuepress/config/footer.js +++ b/docs/.vuepress/config/footer.js @@ -194,6 +194,6 @@ export default { ], }, ], - domainImg: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/769929a3-65eb-4d11-815d-84f88197a152.png', + domainImg: 'https://web-assets.dcloud.net.cn/unidoc/zh/jgwab.png', beian: 'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802035340' } \ No newline at end of file diff --git a/docs/.vuepress/config/siderbar/index.js b/docs/.vuepress/config/siderbar/index.js index 66d0c1b42..a2ae53912 100644 --- a/docs/.vuepress/config/siderbar/index.js +++ b/docs/.vuepress/config/siderbar/index.js @@ -4,5 +4,5 @@ import uniCloud from './uniCloud'; export default { "/": uniapp, '/uniCloud/': uniCloud, - weChatOfficialAccountImg: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/78a8e7b0-4f2d-11eb-8ff1-d5dcf8779628.jpg' + weChatOfficialAccountImg: 'https://web-assets.dcloud.net.cn/unidoc/zh/weixin.jpg' } diff --git a/docs/.vuepress/config/siderbar/uni-app.js b/docs/.vuepress/config/siderbar/uni-app.js index 522cb5ebc..31b38e2aa 100644 --- a/docs/.vuepress/config/siderbar/uni-app.js +++ b/docs/.vuepress/config/siderbar/uni-app.js @@ -2,22 +2,22 @@ export default { contactItems: [{ name: 'uniCloud Web控制台', url: 'https://unicloud.dcloud.net.cn', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/7962e8e0-4f2d-11eb-a16f-5b3e54966275.jpg' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/cloud@2x.jpg' }, { name: '论坛', url: 'https://ask.dcloud.net.cn/explore/', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/73fc4f90-4f2d-11eb-a16f-5b3e54966275.png' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/d@2x.png' }, { name: 'uniAD', url: 'https://uniad.dcloud.net.cn', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/765d9820-4f2d-11eb-bd01-97bc1429a9ff.png' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/uniad-520.png' }, { name: 'uni统计', url: 'https://tongji.dcloud.net.cn/', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/77159d80-4f2d-11eb-a16f-5b3e54966275.png' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/uni-tongji-icon.png' } ], codeHosting: [{ diff --git a/docs/.vuepress/config/siderbar/uniCloud.js b/docs/.vuepress/config/siderbar/uniCloud.js index 4afe15441..51f2bce0d 100644 --- a/docs/.vuepress/config/siderbar/uniCloud.js +++ b/docs/.vuepress/config/siderbar/uniCloud.js @@ -3,22 +3,22 @@ export default { { name: 'uniCloud Web控制台', url: 'https://unicloud.dcloud.net.cn', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/7962e8e0-4f2d-11eb-a16f-5b3e54966275.jpg' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/cloud@2x.jpg' }, { name: '论坛', url: 'https://ask.dcloud.net.cn/explore/', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/73fc4f90-4f2d-11eb-a16f-5b3e54966275.png' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/d@2x.png' }, { name: 'uniAD', url: 'https://uniad.dcloud.net.cn', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/765d9820-4f2d-11eb-bd01-97bc1429a9ff.png' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/uniad-520.png' }, { name: 'uni统计', url: 'https://tongji.dcloud.net.cn/', - imageUrl: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/77159d80-4f2d-11eb-a16f-5b3e54966275.png' + imageUrl: 'https://web-assets.dcloud.net.cn/unidoc/zh/uni-tongji-icon.png' } ], qq_group: [ diff --git a/docs/README.md b/docs/README.md index a6415be6b..afd702aa2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -17,13 +17,13 @@ pageClass: custom-page-class