在css相应元素中添加下面代码即可。
opacity的取值范围为0~1,1表示不透明,0表示全透明
.userImage {
border-radius: 50px; 这个50px数值越大,越圆
}
只读:readonly
在data里定义:readonly: true,
然后在input框里加上readonly就可以了。
禁用:disabled
在data里定义:edit: true,
然后在input框里加上::disabled="edit"就可以了
在css相应元素中添加下面代码即可。
opacity的取值范围为0~1,1表示不透明,0表示全透明
.userImage {
border-radius: 50px; 这个50px数值越大,越圆
}
只读:readonly
在data里定义:readonly: true,
然后在input框里加上readonly就可以了。
禁用:disabled
在data里定义:edit: true,
然后在input框里加上::disabled="edit"就可以了