1.图片设置:
1 加载网络图片,申请权限。
申请权限:entry - src - resources - module.json5


2 加载本地图片 ,两种加载方式

API
鼠标悬停在Image, 点击show in API Reference


interpolation:看起来更加清晰
resource格式,读取本地资源文件这里,先按需求读取en_US或者zh_CN,base作为默认

若想展示的不是固定的,那就用以下方法。
在resource - en_US - element - string.json
以及中文版,默认都要填写



若想更换类型,比如将中文变成英文环境

除了password,还要normal等等,只做限制,不做校对
onChange : 将比如像密码这类的东西保存下来,然后进行下一步的操作
若要同时输入placeholder和text,就这样
设置一个初始值
设置默认输入对话框的值,并且要转化为字符串,用toFixed(0),0代表转为整数字符串



