|
|
|
@ -27,6 +27,7 @@ |
|
|
|
<section class="main-content"> |
|
|
|
<div class="disease-container"> |
|
|
|
<div class="disease-header" :style="headerStyle"> |
|
|
|
<div style="display: flex;align-items: center;"> |
|
|
|
<div class="d-title"><img :src="iconSrc" class="d-icon"/> |
|
|
|
<span v-if="typeRadio=== 'Disease'">疾病信息</span> |
|
|
|
<span v-if="typeRadio=== 'Drug'">药品信息</span> |
|
|
|
@ -36,6 +37,17 @@ |
|
|
|
<div v-if="typeRadio=== 'Drug'" class="d-count" :style="headerLabel">{{ drugCount.toLocaleString() }}种</div> |
|
|
|
<div v-if="typeRadio=== 'Check'" class="d-count" :style="headerLabel">{{checkCount.toLocaleString()}}种</div> |
|
|
|
</div> |
|
|
|
<div > |
|
|
|
<div class="select-container"> |
|
|
|
<select name="options" id="mySelect"> |
|
|
|
<option value="1">疾病</option> |
|
|
|
<option value="2">药品</option> |
|
|
|
<option value="3">检查</option> |
|
|
|
</select> |
|
|
|
<img src="../assets/下拉.png" style="width: 32px"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-radio-group v-model="typeRadio" @change="changeTree"> |
|
|
|
<el-radio |
|
|
|
@ -1331,8 +1343,8 @@ button:hover { |
|
|
|
color: #fff; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
padding: 0 15px; |
|
|
|
justify-content: flex-start; |
|
|
|
padding: 0 2px 0px 15px; |
|
|
|
justify-content: space-between; |
|
|
|
} |
|
|
|
.d-title{ |
|
|
|
display: flex; |
|
|
|
@ -1455,4 +1467,25 @@ button:hover { |
|
|
|
/deep/ .radio-check .el-radio__input.is-checked+.el-radio__label { |
|
|
|
color: #1890ff; |
|
|
|
} |
|
|
|
.select-container { |
|
|
|
position: relative; |
|
|
|
text-align: right; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
|
|
|
|
select { |
|
|
|
padding: 4px 12px; |
|
|
|
border-radius: 20px; |
|
|
|
background-color: rgba(255, 255, 255); |
|
|
|
font-size: 12px; |
|
|
|
appearance: none; /* 移除默认下拉箭头 */ |
|
|
|
-webkit-appearance: none; |
|
|
|
cursor: pointer; |
|
|
|
height: 25px; |
|
|
|
border: none; |
|
|
|
} |
|
|
|
select:focus { |
|
|
|
outline: none; |
|
|
|
} |
|
|
|
</style> |