YM
2024-06-06 6f7c9ef272906bbd5d905ee069bc5d6d1bf55614
src/pages/character/detail.vue
@@ -541,7 +541,8 @@
  },
  methods: {
    copyText() {
      const textToCopy = this.biogData[0].content + "\n来源:中医医学人物知识库";
      const textToCopy =
        this.biogData[0].content + "\n来源:中医医学人物知识库";
      const textarea = document.createElement("textarea");
      textarea.value = textToCopy;
      document.body.appendChild(textarea);
@@ -643,6 +644,11 @@
            {
              name: "所处时期",
              value: obj.dynastyDesc || "-",
              valueClick: () => {
                uni.navigateTo({
                  url: "/pages/knowledgeBase/knowledgeBase?dynasty=" + obj.dynastyId
                });
              }
            },
            {
              name: "民族",
@@ -663,6 +669,11 @@
            {
              name: "职官",
              value: obj.official || "-",
              valueClick: () => {
                uni.navigateTo({
                  url: "/pages/knowledgeBase/knowledgeBase?isAdvancedSearch=1&official=" + obj.official
                });
              }
            },
            {
              name: "流派",
@@ -874,6 +885,13 @@
          minZoom: 3,
        })
        .addTo(map);
      L.tileLayer
        .chinaProvider("TianDiTu.Normal.Annotion", {
          key: "76bc34ead7e30e663a4eded8aeaf5860",
          maxZoom: 18,
          minZoom: 3,
        })
        .addTo(map);
      let icon = L.divIcon({
        html: "<div class='map-circle-name ripple'></div>",
        iconSize: [80, 80],