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
wangliang_wd
2024-06-03 16:23:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bac64a97e657103b93fa06dbbd194a1a42bcc075
bac64a97
1 parent
43aecf84
feat:修改启动广告点击,优化早晚报组件展示
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/PaperTitleComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/InteractMessagePage.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
sight_harmony/products/phone/src/main/ets/pages/launchPage/LaunchAdvertisingPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/PaperTitleComponent.ets
View file @
bac64a9
...
...
@@ -54,7 +54,7 @@ export struct PaperTitleComponent {
.margin({ left: 10 })
.fontSize(22)
.fontColor($r('app.color.white'))
.font
Weight(900
)
.font
Family('Source Han Serif CN'
)
.maxLines(1)
...
...
@@ -133,7 +133,7 @@ export struct PaperTitleComponent {
.linearGradient({
direction: GradientDirection.Right, // 渐变方向
repeating: false, // 渐变颜色是否重复
colors: [[0x4dffffff, 0.0], [0x33ffffff, 0.
3
], [0x1affffff,0.6], [0x03ffffff,1]] // 数组末尾元素占比小于1时满足重复着色效果
colors: [[0x4dffffff, 0.0], [0x33ffffff, 0.
2
], [0x1affffff,0.6], [0x03ffffff,1]] // 数组末尾元素占比小于1时满足重复着色效果
})
.margin({ left:8, right: 0})
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
bac64a9
...
...
@@ -451,9 +451,9 @@ export struct PaperSingleColumn999CardView {
Text(DateTimeUtils.getFormattedDuration(this.item?.videoInfo.videoDuration * 1000))
.fontColor(Color.White)
.fontSize($r('app.float.vp_12'))
.fontWeight(500)
.textAlign(TextAlign.End)
.lineHeight(18)
.fontFamily('BebasNeue')
.textShadow({
radius: 2,
color: 'rgba(0,0,0,0.3)',
...
...
@@ -509,7 +509,7 @@ export struct PaperSingleColumn999CardView {
Text(this.item?.photoNum.toString())
.fontColor(Color.White)
.fontSize($r('app.float.vp_12'))
.font
Weight(500
)
.font
Family('BebasNeue'
)
.textAlign(TextAlign.End)
.lineHeight(18)
.textShadow({
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/InteractMessagePage.ets
View file @
bac64a9
...
...
@@ -98,12 +98,14 @@ struct InteractMessagePage {
Column(){
Row(){
Text('共获')
.fontSize(18)
.fontSize(18)
.height(40).align(Alignment.Bottom)
Text(this.likeNum.toString())
.fontSize(
3
0)
.fontSize(
4
0)
.fontColor(Color.Red)
.fontFamily('BebasNeue')
.margin(5).height(40).align(Alignment.Bottom)
Text('赞')
.fontSize(18)
.fontSize(18)
.height(40).align(Alignment.Bottom)
}.height(75)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
View file @
bac64a9
...
...
@@ -261,6 +261,7 @@ struct MyCollectionListPage {
if (this.allDatas.length === 0) {
this.browSingModel.viewType = ViewType.EMPTY;
this.browSingModel.emptyType = WDViewDefaultType.WDViewDefaultType_NoCollection
this.browSingModel.hasMore === true
this.isDisplayButton = false;
}
...
...
sight_harmony/products/phone/src/main/ets/pages/launchPage/LaunchAdvertisingPage.ets
View file @
bac64a9
...
...
@@ -168,6 +168,7 @@ struct LaunchAdvertisingPage {
///埋点
this.trackingLaunchClick()
this.enter()
if(this.defaultModel.linkUrl.length > 0){
if (this.defaultModel.openType == '2') {
...
...
Please
register
or
login
to post a comment