forked from opentiny/tiny-vue
47 lines
1.1 KiB
Vue
47 lines
1.1 KiB
Vue
<template>
|
||
<div>
|
||
<tiny-card title="这是卡片标题" v-model="value" check-type="radio" label="1" :options="options" disabled>
|
||
<p>
|
||
这是一段长文本内容,这是一段长文本内容,这是一段长文本内容,这是一段长文本内容,
|
||
这是一段长文本内容,这是一段长文本内容,这是一段长文本内容,这是一段长文本内容,
|
||
</p>
|
||
</tiny-card>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
import { Card } from '@opentiny/vue'
|
||
import { IconDel, IconWriting, IconAscending, IconShare } from '@opentiny/vue-icon'
|
||
|
||
export default {
|
||
components: {
|
||
TinyCard: Card
|
||
},
|
||
data() {
|
||
return {
|
||
value: '',
|
||
options: [
|
||
{
|
||
text: '删除列表',
|
||
icon: IconDel()
|
||
},
|
||
{
|
||
text: '编辑',
|
||
icon: IconWriting(),
|
||
disabled: true
|
||
},
|
||
{
|
||
text: '排序',
|
||
icon: IconAscending()
|
||
},
|
||
{
|
||
text: '分享',
|
||
icon: IconShare(),
|
||
disabled: true
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
</script>
|