| | |
| | | 热门搜索: |
| | | <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 }} |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | hotAciveIndex: "", |
| | | // 机构统计 |
| | | institution: { |
| | | title: "机构统计", |
| | |
| | | }); |
| | | }, |
| | | // 右侧的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, |
| | |
| | | this.getMList(); |
| | | }, |
| | | // 热门搜索 |
| | | HotClick(val) { |
| | | HotClick(val, index) { |
| | | // this.SearchValue = val; |
| | | this.getMList(val); |
| | | this.getMList(val, index); |
| | | }, |
| | | // 按照什么排序 |
| | | selectChange(e) { |
| | |
| | | top: -0.25rem; |
| | | color: #2c2c2c; |
| | | font-weight: bold; |
| | | span{ |
| | | span { |
| | | font-weight: initial; |
| | | } |
| | | } |
| | |
| | | .nullBox { |
| | | width: 100%; |
| | | } |
| | | |
| | | .cursor.active { |
| | | color: #027edc !important; |
| | | font-weight: bold; |
| | | } |
| | | </style> |