5.16
This commit is contained in:
+19
-26
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user