副屏
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<div class="title-d">
|
||||
<span>{{ props.title }}</span>
|
||||
<div>
|
||||
<span class="tips"><slot name="title"></slot></span>
|
||||
<span v-if="isShowMore" style="font-size: 14px; font-weight: 100; cursor: pointer; margin-right: 3px" @click="clickMore">更多></span>
|
||||
<img src="../assets/img/point.png" alt="" />
|
||||
</div>
|
||||
@@ -19,6 +20,7 @@
|
||||
},
|
||||
});
|
||||
const emit = defineEmits(['clickMore']);
|
||||
|
||||
function clickMore() {
|
||||
emit('clickMore');
|
||||
}
|
||||
@@ -55,5 +57,11 @@
|
||||
left: 0;
|
||||
background-color: #45a2ff;
|
||||
}
|
||||
|
||||
.tips {
|
||||
font-size: 13px;
|
||||
padding-right: 10px;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user