文件
OmniCard/mpuniapp/pages/template/page-content-background-preview/page-content-background-preview.uvue

22 行
793 B
Plaintext

<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>