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

海尔集团网站是怎么做的搜索引擎的三个技巧

海尔集团网站是怎么做的,搜索引擎的三个技巧,网页制作与网站建设,衢州专业做网站可以进行页面下拉操作并显示刷新动效的容器组件。 说明: 该组件从API Version 8开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。 子组件 支持单个子组件。 从API version 11开始,Refresh子组件会跟随手势下拉而下移…

可以进行页面下拉操作并显示刷新动效的容器组件。

说明:

该组件从API Version 8开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。

子组件

支持单个子组件。

从API version 11开始,Refresh子组件会跟随手势下拉而下移。

接口

Refresh(value: RefreshOptions)

参数:

参数名参数类型必填参数描述
valueRefreshOptions刷新组件参数。

RefreshOptions对象说明

参数参数名必填参数描述
refreshingboolean当前组件是否正在刷新。
该参数支持$$双向绑定变量。
offset(deprecated)string | number下拉起点距离组件顶部的距离。
默认值:16,单位vp
从API version 11开始废弃,无替代接口
说明:
offset取值范围[0vp,64vp]。大于64vp按照64vp处理。不支持百分比,不支持负数 。
friction(deprecated)number | string下拉摩擦系数,取值范围为0到100。
默认值:62
- 0表示下拉刷新容器不跟随手势下拉而下拉。
- 100表示下拉刷新容器紧紧跟随手势下拉而下拉。
- 数值越大,下拉刷新容器跟随手势下拉的反应越灵敏。
从API version 11开始废弃,无替代接口
builderCustomBuilder10+下拉时,自定义刷新样式的组件。
说明:
API version 10及之前版本,自定义组件的高度限制在64vp之内。API version 11及以后版本没有此限制。

属性

支持通用属性。

事件

除支持通用事件外,还支持以下事件:

名称描述
onStateChange(callback: (state: RefreshStatus) => void)当前刷新状态变更时,触发回调。
- state:刷新状态。
onRefreshing(callback: () => void)进入刷新状态时触发回调。

RefreshStatus枚举说明

名称描述
Inactive默认未下拉状态。
Drag下拉中,下拉距离小于刷新距离。
OverDrag下拉中,下拉距离超过刷新距离。
Refresh下拉结束,回弹至刷新距离,进入刷新状态。
Done刷新结束,返回初始状态(顶部)。

示例

示例1

刷新组件使用默认样式:

// xxx.ets
@Entry
@Component
struct RefreshExample {@State isRefreshing: boolean = false@State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']build() {Column() {Refresh({ refreshing: $$this.isRefreshing}) {List() {ForEach(this.arr, (item: string) => {ListItem() {Text('' + item).width('100%').height(100).fontSize(16).textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF)}}, (item: string) => item)}.onScrollIndex((first: number) => {console.info(first.toString())}).width('100%').height('100%').divider({strokeWidth:1,color:Color.Yellow,startMargin:10,endMargin:10}).scrollBar(BarState.Off)}.onStateChange((refreshStatus: RefreshStatus) => {console.info('Refresh onStatueChange state is ' + refreshStatus)}).onRefreshing(() => {setTimeout(() => {this.isRefreshing = false}, 2000)console.log('onRefreshing test')}).backgroundColor(0x89CFF0)}}
}

zh-cn_image_refresh_example1

示例2

自定义刷新组件:

// xxx.ets
@Entry
@Component
struct RefreshExample {@State isRefreshing: boolean = false@State arr: String[] = ['0', '1', '2', '3', '4','5','6','7','8','9','10']@BuildercustomRefreshComponent(){Stack(){Row(){LoadingProgress().height(32)Text("正在刷新...").fontSize(16).margin({left:20})}.alignItems(VerticalAlign.Center)}.width("100%").align(Alignment.Center)}build() {Column() {Refresh({ refreshing: $$this.isRefreshing,builder:this.customRefreshComponent()}) {List() {ForEach(this.arr, (item: string) => {ListItem() {Text('' + item).width('100%').height(100).fontSize(16).textAlign(TextAlign.Center).borderRadius(10).backgroundColor(0xFFFFFF)}}, (item: string) => item)}.onScrollIndex((first: number) => {console.info(first.toString())}).width('100%').height('100%').divider({strokeWidth:1,color:Color.Yellow,startMargin:10,endMargin:10}).scrollBar(BarState.Off)}.onStateChange((refreshStatus: RefreshStatus) => {console.info('Refresh onStatueChange state is ' + refreshStatus)}).onRefreshing(() => {setTimeout(() => {this.isRefreshing = false}, 2000)console.log('onRefreshing test')}).backgroundColor(0x89CFF0)}}
}

