tiny-vue/examples/sites/demos/pc/app/user/user-select-size.vue

34 lines
567 B
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div>
<p>尺寸medium</p>
<tiny-user v-model="user" size="medium"></tiny-user>
<p>尺寸small</p>
<tiny-user v-model="user" size="small"></tiny-user>
<p>尺寸mini</p>
<tiny-user v-model="user" size="mini"></tiny-user>
</div>
</template>
<script lang="jsx">
import { User } from '@opentiny/vue'
export default {
components: {
TinyUser: User
},
data() {
return {
user: '421000103624183'
}
}
}
</script>
<style scoped>
p {
font-size: 14px;
line-height: 1.5;
padding: 16px 0;
}
</style>