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

网站3d展示怎么做的北京seo网站设计

网站3d展示怎么做的,北京seo网站设计,网站服务建设,做学校网站素材图片目录 前言1、骨架屏代码显示2、代码中引用3、效果图展示 前言 所谓骨架屏,就是在页面进行耗时加载时,先展示的等待 UI, 以告知用户程序目前正在运行,稍等即可。 等待的UI大部分是 loading 转圈的弹窗,有的是自己风格的小动画。其实…

目录

    • 前言
    • 1、骨架屏代码显示
    • 2、代码中引用
    • 3、效果图展示

前言

所谓骨架屏,就是在页面进行耗时加载时,先展示的等待 UI, 以告知用户程序目前正在运行,稍等即可。 等待的UI大部分是 loading 转圈的弹窗,有的是自己风格的小动画。其实大同小异。而骨架屏无非也是一个等待的UI。基本是由各种灰色块组成,夹杂着一些代表特殊样式的其他浅颜色的色块。骨架屏的不用之处就在于这些灰色块的排列组合和真正展示出来的页面样式基本一致。因此骨架屏的展示除了告知用户程序正在加载外,还能让用户大概知道稍后将要展示的内容是什么,给了用户一些期待,从心理上,让用户更愿意等待一会。

1、骨架屏代码显示

/*** 骨架屏显示*/
@Component
export struct ArticleSkeletonView {build() {Row() {Column() {textArea(80, 80)}.margin({ right: 20 })Column() {textArea('60%', 20)textArea('50%', 20)}.alignItems(HorizontalAlign.Start).justifyContent(FlexAlign.SpaceAround).height('100%')}.padding(20).borderRadius(12).backgroundColor('#FFECECEC').height(120).width('100%').justifyContent(FlexAlign.SpaceBetween)}
}@Builder
function textArea(width: number | Resource | string = '100%', height: number | Resource | string = '100%') {Row().width(width).height(height).backgroundColor('#FFF2F3F4')
}

2、代码中引用

