|
@@ -87,8 +87,6 @@
|
|
|
|
|
|
<script>
|
|
|
import { Button, Tooltip, Divider, Message } from 'element-ui'
|
|
|
-import Pdfh5 from 'pdfh5'
|
|
|
-import "pdfh5/css/pdfh5.css"
|
|
|
import { getDetails, getShow, getShare, getDown, getAdverse, getCoin, getAdd, getRemove } from '../api/modules/detail'
|
|
|
export default {
|
|
|
components: {
|
|
@@ -124,9 +122,6 @@ export default {
|
|
|
this.setTop()
|
|
|
},
|
|
|
mounted () {
|
|
|
- this.pdfh5 = new Pdfh5("#pdfPage", {
|
|
|
- pdfurl: this.conts
|
|
|
- })
|
|
|
// 监听滚轮
|
|
|
window.addEventListener('scroll', this.initHeight)
|
|
|
},
|
|
@@ -233,7 +228,7 @@ export default {
|
|
|
if (this.coinNum < this.datas.price) {
|
|
|
window.location.href = '/page_points/recharge?id=' + this.detailData.docId
|
|
|
} else {
|
|
|
- this.$router.push({path: '/purchase', query: {id: this.detailData.docId}})
|
|
|
+ this.$router.push({ path: '/purchase', query: { id: this.detailData.docId } })
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -283,13 +278,16 @@ export default {
|
|
|
border-radius: 4px;
|
|
|
h3 {
|
|
|
display: flex;
|
|
|
- align-items: center;
|
|
|
+ flex-direction: initial;
|
|
|
+ // align-items: center;
|
|
|
color: #1d1d1d;
|
|
|
font-weight: 500;
|
|
|
font-size: 24px;
|
|
|
line-height: 36px;
|
|
|
i {
|
|
|
+ display: inline-flex;
|
|
|
margin-right: 8px;
|
|
|
+ margin-top: 5px;
|
|
|
}
|
|
|
}
|
|
|
.tips {
|