unknown
2024-06-14 828bae289890b1e3a3ab0f0645af741d1b749bcd
src/components/examinations/index.vue
@@ -91,7 +91,7 @@
                v-cloak
              ></p>
            </div>
            <img :src="value.isCollect ? isCollect : collect" alt="" class="collect-png" @click="handleCollect(nindex,index)" >
            <img :src="value.isCollect ? isHeart : heart" alt="" class="collect-png" @click="handleCollect(nindex,index)" >
            <!-- 收藏 -->
          </div>
          <div class="questionContent">
@@ -501,14 +501,13 @@
      loading: false,
      cardData: [],
      loading: true,
      collect:require("@/assets/images/collect.png"),
      isCollect:require("@/assets/images/isCollect.png")
      heart:require("@/assets/images/heart.png"),
      isHeart:require("@/assets/images/heart-check.png"),
    };
  },
  watch: {
    cardList: {
      handler(newVal) {
        console.log("11", newVal);
        this.cardData = this.cardList;
        if (newVal && newVal.length) {
          this.loading = false;
@@ -695,8 +694,6 @@
<style lang="less" scoped>
.catalogName {
  // color: #00aeef;
  // color: #ff6c00;
  text-indent: 1em !important;
  font-size: 16px;
}
@@ -1213,7 +1210,7 @@
}
.collect-png {
  cursor: pointer;
  width: 25px;
  width: 18px;
  object-fit: contain;
}
</style>