'去掉阅读条款的倒计时'

This commit is contained in:
proudlx
2021-04-19 10:30:31 +08:00
parent a7107d39cf
commit cab2d011b0
2 changed files with 4 additions and 4 deletions

View File

@@ -5,9 +5,9 @@ module.exports = {
},
extends: ['plugin:vue/essential', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'prettier/prettier': 'error'
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'prettier/prettier': 'off'
},
parserOptions: {
parser: 'babel-eslint'

View File

@@ -8,7 +8,7 @@
-->
<template>
<div>
<van-notice-bar wrapable v-if="time > 0" :scrollable="false" :text="'提示:阅读时长需在' + time + '秒以上'" />
<van-notice-bar wrapable v-if="time > 0 && docType === 'shareOpen'" :scrollable="false" :text="'提示:阅读时长需在' + time + '秒以上'" />
<iframe :src="src + pdfUrl" style="width: 100vw; height: calc(100vh - 100px)"></iframe>
<div class="bg-white bottom-btn" v-if="docType === 'shareOpen'">
<van-button type="danger" size="large" @click="nextStep" v-no-more-click="1000">下一步</van-button>