mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 02:56:43 +08:00
[FIX]【商品商城】pdf预览路径调整
This commit is contained in:
@@ -12,7 +12,9 @@
|
||||
</div>
|
||||
<div v-if="isWeixin">
|
||||
<van-popup v-model="pdfPop" closeable position="bottom">
|
||||
<iframe :src="src + detail.pdfUrl" class="iframe"></iframe>
|
||||
<div style="margin-top:4vh">
|
||||
<iframe :src="src + pdfUrl" class="iframe"></iframe>
|
||||
</div>
|
||||
</van-popup>
|
||||
<van-radio-group v-model="radio" class="pb10 pt20 pl30 fs14">
|
||||
<van-radio name="1">
|
||||
@@ -82,11 +84,11 @@ export default {
|
||||
aname: '',
|
||||
password: ''
|
||||
},
|
||||
pdfUrl: '', //pdf地址
|
||||
detail: {
|
||||
topImgUrl: '', //商城简介图片地址
|
||||
middleImgUrl: '', //商城简介图片地址
|
||||
footerImgUrl: '', //商城简介图片地址
|
||||
pdfUrl: '', //pdf地址
|
||||
linkUrl: '', //商城外链地址
|
||||
name: '', //商城名称
|
||||
color: '' //背景色
|
||||
@@ -131,6 +133,7 @@ export default {
|
||||
if (!res) return
|
||||
if (res.result == '0') {
|
||||
this.detail = res.content[0]
|
||||
this.pdfUrl = this.$assetsUrl + res.content[0].pdfUrl
|
||||
this.loaded = true
|
||||
this.isCanCheck2 = true
|
||||
} else {
|
||||
@@ -215,6 +218,7 @@ export default {
|
||||
.iframe {
|
||||
width: 100vw;
|
||||
height: 90vh;
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user