参考资料
search
api 讲解
hml代码
搜索的值: {{this.searchValue}} 翻译的值: {{this.translateValue}}
css代码
/* xxx.css */.container { display: flex; justify-content: center; align-items: center; flex-direction: column;}
运行效果
欲了解更多更全技术文章,欢迎访问https://developer.huawei.com/consumer/cn/forum/?ha_source=zzh