refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范

这个提交包含在:
wikiboss
2026-09-20 17:05:22 +08:00
父节点 de3cf8b870
当前提交 9fa1d1fbd0
共有 1679 个文件被更改,包括 204798 次插入 和 16817 次删除

查看文件

@@ -0,0 +1,20 @@
describe('PagesJson-backgroundColorContent', () => {
let page;
beforeAll(async () => {
page = await program.reLaunch(
'/pages/template/page-content-background-preview/page-content-background-preview')
await page.waitFor('view');
await page.waitFor(1000);
});
it('screenShot', async () => {
const image = await program.screenshot({fullPage: true});
expect(image).toSaveImageSnapshot()
})
it('background color content size', async () => {
await program.pageScrollTo(1000)
await page.waitFor(2000);
const image = await program.screenshot({fullPage: true});
expect(image).toSaveImageSnapshot()
})
});

查看文件

@@ -0,0 +1,21 @@
<template>
<!-- #ifdef APP && !VUE3-VAPOR -->
<scroll-view style="flex:1">
<!-- #endif -->
<view style="height: 3000px; border: dashed 10px #000000;"></view>
<!-- #ifdef APP && !VUE3-VAPOR -->
</scroll-view>
<!-- #endif -->
</template>
<script setup lang="uts">
/**
* @description: 用超长内容区域配合页面背景色配置,演示页面内容背景色的显示范围和滚动后的视觉效果。
* @logic: 页面主体只渲染一个高内容块,并依赖 `pages.json` 中的 `backgroundColorContent` 观察首屏与滚动后的背景色覆盖表现。
* @optimization: 页面结构保持最小化,只保留必要内容块,便于聚焦背景色渲染结果,减少其他组件对截图和视觉验证的干扰。
*/
</script>
<style>
</style>