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
fanmingyou3_wd
2024-01-26 20:08:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ec248dfc2948e1db02a3b47aec5165add9ca91a5
ec248dfc
1 parent
3cc16475
使SmallVideoCardComponent(页面)组件可以直接预览
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
PeopleDaily_Harmony/wdComponent/src/main/ets/components/SmallVideoCardComponent.ets
PeopleDaily_Harmony/wdComponent/src/main/resources/base/profile/main_pages.json
PeopleDaily_Harmony/wdComponent/src/main/ets/components/SmallVideoCardComponent.ets
View file @
ec248df
import { CommonConstants } from 'wdConstant/src/main/ets/constants/CommonConstants'
//
import { CommonConstants } from 'wdConstant/src/main/ets/constants/CommonConstants'
@Entry
@Component
...
...
@@ -57,7 +57,8 @@ export struct SmallVideoCardComponent {
.backgroundColor($r('app.color.color_4d000000'))
}
}
.width(CommonConstants.FULL_WIDTH)
// .width(CommonConstants.FULL_WIDTH)
.width('100%')
.height(184)
.padding({
top: 14,
...
...
PeopleDaily_Harmony/wdComponent/src/main/resources/base/profile/main_pages.json
View file @
ec248df
{
"src"
:
[
"pages/Index"
,
"pages/MainPage"
"components/SmallVideoCardComponent"
]
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment