鸿蒙项目实战-月木学途:2.自定义底部导航

效果预览

Tabs组件简介

Tabs组件的页面组成包含两个部分,分别是TabContent和TabBar。TabContent是内容页,TabBar是导航页签栏,页面结构如下图所示,根据不同的导航类型,布局会有区别,可以分为底部导航、顶部导航、侧边导航,其导航栏分别位于底部、顶部和侧边。

Tabs组件基本布局

自定义导航栏思路

1.标明底部导航属性

Tabs({ barPosition: BarPosition.End }) {

2.自定义导航项tabBar

/*** 自定义导航项TabBar* @param title 标题* @param targetIndex  目标索引* @param selectedImg 选中图片* @param normalImg 未选中图片*/@Builder TabBuilder(title: string, targetIndex: number, selectedImg: string, normalImg: string) {Column() {Image(this.currentIndex === targetIndex ? selectedImg : normalImg).size({ width: 25, height: 25 })Text(title).fontColor(this.currentIndex === targetIndex ? '#1698CE' : '#6B6B6B')}.width('100%').height(50).justifyContent(FlexAlign.Center)}

3.导航绑定切换事件

//这里的index对应的是tabBar组件的索引,从0依次增加.onChange((index) => {this.currentIndex = index})

4.把每个页面封装成组件,引入到中TabContent

import layout_index from "./layout_index"
TabContent() {layout_index().height("100%") //使用页面组件,高度设为100%}

 

代码实现

import layout_index from "./layout_index"@Entry //标明入口组件,可以由此启动项目
@Component
struct layout {//初始化当前标签索引@State currentIndex: number = 0;/*** 自定义导航项TabBar* @param title 标题* @param targetIndex  目标索引* @param selectedImg 选中图片* @param normalImg 未选中图片*/@Builder TabBuilder(title: string, targetIndex: number, selectedImg: string, normalImg: string) {Column() {Image(this.currentIndex === targetIndex ? selectedImg : normalImg).size({ width: 25, height: 25 })Text(title).fontColor(this.currentIndex === targetIndex ? '#1698CE' : '#6B6B6B')}.width('100%').height(50).justifyContent(FlexAlign.Center)}build() {/*** 底部导航*/Tabs({ barPosition: BarPosition.End }) {TabContent() {layout_index().height("100%") //使用页面组件,高度设为100%}.tabBar(this.TabBuilder('首页',0,'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADwJJREFUeF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s6uJneAgAzW+hgIcRdzQwY5/cW5E6OU41paQoATGMWx3G2q1QqL1pbdRrG4eHhea7r/iNNmWnIKgAwxYr1en33oaGhJ9Iw7lQZtVpt2zAMjdO5ZFGXSZkFADa17kIhxNosDa6U4mvzv8pSh4nsAgCRtZJkKTMxONOmkVjLVOdM9AUAXrfMM+VyeX9bb9+0M1atWrXj+Pg4Z0PN8oGHWNUqAMB5bhADz/POj2WxlIjyMgoUAACAcrn8rr6+vr+n1LexxIyMjOxZr9cfj0WcIVEBAICfCCGyfGFjxu7LKNG2EVzmPABs38w1svIMxFrrXiK6JA1ZtjLmPAAcxzmgUqkYZ9m0NfjGfNFDT/y6eNvKnAdAlhs/zXo1D7uDcx4AiPg2z/NebdZZWfyutX4rv86Zhey4Muc8AJIaIK6hZ6LL4MENoyolbX/HJ4hIagAja09DXAAg/SdnjPqkAIBI9BEnYuae6vQvwAhtxQjwZgsUAEj90S0jTCYdAYsRwMjcs+8DKABQACCZBYopoJgC2pomLukcmAz+ne8EF1NAQgR0+ghYAKAAQDILdPoXkKz1xRRQbAR1+E5oMQUkHAI6fQQsAFAAIJkFOv0LSNb6wgcofIDCB+jsnbBiBEhogWIK6OwPoHAC5/gHkAYAnm7XHTkies73/R0S9mEidqVUR7c/MQC01jcR0VGJrGjPvFYIsdCePTlnp7c/MQDaGRbW7pPASfi0yw9Ko/2pACACwRoiOhgRt0/+XTWUwFm/HvA8b0HGeozEK6U6sv3/A+m6k3xg1Nk8AAAAAElFTkSuQmCC',))TabContent() {Text('课程').fontSize(30)}.tabBar(this.TabBuilder('课程',1,'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAByNJREFUeF7tnV+IVHUUx7+/2c0ewsLA7CH7AwWRFSQ9qBAoZDt3FINA68EEk0LrYTECs9076d5hDYRSgxKMgnwxe4gs5+4akQ+RiUQkWfQQSPXgGhQVPai784u7q26LO/eee+/M3HvPfPd1vr/f75zv+c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R/1ut1jpEnACAO2XLXb7oigJgWolzALAEAK4qnzSD4VHRAAyGyiWOUgEocXL64ZoC0A+VS7yGAlDi5PTDtZ4BaLVaFxAx7cuS+xGjrtFFgW6vro+GIaeec+6LzutTOVM9XkIFEPFhY8zbc7kWB4Dozl10B08/FVSgVqstnb4fM5v7LABBEGwgoiMVjF1dBjhnrb2jmxAsABMTEzcODw+fVzWrpwAR7fV9f7QnAKLBzrm9ADBSPQkG2uPfEXG5MebLngEIguBmIvoUAK4daEmrFfxua+0OzmW2BUxPoF/lclKW6vhJa+0DcTyKDUCnFej3+XFULdAGET8yxtwb14VEACgEcWUtxo6765fqMnC2QZ12sBMAul5iFCPDQK76JyLuNsbsShp94gowvUAQBFcQ0QgRbULEW5IurPaZKfAOIjaMMafTzJgagJmLNZvNlZ7n3ddut6/rfG+wMI0zOoZVIDrTLxJR9O/s/PnzT27duvUiO6qLQSYA9OKAji1WAQWgWP0LX10BKDwFxTrwN4vyssyjF0qPAAAAAElFTkSuQmCC',))TabContent() {Text('个人').fontSize(30)}.tabBar(this.TabBuilder('个人',2,'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADMZJREFUeF7tnQmQHFUZx3/fzCRGNCgRSZAEsOSoAgSlgOK0iCTZ6U0wQDDcJSiXBBRQwCTTk2F7AhEKk8rBYSiwNByGI4Q1O7OBHBQohqBQoqUiWNwCJoRDMAk7/ay3uwmRkEzPTE+/17vdVVu9k3nv+/+///tvp6/3PaEvbyXvWERG4KvdEUYAI1Bs+n0AsBZYg8galFrbu18DqUU4U//Ul6XZlJv0qSRL3r7A0UALSCuoz9SfnzwHahGKh/l0ZTkjC131x7K3Z/wNUJp+IKpyDiJ64A9pitTCaygeQvx7yE5b0hQMQ0Hja4DOoj60XwLon0ER6ncviptodZdHiNk0qPgZYPGVgxk4+OLegd+1acpUD7wA1I04+cerN7W3RbwMUC5eiNJ/8Wo/ayRVzGfHgT/i6K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atGmvZ5M7w1Bqv46ZTLp58+aPlEql4VpoQglggmzpUourVH2PiHN8319VC3QoASillgFAIgsVagHOvg/NwHIiWlCrdigBSCm3I+JHaxnLvneHAWZ+VQhxQC1ENQVQLpcne55nZeVqLfDZ9+MzoLWeUiwWt41Xq6YApJTHIOKGjOz0McDMxwohnowqgDmI6NRmh+nrCjuImXmuEGLc/RhrngGUUl83WbHthJB5jcjAVUTUE+kMoJT6CQBcFRFI1twOAzcT0eKoArgTAObawZ95jcjAXUR0YVQBPJGt7Y/YDfaabyCicdPohxkDvAIAU+zFkHmOwMBWIpoa9QzAEQBkTS0zQETj/sjDnAEyAVjuxCjuMwFEYa8F2sYhAHMr0WpC5hboB1shvEJEB0YdA/wBAEwe36ykj4HHiej4SAKQUppUpt3piz1DDAA3ENHVkQSglPoSAAxkdKaSgaOJ6JlIAjCNlVJmW9S6lx2lkrLWAV3zNrAJteZloKlUqVQ+rrW+HwCObB1+WjqSpzzP+2KhUHipVpShBGCMSCmPQMSfZwPCWpRa//6uoaEhWrRo0athkIQWgDE2MDAwaXBw0DweNse4lxdhnGd1YmXATNox29qurMdqXQIYNVzNCjYqhHr8ZXXjZ8Cc5ns6Ojp6GkkY1ZAARmOojg3OQMTTmdlkCZscf3yZxb0w8DQArAOARyZNmrRu/vz5rzfKUiQBvNtpEAQnVvfrPQQRp2utd78CgNklJCv1M7AdAEwuQHNs8jzvKQBYG2ZwF9ZVrALYl1OzmbPZszeXy02tbu64fzW51NjXDyFinpnN4lOzeZR5HT3Cfk5q0ymTm28YEYeZ2ay+2f15H8eIqWPqmu+r73cCgNmn2CR4GtRa734d/Tw0NPRyPp/fmMT2Mf8HUqInvdeCtNMAAAAASUVORK5CYII=',))}//这里的index对应的是tabBar组件的索引,从0依次增加.onChange((index) => {this.currentIndex = index})//控制导航栏是否可以滚动,默认值为Fixed.barMode(BarMode.Fixed)}
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/39310.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

8617 阶乘数字和

这是一个关于计算阶乘结果所有位上的数字之和的问题。我们可以通过以下步骤来解决这个问题: 1. 首先,我们需要一个函数来计算阶乘。由于n的范围可以达到50,阶乘的结果可能非常大,所以我们需要使用一个可以处理大整数的数据类型&a…

怎么找到DNS服务器的地址?

所有域都注册到域名名称服务器(DNS)点,以解析域名应指向的IP地址。此查找类似于在查找个人名称并查找其电话号码时的电话簿如何运行。如果DNS服务器设置错误或指向错误的名称服务器,则域可能无法加载相应的网页。 如何查找当前的…

(3)Java 8 实战第二版——使用流和Lambda进行高效编程

集合工厂 List<String> friends Arrays.asList("Raphael", "Olivia"); friends.set(0, "Richard"); friends.add("Thibaut"); ←---- 抛出一个UnsupportedModificationException异常通过工厂方法创建的Collection的底层…

CrossViT:用于图像分类的交叉注意多尺度Vision Transformer

提出了一种双支路Transformer来组合不同大小的图像补丁(即变压器中的令牌)以产生更强的图像特征。方法处理具有不同计算复杂度的两个独立分支的小补丁和大补丁令牌,然后这些令牌纯粹通过注意多次融合以相互补充。此外,为了减少计算量,开发了一个简单而有效的基于交叉关注的令…

C++基础编程100题-020 OpenJudge-1.3-20 计算2的幂

更多资源请关注纽扣编程微信公众号 http://noi.openjudge.cn/ch0103/20/ 描述 给定非负整数n&#xff0c;求2n。 输入 一个整数n。0 < n < 31。 输出 一个整数&#xff0c;即2的n次方。 样例输入 3样例输出 8参考程序-1 #include<bits/stdc.h> using nam…

JavaScript高级程序设计(第四版)--学习记录之对象、类和面向对象编程(中)

创建对象方式 工厂模式&#xff1a;用于抽象创建特定对象的过程。可以解决创建多个类似对象的问题&#xff0c;但没有解决对象标识问题。&#xff08;即新创建的对象是什么类型&#xff09; function createPerson(name, age, job) { let o new Object(); o.name name; o.age…

Android:移动垃圾软件

讲解政策相关,最近升级AI扫荡系统和证书防高风险,回复按留言时间来排,请耐心等待 移动垃圾软件 官方政策公告行为透明、信息披露清晰保护用户数据不要损害移动体验软件准则反垃圾软件政策Google API 服务用户数据政策官方政策公告 ​ 在 Google,我们相信,如果我们关注用户…

Retrofit源码阅读

动态代理在 Android 中的应用&#xff1a;Retrofit 源码解析 在之前的文章 《Andriod 网络框架 OkHttp 源码解析》 中我们分析了 OkHttp 的源代码。现在我们就来分析一下 OkHttp 的兄弟框架 Retrofit。关于 Retrofit 的注解的使用&#xff0c;可以参考其官方文档&#xff1a;h…

控制台厂商配额查询

概述 厂商推送限制 每个厂商通道都有对应的厂商配额和 QPS 限制&#xff0c;当请求超过限制且已配置厂商回执时&#xff0c;MobPush会采取以下措施&#xff1a; 当开发者推送请求超过厂商配额时&#xff0c;MobPush将通过自有通道进行消息下发。当开发者推送请求超过厂商 QPS…

Spark on k8s 源码解析执行流程

Spark on k8s 源码解析执行流程 1.通过spark-submit脚本提交spark程序 在spark-submit脚本里面执行了SparkSubmit类的main方法 2.运行SparkSubmit类的main方法&#xff0c;解析spark参数&#xff0c;调用submit方法 3.在submit方法里调用doRunMain方法&#xff0c;最终调用r…

算法-位图与底层运算逻辑

文章目录 1. 位图的理论基础2. 完整版位图实现3. 底层的运算逻辑-位运算 1. 位图的理论基础 首先我们要理解什么是位图, 位图的一些作用是什么 位图法就是bitmap的缩写。所谓bitmap&#xff0c;就是用每一位来存放某种状态&#xff0c;适用于大规模数据&#xff0c;但数据状态又…

Python+Pytest+Allure+Yaml+Pymysql+Jenkins+GitLab接口自动化测试框架详解

PythonPytestAllureYaml接口自动化测试框架详解 编撰人&#xff1a;CesareCheung 更新时间&#xff1a;2024.06.20 一、技术栈 PythonPytestAllureYamlJenkinsGitLab 版本要求&#xff1a;Python3.7.0,Pytest7.4.4,Allure2.18.1,PyYaml6.0 二、环境配置 安装python3.7&…

ROS2 RQT

1. RQT是什么 RQT是一个GUI框架&#xff0c;通过插件的方式实现了各种各样的界面工具。 强行解读下&#xff1a;RQT就像插座&#xff0c;任何电器只要符合插座的型号就可以插上去工作。 2.选择插件 这里我们可以选择现有的几个RQT插件来试一试&#xff0c;可以看到和话题、参…

金蝶云星空字段之间连续触发值更新

文章目录 金蝶云星空字段之间连续触发值更新场景说明具体需求&#xff1a;解决方案 金蝶云星空字段之间连续触发值更新 场景说明 字段A配置了字段B的计算公式&#xff0c;字段B配置了自动C的计算公式&#xff0c;修改A的时候&#xff0c;触发了B的重算&#xff0c;但是C触发不…

XMind2TestCase:高效测试用例设计工具

XMind2TestCase&#xff1a;高效测试用例设计工具 引言传统测试用例设计的问题1. Excel表格的局限性2. 传统测试管理工具的不足3. 自研测试管理工具的挑战 思维导图在测试用例设计中的应用思维导图的优势思维导图的挑战 简介安装使用方式命令行调用使用Web界面 使用示例XMind文…

广州自闭症机构哪家好

在广州&#xff0c;众多的自闭症康复机构中&#xff0c;星贝育园自闭症儿童康复学校以其独特的优势脱颖而出。 一、专业的师资团队 我们拥有一支经验丰富、专业素养极高的师资队伍。每位老师都经过严格的专业培训&#xff0c;深入了解自闭症儿童的特点和需求。他们不仅…

苍穹外卖项目 常用注解 + 动态sql

常用注解 常见的注解解析方法有两种&#xff1a; 编译期直接扫描&#xff1a;编译器在编译 Java 代码的时候扫描对应的注解并处理&#xff0c;比如某个方法使用Override 注解&#xff0c;编译器在编译的时候就会检测当前的方法是否重写了父类对应的方法。运行期通过反射处理&…

【基于R语言群体遗传学】-3-计算等位基因频率

书接上文&#xff0c;我们讲完了哈代温伯格基因型频率&#xff0c;也使用数据进行了拟合&#xff0c;那么接下来就是考虑一些计算的问题&#xff1a; 【基于R语言群体遗传学】-1-哈代温伯格基因型比例-CSDN博客 【基于R语言群体遗传学】-2-模拟基因型&#xff08;simulating …

WebKey备受瞩目的Web3.0新叙事,硬件与加密生态完美融合特性成为数字世界的新入口

在当今迅速发展的科技领域&#xff0c;Web3.0正在引领一场颠覆性的变革。而作为这一变革的先锋&#xff0c;WebKey无疑是备受瞩目的创新项目。它不仅代表了一种全新的技术趋势&#xff0c;更是数字世界中硬件与加密生态完美融合的典范。 硬件与加密生态的完美融合 WebKey的核心…

【QT】输入类控件

目录 Line Edit 核心属性 核心信号 正则表达式 示例&#xff1a;使用正则表达式验证输入框内容 示例&#xff1a;切换输入框密码模式下的显示状态 Text Edit 核心属性 核心信号 示例&#xff1a;获取多行输入框的内容同步显示到label 示例&#xff1a;获取文本的选…