@@ -240,9 +240,10 @@ export default defineComponent({
subjectList.value.map(item => {
return item.instruments.length > 1 ?
<Popover
+ class={styles.subjectPopover}
v-model:show={item.isExpand}
trigger="click"
- class={styles.subjectPopover}
+ show-arrow={false}
>
{{
default: () => (
@@ -553,12 +553,13 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ border: 1px solid #F6F6F6;
&:active{
opacity: 0.8;
}
&.tabActive{
background: #EBF8FF;
- border: 1px solid rgba(28,172,241,0.5);
+ border-color: rgba(28,172,241,0.5);
font-weight: 600;
color: #1CACF1;
@@ -635,6 +636,13 @@
+.subjectPopover{
+ :global{
+ .van-popover__content{
+ margin-top: -2px;
+ }
+}
.tabPopoverBox{
width: 120px;
background: #FFFFFF;