diff --git a/README.md b/README.md index 88110871..80ff71d5 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ * [更新日志](https://wot-design-uni.pages.dev/guide/changelog.html) * [常见问题](https://wot-design-uni.pages.dev/guide/common-problems.html) * [Discussions 讨论区](https://github.com/Moonofweisheng/wot-design-uni/discussions) -* [QQ 群](https://qm.qq.com/cgi-bin/qm/qr?k=O1Z3pal6StL39qHtABqR54Tb56igr90O&jump_from=webapi&authKey=MtVWfi/EQbT03wW7tKXv4bmyKYHBHtzI8VewlzSsOdxFjN0wbgNy17np9Z9yC4Z8) +* [QQ 群](https://wot-design-uni.pages.dev/guide/join-group.html) * [快速上手项目](https://github.com/Moonofweisheng/wot-starter) ## 开发计划 diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 5cc22390..0aec8075 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,7 +1,7 @@ /* * @Author: weisheng * @Date: 2023-07-27 10:26:09 - * @LastEditTime: 2024-05-20 13:18:53 + * @LastEditTime: 2024-07-19 13:29:51 * @LastEditors: weisheng * @Description: * @FilePath: \wot-design-uni\docs\.vitepress\config.mts @@ -51,14 +51,8 @@ export default defineConfig({ head: [ ['link', { rel: 'icon', href: '/favicon.ico' }], ['script', {}, ` - var _hmt = _hmt || []; - (function() { - var hm = document.createElement("script"); - hm.src = "https://hm.baidu.com/hm.js?18377b8bd73d88647503887f67ccf27f"; - var s = document.getElementsByTagName("script")[0]; - s.parentNode.insertBefore(hm, s); - })(); - `] + !function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"3J4q4tM6fN0n1fbZ",ck:"3J4q4tM6fN0n1fbZ"}); + `] ], themeConfig: { logo: '/wot-design.png', @@ -72,7 +66,7 @@ export default defineConfig({ socialLinks: [ { icon: 'github', link: 'https://github.com/Moonofweisheng/wot-design-uni' }, { icon: { svg: '' }, link: "https://gitee.com/fant-mini/wot-design-uni", ariaLabel: 'Gitee' }, - { icon: { svg: '' }, link: "https://qm.qq.com/cgi-bin/qm/qr?k=O1Z3pal6StL39qHtABqR54Tb56igr90O&jump_from=webapi&authKey=MtVWfi/EQbT03wW7tKXv4bmyKYHBHtzI8VewlzSsOdxFjN0wbgNy17np9Z9yC4Z8", ariaLabel: 'QQ' } + { icon: { svg: '' }, link: "/guide/join-group", ariaLabel: 'QQ' } ], search: { provider: 'algolia', @@ -103,9 +97,6 @@ export default defineConfig({ link: '/guide/custom-theme', }, { - text: '字体', - link: '/guide/typography', - }, { text: '常见问题', link: '/guide/common-problems', }, @@ -115,7 +106,10 @@ export default defineConfig({ }, { text: '更新日志', link: '/guide/changelog', - }, + },{ + text: '加群沟通', + link: '/guide/join-group', + } ] }, { @@ -164,10 +158,6 @@ export default defineConfig({ text: '定制主题', link: '/guide/custom-theme', }, - { - text: '字体', - link: '/guide/typography', - }, { text: '国际化', link: '/guide/locale', @@ -179,7 +169,10 @@ export default defineConfig({ { text: '更新日志', link: '/guide/changelog', - }, + },{ + text: '加群沟通', + link: '/guide/join-group', + } ], '/reward/': [ { diff --git a/docs/guide/common-problems.md b/docs/guide/common-problems.md index 2f7c8b52..6a9dd163 100644 --- a/docs/guide/common-problems.md +++ b/docs/guide/common-problems.md @@ -17,7 +17,7 @@ ## 有没有技术交流群? 有! -可以加入[组件库QQ 群](https://qm.qq.com/cgi-bin/qm/qr?k=O1Z3pal6StL39qHtABqR54Tb56igr90O&jump_from=webapi&authKey=MtVWfi/EQbT03wW7tKXv4bmyKYHBHtzI8VewlzSsOdxFjN0wbgNy17np9Z9yC4Z8),分享心得、交流体会。 +可以加入[组件库QQ 群](/guide/join-group.html),分享心得、交流体会。 ## 小程序样式隔离 diff --git a/docs/guide/introduction.md b/docs/guide/introduction.md index 900dd107..6a1c3e85 100644 --- a/docs/guide/introduction.md +++ b/docs/guide/introduction.md @@ -36,7 +36,7 @@ * [更新日志](/guide/changelog) * [常见问题](/guide/common-problems) * [Discussions 讨论区](https://github.com/Moonofweisheng/wot-design-uni/discussions) -* [QQ 群](https://qm.qq.com/cgi-bin/qm/qr?k=O1Z3pal6StL39qHtABqR54Tb56igr90O&jump_from=webapi&authKey=MtVWfi/EQbT03wW7tKXv4bmyKYHBHtzI8VewlzSsOdxFjN0wbgNy17np9Z9yC4Z8) +* [QQ 群](https://wot-design-uni.pages.dev/guide/join-group.html) * [快速上手项目](https://github.com/Moonofweisheng/wot-starter) * [Vue3路由库](https://moonofweisheng.github.io/uni-mini-router/) diff --git a/docs/guide/join-group.md b/docs/guide/join-group.md new file mode 100644 index 00000000..8e218d28 --- /dev/null +++ b/docs/guide/join-group.md @@ -0,0 +1,41 @@ +# 加群沟通 + +如果使用 `Github` 等平台无法解决你的问题,可以加群,请确保你的提问清晰明了,用词礼貌文明,非常感谢你的支持! + +***[提问的智慧](https://lug.ustc.edu.cn/wiki/doc/smart-questions/),可以帮助你快速提出正确的问题,获得更快的解答。*** + +## 沟通案例 + +下面介绍几个沟通案例,通过这些案例我们将了解哪些提问方式最容易使问题得到解决 + +### 正确案例 +***仔细察看文档和常见问题后确认未解决再提问,提问时详细描述自己的问题,并提供复现demo以便他人协助排查问题。例如:*** + +我在使用`Button`组件的`custom-class`属性来自定义样式时遇到了自定义样式不生效的问题,我阅读了官方文档和常见问题,但仍然无法解决,我将我的最小复现demo整理到复现仓库了,请问能否帮助排查问题? + +### 错误案例 +***提问时随意发言,不阅读文档,不提供复现demo,不提供详细问题描述,充满质疑和抱怨,例如:*** + +- 错误案例1:这button真逆天,`custom-class`用不了? +- 错误案例2:你们这个组件怎么这么垃圾,`custom-class`属性用不了,我自定义样式都不生效,你们能不能修复一下? +- 错误案例3:?这个组件有bug?我自定义样式都不生效??? + + +### QQ群 + +
+ +
+ + + \ No newline at end of file diff --git a/docs/public/QQ.png b/docs/public/QQ.png new file mode 100644 index 00000000..5722f53e Binary files /dev/null and b/docs/public/QQ.png differ diff --git a/src/uni_modules/wot-design-uni/readme.md b/src/uni_modules/wot-design-uni/readme.md index 49373df2..dc42cbd0 100644 --- a/src/uni_modules/wot-design-uni/readme.md +++ b/src/uni_modules/wot-design-uni/readme.md @@ -79,7 +79,7 @@ * [更新日志](https://wot-design-uni.pages.dev/guide/changelog.html) * [常见问题](https://wot-design-uni.pages.dev/guide/common-problems.html) * [Discussions 讨论区](https://github.com/Moonofweisheng/wot-design-uni/discussions) -* [QQ 群](https://qm.qq.com/cgi-bin/qm/qr?k=O1Z3pal6StL39qHtABqR54Tb56igr90O&jump_from=webapi&authKey=MtVWfi/EQbT03wW7tKXv4bmyKYHBHtzI8VewlzSsOdxFjN0wbgNy17np9Z9yC4Z8) +* [QQ 群](https://wot-design-uni.pages.dev/guide/join-group.html) * [快速上手项目](https://github.com/Moonofweisheng/wot-starter) * [Vue3路由库](https://wot-design-uni.pages.dev/uni-mini-router/)