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

修改条件

parent 5a1f974b
Pipeline #21419 failed with stages
in 4 minutes and 4 seconds
...@@ -96,17 +96,22 @@ ...@@ -96,17 +96,22 @@
<div class="custom-select" v-click-outside="closeExpertDropdown"> <div class="custom-select" v-click-outside="closeExpertDropdown">
<div class="selected-option" @click.stop="toggleExpertDropdown"> <div class="selected-option" @click.stop="toggleExpertDropdown">
<span>{{ selectedExpert }}</span> <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"> <!-- <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> <!-- <polyline points="6 9 12 15 18 9"></polyline>-->
</svg> <!-- </svg>-->
</div> </div>
<div class="dropdown-menu" v-show="showExpertDropdown"> <!-- <div class="dropdown-menu" v-show="showExpertDropdown">-->
<div class="dropdown-item" @click.stop="selectExpert('内部专家')" :class="{ 'active': selectedExpert === '内部专家' }"> <!-- <div class="dropdown-item" @click.stop="selectExpert('内部专家')" :class="{ 'active': selectedExpert === '内部专家' }">-->
<span>内部专家</span> <!-- <span>内部专家</span>-->
</div>
<!-- <div class="dropdown-item" @click.stop="selectExpert('外部专家')" :class="{ 'active': selectedExpert === '外部专家' }">-->
<!-- <span>外部专家</span>-->
<!-- </div>--> <!-- </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> </div>
<div class="custom-select" v-click-outside="closeOrgDropdown"> <div class="custom-select" v-click-outside="closeOrgDropdown">
......
...@@ -452,9 +452,11 @@ require(['jquery', 'vue', 'utils','marked','markdown', 'global'], function ($, V ...@@ -452,9 +452,11 @@ require(['jquery', 'vue', 'utils','marked','markdown', 'global'], function ($, V
// 专家选择相关方法 // 专家选择相关方法
toggleExpertDropdown() { toggleExpertDropdown() {
this.showExpertDropdown = !this.showExpertDropdown; this.showExpertDropdown = !this.showExpertDropdown;
}, },
closeExpertDropdown() { closeExpertDropdown() {
this.showExpertDropdown = false; this.showExpertDropdown = false;
}, },
selectExpert(expert) { selectExpert(expert) {
this.selectedExpert = 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