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

苏州好的网站公司哪家好深圳网站制作公司深圳网站制作公司

苏州好的网站公司哪家好,深圳网站制作公司深圳网站制作公司,专业网站设计是什么,做网站比较专业的有哪些公司1、HarmonyOS 沉浸式状态栏#xff1f; 实现沉浸式状态栏功能时#xff0c;能够实现#xff0c;但是目前每个自定义组件都需要padding top 状态栏的高度才行#xff0c;有办法实现统一设置吗#xff1f;不需要每个自定义组件中都padding top 状态栏的高度#xff1f; 暂…1、HarmonyOS 沉浸式状态栏 实现沉浸式状态栏功能时能够实现但是目前每个自定义组件都需要padding top 状态栏的高度才行有办法实现统一设置吗不需要每个自定义组件中都padding top 状态栏的高度 暂时没有统一设置的方法可以将每个页面的底部padding top统一封装成一个组件再每个页面引入该组件来达到统一维护的目的。以此达到提升开发效率降低维护成本的目的 2、HarmonyOS 自定义组件如何实现类似web开发中 React 或 Vue 的 ref 属性功能 React 或 Vue 中的 ref 属性可以获得对组件的引用调用组件暴露给外部的方法。HarmonyOS开发中系统自带组件比如 Web有与之对应的 controller。如果是自定义组件如何实现 controller 的功能呢比如我封装一个 LottieView 用于声明式的展示 lottie 动画同时需要暴露一些方法如play() pause() stop() 等给外部使用。 参考以下案例地址如下https://developer.huawei.com/consumer/cn/forum/topic/0203144585061300847?fid0109140870620153026 3、HarmonyOS CustomDialogController自定义一个view然后背景颜色像设置为透明色然后Color.Transparent不管用默认就是白色的希望可以设置背景颜色为透明 希望可以设置背景颜色为透明自定义view怎么设置透明色 可以设置customStyle为true自定义样式背景就是透明的文档https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-methods-custom-dialog-box-V5#customdialogcontrolleroptions%E5%AF%B9%E8%B1%A1%E8%AF%B4%E6%98%8E 4、HarmonyOS RichEditor粘贴内容不会有回调 RichEditor的aboutToIMEInput和onIMEInputComplete在输入或者删除时候有回调显示但是如果直接粘贴内容则不会有回调看文档中提供了onPaste方法但该方法只开放了阻止系统默认粘贴事件的能力有没有提供粘贴成功后的回调 粘贴事件完成的回调在onPaste回调里面加延时器。 .onPaste((): void {setTimeout(() {const spans this.controller.getSpans()console.log(spans.length.toString() JSON.stringify(spans))},0) })5、HarmonyOS 自动横向滚动List 可以参考以下代码如需要自动滚动使用setInterval调用scroller.scrollTo方法 class Article {id: string;title: string;brief: string;constructor(id: string, title: string, brief: string) {this.id id;this.title title;this.brief brief;} }Entry Component struct ArticleListView {State isListReachEnd: boolean false;State articleList: ArrayArticle [new Article(001, 第1篇文章, 文章简介内容),new Article(002, 第2篇文章, 文章简介内容),new Article(003, 第3篇文章, 文章简介内容),new Article(004, 第4篇文章, 文章简介内容),new Article(005, 第5篇文章, 文章简介内容),new Article(006, 第6篇文章, 文章简介内容)]loadMoreArticles() {this.articleList.push(this.articleList[0]);this.articleList.splice(0,1);}build() {Column({ space: 5 }) {List() {ForEach(this.articleList, (item: Article) {ListItem() {ArticleCard({ article: item }).margin({ top: 20 })}}, (item: Article) item.id)}.onReachEnd(() {this.loadMoreArticles();}).padding(20).scrollBar(BarState.Off)}.width(100%).height(100%).backgroundColor(0xF1F3F5)} }Component struct ArticleCard {Prop article: Article;build() {Row() {Image($r(app.media.startIcon)).width(80).height(80).margin({ right: 20 })Column() {Text(this.article.title).fontSize(20).margin({ bottom: 8 })Text(this.article.brief).fontSize(16).fontColor(Color.Gray).margin({ bottom: 8 })}.alignItems(HorizontalAlign.Start).width(80%).height(100%)}.padding(20).borderRadius(12).backgroundColor(#FFECECEC).height(120).width(100%).justifyContent(FlexAlign.SpaceBetween)} }可以参考以下案例实现:https://gitee.com/harmonyos-cases/cases/tree/master/CommonAppDevelopment/feature/marquee
文章转载自:
http://www.morning.lonlie.com.gov.cn.lonlie.com
http://www.morning.jxtbr.cn.gov.cn.jxtbr.cn
http://www.morning.gwjsm.cn.gov.cn.gwjsm.cn
http://www.morning.hytqt.cn.gov.cn.hytqt.cn
http://www.morning.hfnbr.cn.gov.cn.hfnbr.cn
http://www.morning.xsrnr.cn.gov.cn.xsrnr.cn
http://www.morning.bqwnp.cn.gov.cn.bqwnp.cn
http://www.morning.dywgl.cn.gov.cn.dywgl.cn
http://www.morning.nxhjg.cn.gov.cn.nxhjg.cn
http://www.morning.kbkcl.cn.gov.cn.kbkcl.cn
http://www.morning.lmjtp.cn.gov.cn.lmjtp.cn
http://www.morning.mrfnj.cn.gov.cn.mrfnj.cn
http://www.morning.lfjmp.cn.gov.cn.lfjmp.cn
http://www.morning.csznh.cn.gov.cn.csznh.cn
http://www.morning.ldfcb.cn.gov.cn.ldfcb.cn
http://www.morning.wwwghs.com.gov.cn.wwwghs.com
http://www.morning.bpmnh.cn.gov.cn.bpmnh.cn
http://www.morning.ndynz.cn.gov.cn.ndynz.cn
http://www.morning.cpmwg.cn.gov.cn.cpmwg.cn
http://www.morning.rkxqh.cn.gov.cn.rkxqh.cn
http://www.morning.wdwfm.cn.gov.cn.wdwfm.cn
http://www.morning.dzqyn.cn.gov.cn.dzqyn.cn
http://www.morning.wcft.cn.gov.cn.wcft.cn
http://www.morning.wdjcr.cn.gov.cn.wdjcr.cn
http://www.morning.sqfnx.cn.gov.cn.sqfnx.cn
http://www.morning.rkfxc.cn.gov.cn.rkfxc.cn
http://www.morning.pjftk.cn.gov.cn.pjftk.cn
http://www.morning.nicetj.com.gov.cn.nicetj.com
http://www.morning.qxmnf.cn.gov.cn.qxmnf.cn
http://www.morning.qbdsx.cn.gov.cn.qbdsx.cn
http://www.morning.mhmcr.cn.gov.cn.mhmcr.cn
http://www.morning.rwlsr.cn.gov.cn.rwlsr.cn
http://www.morning.yfzld.cn.gov.cn.yfzld.cn
http://www.morning.xhqwm.cn.gov.cn.xhqwm.cn
http://www.morning.jykzy.cn.gov.cn.jykzy.cn
http://www.morning.yqwsd.cn.gov.cn.yqwsd.cn
http://www.morning.zfhwm.cn.gov.cn.zfhwm.cn
http://www.morning.rhsg.cn.gov.cn.rhsg.cn
http://www.morning.dhnqt.cn.gov.cn.dhnqt.cn
http://www.morning.yzfrh.cn.gov.cn.yzfrh.cn
http://www.morning.fwjfh.cn.gov.cn.fwjfh.cn
http://www.morning.mcjp.cn.gov.cn.mcjp.cn
http://www.morning.mqss.cn.gov.cn.mqss.cn
http://www.morning.bzlgb.cn.gov.cn.bzlgb.cn
http://www.morning.knjj.cn.gov.cn.knjj.cn
http://www.morning.bpkqd.cn.gov.cn.bpkqd.cn
http://www.morning.lgmgn.cn.gov.cn.lgmgn.cn
http://www.morning.dwzwm.cn.gov.cn.dwzwm.cn
http://www.morning.mcwgn.cn.gov.cn.mcwgn.cn
http://www.morning.mlwhd.cn.gov.cn.mlwhd.cn
http://www.morning.ljxps.cn.gov.cn.ljxps.cn
http://www.morning.hhqtq.cn.gov.cn.hhqtq.cn
http://www.morning.qmnhw.cn.gov.cn.qmnhw.cn
http://www.morning.hqllj.cn.gov.cn.hqllj.cn
http://www.morning.qinhuangdjy.cn.gov.cn.qinhuangdjy.cn
http://www.morning.kuaijili.cn.gov.cn.kuaijili.cn
http://www.morning.nlcw.cn.gov.cn.nlcw.cn
http://www.morning.pshpx.cn.gov.cn.pshpx.cn
http://www.morning.zcwwb.cn.gov.cn.zcwwb.cn
http://www.morning.zgqysw.cn.gov.cn.zgqysw.cn
http://www.morning.pmysp.cn.gov.cn.pmysp.cn
http://www.morning.lmxzw.cn.gov.cn.lmxzw.cn
http://www.morning.qynnw.cn.gov.cn.qynnw.cn
http://www.morning.slfmp.cn.gov.cn.slfmp.cn
http://www.morning.nzcys.cn.gov.cn.nzcys.cn
http://www.morning.xdwcg.cn.gov.cn.xdwcg.cn
http://www.morning.qnbck.cn.gov.cn.qnbck.cn
http://www.morning.dyzbt.cn.gov.cn.dyzbt.cn
http://www.morning.tklqs.cn.gov.cn.tklqs.cn
http://www.morning.ldgqh.cn.gov.cn.ldgqh.cn
http://www.morning.rbkdg.cn.gov.cn.rbkdg.cn
http://www.morning.njstzsh.com.gov.cn.njstzsh.com
http://www.morning.bpwdc.cn.gov.cn.bpwdc.cn
http://www.morning.jljwk.cn.gov.cn.jljwk.cn
http://www.morning.mzwqt.cn.gov.cn.mzwqt.cn
http://www.morning.kjsft.cn.gov.cn.kjsft.cn
http://www.morning.pmdlk.cn.gov.cn.pmdlk.cn
http://www.morning.blfgh.cn.gov.cn.blfgh.cn
http://www.morning.mnlk.cn.gov.cn.mnlk.cn
http://www.morning.khyqt.cn.gov.cn.khyqt.cn
http://www.tj-hxxt.cn/news/275956.html

相关文章:

  • 百度网站开发合同范本噼里啪啦电影免费观看高清
  • 天津住房城乡建设厅官方网站个人怎么注册一个品牌
  • 男生和男生做污的视频网站优惠活动制作网站
  • 启闭机闸门的网站建设中国工商注册网官网下载
  • 查网站服务器ip 被k虚拟机 网站建设
  • 茂名建设局网站宁波网站建设团队排名
  • 郑州营销网站建设设计wordpress怎么分栏
  • wordpress建站方法东莞详细页设计
  • 国外html5网站源码网站建设 珠海
  • 专做机票网站的软件公司怎样在微信做产品网站
  • 吉安网站适合农村的代加工厂
  • 企业网站模板建站费用管理软件erp
  • 佛山做外贸网站的公司吗软件程序流程图
  • 广州免费推广网站建设wordpress 评价插件
  • 广州微信网站建设效果惠州禅城网站建设
  • 一个织梦两个网站wordpress中文博客模板下载
  • 网站建设代码容易出错什么网站有做册子版
  • 建设网站公司兴田德润在哪里做那个男女的视频网站
  • 成都的建站公司北京seo推广公司
  • 石家庄网站建设系统海外服务器哪家好
  • 中国兰州网pc主站网站建设网站公司的序
  • 做平台网站产品上传wordpress信息修改
  • pexels素材网站建设网站公司简介
  • 平阳县住房和城乡规划建设局网站制作网页常用的软件有哪些
  • 局域网手机网站建设证件照在线制作
  • 怎么做网站的效果图制作app需要先做网站
  • 杭州 高端网站定制asp做网站技术怎样
  • 做网站宁夏wordpress文章html代码
  • seo网站建设 厦门wordpress 获取页面标题
  • 省级精品课程网站建设广州建网站多少钱