当前位置:网站首页>第三次HarmonyOS培训
第三次HarmonyOS培训
2022-08-03 05:10:00 【曲水流觞683】
一,页面样式设计注意事项
页面 CSS 支持 id、class、tag 选择器,建议使用 class 选择器。
页面样式系统基于 flex 弹性布局进行设置,默认就是 flex 弹性布局,需要注意,弹性布局会自动的拉升和压缩内部元素模块宽度、高度。
鸿蒙封装的 JS 组件,有一个专门的样式说明,这个和传统的 CSS 写法有很大的差异,这个尤其需要注意。

2.在div组件中通过class引用定义样式
3. 使用容器组件list实现区域滚动效果 
4.滑动容器swiper
边栏推荐
- Common fluorescent dyes to modify a variety of groups and its excitation and emission wavelength data in the data
- JS学习笔记(三)
- js garbage collection mechanism
- 生活原则。
- 4.如何避免缓存穿透、缓存击穿、缓存雪崩
- Power button 561. An array of split
- typescript44-对象之间的类兼容器
- IO流及其操作
- 如何不耍流氓的做运维之-SHELL脚本
- BIOTIN ALKYNE CAS: 773888-45-2 Price, Supplier
猜你喜欢
随机推荐
1. 两数之和
在树莓派上搭建属于自己的网页(2)
探索性测试的概念及方法
C# async and multithreading
typescript43-类型兼容性说明
2017-06-11 Padavan 完美适配newifi mini【adbyby+SS+KP ...】youku L1 /小米mini
Common lipophilic cell membrane dyes DiO, Dil, DiR, Did spectrograms and experimental procedures
js中的闭包
ss-2.子项目互相访问(order80 -> payment8001)
ss-5.consul服务端+生产者+消费者
Gradle的安装配置
1054 求平均值 (20 分)
接口测试框架实战 | 流程封装与基于加密接口的测试用例设计
Tributyl-mercaptophosphane "tBuBrettPhos Pd(allyl)" OTf), 1798782-17-8
Where is the value of testers
Interface test framework combat (1) | Requests and interface request construction
DFS's complement to pruning
Kotlin-Flow common encapsulation class: the use of StateFlow
BIOTIN ALKYNE CAS: 773888-45-2 Price, Supplier
Tag stack - stack monotonically preparatory knowledge - lt. 739. The daily temperature








