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

网上申请个人营业执照网站wordpress 下载文件插件

网上申请个人营业执照网站,wordpress 下载文件插件,开发公司工程部工作总结,ai做漫画头像网站基于HarmonyOS的宠物收养系统的设计与实现#xff08;一#xff09; 本系统是简易的宠物收养系统#xff0c;为了更加熟练地掌握HarmonyOS相关技术的使用。 项目创建 创建一个空项目取名为PetApp 首页实现#xff08;组件导航使用#xff09; 官方文档#xff1a;组…基于HarmonyOS的宠物收养系统的设计与实现一 本系统是简易的宠物收养系统为了更加熟练地掌握HarmonyOS相关技术的使用。 项目创建 创建一个空项目取名为PetApp 首页实现组件导航使用 官方文档组件导航(Navigation) 实现目标效果 5个工具选项对应5个页面点击工具栏在内容区切换子组件页面和标题 打开src/main/ets/pages 编辑Index.ets文件 Index.ets import { AccountPage } from ./AccountPage import { FavoritePage } from ./FavoritePage import { HomePage } from ./HomePage import { MapsPage } from ./MapsPage import { MessagePage } from ./MessagePageEntry Component struct Index {private menuItem:NavigationMenuItem {value:,icon:./images/list.png,action:(){}}private toolBarItemHome:ToolbarItem {value:Home,icon:./images/home.png,action:(){this.pageName HomePagethis.title Home}}private toolBarItemMaps:ToolbarItem {value:Maps,icon:./images/maps.png,action:(){this.pageName MapsPagethis.title Maps}}private toolBarItemFavorite:ToolbarItem {value:Favorite,icon:./images/favorite.png,action:(){this.pageName FavoritePagethis.title Favorite}}private toolBarItemMessage:ToolbarItem {value:Message,icon:./images/message.png,action:(){this.pageName MessagePagethis.title Message}}private toolBarItemAccount:ToolbarItem {value:Account,icon:./images/account.png,action:(){this.pageName AccountPagethis.title Account}}State pageName:string HomePage;State title:string Homebuild() {Navigation(this.pageStack){if(this.pageName HomePage){HomePage()}else if(this.pageName MapsPage){MapsPage()}else if(this.pageName FavoritePage){FavoritePage()}else if(this.pageName MessagePage){MessagePage()}else {AccountPage()}}.titleMode(NavigationTitleMode.Mini)//标题模式.title(this.title)//设置标题.menus([this.menuItem])//设置顶部菜单.toolbarConfiguration([this.toolBarItemHome,this.toolBarItemMaps,this.toolBarItemFavorite,this.toolBarItemMessage,this.toolBarItemAccount])//底部工具栏} }添加首页 HomePage.ets Entry Component export struct HomePage {build() {NavDestination(){Text(home)Text(home)Text(home)}} }添加地图页MapsPage.ets Entry Component export struct MapsPage {build() {NavDestination(){Text(maps)Text(maps)Text(maps)}} }添加喜欢宠物页FavoritePage.ets Entry Component export struct MapsPage {build() {NavDestination(){Text(maps)Text(maps)Text(maps)}} }添加消息页MessagePage.ets Entry Component export struct MessagePage {build() {NavDestination(){Text(Message)Text(Message)Text(Message)}} }添加账号信息页AccountPage.ets Entry Component export struct AccountPage {build() {NavDestination(){Text(Account)Text(Account)Text(Account)}} }实现效果 实现点击工具栏高亮 修改index.ets添加changeState方法、activeIcon属性、status属性。 import { AccountPage } from ./AccountPage import { FavoritePage } from ./FavoritePage import { HomePage } from ./HomePage import { MapsPage } from ./MapsPage import { MessagePage } from ./MessagePageEntry Component struct Index {aboutToAppear(): void {this.changeState(0)}changeState(index:number){for(let i0;ithis.toolBars.length;i){this.toolBars[i].statusToolbarItemStatus.NORMAL}this.toolBars[index].status ToolbarItemStatus.ACTIVE}private menuItem:NavigationMenuItem {value:,icon:./images/list.png,action:(){}}State toolBarItemHome:ToolbarItem {value:Home,icon:./images/home.png,activeIcon:./images/home_a.png,action:(){this.pageName HomePagethis.title Homethis.changeState(0)}}State toolBarItemMaps:ToolbarItem {value:Maps,icon:./images/maps.png,status:ToolbarItemStatus.NORMAL,activeIcon:./images/maps_a.png,action:(){this.pageName MapsPagethis.title Mapsthis.changeState(1)}}State toolBarItemFavorite:ToolbarItem {value:Favorite,icon:./images/favorite.png,activeIcon:./images/favorite_a.png,action:(){this.pageName FavoritePagethis.title Favoritethis.changeState(2)}}State toolBarItemMessage:ToolbarItem {value:Message,icon:./images/message.png,activeIcon:./images/message_a.png,action:(){this.pageName MessagePagethis.title Messagethis.changeState(3)}}State toolBarItemAccount:ToolbarItem {value:Account,icon:./images/account.png,activeIcon:./images/account_a.png,action:(){this.pageName AccountPagethis.title Accountthis.changeState(4)}}State toolBars:ToolbarItem[] [this.toolBarItemHome,this.toolBarItemMaps,this.toolBarItemFavorite,this.toolBarItemMessage,this.toolBarItemAccount];State pageName:string HomePage;State title:string Homebuild() {Navigation(this.pageStack){if(this.pageName HomePage){HomePage()}else if(this.pageName MapsPage){MapsPage()}else if(this.pageName FavoritePage){FavoritePage()}else if(this.pageName MessagePage){MessagePage()}else {AccountPage()}}.titleMode(NavigationTitleMode.Mini)//标题模式.title(this.title)//设置标题.menus([this.menuItem])//设置顶部菜单.toolbarConfiguration(this.toolBars)//底部工具栏} }实现效果
http://www.hkea.cn/news/14362493/

相关文章:

  • 个人网站可以做企业宣传建设厅是做什么的
  • 株洲企业网站建设资源共享网站开发
  • 开发一个企业网站需要多少钱网页设计实训总结怎么写
  • 中山市城市建设档案馆网站单页营销型网站模板
  • 云营销网站建设电话咨询专业网站设计专业服务
  • 中山百度网站推广文化传媒有限公司网站建设
  • 网站建设与优化网站导航条和表格怎么做
  • 网站留言板带后台模板域名注册免费申请
  • 信息技术网站开发汽车4s店网站建设方案
  • 自己做网站制作进口博览会2022
  • 贵州住房建设厅网站wordpress淘宝客主题破解版
  • 嘉峪关建设局网站品牌推广语
  • 免费的网站软件山东网页定制
  • 织梦网站怎么搬家网站建设与管理吴振峰ppt
  • 做标签网站刷单ug编程培训
  • 建立网站的好处传统网络营销策划方案
  • 网站建设工作室wp主题模板游戏推广渠道
  • 商城网站验收网站建设选哪个好
  • 上海在线做网站静态网站做新闻系统
  • 网站开通宣传怎么写鲜花网站建设结构布局
  • 广东十大网站建设品牌山西网站群建设
  • wordpress 更多内容seo专员工作容易学吗
  • 如何做网站meta设置辽宁省建设工程信息网平台电话
  • 网站备案视频萧县做网站的公司
  • 正规网站建设推荐谁好呢php wordpress 开源
  • 多语言网站怎么实现网站设计深圳网站建设公司
  • ps做网站编排水利建设工程网站
  • 自己怎么手机做网站怎么做空包网站
  • 射阳住房和城乡建设局网站徐州市网站建设
  • 网站设计知识东莞建站公司快荐全网天下特别好