uniapp page和min-height的用法 input操作用法

page {
	//代表的是整个页面,如果这背景颜色,需要background-color:
	min-height:	//代表最小的高度
	height:auto;
	
}
display: flex;
flex-direction: column;
align-item:center;

align-item不需要建立在flex-direction中才可以用

input中v-model就是内容

<input type="number" v-model="phone" placeholder="" />
phone:"data" 就是data输入的
想操作input的内容
@input="inputPhone()"
在method里面操作

猜你喜欢

转载自blog.csdn.net/weixin_42262889/article/details/89328338