Commit bca1b3c9 authored by danfuman's avatar danfuman

Merge branch 'V20230915' of http://192.168.60.201/root/dsk-operate-sys into V20230915

parents 9a0091c4 d368e244
...@@ -231,9 +231,9 @@ li { ...@@ -231,9 +231,9 @@ li {
} }
.app-container { .app-container {
width: 100%; width: 100%;
margin: 12px 24px; padding: 16px 24px;
background-color: #f5f5f5; background-color: #f5f5f5;
padding-bottom: 16px !important; box-sizing: border-box;
.el-input__inner { .el-input__inner {
border-color: #d9d9d9; border-color: #d9d9d9;
color: #232323; color: #232323;
......
.el-card{ .el-card{
overflow: initial; overflow: initial;
} }
.app-container{
padding: 0;
}
//小导航 //小导航
.miantitle{ .miantitle{
color: #232323; color: #232323;
......
...@@ -1222,8 +1222,7 @@ select { ...@@ -1222,8 +1222,7 @@ select {
color: #232323; color: #232323;
} }
.enterprise_contatiner{ .enterprise_contatiner{
padding: 0;
padding-bottom: 16px;
} }
.el-input-group__append{ .el-input-group__append{
cursor: pointer; cursor: pointer;
......
...@@ -32,6 +32,7 @@ export default { ...@@ -32,6 +32,7 @@ export default {
timelongs: 7200,//刷新token时间 timelongs: 7200,//刷新token时间
tokentimer: null, tokentimer: null,
showMaxPageTip: false, showMaxPageTip: false,
iframeIns : null,
}; };
}, },
created() { created() {
...@@ -39,9 +40,10 @@ export default { ...@@ -39,9 +40,10 @@ export default {
this.domain = 'https://plug.jiansheku.com'; this.domain = 'https://plug.jiansheku.com';
} else { } else {
this.domain='https://pre-plug.jiansheku.com' this.domain='https://pre-plug.jiansheku.com'
// this.domain='http://192.168.60.8:3400' // this.domain = 'http://192.168.60.104:3400';
} }
this.gettokens(); this.gettokens();
this.iframeObserver();
window.addEventListener("message", this.pagecapListener, { passive: true }); window.addEventListener("message", this.pagecapListener, { passive: true });
}, },
mounted() { mounted() {
...@@ -54,8 +56,18 @@ export default { ...@@ -54,8 +56,18 @@ export default {
steerScroll('companyIframe', this.navigation, this.footHeight); // iframeId: iframe的id;navigation:页面排除iframe后剩下的顶部高度;footHeight: 页面排除iframe后剩下的底部高度;state:监听or移除监听;parentId: 父级id[不带默认就是铺满整个页面]];_this:指向当前实例(可忽略) steerScroll('companyIframe', this.navigation, this.footHeight); // iframeId: iframe的id;navigation:页面排除iframe后剩下的顶部高度;footHeight: 页面排除iframe后剩下的底部高度;state:监听or移除监听;parentId: 父级id[不带默认就是铺满整个页面]];_this:指向当前实例(可忽略)
clearInterval(this.tokentimer); clearInterval(this.tokentimer);
window.removeEventListener("message", this.pagecapListener, { passive: true }); window.removeEventListener("message", this.pagecapListener, { passive: true });
// 移除layout样式
this.iframeIns.contentWindow.postMessage("",{})
}, },
methods: { methods: {
async iframeObserver() {
try {
await this.$nextTick();
this.iframeIns = document.querySelector(".market-iframe");
} catch (error) {
console.log(error);
}
},
// 列表翻页上限 // 列表翻页上限
pagecapListener(e) { pagecapListener(e) {
const { origin, data } = e; const { origin, data } = e;
......
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