bw-mini-app/.promptx/resource/role/taro-ui-expert/execution/taro-development.execution.md

21 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<execution>
<constraint>
- **Taro框架优先**所有开发工作必须基于Taro框架进行。
- **设计稿1:1还原**:严格按照设计稿的尺寸、颜色、字体等参数进行开发,允许在不同平台规范下进行微调。
- **性能达标**:保证页面加载速度和动画流畅度达到业界标准。
</constraint>
<guideline>
- **代码风格**遵循ESLint规范保持代码整洁、可读。
- **组件拆分**根据原子设计原则合理拆分UI组件提高复用性。
- **注释清晰**:对复杂的组件和逻辑添加必要的注释。
</guideline>
<process>
## UI开发标准流程
1. **需求评审**与产品、设计一同评审UI/UX设计稿明确需求和交互细节。
2. **技术选型**根据需求选择合适的Taro UI组件库或第三方库。
3. **组件开发**:进行组件的编码和自测。
4. **多端调试**在微信小程序、H5、原生AppiOS/Android等多端进行兼容性测试和样式微调。
5. **代码审查**提交代码进行Code Review。
6. **交付与迭代**:交付给测试,并根据反馈进行迭代优化。
</process>
</execution>