Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
fanmingyou
2023-12-27 11:16:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5e759750f3e16dd69b26d1873d210dfdeff30bff
5e759750
1 parent
925bad65
修改注释
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
sight_harmony/wdComponent/src/main/ets/components/CardView.ets
sight_harmony/wdComponent/src/main/ets/components/CardView.ets
View file @
5e75975
...
...
@@ -9,7 +9,7 @@ const TAG = 'CardView';
* 卡片结构:上下结构
* 卡片宽度:充满父窗口
* 卡片高度,由3部分:
* 1.
图片宽高比为16:9;
* 1.
上部图片高度由图片的宽度及宽高比决定,上部图片宽度占父窗口'100%',宽高比为16:9
* 2.一行title文字高度
* 3.一行author头像及名称高度
*/
...
...
@@ -82,8 +82,8 @@ export struct SingleColumn01CardView {
* 卡片结构:上下结构,上部分再左右结构(左图右文)
* 卡片宽度:充满父窗口
* 卡片高度,由2部分组成:
* 1.左侧图片宽高比为3:4;右侧文本及按钮等
* 2.最多3行title文字高度
* 1.左侧图片高度由图片的宽度及宽高比决定,左侧图片宽度占父窗口'38%',宽高比为3:4;右侧文本及按钮等垂直线性排列
* 2.最多3行description文字高度
*/
@Component
export struct SingleColumn02CardView {
...
...
Please
register
or
login
to post a comment