|
@@ -547,8 +547,9 @@
|
|
|
</el-tabs>
|
|
|
<!--页面底部下载提示-->
|
|
|
<download-bottom-tip
|
|
|
- v-if="bottomDownloadShow"
|
|
|
+ v-show="bottomDownloadShow"
|
|
|
typeText="业主分析报告"
|
|
|
+ ref="downloadBottomTip"
|
|
|
:hasPower="isConf26"
|
|
|
@goFreeExperience="goFreeExperience"
|
|
|
@downloadReport="downloadReport"
|
|
@@ -921,7 +922,7 @@ export default {
|
|
|
return this.projectDetailFilters.keywordsGroupList
|
|
|
},
|
|
|
isConf26() {
|
|
|
- return this.info.power.indexOf(26) !== -1
|
|
|
+ return this.info?.power?.indexOf(26) !== -1
|
|
|
},
|
|
|
getVipUpgradeMap() {
|
|
|
const tempMap = this.vipUpgradeMap
|
|
@@ -982,6 +983,7 @@ export default {
|
|
|
window.addEventListener('scroll', this.calcStickyNav)
|
|
|
}
|
|
|
})
|
|
|
+ this.getBottomFixedWidth()
|
|
|
},
|
|
|
destroyed() {
|
|
|
if (this.inWorkDeskTop) {
|
|
@@ -992,6 +994,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 处理底部下载提示框展示宽度
|
|
|
+ getBottomFixedWidth () {
|
|
|
+ const originWidth = this.calcOriginWidth()
|
|
|
+ if(this.$root.$el.querySelector('.download-bottom-tip')) {
|
|
|
+ this.$root.$el.querySelector('.download-bottom-tip').style.width =
|
|
|
+ originWidth + 'px'
|
|
|
+ }
|
|
|
+ },
|
|
|
// 页面滚动方法
|
|
|
calcStickyNav() {
|
|
|
let scrollTop = 0
|
|
@@ -2601,6 +2611,10 @@ export default {
|
|
|
border-top-left-radius: 8px;
|
|
|
}
|
|
|
}
|
|
|
+ .download-bottom-tip {
|
|
|
+ left: calc(50% + 100px);
|
|
|
+ transform: translateX(-50%);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.el-loading-parent--relative {
|