|
@@ -456,7 +456,7 @@ export default class extends Vue {
|
|
|
// P620需求:1、未购买预览时,引流文案
|
|
|
// 或者,购买豆丁文件加载时错误后,最多预览5页,最后的引流文案
|
|
|
let btnText = '下载文档阅读全文'
|
|
|
- if(!this.loginInfo) {
|
|
|
+ if (!this.loginInfo) {
|
|
|
return '开通文库会员免费阅读全文'
|
|
|
}
|
|
|
if (this.isvipFree && this.buyed === 0 && this.isviper) { // 会员免费 未下载 会员
|
|
@@ -831,6 +831,8 @@ export default class extends Vue {
|
|
|
}
|
|
|
|
|
|
readAll () {
|
|
|
+ console.log(444444444)
|
|
|
+ console.log(this.loginInfo)
|
|
|
if (this.isvipFree && this.buyed === 0 && this.isviper) { // 会员免费 未下载 会员
|
|
|
this.getFile()
|
|
|
} else if ((this.power.freeDownload === 2 || this.power.freeDownload === 0) && this.isvipFree && this.buyed === 0 && !this.isviper) {
|