Authored by wf

2D机房优化

... ... @@ -24,7 +24,7 @@ li{
.contain{
width:413px;
height:710px;
height:808px;
/*margin-left:3%;*/
/*margin-top:5%;*/
/* background-color: red; */
... ... @@ -230,7 +230,7 @@ li{
}
.info-bottom{
height:370px;
height:390px;
margin-top:20px;
background-image: url(/vue3/src/assets/images/machineRoom/img-deviceInfo-bg.png);
}
... ...
... ... @@ -221,7 +221,7 @@
<div class='info-text'>设备信息</div>
<div class='info-text-bot'>
<p v-if="!isRes">资源名称:<span>{{deviceDataInfo.resName}}</span></p>
<p v-if="isRes">资源名称:<span style="cursor: pointer;color: #1e9fff;" @click="goResDetail(deviceDataInfo.resId,deviceDataInfo.resType,deviceDataInfo.resName)">{{deviceDataInfo.resName}}</span></p>
<p v-if="isRes">资源名称:<span class="link" @click="goResDetail(deviceDataInfo.resId,deviceDataInfo.resType,deviceDataInfo.resName)">{{deviceDataInfo.resName}}</span></p>
<p>品 牌:{{deviceDataInfo.brand}}</p>
<p>型 号:{{deviceDataInfo.model}}</p>
<p>序 列 号:{{deviceDataInfo.serialnumber}}</p>
... ...
... ... @@ -325,12 +325,9 @@ export default {
}
//资源名称下探
let goResDetail=(resId,resType,resName)=>{
if(props.isRes){
// proxy.$global.openDetail(resId, resType, proxy);
window.parent.postMessage({
type: 'resDetail',
message: {'params':{'resId':resId},'title':resName}
}, '*')
proxy.$global.openDetail(resId, resType, proxy);
}
}
... ...