You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
554 B

<template>
<view class="box">
<u-form :model="form" ref="uForm" label-position="left" label-width='240'>
<u-form-item label="分享图显示的名字"><u-input v-model="form.name" /></u-form-item>
<u-form-item label="是否显示手机号"><u-switch slot="right" v-model="from.showPhone"></u-switch></u-form-item>
</u-form>
</view>
</template>
<script>
export default {
data() {
return {
form:{
name:"",
showPhone:false
}
}
},
methods: {
}
}
</script>
<style>
.box{
padding: 30rpx;
}
</style>