fix: BUG修改

This commit is contained in:
kun 2024-05-16 16:54:56 +08:00
parent 9c859a7b45
commit 6255abb483
3 changed files with 34 additions and 8 deletions

View File

@ -38,9 +38,9 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用) // Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址 // Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
// Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址 // Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址 // Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地 Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地 // Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用) // Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)
// Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址 // Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址

View File

@ -1,7 +1,10 @@
<template> <template>
<view> <view class="fullHeight">
<web-view class="webView" :src="work_url" :webview-styles="styles" :fullscreen="false" <view>
@onPostMessage="handlePostMessage"></web-view> <!-- :webview-styles="styles" -->
<web-view class="webView" :src="work_url" :fullscreen="false"
@onPostMessage="handlePostMessage"></web-view>
</view>
<footers class="footer" activeTab="submit"></footers> <footers class="footer" activeTab="submit"></footers>
</view> </view>
</template> </template>
@ -69,6 +72,9 @@
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
.fullHeight{
height: 100vh
}
.webView { .webView {
width: 100vw; width: 100vw;
height: 80vh; height: 80vh;

View File

@ -170,9 +170,27 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
/* #ifdef H5 */
.fullHeight{ .fullHeight{
background-color: #F4F5FD; background-color: #F4F5FD;
height: 100vh;
} }
/* #endif */
/* #ifdef MP-WEIXIN */
.fullHeight{
background-color: #F4F5FD;
height: 100vh;
}
/* #endif */
/* #ifdef APP-PLUS */
.fullHeight{
background-color: #F4F5FD;
height: auto;
padding-bottom: 60rpx;
}
/* #endif */
.videoBox{ .videoBox{
width: 100%; width: 100%;
} }
@ -200,9 +218,11 @@
font-weight: 400; font-weight: 400;
font-size: 40rpx; font-size: 40rpx;
color: #8D8D8D; color: #8D8D8D;
position: fixed; margin: 0 auto;
bottom: 80rpx; margin-top: 80rpx;
left: 140rpx; // position: fixed;
// bottom: 80rpx;
// left: 145rpx;
} }
.videoOperateBox { .videoOperateBox {
text-align: center; text-align: center;