当前位置: 首页 > news >正文

网站主体关闭 无法备案十大免费看盘软件

网站主体关闭 无法备案,十大免费看盘软件,做网站需要哪些技术人才,解决方案鸿蒙#xff08;HarmonyOS#xff09;项目方舟框架#xff08;ArkUI#xff09;控件的部分公共属性和事件 一、操作环境 操作系统: Windows 10 专业版 IDE:DevEco Studio 3.1 SDK:HarmonyOS 3.1 二、公共属性 常用的公共属性有#xff1a; 宽(with)、高(height)、…鸿蒙HarmonyOS项目方舟框架ArkUI控件的部分公共属性和事件 一、操作环境 操作系统:  Windows 10 专业版 IDE:DevEco Studio 3.1 SDK:HarmonyOS 3.1 二、公共属性 常用的公共属性有 宽(with)、高(height)、尺寸(size)、背景色(backgroudColor)、 Text().size({width: 220, height: 125}) // 设置宽高.width(120) // 设置宽度覆盖前边的值.height(25) // 设置高度覆盖前边的值.backgroundColor(#ccbbaa) // 设置背景色设置组件的宽高缺省时使用组件自身内容的宽高比如充满父布局可以使用 string 值100%当组件同时设置 size 和 width / height 时以最后设置的值为准。 外边距(padding)、内边距(margin)、 Stack() {Text().width(100%) // 设置宽度充满父布局.height(100%) // 设置高度充满父布局.backgroundColor(Color.Pink) // 设置背景色 } .padding(10) // 设置四个边距值 .backgroundColor(#aabbcc) // 设置背景色 .size({width: 80, height: 80}) // 设置宽高尺寸Stack() {Text().width(100%) // 宽度充满父布局.height(100%) // 高度充满父布局.backgroundColor(Color.Pink) // 设置背景色 } .padding({left: 5, top: 20, right: 5, bottom: 20})// 设置不同的边距值 .backgroundColor(#aabbcc) // 设置背景色 .size({width: 80, height: 80}) // 设置宽高尺寸 权重(layoutWeight)、对齐方式(align)、布局方向(direction对应的枚举 Ltr,Rtl,Auto)、相对定位(offset)、绝对定位(position)、 显示隐藏(visibility对应的枚举Visible,Hidden,None) Row() {Text().height(30).width(120).backgroundColor(#aabbcc).layoutWeight(1)Text().height(30).backgroundColor(#aaccbb).visibility(Visibility.Visible) // 设置默认值Visible.layoutWeight(1)Text().height(30).backgroundColor(Color.Pink).layoutWeight(1) }Row() {Text().height(30).width(120).backgroundColor(#aabbcc).layoutWeight(1)Text().height(30).backgroundColor(#aaccbb).visibility(Visibility.Hidden) // 设置Hidden不在界面显示但是还占着位置.layoutWeight(1)Text().height(30).backgroundColor(Color.Pink).layoutWeight(1) }Row() {Text().height(30).backgroundColor(#aabbcc).layoutWeight(1)Text().height(30).visibility(Visibility.None) // 设置None不在界面上显示.backgroundColor(#aaccbb).layoutWeight(1)Text().height(30).backgroundColor(Color.Pink).layoutWeight(1) } 三、公共事件 常用的公共事件: 点击事件(onClick) Text(Click 亚丁号).width(120).height(40).backgroundColor(Color.Pink) // 设置背景颜色.onClick(() { // 设置点击事件回调console.log(text clicked 亚丁号) // 日志输出}) 获得焦点事件、失去焦点事件 Entry Component struct ComponentTest {State textOne: string State textTwo: string State textThree: string State oneButtonColor: string #FF0000State twoButtonColor: string #87CEFAState threeButtonColor: string #90EE90build() {Column({ space: 10 }) {Button(this.textOne).backgroundColor(this.oneButtonColor).width(260).height(70).fontColor(Color.Black).focusable(true).onFocus(() {this.textOne First Button onFocusthis.oneButtonColor #AFEEEE}).onBlur(() {this.textOne First Button onBlurthis.oneButtonColor #FFC0CB})Button(this.textTwo).backgroundColor(this.twoButtonColor).width(260).height(70).fontColor(Color.Black).focusable(true)Button(this.textThree).backgroundColor(this.threeButtonColor).width(260).height(70).fontColor(Color.Black).focusable(true).onFocus(() {this.textThree Third Button onFocusthis.threeButtonColor #AFEEEE}).onBlur(() {this.textThree Third Button onBlurthis.threeButtonColor #FFC0CB})}.width(100%).height(100%).padding(10)} } 目前支持焦点事件的组件Button、 Text、Image、 List、 Grid。 好了就写到这吧 你有时间常去我家看看我在这里谢谢你啦... 我家地址:亚丁号 最后送大家一首诗: 山高路远坑深, 大军纵横驰奔, 谁敢横刀立马 惟有点赞加关注大军。
http://www.zqtcl.cn/news/156994/

相关文章:

  • 深圳广东网站建设套餐最近新闻事件
  • 电子商务网站建设与管理 pdf“设计网站”
  • 聊城wap网站建设清溪东莞网站建设
  • 书籍网站建设规划书app开发公司价格表
  • 小程序网站模板住建个人证书查询网
  • 西安 美院 网站建设贵阳美丽乡村建设网站
  • 平顶山市哪里有做网站的wordpress应用教程
  • 制作企业网站的实训报告医院网站设计模板
  • 要做网站照片怎么处理广东外发加工网
  • 做国际网站每年要多少钱厦门 外贸商城网站
  • 城乡建设学校官方网站程序外包网站
  • 深圳 网站设计师 招聘西数网站管理助手 伪静态
  • 广州网站备案要求国外工装设计网站大全
  • php+mysql 2012也买酒商城网站源码怎么用net123做网站
  • 西充移动网站建设如何设计一个简洁的logo
  • 济宁做网站自媒体新手入门
  • 重庆网站开发哪家专业网站布局图
  • 网站设计原则的历史网站开发 模块
  • 做企业网站收费自己的网站怎么做排名
  • 做网站网站软件开发经费预算
  • 优化网站图片网站图片布局
  • 有效的网站需要做到什么意思商业网站是什么
  • 网站设计开发网站用c 建网站时怎么做导航菜单栏
  • 哪些网站做推广比较有效果厦门网站建设公司名单
  • 街头小吃加盟网站建设网站专题制作
  • 网站论坛推广方案加强思政部网站建设
  • 查看WordPress网站插件北京西站附近的景点有哪些
  • 网站建设技术合同模板下载怎么用phpstudy做网站
  • 青岛网站建设找二维码生成器怎么弄
  • 百度突然搜不到我的网站网络安全软件有哪些