css
liukangdong
2024-06-25 ebc96a1cf0424c04dceacbc42f9ad2a897223be9
h5/pages/notice/notice.vue
@@ -9,10 +9,7 @@
      </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>
@@ -25,7 +22,7 @@
    return {
      content: ``,
      answer: '',
      num: 6
      num: 5
    }
  },
  onLoad() {
@@ -33,11 +30,6 @@
    if (!this.$store.state.openId) {
      this.initToken()
    }
  },
  methods: {
    handleAgree() {
      this.num--
      timer = setInterval(() => {
        this.num--
        if (this.num === 0) {
@@ -45,6 +37,7 @@
        }
      }, 1000)
    },
  methods: {
    initToken() {
      const appID = 'wxac2a80c2144c4ee0'
      // const AppSecret = '922c93596d134fedf5bd22a9354b3bfe'
@@ -106,7 +99,7 @@
    height: calc(100% - 170rpx);
    .title {
      color: #333333;
      font-weight: 500;
      font-weight: 600;
      margin-bottom: 16rpx;
    }
    .text {