shinnosuke
2026-08-04 478c5f3c8f1c624edc189429d4797e9bc47ecc43
fix: support legacy home preview entry
1个文件已添加
1个文件已修改
23 ■■■■■ 已修改文件
rencaika/pages.json 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rencaika/pages/home/index.uvue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rencaika/pages.json
@@ -1,6 +1,13 @@
{
    "pages": [
        {
            "path": "pages/home/index",
            "style": {
                "navigationStyle": "custom",
                "backgroundColor": "#F6F7FB"
            }
        },
        {
            "path": "pages/index/index",
            "style": {
                "navigationStyle": "custom",
rencaika/pages/home/index.uvue
New file
@@ -0,0 +1,16 @@
<template>
    <view class="redirect-page">
        <text>正在打开首页...</text>
    </view>
</template>
<script setup lang="uts">
    onLoad(() => {
        uni.reLaunch({ url: '/pages/index/index' })
    })
</script>
<style>
    .redirect-page { display: flex; width: 100%; height: 100vh; background-color: #F6F7FB; align-items: center; justify-content: center; }
    .redirect-page text { color: #8A919D; font-size: 28rpx; }
</style>