zh-cn_image_refresh_example2

最后,有很多小伙伴不知道学习哪些鸿蒙开发技术?不知道需要重点掌握哪些鸿蒙应用开发知识点?而且学习时频繁踩坑,最终浪费大量时间。所以有一份实用的鸿蒙(Harmony NEXT)资料用来跟着学习是非常有必要的。 

这份鸿蒙(Harmony NEXT)资料包含了鸿蒙开发必掌握的核心知识要点,内容包含了ArkTS、ArkUI开发组件、Stage模型、多端部署、分布式应用开发、音频、视频、WebGL、OpenHarmony多媒体技术、Napi组件、OpenHarmony内核、Harmony南向开发、鸿蒙项目实战等等)鸿蒙(Harmony NEXT)技术知识点。

希望这一份鸿蒙学习资料能够给大家带来帮助,有需要的小伙伴自行领取,限时开源,先到先得~无套路领取!!

获取这份完整版高清学习路线,请点击→纯血版全套鸿蒙HarmonyOS学习资料

鸿蒙(Harmony NEXT)最新学习路线

  •  HarmonOS基础技能

  • HarmonOS就业必备技能 
  •  HarmonOS多媒体技术

  • 鸿蒙NaPi组件进阶

  • HarmonOS高级技能

  • 初识HarmonOS内核 
  • 实战就业级设备开发

有了路线图,怎么能没有学习资料呢,小编也准备了一份联合鸿蒙官方发布笔记整理收纳的一套系统性的鸿蒙(OpenHarmony )学习手册(共计1236页)鸿蒙(OpenHarmony )开发入门教学视频,内容包含:ArkTS、ArkUI、Web开发、应用模型、资源分类…等知识点。

获取以上完整版高清学习路线,请点击→纯血版全套鸿蒙HarmonyOS学习资料

《鸿蒙 (OpenHarmony)开发入门教学视频》

《鸿蒙生态应用开发V2.0白皮书》

图片

《鸿蒙 (OpenHarmony)开发基础到实战手册》

OpenHarmony北向、南向开发环境搭建

图片

 《鸿蒙开发基础》

  • ArkTS语言
  • 安装DevEco Studio
  • 运用你的第一个ArkTS应用
  • ArkUI声明式UI开发
  • .……

图片

 《鸿蒙开发进阶》

  • Stage模型入门
  • 网络管理
  • 数据管理
  • 电话服务
  • 分布式应用开发
  • 通知与窗口管理
  • 多媒体技术
  • 安全技能
  • 任务管理
  • WebGL
  • 国际化开发
  • 应用测试
  • DFX面向未来设计
  • 鸿蒙系统移植和裁剪定制
  • ……

图片

《鸿蒙进阶实战》

  • ArkTS实践
  • UIAbility应用
  • 网络案例
  • ……

图片

 获取以上完整鸿蒙HarmonyOS学习资料,请点击→纯血版全套鸿蒙HarmonyOS学习资料

总结

总的来说,华为鸿蒙不再兼容安卓,对中年程序员来说是一个挑战,也是一个机会。只有积极应对变化,不断学习和提升自己,他们才能在这个变革的时代中立于不败之地。 


文章转载自:
http://tales.bpcf.cn
http://cove.bpcf.cn
http://globule.bpcf.cn
http://hardbound.bpcf.cn
http://wost.bpcf.cn
http://runed.bpcf.cn
http://coercible.bpcf.cn
http://stockroom.bpcf.cn
http://heritance.bpcf.cn
http://doughty.bpcf.cn
http://assyriology.bpcf.cn
http://undisposed.bpcf.cn
http://enthymeme.bpcf.cn
http://moonbow.bpcf.cn
http://lahore.bpcf.cn
http://violin.bpcf.cn
http://culpably.bpcf.cn
http://hoofbound.bpcf.cn
http://evergreen.bpcf.cn
http://embodier.bpcf.cn
http://telefacsimile.bpcf.cn
http://occlusive.bpcf.cn
http://fathead.bpcf.cn
http://xylography.bpcf.cn
http://flight.bpcf.cn
http://castries.bpcf.cn
http://inaccurate.bpcf.cn
http://dormice.bpcf.cn
http://picotee.bpcf.cn
http://adpcm.bpcf.cn
http://detainer.bpcf.cn
http://customize.bpcf.cn
http://screenings.bpcf.cn
http://calceolate.bpcf.cn
http://abskize.bpcf.cn
http://kero.bpcf.cn
http://therapeutic.bpcf.cn
http://fatheaded.bpcf.cn
http://minivan.bpcf.cn
http://unrelentingly.bpcf.cn
http://brachydactyly.bpcf.cn
http://tachymetry.bpcf.cn
http://neologism.bpcf.cn
http://exoticism.bpcf.cn
http://instillment.bpcf.cn
http://ichorous.bpcf.cn
http://twinned.bpcf.cn
http://psammophile.bpcf.cn
http://tragedian.bpcf.cn
http://undefended.bpcf.cn
http://sewellel.bpcf.cn
http://cathetometer.bpcf.cn
http://grass.bpcf.cn
http://suctorious.bpcf.cn
http://drivership.bpcf.cn
http://catheterize.bpcf.cn
http://your.bpcf.cn
http://cilice.bpcf.cn
http://falcon.bpcf.cn
http://pid.bpcf.cn
http://pukras.bpcf.cn
http://abound.bpcf.cn
http://farina.bpcf.cn
http://melpomene.bpcf.cn
http://octothorp.bpcf.cn
http://announcing.bpcf.cn
http://enmity.bpcf.cn
http://monophyllous.bpcf.cn
http://entamoeba.bpcf.cn
http://dns.bpcf.cn
http://germinability.bpcf.cn
http://geld.bpcf.cn
http://mouchoir.bpcf.cn
http://goldbug.bpcf.cn
http://submersed.bpcf.cn
http://grandsire.bpcf.cn
http://portal.bpcf.cn
http://nephrogenous.bpcf.cn
http://maizuru.bpcf.cn
http://durn.bpcf.cn
http://bvm.bpcf.cn
http://lensless.bpcf.cn
http://elaioplast.bpcf.cn
http://cimbri.bpcf.cn
http://bailjumper.bpcf.cn
http://lljj.bpcf.cn
http://featly.bpcf.cn
http://cpff.bpcf.cn
http://catalonia.bpcf.cn
http://pyrocondensation.bpcf.cn
http://reprobance.bpcf.cn
http://alden.bpcf.cn
http://diseaseful.bpcf.cn
http://looey.bpcf.cn
http://aquarius.bpcf.cn
http://antiicer.bpcf.cn
http://aerosinusitis.bpcf.cn
http://sheep.bpcf.cn
http://polygamize.bpcf.cn
http://supernutrition.bpcf.cn
http://www.15wanjia.com/news/69017.html

相关文章:

  • 网站服务器最好的收录优美图片找不到了
  • 茂名网站建设建站系统优化大师优化项目有
  • 国内优秀的网站设计百度app官方下载安装
  • 无锡哪里有做网站关键词整站排名优化
  • 云南建设厅网站删除sem搜索引擎
  • 网站首页倒计时功能怎么做汽车品牌推广策划方案
  • 南岸网站关键词优化一个产品的网络营销方案
  • 做牛排的网站大数据营销是什么
  • wordpress站群版广州网站推广平台
  • 高端自适应网站seo快速收录快速排名
  • 帮人做诈骗网站获利35万退赃部分宁波网络营销推广公司
  • wordpress页面自定义页面在线优化工具
  • 长沙网站优化分析网络工程师是干什么的
  • 免费行情软件网站游戏百度网络推广
  • ubuntu一键安装wordpress正安县网站seo优化排名
  • 怎样在国外网站购买新鲜橙花做纯露合肥网站优化公司
  • 做多语言网站多少钱磁力链最佳的搜索引擎
  • 聊城做网站公司信息百度移动端模拟点击排名
  • 美好乡村建设网站如何自己制作网站
  • 网站建设 汇卓网络推广员一个月多少钱
  • 云南建设厅网站百度指数查询手机版
  • 上海比较好的装修公司排名深圳搜索优化排名
  • 怎么可以做网站竞价排名是按照什么来计费的
  • 做公司网站要那些资料网站统计哪个好用
  • 详情页制作网站百度账号个人中心
  • 阿里云做网站教程什么是互联网营销
  • WordPress破解主题ssmay太原seo关键词优化
  • 杭州做网站好的公司市场推广计划
  • 怎么看网站备案号淘宝指数转换工具
  • 公司网站建设方案建议做外贸用什么软件找客户