|
@@ -56,7 +56,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="gs-qiyebox" ref="qiyebox" style="margin-top: 70px;">
|
|
|
|
|
|
|
+ <div class="gs-qiyebox" ref="qiyebox" style="margin-top: 70px;" :class="isheigh ? 'heigh' : ''">
|
|
|
<!-- 点击查看企业详情 -->
|
|
<!-- 点击查看企业详情 -->
|
|
|
<div v-for="(d , i) in arr " :key="i" class="gs-xiangqing xs">
|
|
<div v-for="(d , i) in arr " :key="i" class="gs-xiangqing xs">
|
|
|
<div class="left gs-xqleft" @click= "getEnterpriseInfo(d)">
|
|
<div class="left gs-xqleft" @click= "getEnterpriseInfo(d)">
|
|
@@ -102,7 +102,8 @@
|
|
|
isDefault: true,//开通默认
|
|
isDefault: true,//开通默认
|
|
|
isAutoLogin: this.$store.state.isAutoLogin,
|
|
isAutoLogin: this.$store.state.isAutoLogin,
|
|
|
mytoken: JSON.parse(localStorage.getItem('app-state-session')),//本地储存的用户信息
|
|
mytoken: JSON.parse(localStorage.getItem('app-state-session')),//本地储存的用户信息
|
|
|
- arr: []//企业列表信息
|
|
|
|
|
|
|
+ arr: [],//企业列表信息
|
|
|
|
|
+ isheigh:true//是否添加默认高度
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed :{
|
|
computed :{
|
|
@@ -256,8 +257,8 @@
|
|
|
.then(res=>{
|
|
.then(res=>{
|
|
|
// console.log('请求成功',res)
|
|
// console.log('请求成功',res)
|
|
|
if (res.data.success) {
|
|
if (res.data.success) {
|
|
|
- this.ktsass = false;
|
|
|
|
|
this.saasid = res.data.data
|
|
this.saasid = res.data.data
|
|
|
|
|
+ this.ktsass = false;
|
|
|
} else {
|
|
} else {
|
|
|
this.isokopensaas = true;
|
|
this.isokopensaas = true;
|
|
|
}
|
|
}
|
|
@@ -268,7 +269,6 @@
|
|
|
},
|
|
},
|
|
|
//进入saas服务
|
|
//进入saas服务
|
|
|
showServeWin(){
|
|
showServeWin(){
|
|
|
- debugger
|
|
|
|
|
let id = this.saasid;
|
|
let id = this.saasid;
|
|
|
this.isOpensaas = false;
|
|
this.isOpensaas = false;
|
|
|
// this.$options.methods.selectServe(id);
|
|
// this.$options.methods.selectServe(id);
|
|
@@ -294,10 +294,10 @@
|
|
|
//没有内容也要有一定的高度
|
|
//没有内容也要有一定的高度
|
|
|
boxheight(){
|
|
boxheight(){
|
|
|
let H = this.$refs.qiyebox.offsetHeight;
|
|
let H = this.$refs.qiyebox.offsetHeight;
|
|
|
- if (H < 300) {
|
|
|
|
|
- this.$refs.qiyebox.style.height = 500+'px';
|
|
|
|
|
|
|
+ if (H < 400) {
|
|
|
|
|
+ this.isheigh = true
|
|
|
} else {
|
|
} else {
|
|
|
- this.$refs.qiyebox.style.height = '';
|
|
|
|
|
|
|
+ this.isheigh = false
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
@@ -305,5 +305,7 @@
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
-
|
|
|
|
|
|
|
+.heigh {
|
|
|
|
|
+ height: 500px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|