|
@@ -27,6 +27,7 @@ const isLogin=ref(true)
|
|
|
const productId = route.query.productId
|
|
|
const isSubscribe=ref(true)
|
|
|
const isFree=ref(true)
|
|
|
+const pdfUrl = ref('')
|
|
|
const authorInfoList=ref([])
|
|
|
const visible = ref(false);
|
|
|
const subscribeStatus = ref('')//expired --过期 unSubscribe--未订阅 subscribed--订阅中
|
|
@@ -44,6 +45,7 @@ async function getReportInfo() {
|
|
|
riskLevelStatus.value=res.data.riskLevelStatus
|
|
|
isSubscribe.value=res.data.isSubscribe
|
|
|
isFree.value=res.data.isFree
|
|
|
+ pdfUrl.value = 'https://weapp.htfutures.com/pdf/aggregate/' + reportInfo.value.pdfUrl.split('aggregate/')[1]
|
|
|
subscribeStatus.value=res.data.subscribeStatus
|
|
|
authorInfoList.value= res.data.authorInfo
|
|
|
getAuthorFollowState()
|
|
@@ -212,7 +214,7 @@ function goDetails(item){
|
|
|
<div>{{ reportInfo.abstract }}</div>
|
|
|
</div>
|
|
|
<div class="report-content">
|
|
|
- <preview-PDF :url="reportInfo.pdfUrl" v-if="reportInfo.pdfUrl" />
|
|
|
+ <preview-PDF :url="pdfUrl" v-if="pdfUrl" />
|
|
|
</div>
|
|
|
<!-- 右侧悬浮操作栏 -->
|
|
|
<div class="right-fix-box">
|