闫增涛
2024-06-05 3fb594dc317848107fd7bbb51631cfb763c19f5f
src/books/artAndDance/view/components/chapter002.vue
@@ -62,6 +62,18 @@
          <h2 class="lefth2" id="b006">
            <img class="img-gn" alt="" src="../../assets/images/xsyty.jpg" />
          </h2>
          <ul class="fl audio-box">
            <li class="fl al-cn">
              <span class="wh-nr">男童音</span>
              <audio :src="auidoPathOne" controls></audio>
            </li>
            <li class="fl al-cn">
              <span class="wh-nr">
                女童音
              </span>
              <audio :src="auidoPathTwo" controls></audio>
            </li>
          </ul>
          <h3 id="c006">亡羊补牢</h3>
          <p class="block2">席一元</p>
          <p class="block2">羊啊羊啊咩咩叫,有只小羊不见了。</p>
@@ -134,7 +146,7 @@
            </div>
          <!-- <p class="center"><img class="img-0" alt="" src="../../assets/images/ym.jpg" /></p> -->
        </div>
        <ul class="pb-box">
        <ul style="margin-top: 20px">
          <li class="ml-40">
            <img src="../../assets/images/icon/tree.jpg" />
            <span class="dl-ib"> 8 </span>
@@ -149,7 +161,7 @@
</template>
<script>
import getResourcePath from "@/assets/methods/resources";
import {getResourcePath} from "@/assets/methods/resources";
export default {
  name: "chapterTwo",
  props: {
@@ -174,12 +186,17 @@
      videoPathOne: "",
      num:0,
      addTimer:null,
      cutTimer:null
      cutTimer:null,
      auidoPathOne:"",
      auidoPathTwo:"",
    };
  },
  methods: {
    getVidoePath() {
      this.videoPathOne = getResourcePath("f6aaaed901868114d948031615250bed");
   async getVidoePath() {
      this.videoPathOne = await getResourcePath("f6aaaed901868114d948031615250bed");
      this.auidoPathOne = await getResourcePath("39fd9a021904ed3de1b8b9e036777ea3");
      this.auidoPathTwo = await getResourcePath("a143777eff52ee24e53521d16afc85d9");
    },
    addNum() {
      this.addTimer =  setInterval(() => {