JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_fix: pdf预览

This commit is contained in:
杨航
2026-03-24 21:04:54 +08:00
parent 124000435f
commit fa83f8f41e
2 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -10,7 +10,7 @@
:fullscreen="true"
:webview-styles="{
width: '100%',
height: '100%'
height: windowHeight
}"></web-view>
</view>
</view>
@@ -32,7 +32,8 @@ export default {
viewerUrl: '/static/view-pdf/pdf.html',
showView: true,
wv: null,
userParams: ''
userParams: '',
windowHeight: '100%'
}
},
onLoad(params) {
@@ -42,6 +43,9 @@ export default {
}
const userInfo = getUserInfo();
this.userParams = '/' + (userInfo?.loginName??'') + '?tk=' + getToken()
const windowInfo = uni.getWindowInfo()
console.log(windowInfo.screenHeight)
this.windowHeight = windowInfo.screenHeight - 100 + 'px'
},
onShow() {
if (getPhoneEnvBool('AND')) {
+2 -2
View File
@@ -20,9 +20,9 @@
height: 100%;
}
body {
/* body {
padding-bottom: 100px;
}
} */
.operate {
position: fixed;