| | |
| | | </div> |
| | | <div class="empty"></div> |
| | | </scroll-view> |
| | | <div class="button" @click="handleAgree" v-if="num === 6">确认了解</div> |
| | | <div class="button" @click="toapply" v-else> |
| | | 已知晓,下一步({{ num }}秒) |
| | | </div> |
| | | <div class="button" @click="toapply">已知晓,下一步({{ num }}秒)</div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | return { |
| | | content: ``, |
| | | answer: '', |
| | | num: 6 |
| | | num: 5 |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | if (!this.$store.state.openId) { |
| | | this.initToken() |
| | | } |
| | | |
| | | }, |
| | | methods: { |
| | | handleAgree() { |
| | | this.num-- |
| | | timer = setInterval(() => { |
| | | this.num-- |
| | | if (this.num === 0) { |
| | |
| | | } |
| | | }, 1000) |
| | | }, |
| | | methods: { |
| | | initToken() { |
| | | const appID = 'wxac2a80c2144c4ee0' |
| | | // const AppSecret = '922c93596d134fedf5bd22a9354b3bfe' |
| | |
| | | height: calc(100% - 170rpx); |
| | | .title { |
| | | color: #333333; |
| | | font-weight: 500; |
| | | font-weight: 600; |
| | | margin-bottom: 16rpx; |
| | | } |
| | | .text { |