1
YM
2024-07-26 e00361c6bcbb1a56f6dcda22b91bdfcb2736e263
src/pages/TcmSystem/TcmSystem.vue
@@ -15,9 +15,10 @@
        热门搜索:
        <ul class="flex" style="margin-right: 10rpx">
          <li
            v-for="item in hot"
            v-for="(item, index) in hot"
            :key="item.id"
            @tap="HotClick(item.name)"
            @tap="HotClick(item.name, index)"
            :class="{ cursor: true, active: hotAciveIndex === index }"
            style="margin: 0 0.05rem; color: #244a7b; cursor: pointer"
          >
            {{ item.name }}
@@ -429,6 +430,7 @@
  },
  data() {
    return {
      hotAciveIndex: "",
      // 机构统计
      institution: {
        title: "机构统计",
@@ -546,7 +548,13 @@
      });
    },
    // 右侧的list数据
    getMList(key) {
    getMList(key, index) {
      if (index !== undefined) {
        this.SearchValue = "";
        this.hotAciveIndex = index;
      } else {
        this.hotAciveIndex = "";
      }
      this.pageLoading = true;
      let Obj = {
        medicalSearchType: this.searchType,
@@ -687,9 +695,9 @@
      this.getMList();
    },
    // 热门搜索
    HotClick(val) {
    HotClick(val, index) {
      // this.SearchValue = val;
      this.getMList(val);
      this.getMList(val, index);
    },
    // 按照什么排序
    selectChange(e) {
@@ -748,8 +756,6 @@
}
.creatureXinxi2 {
  /* width: .24rem; */
  height: 0.17rem;
  line-height: 1;
  font-size: 0.12rem;
  font-weight: 600;
@@ -762,7 +768,6 @@
}
.creatureXinxi3 li {
  height: 0.16rem;
  line-height: 0.16rem;
  background-color: #fff;
  padding: 0 0.08rem;
@@ -777,7 +782,8 @@
/* --------- */
/* 品级 */
.pinji {
  box-shadow: 2px 0px 3px #888;
  box-shadow: 0 0 3px #888;
  border-radius: 6px;
  background-color: #fff;
  width: 100%;
  /* height: .6rem;
@@ -788,6 +794,10 @@
  position: relative;
  top: -0.25rem;
  color: #2c2c2c;
  font-weight: bold;
  span {
    font-weight: initial;
  }
}
/* 个人信息的按钮 */
@@ -1243,4 +1253,9 @@
.nullBox {
  width: 100%;
}
.cursor.active {
  color: #027edc !important;
  font-weight: bold;
}
</style>