1
YM
2024-04-24 ccb19f88b2583c7dadb18b6b2e9571ec120c6c61
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({
@@ -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;