当前位置:网站首页>HarmonyOS第三次培训笔记
HarmonyOS第三次培训笔记
2022-07-03 07:34:00 【某科学的初学者】
复现第一个页面截图

cookbook相关代码
<element name= "cb-swiper" src="./swiper/swiper"></element>
<element name= "cb-hotcate" src="./hotcate/hotcate"></element>
<div class= "cb-container">
<div class="cb-title">
<text>美食大全</text>
</div>
<div class="cb-body">
<list>
<list-item class="cb-body-item">
<cb-swiper list="{
{list}}"></cb-swiper>
</list-item>
<list-item class="cb-body-item">
<cb-hotcate></cb-hotcate>
</list-item>
</list>
</div>
</div>.cb-container {
flex-direction: column ;
}
.cb-body {
flex: 1;
}
.cb-body-item{
flex-direction: column;
}
.cb-title {
width: 100%;
height: 44px;
justify-content: center;
align-items: center;
background-color: #ee742f;
}
text{
font-size: 16px;
font-weight: normal;
color:#fff;
}// @ts-nocheck
import list from '../../../common/data/cook-list.json';
export default {
data: {
list: []
} ,
onInit() {
this.list=list.data
}
}边栏推荐
- Read config configuration file of vertx
- Common operations of JSP
- 技术干货|昇思MindSpore算子并行+异构并行,使能32卡训练2420亿参数模型
- Download address collection of various versions of devaexpress
- Application of pigeon nest principle in Lucene minshouldmatchsumscorer
- Leetcode 198: house raiding
- Technical dry goods Shengsi mindspire lite1.5 feature release, bringing a new end-to-end AI experience
- The difference between typescript let and VaR
- 带你全流程,全方位的了解属于测试的软件事故
- An overview of IfM Engage
猜你喜欢
随机推荐
List exercises after class
《指环王:力量之戒》新剧照 力量之戒铸造者亮相
UA camouflage, get and post in requests carry parameters to obtain JSON format content
Leetcode 213: looting II
昇思MindSpore再升级,深度科学计算的极致创新
为什么说数据服务化是下一代数据中台的方向?
Arduino Serial系列函数 有关print read 的总结
The babbage industrial policy forum
Read config configuration file of vertx
论文学习——鄱阳湖星子站水位时间序列相似度研究
Technical dry goods Shengsi mindspire lite1.5 feature release, bringing a new end-to-end AI experience
专题 | 同步 异步
TreeMap
The embodiment of generics in inheritance and wildcards
Collector in ES (percentile / base)
Introduction of buffer flow
Docker builds MySQL: the specified path of version 5.7 cannot be mounted.
Leetcode 198: house raiding
Jeecg data button permission settings
Summary of Arduino serial functions related to print read







![[coppeliasim4.3] C calls UR5 in the remoteapi control scenario](/img/ca/2f72ea3590c358a6c9884aaa1a1c33.png)

