YM
2024-04-26 a640a68b55034ad38b1936eedd33c23f63bec0f0
src/components/headNav/headNav.vue
@@ -1,6 +1,6 @@
<template>
  <view class="headNav">
    <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }">
    <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }" >
      <view
        class="santiaogang"
        style="width: 0.34rem; height: 0.34rem; margin-right: 3rem;cursor: pointer;"
@@ -163,7 +163,7 @@
    bg1: {
      type: String,
      default() {
        return "/static/image/line.png";
        return "@/static/image/line.png";
      }
    },
    idIndex: {
@@ -284,7 +284,7 @@
        });
      } else if (index === "1") {
        uni.navigateTo({
          url: "/pages/characterRelation/characterRelation?id=" + 1
          url: "/pages/character/index?id=" + 1
        });
      } else if (index === "2") {
        uni.navigateTo({
@@ -292,7 +292,7 @@
        });
      } else if (index === "3") {
        uni.navigateTo({
          url: "/pages/dataDisplay/dataDisplay?id=" + 3
          url: "/pages/academicGenres/index?id=" + 3
        });
      } else if (index === "4") {
        uni.navigateTo({
@@ -377,8 +377,7 @@
}
.NavTop {
  /* background: url(@/static/image/topBg.png); */
  /* background-image: url("../../static/image/topBg.png"); */
  background-size: 100% 100%;
  padding: 0.16rem 0.24rem;
  color: #fff !important;