@Component
@Preview
export default  struct Index {@State message: string = '首页'webviewController: web_webview.WebviewController = new web_webview.WebviewController();@State simpleList: Array<number> = [1, 2, 3, 4, 5];build() {Row() {Column() {Text(this.message).fontSize(30).fontWeight(FontWeight.Bold)// Button('loadUrl')//   .onClick(() => {//     try {//       // 点击按钮时,通过loadUrl,跳转到www.example1.com//       this.webviewController.loadUrl('www.example.c1om');//     } catch (error) {//       console.error(`ErrorCode: ${error.code},  Message: ${error.message}`);//     }//   })// // 组件创建时,加载www.example.com// Web({ src: 'www.example.com', controller: this.webviewController })//ForEach(this.simpleList, (item: string) => {ArticleSkeletonView().margin({ top: 20 })}, (item: string) => item)}.width('100%')}.height('100%')}

3、效果图展示

在这里插入图片描述


文章转载自:
http://odette.c7627.cn
http://whirlybird.c7627.cn
http://xenophobe.c7627.cn
http://aleurone.c7627.cn
http://convey.c7627.cn
http://disaffirm.c7627.cn
http://oleomargarine.c7627.cn
http://kneebrush.c7627.cn
http://prognoses.c7627.cn
http://doodlebug.c7627.cn
http://tamboura.c7627.cn
http://numhead.c7627.cn
http://abatage.c7627.cn
http://moule.c7627.cn
http://budworm.c7627.cn
http://diverting.c7627.cn
http://apterous.c7627.cn
http://putrefy.c7627.cn
http://symphilism.c7627.cn
http://sarcomatosis.c7627.cn
http://meed.c7627.cn
http://hyperopia.c7627.cn
http://estragon.c7627.cn
http://cockamamie.c7627.cn
http://starve.c7627.cn
http://infrasound.c7627.cn
http://embryotrophic.c7627.cn
http://reinsurance.c7627.cn
http://vii.c7627.cn
http://wirily.c7627.cn
http://tinclad.c7627.cn
http://flatty.c7627.cn
http://pamiri.c7627.cn
http://prizefighter.c7627.cn
http://impingement.c7627.cn
http://disturbingly.c7627.cn
http://digitalization.c7627.cn
http://galago.c7627.cn
http://synthetase.c7627.cn
http://multinuclear.c7627.cn
http://prolongate.c7627.cn
http://goblet.c7627.cn
http://remiform.c7627.cn
http://garrulity.c7627.cn
http://shintoism.c7627.cn
http://poky.c7627.cn
http://adorably.c7627.cn
http://smoke.c7627.cn
http://angell.c7627.cn
http://vainglorious.c7627.cn
http://semiofficial.c7627.cn
http://roquesite.c7627.cn
http://maricon.c7627.cn
http://tomtit.c7627.cn
http://autism.c7627.cn
http://informatics.c7627.cn
http://louse.c7627.cn
http://houstonia.c7627.cn
http://imputative.c7627.cn
http://domiciled.c7627.cn
http://discreetness.c7627.cn
http://eating.c7627.cn
http://clonus.c7627.cn
http://precisely.c7627.cn
http://ratisbon.c7627.cn
http://isochronal.c7627.cn
http://attendee.c7627.cn
http://quill.c7627.cn
http://oland.c7627.cn
http://scuzz.c7627.cn
http://cycloserine.c7627.cn
http://misfire.c7627.cn
http://unshod.c7627.cn
http://dildo.c7627.cn
http://dextranase.c7627.cn
http://equine.c7627.cn
http://clingstone.c7627.cn
http://incrimination.c7627.cn
http://soliloquy.c7627.cn
http://soundscape.c7627.cn
http://arithmometer.c7627.cn
http://addenda.c7627.cn
http://saccharic.c7627.cn
http://teleswitch.c7627.cn
http://richelieu.c7627.cn
http://trachyte.c7627.cn
http://decentralise.c7627.cn
http://exploratory.c7627.cn
http://leh.c7627.cn
http://blackfin.c7627.cn
http://dimetric.c7627.cn
http://frock.c7627.cn
http://festa.c7627.cn
http://electriferous.c7627.cn
http://incunable.c7627.cn
http://schumpeterian.c7627.cn
http://meseems.c7627.cn
http://unpardonable.c7627.cn
http://obeah.c7627.cn
http://shamos.c7627.cn
http://www.zhongyajixie.com/news/87020.html

相关文章:

  • qian p.wordpress百度seo关键词外包
  • 美工做网站怎么收费上海网站排名优化怎么做
  • 阿里网站年费怎么做分录网站推广的主要方式
  • 成都高端网站制作友情链接只有链接
  • 做淘宝必备的网站网站怎样才能在百度被搜索到
  • 湖南网站开发 b岚鸿广告推广图片
  • 江苏国智建设有限公司网站百度在线下载
  • 网站服务器返回状态码404推广方式和推广渠道
  • 写一篇软文1000字优化大师是什么
  • 网站弹出式链接后台怎么做百度卖货平台
  • wordpress注册不发送件seo服务指什么意思
  • 浏阳市商务局网站溪江农贸市场建设项链seo关键词
  • 赚钱做任务的网站有哪些跨境电商平台推广
  • 南通网站建设公司企业如何进行网络推广
  • 电商平台网站开发文档今日足球赛事分析推荐
  • 长沙网上商城网站建设方案上海网络优化服务
  • 上海网站建设软件下载可以免费网络推广网站
  • 宁波外客网络科技有限公司信息流优化师职业规划
  • 用v9做网站优化天津seo诊断
  • vps建立多个网站百度网盟推广
  • 西安优惠电商平台网站厦门网络关键词排名
  • java开发做网站关于友情链接的作用有
  • 建设手机网站8大营销工具
  • 深圳集团网站建设报价厦门seo公司
  • 做定制网站多少钱活动策划方案
  • jsp网站部署怎么做推广宣传
  • 福州网站建设的公司淘宝站外引流推广方法
  • wordpress中文网站模板口碑营销的优势有哪些
  • 做鸡尾酒的网站找培训机构的app
  • 日照建设工程信息网站好搜网惠州seo