|
@@ -545,6 +545,18 @@
|
|
|
/>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
+ <div class="download-bottom-tip" v-if="bottomDownloadShow">
|
|
|
+ <template v-if="isConf26">
|
|
|
+ <span>如您对以上分析结果满意,点击</span>
|
|
|
+ <span class="download-button" @click="downloadReport"><img src="@/assets/images/icon/download.png" alt="">下载报告</span>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <span>如需查看详细市场分析报告,您可选择</span>
|
|
|
+ <span class="free-experience" @click="goFreeExperience">申请免费体验</span>或
|
|
|
+ <span class="download-button" @click="downloadReport"><img src="@/assets/images/icon/download.png" alt="">下载报告</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </div>
|
|
|
<!-- 更多项目信息 -->
|
|
|
<user-scatter-dialog
|
|
|
v-if="userScatterDialog.visible"
|
|
@@ -582,7 +594,7 @@ import UserScatterDialog from '@/views/analysisReport/components/UserScatterDial
|
|
|
import CollectInfo from '@/components/collect-info/CollectInfo.vue'
|
|
|
import ReportDownloadDialog from '@/views/analysisReport/components/ReportDownloadDialog.vue'
|
|
|
import { getReportAnalysisInfo } from '@/api/modules/'
|
|
|
-import { mapState } from 'vuex'
|
|
|
+import { mapGetters, mapState } from 'vuex'
|
|
|
import { moneyUnit, dateFormatter, formatPrice } from '@/utils/globalFunctions'
|
|
|
import { workDeskTop } from '@/utils/mixins/in-workdesktop'
|
|
|
import ProjectDetailsList from './components/ProjectDetailsList.vue'
|
|
@@ -916,8 +928,9 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState({
|
|
|
- info: (state) => state.user.info
|
|
|
+ info: (state) => state.user.info,
|
|
|
}),
|
|
|
+ ...mapGetters('user', ['bigmember', 'entniche']),
|
|
|
reportSelectedKeywords() {
|
|
|
return this.projectDetailFilters.keywordsGroupList
|
|
|
},
|
|
@@ -963,6 +976,10 @@ export default {
|
|
|
// winnerState.projectAmountTop3
|
|
|
// )
|
|
|
return winnerState.dataAlready && winnerState.chartData
|
|
|
+ },
|
|
|
+ // 是否展示底部下载提示
|
|
|
+ bottomDownloadShow () {
|
|
|
+ return this.sections.market.overview.length > 0 && this.sections.market.overview[0]?.count
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -2438,6 +2455,23 @@ export default {
|
|
|
// 下载报告
|
|
|
downloadReport () {
|
|
|
this.reportDownloadDialog.visible = true
|
|
|
+ },
|
|
|
+ // 申请免费体验
|
|
|
+ goFreeExperience () {
|
|
|
+ const _this = this
|
|
|
+ if(this.entniche && this.bigmember) {
|
|
|
+ this.$confirm('您可联系客服,申请体验查看完整报告内容', '申请免费体验', {
|
|
|
+ confirmButtonText: '联系客服',
|
|
|
+ cancelButtonText: '我再想想',
|
|
|
+ center: true,
|
|
|
+ showClose: false,
|
|
|
+ customClass: 'download-message-tip',
|
|
|
+ }).then(() => {
|
|
|
+ _this.contactCustomer(_this)
|
|
|
+ }).catch(() => {})
|
|
|
+ } else {
|
|
|
+ this.openLeaveSourceDialog('pc_dzbg_fullreport')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2781,4 +2815,40 @@ i.el-icon-caret-bottom {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.download-bottom-tip{
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ left:0;
|
|
|
+ width:100%;
|
|
|
+ height:68px;
|
|
|
+ text-align: center;
|
|
|
+ background: #fff;
|
|
|
+ box-shadow: 0 -4px 8px rgba(0,0,0, 0.05);
|
|
|
+ margin-top: 16px;
|
|
|
+ color: #888;
|
|
|
+ font-size:14px;
|
|
|
+ line-height:22px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ .free-experience {
|
|
|
+ color: $color_main;
|
|
|
+ margin:0 9px;
|
|
|
+ font-size:14px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ .download-button {
|
|
|
+ color: $color_main;
|
|
|
+ margin-left:9px;
|
|
|
+ font-size:13px;
|
|
|
+ cursor: pointer;
|
|
|
+ img{
|
|
|
+ width:20px;
|
|
|
+ height:20px;
|
|
|
+ vertical-align: text-bottom;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
</style>
|