This commit is contained in:
zoujiandong
2025-05-16 17:16:23 +08:00
parent 7003f55dec
commit fc0d7ce817
19 changed files with 1354 additions and 311 deletions
+19 -26
View File
@@ -1,34 +1,27 @@
<template>
<view class="content">
<view class="page">
<web-view src="https://wx.igandan.com/hcp/toRegister" @load="loadView"></web-view>
</view>
<tabBar :value="1"></tabBar>
</view>
<view class="content">
<view class="page">
<web-view src="https:www.baidu.com/" ></web-view>
</view>
<tabBar :value="1"></tabBar>
</view>
</template>
<script setup>
import { reactive, ref } from "vue";
import { onShow, onReady } from "@dcloudio/uni-app";
import tabBar from "@/components/tabBar/tabBar.vue";
const loadView = () => {
console.log("加载完成");
uni.setNavigationBarTitle({
title: "注册", // 使用data中的title或者动态生成的title
});
};
onShow(() => {
});
onReady(() => {});
import { reactive, ref } from 'vue';
import { onShow } from "@dcloudio/uni-app";
import tabBar from '@/components/tabBar/tabBar.vue';
const webviewStyles=reactive({
width:"100%",
height:'calc(100vh - 0rpx)'
})
</script>
<style scoped>
.page {
width: 100%;
height: calc(100vh - 100rpx);
overflow-y: scroll;
display: flex;
}
.page{
width:100%;
height:calc(100vh - 100rpx);
overflow-y: scroll;
}
</style>