29 lines
413 B
Vue
29 lines
413 B
Vue
<template>
|
|
<u-action-sheet :list="list" v-model="show"></u-action-sheet>
|
|
<view v-for="(item,index) in list" :key="index">
|
|
<u-button :text="item.text"></u-button>
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
import {
|
|
ref
|
|
} from 'vue';
|
|
|
|
const list = ref([{
|
|
text: 'Southern Wind',
|
|
},
|
|
{
|
|
text: '按钮2'
|
|
},
|
|
{
|
|
text: '按钮2'
|
|
}
|
|
]);
|
|
const show = ref(true);
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
|
|
</style> |