diff --git a/.gitee/ISSUE_TEMPLATE/bug.yml b/.gitee/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000000000000000000000000000000000000..1a87bf09972dab69cee7e7f1871949e264376428 --- /dev/null +++ b/.gitee/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,75 @@ +name: 😄 创建议题 +description: 为了加强 Issue 规范、提升沟通效率,Layui Issues 建议统一在 Github 创建 +body: + - type: markdown + attributes: + value: | + ### 温馨提示: + 为了提升 Issue 沟通效率,从本月底开始,Layui 在 Gitee 平台的 Issues 将不再受理。 +
详见说明:[📣 重要调整:Layui Issues 请统一在 Github 提交](https://gitee.com/layui/layui/issues/I8OVIB) +

+ 建议您本次在 Github 提交 Issue:😄 [**前往创建议题**](https://github.com/layui/layui/issues/new?assignees=&labels=&projects=&template=bug-feature.yml) +

















+

















+ + - type: checkboxes + attributes: + label: 议题条件 + description: 在你开始之前,请花几分钟时间确保你已如实完成以下工作,以便让我们更高效地沟通。 + options: + - label: 我确认已查看官方使用文档:https://layui.dev ,但没有找到相关解决方案。 + required: true + - label: 我确认已在 [Issues](https://github.com/layui/layui/issues?q=is%3Aissue ) 中搜索过类似的问题,但没有找到相关解决方案。 + required: true + - label: 我已仔细阅读: 🍀[ Layui Issue 规范指南](https://github.com/layui/layui/blob/main/CONTRIBUTING.md) + required: true + - type: dropdown + id: type + attributes: + label: 议题类型 + options: + - 疑是 BUG + - 功能请求 + validations: + required: true + - type: input + attributes: + label: 使用版本 + description: 请提供您当前使用的 Layui 版本号。若不清楚,可打开 `layui.js` 查看头部注释。 + placeholder: 如:v2.8.18 + validations: + required: true + - type: textarea + attributes: + label: 问题描述 + description: 请提供详细的问题描述和操作步骤等信息,以便我们也能够更轻松地将问题复现。 + validations: + required: true + - type: textarea + attributes: + label: 业务代码 + description: 请提供与该问题对应的业务代码片段,以便我们更好地排查问题。此处直接粘贴代码到文本框即可,无需书写 `Markdown` + render: auto + validations: + required: true + - type: textarea + attributes: + label: 截图补充 + description: 如上述仍然无法准确地表述问题,可提供必要的截图(可直接粘贴上传) + - type: input + attributes: + label: 浏览器 + placeholder: 如:Chrome x.x.x.x(正式版本)(64 位) + validations: + required: true + - type: input + attributes: + label: 演示地址 + description: 若能提供 Stackblitz, CodePen 或自主搭建的页面演示地址,将更有助于解决问题 + placeholder: URL + - type: checkboxes + attributes: + label: 友好承诺 + options: + - label: 我承诺将本着相互尊重、理解和友善的态度进行交流,共同维护 Layui 良好的社区氛围。 + required: true diff --git a/.gitee/ISSUE_TEMPLATE/config.yml b/.gitee/ISSUE_TEMPLATE/config.yml index 8f34eecea326fc1e21a4605b4058088a85869d54..65ab8e19f3081e2e820db78cf755e20b62ec83a6 100644 --- a/.gitee/ISSUE_TEMPLATE/config.yml +++ b/.gitee/ISSUE_TEMPLATE/config.yml @@ -1,7 +1,7 @@ blank_issues_enabled: false contact_links: - name: 😄 创建议题 - url: https://github.com/layui/layui/issues/new?template=bug.yml + url: https://github.com/layui/layui/issues/new?template=bug-feature.yml about: 为了加强 Issue 规范、提升沟通效率,Layui Issues 已统一在 Github 受理 - name: 📄 官方文档 url: https://layui.dev/