refactor: 全面重构移动端架构与规范落地
页面迁移至 subPages 分包,路由改用 definePage 宏驱动;抽取 usePagedList/useActionSheet/useSmsCode 组合式函数;统一 API 命名、toast 与主题色变量;登录页视觉收敛并清理无效字段及废弃依赖
This commit is contained in:
1 parent
907b07f552
commit
e0cff93f0b
102 files changed
+2044
-4584
No files matched your search
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<web-view :src="url" />
|
||||
</view>
|
||||
<web-view :src="url" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -11,6 +9,7 @@ import { onLoad } from "@dcloudio/uni-app";
|
||||
definePage({
|
||||
name: "webview",
|
||||
style: { navigationBarTitleText: "网页" },
|
||||
layout: "blank",
|
||||
});
|
||||
|
||||
const url = ref("");
|
||||
@@ -21,10 +20,3 @@ onLoad((query) => {
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user