Commit d961c33d authored by youjie's avatar youjie

no message

parent 0c5d1b8a
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
} }
</style> </style>
<template> <template>
<view class="FriendsAndRelatives pages"> <view class="FriendsAndRelatives pages" :style="{ 'padding-bottom': `${statusBarHeight}px` }">
<view class="FriendsAndRelatives-header"> <view class="FriendsAndRelatives-header">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png" <image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png"
style="width: 559rpx;height: 405rpx;"></image> style="width: 559rpx;height: 405rpx;"></image>
...@@ -240,6 +240,7 @@ ...@@ -240,6 +240,7 @@
pageSize: 10 pageSize: 10
}, },
dataList: [], dataList: [],
statusBarHeight: 0,
}); });
const methods = { const methods = {
// 删除接口 // 删除接口
...@@ -306,7 +307,7 @@ ...@@ -306,7 +307,7 @@
}, },
}; };
onMounted(() => { onMounted(() => {
data.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
}) })
let that = methods; let that = methods;
return { return {
......
...@@ -165,6 +165,7 @@ ...@@ -165,6 +165,7 @@
proxy proxy
} = getCurrentInstance(); } = getCurrentInstance();
let data = reactive({ let data = reactive({
statusBarHeight: 0,
loading:true, loading:true,
Account:'', Account:'',
form:{ form:{
...@@ -279,7 +280,7 @@ ...@@ -279,7 +280,7 @@
}; };
let that = methods; let that = methods;
onMounted(() => { onMounted(() => {
// that.getData() data.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
}); });
return { return {
...toRefs(data), ...toRefs(data),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment