赞
踩
根据路线图上的重点去进行有针对性的学习,在学习过程中,学会写笔记,做总结。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
这里分享一些前端学习笔记:
html5 / css3 学习笔记
JavaScript 学习笔记
Vue 学习笔记
ohos:width="100vp"
ohos:left_of="$id:text_center"
ohos:below="$id:text_center"
ohos:background_element="#FF9912"
ohos:padding="8vp"
ohos:multiple_lines="true"
ohos:text="left_of and below"
ohos:text_size="18fp"
ohos:text_color="#FFFFFF"/>
复制
<?xml version="1.0" encoding="utf-8"?> <DependentLayout xmlns:ohos="http://schemas.huawei.com/res/ohos" ohos:height="500vp" ohos:width="500vp" ohos:background_element="#878787"> <Text ohos:height="100vp" ohos:width="match_content" ohos:align_parent_left="true" ohos:background_element="#FF9912" ohos:padding="12vp" ohos:multiple_lines="true" ohos:text="align_parent_left" ohos:text_alignment="vertical_center" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="match_content" ohos:align_parent_right="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_right" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="match_content" ohos:align_parent_top="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_top" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="match_content" ohos:align_parent_bottom="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_bottom" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="match_content" ohos:center_in_parent="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="center_in_parent" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="match_content" ohos:horizontal_center="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="horizontal_center" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="match_content" ohos:vertical_center="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="vertical_center" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> </DependentLayout>
复制
<?xml version="1.0" encoding="utf-8"?> <DependentLayout xmlns:ohos="http://schemas.huawei.com/res/ohos" ohos:height="500vp" ohos:width="640vp" ohos:background_element="#878787"> <Text ohos:height="match_content" ohos:width="match_content" ohos:center_in_parent="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="center_in_parent" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:align_parent_left="true" ohos:align_parent_top="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_left and align_parent_top" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:align_parent_left="true" ohos:align_parent_bottom="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_left and align_parent_bottom" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:align_parent_right="true" ohos:align_parent_top="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_right and align_parent_top" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:align_parent_right="true" ohos:align_parent_bottom="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="align_parent_right and align_parent_bottom" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:horizontal_center="true" ohos:align_parent_top="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="horizontal_center and align_parent_top" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:horizontal_center="true" ohos:align_parent_bottom="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="horizontal_center and align_parent_bottom" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:vertical_center="true" ohos:align_parent_left="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="vertical_center and align_parent_left" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> <Text ohos:height="match_content" ohos:width="190vp" ohos:vertical_center="true" ohos:align_parent_right="true" ohos:background_element="#228B22" ohos:padding="8vp" ohos:multiple_lines="true" ohos:text="vertical_center and align_parent_right" ohos:text_size="18fp" ohos:text_color="#FFFFFF"/> </DependentLayout>
复制
使用DependentLayout可以轻松实现内容丰富的布局。
源码示例:
<?xml version="1.0" encoding="utf-8"?> <DependentLayout xmlns:ohos="http://schemas.huawei.com/res/ohos" ohos:width="match_parent" ohos:height="match_content" ohos:background_element="$graphic:color_background_gray_element"> <Text ohos:id="$+id:text1" ohos:width="match_parent" ohos:height="match_content" ohos:text_size="25fp" ohos:top_margin="15vp" ohos:left_margin="15vp" ohos:right_margin="15vp" ohos:background_element="$graphic:color_gray_element" ohos:text="Title" ohos:text_weight="1000" ohos:text_alignment="horizontal_center" /> <Text ohos:id="$+id:text2" ohos:width="match_content" ohos:height="120vp" ohos:text_size="10fp" ohos:background_element="$graphic:color_gray_element" ohos:text="Catalog" ohos:top_margin="15vp" ohos:left_margin="15vp" ohos:right_margin="15vp" ohos:bottom_margin="15vp" ohos:align_parent_left="true" ohos:text_alignment="center" ohos:multiple_lines="true" ohos:below="$id:text1" ohos:text_font="serif"/> <Text ohos:id="$+id:text3" ohos:width="match_parent" ohos:height="120vp" ohos:text_size="25fp" ohos:background_element="$graphic:color_gray_element" ohos:text="Content" ohos:top_margin="15vp" ohos:right_margin="15vp" ohos:bottom_margin="15vp" ohos:text_alignment="center" ohos:below="$id:text1" ohos:end_of="$id:text2" ohos:text_font="serif"/> <Button ohos:id="$+id:button1" ohos:width="70vp" ohos:height="match_content" ohos:text_size="15fp" ohos:background_element="$graphic:color_gray_element" ohos:text="Previous" ohos:right_margin="15vp" ohos:bottom_margin="15vp" ohos:below="$id:text3" ohos:left_of="$id:button2" ohos:italic="false" ohos:text_weight="5" ohos:text_font="serif"/> <Button ohos:id="$+id:button2" ohos:width="70vp" ohos:height="match_content" ohos:text_size="15fp" ohos:background_element="$graphic:color_gray_element" ohos:text="Next" ohos:right_margin="15vp" ohos:bottom_margin="15vp" ohos:align_parent_end="true" ohos:below="$id:text3" ohos:italic="false" ohos:text_weight="5" ohos:text_font="serif"/> </DependentLayout>
复制
color_background_gray_element.xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:ohos="http://schemas.huawei.com/res/ohos"
ohos:shape="rectangle">
<solid
ohos:color="#ffbbbbbb"/>
</shape>
复制
color_gray_element.xml:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:ohos="http://schemas.huawei.com/res/ohos"
ohos:shape="rectangle">
<solid
ohos:color="#878787"/>
</shape>
为了能够让大家跟上互联网时代的技术迭代,赶上互联网开发人员寒冬期间一波红利,在这里跟大家分享一下我自己近期学习心得以及参考网上资料整理出的一份最新版的鸿蒙学习提升资料,有需要的小伙伴自行领取,限时开源,先到先得~~~~
需要以上视频学习资料小伙伴
这份手册涵盖了当前鸿蒙 (Harmony OS) 开发技术必掌握的核心知识点
HarmonyOS 概念:
如何快速入门?
开发基础知识:
基于ArkTS 开发:
技术是没有终点的,也是学不完的,最重要的是活着、不秃。零基础入门的时候看书还是看视频,我觉得成年人,何必做选择题呢,两个都要。喜欢看书就看书,喜欢看视频就看视频。最重要的是在自学的过程中,一定不要眼高手低,要实战,把学到的技术投入到项目当中,解决问题,之后进一步锤炼自己的技术。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
技术学到手后,就要开始准备面试了,找工作的时候一定要好好准备简历,毕竟简历是找工作的敲门砖,还有就是要多做面试题,复习巩固。
与访问
基于ArkTS 开发:
技术是没有终点的,也是学不完的,最重要的是活着、不秃。零基础入门的时候看书还是看视频,我觉得成年人,何必做选择题呢,两个都要。喜欢看书就看书,喜欢看视频就看视频。最重要的是在自学的过程中,一定不要眼高手低,要实战,把学到的技术投入到项目当中,解决问题,之后进一步锤炼自己的技术。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
技术学到手后,就要开始准备面试了,找工作的时候一定要好好准备简历,毕竟简历是找工作的敲门砖,还有就是要多做面试题,复习巩固。
[外链图片转存中…(img-VKhPZGhw-1715898432922)]
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。