|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<!-- 分析报告详情总页面 -->
|
|
<!-- 分析报告详情总页面 -->
|
|
|
<div class="analysis_main">
|
|
<div class="analysis_main">
|
|
|
- <div class="main_header" ref="mainHeader">
|
|
|
|
|
|
|
+ <div :class="['main_header',{'full_screen':isLianXiao}]" ref="mainHeader">
|
|
|
<div class="header_left">
|
|
<div class="header_left">
|
|
|
<span class="back_button" @click="GoBack">
|
|
<span class="back_button" @click="GoBack">
|
|
|
<i class="iconfont icon_return"></i>返回
|
|
<i class="iconfont icon_return"></i>返回
|
|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
<div class="main_content">
|
|
<div class="main_content">
|
|
|
<div class="content_right" ref="rightContent" @scroll="ScrollChange">
|
|
<div class="content_right" ref="rightContent" @scroll="ScrollChange">
|
|
|
- <div class="content_right_scroll" ref="contentRightScroll">
|
|
|
|
|
|
|
+ <div :class="['content_right_scroll',{'full_screen':isLianXiao}]" ref="contentRightScroll">
|
|
|
<template v-if="isLianXiao">
|
|
<template v-if="isLianXiao">
|
|
|
<div class="mm_body">
|
|
<div class="mm_body">
|
|
|
<div class="left">
|
|
<div class="left">
|
|
@@ -125,7 +125,12 @@ export default {
|
|
|
|
|
|
|
|
SetHeadWidth() {
|
|
SetHeadWidth() {
|
|
|
if (this.$refs.contentRightScroll) {
|
|
if (this.$refs.contentRightScroll) {
|
|
|
- const scrollDivWidth = this.$refs.contentRightScroll.offsetWidth;
|
|
|
|
|
|
|
+ let scrollDivWidth = 0;
|
|
|
|
|
+ if(this.isLianXiao){
|
|
|
|
|
+ scrollDivWidth = this.$refs.contentRightScroll.offsetWidth - 20;//联校
|
|
|
|
|
+ }else{
|
|
|
|
|
+ scrollDivWidth = this.$refs.contentRightScroll.offsetWidth;
|
|
|
|
|
+ }
|
|
|
const headDiv = this.$refs.mainHeader;
|
|
const headDiv = this.$refs.mainHeader;
|
|
|
headDiv.style.width = `${scrollDivWidth}px`;
|
|
headDiv.style.width = `${scrollDivWidth}px`;
|
|
|
}
|
|
}
|