Commit 6aea9c72 authored by 赵灿灿's avatar 赵灿灿

修改条件

parent 5a1f974b
Pipeline #21419 failed with stages
in 4 minutes and 4 seconds
......@@ -96,18 +96,23 @@
<div class="custom-select" v-click-outside="closeExpertDropdown">
<div class="selected-option" @click.stop="toggleExpertDropdown">
<span>{{ selectedExpert }}</span>
<svg class="dropdown-icon" :class="{ 'rotated': showExpertDropdown }" viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" stroke-width="2" fill="none">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
<!-- <svg class="dropdown-icon" :class="{ 'rotated': showExpertDropdown }" viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" stroke-width="2" fill="none">-->
<!-- <polyline points="6 9 12 15 18 9"></polyline>-->
<!-- </svg>-->
</div>
<div class="dropdown-menu" v-show="showExpertDropdown">
<div class="dropdown-item" @click.stop="selectExpert('内部专家')" :class="{ 'active': selectedExpert === '内部专家' }">
<span>内部专家</span>
</div>
<!-- <div class="dropdown-item" @click.stop="selectExpert('外部专家')" :class="{ 'active': selectedExpert === '外部专家' }">-->
<!-- <span>外部专家</span>-->
<!-- <div class="dropdown-menu" v-show="showExpertDropdown">-->
<!-- <div class="dropdown-item" @click.stop="selectExpert('内部专家')" :class="{ 'active': selectedExpert === '内部专家' }">-->
<!-- <span>内部专家</span>-->
<!-- </div>-->
<!--&lt;!&ndash; <div class="dropdown-item" @click.stop="selectExpert('外部专家')" :class="{ 'active': selectedExpert === '外部专家' }">&ndash;&gt;-->
<!--&lt;!&ndash; <span>外部专家</span>&ndash;&gt;-->
<!--&lt;!&ndash; </div>&ndash;&gt;-->
<!-- </div>-->
</div>
<div class="custom-select" v-click-outside="closeExpertDropdown">
<div class="selected-option" @click.stop="toggleExpertDropdown">
<span> 外部专家 </span>
</div>
</div>
<div class="custom-select" v-click-outside="closeOrgDropdown">
<div class="selected-option" @click.stop="toggleOrgDropdown">
......
......@@ -452,9 +452,11 @@ require(['jquery', 'vue', 'utils','marked','markdown', 'global'], function ($, V
// 专家选择相关方法
toggleExpertDropdown() {
this.showExpertDropdown = !this.showExpertDropdown;
},
closeExpertDropdown() {
this.showExpertDropdown = false;
},
selectExpert(expert) {
this.selectedExpert = expert;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment