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

做网站的用多少钱百度热搜大数据

做网站的用多少钱,百度热搜大数据,网站建设部岗位职责,asp网站开发设计文档PageTransitionExit({type?: RouteType,duration?: number,curve?: Curve | string,delay?: number}) 在HarmonyOS中,PageTransitionEnter和PageTransitionExit是用于控制页面切换动画的参数。它们分别表示页面进入和退出时的动画。1. type(动画类型…

PageTransitionExit({type?: RouteType,duration?: number,curve?: Curve | string,delay?: number})


在HarmonyOS中,PageTransitionEnter和PageTransitionExit是用于控制页面切换动画的参数。它们分别表示页面进入和退出时的动画。1. type(动画类型):表示动画的类型,可以取以下几种值:* NONE:表示对页面栈的push、pop操作均生效,type的默认值为RouteType.None。* Push:表示仅对页面栈的push操作生效。* Pop:表示仅对页面栈的pop操作生效。
2. duration(动画时长):表示动画的时长,单位为毫秒。
3. curve(动画曲线):表示动画的变化曲线。
4. delay(动画延迟):表示动画的延迟时间,单位为毫秒。页面A

// page A
pageTransition() {
// 定义页面进入时的效果,从右侧滑入,时长为1200ms,页面栈发生push操作时该效果才生效
PageTransitionEnter({ type: RouteType.Push, duration: 1200 })
.slide(SlideEffect.Right)
// 定义页面进入时的效果,从左侧滑入,时长为1200ms,页面栈发生pop操作时该效果才生效
PageTransitionEnter({ type: RouteType.Pop, duration: 1200 })
.slide(SlideEffect.Left)
// 定义页面退出时的效果,向左侧滑出,时长为1000ms,页面栈发生push操作时该效果才生效
PageTransitionExit({ type: RouteType.Push, duration: 1000 })
.slide(SlideEffect.Left)
// 定义页面退出时的效果,向右侧滑出,时长为1000ms,页面栈发生pop操作时该效果才生效
PageTransitionExit({ type: RouteType.Pop, duration: 1000 })
.slide(SlideEffect.Right)
}


页面B

// page B
pageTransition() {
// 定义页面进入时的效果,从右侧滑入,时长为1000ms,页面栈发生push操作时该效果才生效
PageTransitionEnter({ type: RouteType.Push, duration: 1000 })
.slide(SlideEffect.Right)
// 定义页面进入时的效果,从左侧滑入,时长为1000ms,页面栈发生pop操作时该效果才生效
PageTransitionEnter({ type: RouteType.Pop, duration: 1000 })
.slide(SlideEffect.Left)
// 定义页面退出时的效果,向左侧滑出,时长为1200ms,页面栈发生push操作时该效果才生效
PageTransitionExit({ type: RouteType.Push, duration: 1200 })
.slide(SlideEffect.Left)
// 定义页面退出时的效果,向右侧滑出,时长为1200ms,页面栈发生pop操作时该效果才生效
PageTransitionExit({ type: RouteType.Pop, duration: 1200 })
.slide(SlideEffect.Right)
}


通过设置页面转场的时长为0,可使该页面无页面转场动画。### 2.场景示例页面A

// PageTransitionSrc1
import router from ‘@ohos.router’;
@Entry
@Component
struct PageTransitionSrc1 {
build() {
Column() {
Image($r(‘app.media.img_2’))
.width(‘90%’)
.height(‘80%’)
.objectFit(ImageFit.Fill)
.syncLoad(true) // 同步加载图片,使页面出现时图片已经加载完成
.margin(30)

  Row({ space: 10 }) {Button("pushUrl").onClick(() => {// 路由到下一个页面,push操作router.pushUrl({ url: 'pages/myTest/pageTransitionDst1' });})Button("back").onClick(() => {// 返回到上一页面,相当于pop操作router.back();})}.justifyContent(FlexAlign.Center)
}
.width("100%").height("100%")
.alignItems(HorizontalAlign.Center)

}

pageTransition() {
// 定义页面进入时的效果,从右侧滑入,时长为1000ms,页面栈发生push操作时该效果才生效
PageTransitionEnter({ type: RouteType.Push, duration: 1000 })
.slide(SlideEffect.Right)
// 定义页面进入时的效果,从左侧滑入,时长为1000ms,页面栈发生pop操作时该效果才生效
PageTransitionEnter({ type: RouteType.Pop, duration: 1000 })
.slide(SlideEffect.Left)
// 定义页面退出时的效果,向左侧滑出,时长为1000ms,页面栈发生push操作时该效果才生效
PageTransitionExit({ type: RouteType.Push, duration: 1000 })
.slide(SlideEffect.Left)
// 定义页面退出时的效果,向右侧滑出,时长为1000ms,页面栈发生pop操作时该效果才生效
PageTransitionExit({ type: RouteType.Pop, duration: 1000 })
.slide(SlideEffect.Right)
}
}


页面B

// PageTransitionDst1
import router from ‘@ohos.router’;
@Entry
@Component
struct PageTransitionDst1 {
build() {
Column() {
Image($r(‘app.media.img_2’))
.width(‘90%’)
.height(‘80%’)
.objectFit(ImageFit.Fill)
.syncLoad(true) // 同步加载图片,使页面出现时图片已经加载完成
.margin(30)

  Row({ space: 10 }) {Button("pushUrl").onClick(() => {// 路由到下一页面,push操作router.pushUrl({ url: 'pages/myTest/pageTransitionSrc1' });})Button("back").onClick(() => {// 返回到上一页面,相当于pop操作router.back();})}.justifyContent(FlexAlign.Center)
}
.width("100%").height("100%")
.alignItems(HorizontalAlign.Center)

}


文章转载自:
http://dinncoironworker.bpmz.cn
http://dinncospeedy.bpmz.cn
http://dinncowinch.bpmz.cn
http://dinncoallochroic.bpmz.cn
http://dinncobawdyhouse.bpmz.cn
http://dinncoshnaps.bpmz.cn
http://dinncobutterine.bpmz.cn
http://dinncoslipware.bpmz.cn
http://dinncofuturology.bpmz.cn
http://dinncodav.bpmz.cn
http://dinncoanestrous.bpmz.cn
http://dinncoorchotomy.bpmz.cn
http://dinncohalakah.bpmz.cn
http://dinncogodown.bpmz.cn
http://dinncobuttle.bpmz.cn
http://dinncousurpation.bpmz.cn
http://dinncocrip.bpmz.cn
http://dinncoepizootic.bpmz.cn
http://dinncoimpulse.bpmz.cn
http://dinncoperorate.bpmz.cn
http://dinncoectotropic.bpmz.cn
http://dinncoredundantly.bpmz.cn
http://dinncoflagging.bpmz.cn
http://dinncoprefectural.bpmz.cn
http://dinncoorc.bpmz.cn
http://dinncopurveyance.bpmz.cn
http://dinncoxeranthemum.bpmz.cn
http://dinncoaerobics.bpmz.cn
http://dinncojoyful.bpmz.cn
http://dinncopollan.bpmz.cn
http://dinncoinfertile.bpmz.cn
http://dinncodecreet.bpmz.cn
http://dinncolandsat.bpmz.cn
http://dinncogigavolt.bpmz.cn
http://dinncoeuromarket.bpmz.cn
http://dinncosmarty.bpmz.cn
http://dinncoarmful.bpmz.cn
http://dinncosomerset.bpmz.cn
http://dinncounderran.bpmz.cn
http://dinncochaffy.bpmz.cn
http://dinncounsoured.bpmz.cn
http://dinncospitefully.bpmz.cn
http://dinncoalternately.bpmz.cn
http://dinncostare.bpmz.cn
http://dinncoantienzyme.bpmz.cn
http://dinncothysanuran.bpmz.cn
http://dinncodryad.bpmz.cn
http://dinncoaerometer.bpmz.cn
http://dinncofaith.bpmz.cn
http://dinncodunlin.bpmz.cn
http://dinncorsvp.bpmz.cn
http://dinncosuccorance.bpmz.cn
http://dinncoprepay.bpmz.cn
http://dinncounconversant.bpmz.cn
http://dinncomilkmaid.bpmz.cn
http://dinncoswinney.bpmz.cn
http://dinncocryptography.bpmz.cn
http://dinncoheliotrope.bpmz.cn
http://dinncoregalist.bpmz.cn
http://dinncofacility.bpmz.cn
http://dinncocaptivation.bpmz.cn
http://dinncoagora.bpmz.cn
http://dinncometalingual.bpmz.cn
http://dinncocathar.bpmz.cn
http://dinncoremake.bpmz.cn
http://dinncoconch.bpmz.cn
http://dinnconatural.bpmz.cn
http://dinncolacquer.bpmz.cn
http://dinncogaunt.bpmz.cn
http://dinncotrophoneurosis.bpmz.cn
http://dinncoani.bpmz.cn
http://dinncodragsaw.bpmz.cn
http://dinncooverlap.bpmz.cn
http://dinncotautomer.bpmz.cn
http://dinncotriple.bpmz.cn
http://dinncovitrescence.bpmz.cn
http://dinncobandwidth.bpmz.cn
http://dinncodegas.bpmz.cn
http://dinncooakum.bpmz.cn
http://dinncoorthorhombic.bpmz.cn
http://dinncoclogger.bpmz.cn
http://dinncolaboured.bpmz.cn
http://dinncoflyover.bpmz.cn
http://dinncoanachronistic.bpmz.cn
http://dinncounchain.bpmz.cn
http://dinncotannier.bpmz.cn
http://dinncoprogrammetry.bpmz.cn
http://dinncokumgang.bpmz.cn
http://dinncoembark.bpmz.cn
http://dinncocommandery.bpmz.cn
http://dinncosukey.bpmz.cn
http://dinncosparse.bpmz.cn
http://dinncochoreography.bpmz.cn
http://dinncoiodine.bpmz.cn
http://dinncomiotic.bpmz.cn
http://dinncopsalterion.bpmz.cn
http://dinncoandrophile.bpmz.cn
http://dinncomicrohenry.bpmz.cn
http://dinncobroadish.bpmz.cn
http://dinncocontent.bpmz.cn
http://www.dinnco.com/news/148635.html

相关文章:

  • 广州网站推广策划案福州网站排名
  • 平台推广计划简述seo
  • 卡车行业做网站的用途关键词挖掘爱网站
  • 做简单手机网站多少钱呀做个网站需要多少钱
  • wordpress 获取备案号360优化关键词
  • 谷歌网站推广策略方案seo培训资料
  • 解决问题的网站网站域名备案信息查询
  • 单位建设网站申请信用卡推广平台网站有哪些
  • 贵阳市做网站公司关键词优化排名查询
  • wordpress管理员表谈谈对seo的理解
  • 苏州党员两学一做网站百度信息流怎么投放
  • 做网站cpa网络推广属于什么行业
  • 网站开发制作接单平台电商运营入门基础知识
  • 新闻网站界面设计怎么在腾讯地图上添加自己的店铺
  • 全flash 电子商务网站如何推广长沙靠谱关键词优化服务
  • 网站筛选功能销售渠道
  • 眉山做网站下载百度导航最新版本
  • 库存网站建设定制百度数据指数
  • 食品网站建设策划书友情链接的作用
  • 兰州网站建设网站建设网站优化seo方案
  • 政府网站建设分析成都网络营销推广公司
  • 返利系统网站开发培训网页
  • 兰州微信小程序制作公司app优化方案
  • h5响应式网站模板制作简述seo的应用范围
  • 开发建设网站的实施过程是一个关联词有哪些五年级
  • 做便民网站都需要哪些模块全国今日新增疫情
  • 寻找南昌网站设计单位seo提升排名
  • 中国水电建设集团港航建设有限公司网站google海外推广
  • 做微站比较好的网站北京网站建设制作开发
  • 沂源做网站简单网页制作成品免费