diff --git a/docs/.vuepress/config/siderbar/uni-app.js b/docs/.vuepress/config/siderbar/uni-app.js index 1277cd9c08530524ee70826fa7331a522bdc60a7..7bfaaf1393db771eeea7209371437187ae6969b4 100644 --- a/docs/.vuepress/config/siderbar/uni-app.js +++ b/docs/.vuepress/config/siderbar/uni-app.js @@ -1,221 +1,241 @@ export default { - contactItems: [{ - name: 'uniCloud Web控制台', - url: 'https://unicloud.dcloud.net.cn', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/cloud@2x.jpg' - }, - { - name: '插件市场', - url: 'https://ext.dcloud.net.cn/', - imageUrl: 'https://img-cdn-aliyun.dcloud.net.cn/dev/img/ext/favicon.png' - }, - { - name: 'ask问答社区', - url: 'https://ask.dcloud.net.cn/explore/', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/d@2x.png' - }, - { - name: 'uniAD', - url: 'https://uniad.dcloud.net.cn', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uniad-520.png' - }, - { - name: 'uni统计', - url: 'https://tongji.dcloud.net.cn/', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni-tongji-icon.png' - } - ], - codeHosting: [{ - name: 'Gitee', - url: 'https://gitee.com/dcloud/uni-app' - }, - { - name: 'GitHub', - url: 'http://github.com/dcloudio/uni-app' - } + contacts: [ + { + type: 'link', + items: [ + { + name: 'uniCloud Web控制台', + url: 'https://unicloud.dcloud.net.cn', + imageUrl: + 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/cloud@2x.jpg', + }, + { + name: '插件市场', + url: 'https://ext.dcloud.net.cn/', + imageUrl: + 'https://img-cdn-aliyun.dcloud.net.cn/dev/img/ext/favicon.png', + }, + { + name: 'ask问答社区', + url: 'https://ask.dcloud.net.cn/explore/', + imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/d@2x.png', + }, + { + name: 'uniAD', + url: 'https://uniad.dcloud.net.cn', + imageUrl: + 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uniad-520.png', + }, + { + name: 'uni统计', + url: 'https://tongji.dcloud.net.cn/', + imageUrl: + 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni-tongji-icon.png', + }, + ], + }, + { + type: 'links', + items: [ + { + name: 'Gitee', + url: 'https://gitee.com/dcloud/uni-app', + }, + { + name: 'GitHub', + url: 'http://github.com/dcloudio/uni-app', + }, + ], + }, + { + type: 'link', + items: [ + { + name: 'uni-im交流群', + imageUrl: + 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/chat-icon-r.png', + url: 'https://im.dcloud.net.cn/#/?joinGroup=658160eb3e585b555acebfd7', + }, + ], + }, ], - uniIm:[ - { - name: 'uni-im交流群', - url: 'https://im.dcloud.net.cn/#/?joinGroup=658160eb3e585b555acebfd7' - } - ], qq_group: [ { - "number": "531031261", - "state": 1, - "prefix": "群1" + number: '531031261', + state: 1, + prefix: '群1', }, { - "number": "901474938", - "state": 1, - "prefix": "群2" + number: '901474938', + state: 1, + prefix: '群2', }, { - "number": "773794803", - "state": 1, - "prefix": "群3" + number: '773794803', + state: 1, + prefix: '群3', }, { - "number": "942702595", - "state": 1, - "prefix": "群4" + number: '942702595', + state: 1, + prefix: '群4', }, { - "number": "731951419", - "state": 1, - "prefix": "群5" + number: '731951419', + state: 1, + prefix: '群5', }, { - "number": "697264024", - "state": 1, - "prefix": "群6", + number: '697264024', + state: 1, + prefix: '群6', }, { - "number": "942061423", - "state": 1, - "prefix": "群7", + number: '942061423', + state: 1, + prefix: '群7', }, { - "number": "695442854", - "state": 1, - "prefix": "群8" + number: '695442854', + state: 1, + prefix: '群8', }, { - "number": "775128777", - "state": 1, - "prefix": "群9" + number: '775128777', + state: 1, + prefix: '群9', }, { - "number": "959059626", - "state": 1, - "prefix": "群10" + number: '959059626', + state: 1, + prefix: '群10', }, { - "number": "296811328", - "state": 1, - "prefix": "群11" + number: '296811328', + state: 1, + prefix: '群11', }, { - "number": "884860657", - "state": 1, - "prefix": "群12" + number: '884860657', + state: 1, + prefix: '群12', }, { - "number": "699478442", - "state": 1, - "prefix": "群13" + number: '699478442', + state: 1, + prefix: '群13', }, { - "number": "465953250", - "state": 1, - "prefix": "群14" + number: '465953250', + state: 1, + prefix: '群14', }, { - "number": "516984120", - "state": 1, - "prefix": "群15" + number: '516984120', + state: 1, + prefix: '群15', }, { - "number": "719211033", - "state": 1, - "prefix": "群16", + number: '719211033', + state: 1, + prefix: '群16', }, { - "number": "951348804", - "state": 1, - "prefix": "群17" + number: '951348804', + state: 1, + prefix: '群17', }, { - "number": "698592271", - "state": 1, - "prefix": "群18" + number: '698592271', + state: 1, + prefix: '群18', }, { - "number": "165657124", - "state": 1, - "prefix": "群19", + number: '165657124', + state: 1, + prefix: '群19', }, { - "number": "165796402", - "state": 1, - "prefix": "群20" + number: '165796402', + state: 1, + prefix: '群20', }, { - "number": "717019120", - "state": 1, - "prefix": "群21" + number: '717019120', + state: 1, + prefix: '群21', }, { - "number": "687186952", - "state": 1, - "prefix": "群22" + number: '687186952', + state: 1, + prefix: '群22', }, { - "number": "599958679", - "state": 1, - "prefix": "群23" + number: '599958679', + state: 1, + prefix: '群23', }, { - "number": "165297000", - "state": 1, - "prefix": "群25" + number: '165297000', + state: 1, + prefix: '群25', }, { - "number": "147867597", - "state": 1, - "prefix": "群26" + number: '147867597', + state: 1, + prefix: '群26', }, { - "number": "811363410", - "state": 1, - "prefix": "群27" + number: '811363410', + state: 1, + prefix: '群27', }, { - "number": "166188776", - "state": 1, - "prefix": "群28" + number: '166188776', + state: 1, + prefix: '群28', }, { - "number": "202965481", - "state": 1, - "prefix": "群29" + number: '202965481', + state: 1, + prefix: '群29', }, { - "number": "371046920", - "state": 1, - "prefix": "群30" + number: '371046920', + state: 1, + prefix: '群30', }, { - "number": "567471669", - "state": 1, - "prefix": "群31" + number: '567471669', + state: 1, + prefix: '群31', }, { - "number": "166188631", - "state": 1, - "prefix": "群32" + number: '166188631', + state: 1, + prefix: '群32', }, { - "number": "498071674", - "state": 1, - "prefix": "群33" + number: '498071674', + state: 1, + prefix: '群33', }, { - "number": "530305531", - "state": 1, - "prefix": "群34" + number: '530305531', + state: 1, + prefix: '群34', }, { - "number": "713420817", - "state": 1, - "prefix": "群35" + number: '713420817', + state: 1, + prefix: '群35', }, { - "number": "672494800", - "state": 0, - "prefix": "群24", - joinQQGroupHref: 'https://qm.qq.com/cgi-bin/qm/qr?k=faAcqKSDUlw3E0KI6ylGWcCKUNa6sMQq&jump_from=webapi&authKey=9c9E8o35sWKtdv2rBkl4Y5G/z6+SwILWZ5oSlm9Tl0MMk9l82XYtKMViLXMA4/QD' - } - ] -} + number: '672494800', + state: 0, + prefix: '群24', + joinQQGroupHref: + 'https://qm.qq.com/cgi-bin/qm/qr?k=faAcqKSDUlw3E0KI6ylGWcCKUNa6sMQq&jump_from=webapi&authKey=9c9E8o35sWKtdv2rBkl4Y5G/z6+SwILWZ5oSlm9Tl0MMk9l82XYtKMViLXMA4/QD', + }, + ], +}; diff --git a/docs/.vuepress/config/siderbar/uniCloud.js b/docs/.vuepress/config/siderbar/uniCloud.js index 75330597e48a5fdc8ad6a6d60911f607c18b2877..91159ad51eaaed213101556faca7d4f1198bbe32 100644 --- a/docs/.vuepress/config/siderbar/uniCloud.js +++ b/docs/.vuepress/config/siderbar/uniCloud.js @@ -1,65 +1,75 @@ export default { - contactItems: [{ - name: 'uniCloud Web控制台', - url: 'https://unicloud.dcloud.net.cn', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/cloud@2x.jpg' - }, - { - name: '插件市场', - url: 'https://ext.dcloud.net.cn/', - imageUrl: 'https://img-cdn-aliyun.dcloud.net.cn/dev/img/ext/favicon.png' - }, + contacts: [ { - name: 'ask问答社区', - url: 'https://ask.dcloud.net.cn/explore/', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/d@2x.png' - }, - { - name: 'uniAD', - url: 'https://uniad.dcloud.net.cn', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uniad-520.png' - }, - { - name: 'uni统计', - url: 'https://tongji.dcloud.net.cn/', - imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni-tongji-icon.png' + type: 'link', + items: [ + { + name: 'uniCloud Web控制台', + url: 'https://unicloud.dcloud.net.cn', + imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/cloud@2x.jpg', + }, + { + name: '插件市场', + url: 'https://ext.dcloud.net.cn/', + imageUrl: 'https://img-cdn-aliyun.dcloud.net.cn/dev/img/ext/favicon.png', + }, + { + name: 'ask问答社区', + url: 'https://ask.dcloud.net.cn/explore/', + imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/d@2x.png', + }, + { + name: 'uniAD', + url: 'https://uniad.dcloud.net.cn', + imageUrl: + 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uniad-520.png', + }, + { + name: 'uni统计', + url: 'https://tongji.dcloud.net.cn/', + imageUrl: + 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni-tongji-icon.png', + }, + ] } ], - qq_group: [{ - "number": "1012245137", - "state": 1, + qq_group: [ + { + number: '1012245137', + state: 1, attendance: 2000, - "prefix": "群1" + prefix: '群1', }, { - "number": "749911289", - "state": 1, + number: '749911289', + state: 1, attendance: 1000, - "prefix": "群2" + prefix: '群2', }, { - "number": "599819864", - "state": 1, + number: '599819864', + state: 1, attendance: 1000, - "prefix": "群3" + prefix: '群3', }, { - "number": "641753405", - "state": 1, + number: '641753405', + state: 1, attendance: 1000, - "prefix": "群4" + prefix: '群4', }, { - "number": "806429316", - "state": 1, + number: '806429316', + state: 1, attendance: 2000, - "prefix": "群5" + prefix: '群5', }, { - "number": "741357947", - "state": 0, - "prefix": "群6", - joinQQGroupHref: 'https://qm.qq.com/cgi-bin/qm/qr?k=GmOeLLMnc5WcgNllzKEsq7UG0Oq-8DHp&jump_from=webapi&authKey=LL8+4dkOgBwUqJ8aapXJD2/tOSi/PFO5ZAuhr7eD7obfLtXEvGsFvhGjC8pj2PfM' - } - ] -} \ No newline at end of file + number: '741357947', + state: 0, + prefix: '群6', + joinQQGroupHref: + 'https://qm.qq.com/cgi-bin/qm/qr?k=GmOeLLMnc5WcgNllzKEsq7UG0Oq-8DHp&jump_from=webapi&authKey=LL8+4dkOgBwUqJ8aapXJD2/tOSi/PFO5ZAuhr7eD7obfLtXEvGsFvhGjC8pj2PfM', + }, + ], +}; diff --git a/package.json b/package.json index 5f08f8dcfc43aaea0d39ecedc755ade936868c63..7525163b75e84235d96e603b44aeb6b2a851b492 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "markdown-it-raw-table": "^1.0.0", "markdown-it-task-lists": "^2.1.1", "vuepress-plugin-named-chunks": "^1.1.4", - "vuepress-theme-uni-app-test": "^1.4.0" + "vuepress-theme-uni-app-test": "^1.4.1" }, "dependencies": { "@docsearch/js": "^3.1.0", diff --git a/yarn.lock b/yarn.lock index e9905ff7d3949a47be9ab67a2003517d3f3ca08f..556866abc37ead0c18a959351599d439396630f1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9259,10 +9259,10 @@ vuepress-plugin-zooming@^1.1.8: dependencies: zooming "^2.1.1" -vuepress-theme-uni-app-test@^1.4.0: - version "1.4.0" - resolved "https://registry.npmmirror.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.4.0.tgz#1e90ab228bfa4379a1f30a64054a0b2b924e0f1f" - integrity sha512-ABCSp6eiBeHmc7cQcp9E9Sz/VWFiTg+OUOW0E2I0pV5yJlJ1jCYRc3sNQChNBIE60XACSOL47alm/prS3jBvBQ== +vuepress-theme-uni-app-test@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.4.1.tgz#31839d5169032df54e48a8014645b6299f2ec5fe" + integrity sha512-qh3Vh+5Hu73Z1WbGBk4R4WzGf6RfQ4/P8ai/+Ecvf5jOpi8JzVaDfzD+9eKbh1qH1QHXkDVUA+wYoZE2XHYzJQ== dependencies: "@vuepress/plugin-back-to-top" "^1.9.5" "@vuepress/theme-default" "^1.8.2"