update
This commit is contained in:
@@ -105,7 +105,11 @@ onMounted(() => {
|
|||||||
<tui-collapse :index="index" :current="collapseCur" :disabled="item.disabled"
|
<tui-collapse :index="index" :current="collapseCur" :disabled="item.disabled"
|
||||||
@click="({index}) => collapseCur=index">
|
@click="({index}) => collapseCur=index">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<tui-list-cell :hover="!item.disabled">{{ item.title }}</tui-list-cell>
|
<tui-list-cell :hover="!item.disabled">
|
||||||
|
<view class="w-full whitespace-nowrap ellipsis !pr-6">
|
||||||
|
{{ item.title }}
|
||||||
|
</view>
|
||||||
|
</tui-list-cell>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:content>
|
<template v-slot:content>
|
||||||
<view class="tui-content px-[16px] text-[#86909C]">{{ item.content }}</view>
|
<view class="tui-content px-[16px] text-[#86909C]">{{ item.content }}</view>
|
||||||
@@ -151,6 +155,11 @@ onMounted(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.ellipsis {
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.border-b {
|
.border-b {
|
||||||
border-bottom: 1px solid rgb(229, 230, 235);
|
border-bottom: 1px solid rgb(229, 230, 235);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user