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
王士厅
2024-05-14 18:41:52 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
59942c6082a5a10e9aa65299f0536056802ccf51
59942c60
2 parents
e19d3737
007d8696
Merge branch 'main' of
http://192.168.1.42/developOne/harmonyPool
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
10 deletions
sight_harmony/commons/wdKit/src/main/ets/utils/ToastUtils.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card20Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/PageNoMoreLayout.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/HorizontalStrokeCardThreeTwoRadioForMoreComponent.ets
sight_harmony/features/wdComponent/src/main/ets/utils/RefreshConstants.ets
sight_harmony/commons/wdKit/src/main/ets/utils/ToastUtils.ets
View file @
59942c6
...
...
@@ -5,7 +5,7 @@ export class ToastUtils {
private static shortToastTime: number = 1000
static showToast(message: ResourceStr, duration: number) {
prompt.showToast({ message: message, duration: duration })
prompt.showToast({ message: message, duration: duration
, alignment: Alignment.Center
})
}
static shortToast(message: ResourceStr) {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
View file @
59942c6
...
...
@@ -27,6 +27,7 @@ export struct Card19Component {
.textOverflowStyle(3)
.margin({ bottom: 8 })
.width(CommonConstants.FULL_WIDTH)
.lineHeight(22)
.onClick((event: ClickEvent) => {
this.clicked = true;
ProcessUtils.processPage(this.contentDTO)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card20Component.ets
View file @
59942c6
...
...
@@ -31,7 +31,7 @@ export struct Card20Component {
.width(CommonConstants.FULL_WIDTH)
.textOverflowStyle(3)
.margin({ bottom: 8 })
.lineHeight(2
0
)
.lineHeight(2
2
)
}
if (this.contentDTO.fullColumnImgUrls[0]) {
createImg({ contentDTO: this.contentDTO })
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
View file @
59942c6
...
...
@@ -55,7 +55,7 @@ export struct Card6Component {
this.contentDTO.objectType == '5' ? 30 : 0)
}.alignContent(Alignment.TopStart)
}.height("
80
%")
}.height("
75
%")
.justifyContent(FlexAlign.Start)
...
...
@@ -64,7 +64,7 @@ export struct Card6Component {
}
.alignItems(HorizontalAlign.Start)
.justifyContent(FlexAlign.Start)
.width('
58
%')
.width('
64
%')
Stack() {
Image(this.loadImg ? this.contentDTO.coverUrl : '')
...
...
@@ -87,7 +87,7 @@ export struct Card6Component {
bottom: $r('app.float.card_comp_pagePadding_tb')
})
.width(CommonConstants.FULL_WIDTH)
.height(this.contentDTO.appStyle === CompStyle.Card_13 ? 1
2
7 : 217)
.height(this.contentDTO.appStyle === CompStyle.Card_13 ? 1
0
7 : 217)
.justifyContent(FlexAlign.SpaceBetween)
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/PageNoMoreLayout.ets
View file @
59942c6
...
...
@@ -27,6 +27,5 @@ export default struct PageNoMoreLayout {
.width(RefreshConstants.FULL_WIDTH)
.justifyContent(FlexAlign.Center)
.height(RefreshConstants.CUSTOM_LAYOUT_HEIGHT)
.margin({bottom:RefreshConstants.NoMoreLayoutConstant_MARGIN_BOTTOM})
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultComponent.ets
View file @
59942c6
...
...
@@ -40,7 +40,7 @@ export struct SearchResultComponent {
SearcherAboutDataModel.getSearchSuggestData(request, getContext(this)).then((value) => {
value.forEach((item) => {
if(item.
appStyl
e != "13"){
if(item.
objectTyp
e != "13"){
this.data.push(item)
}
})
...
...
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultContentComponent.ets
View file @
59942c6
...
...
@@ -185,7 +185,7 @@ export struct SearchResultContentComponent {
}
let contentDTO = this.dataTransform(value, photos);
if
(contentDTO.appStyle != "13")
{
if
(value.data.type != "13")
{
this.data.push(contentDTO)
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/view/HorizontalStrokeCardThreeTwoRadioForMoreComponent.ets
View file @
59942c6
...
...
@@ -70,7 +70,7 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent {
.textAlign(TextAlign.Start)
.margin({ top: 8 })
.width(150)
.lineHeight(1
7
)
.lineHeight(1
9
)
}
}
.padding({ left: (index == 0) ? 16 : 0, right: (index == this.compDTO.operDataList.length - 1) ? 16 : 0 })
...
...
sight_harmony/features/wdComponent/src/main/ets/utils/RefreshConstants.ets
View file @
59942c6
...
...
@@ -49,7 +49,6 @@ export class RefreshConstants {
static readonly NoMoreLayoutConstant_NORMAL_PADDING: number = 8;
static readonly NoMoreLayoutConstant_TITLE_FONT: string = '16vp';
static readonly NoMoreLayoutConstant_TITLE_COLOR: string = '#666666';
static readonly NoMoreLayoutConstant_MARGIN_BOTTOM: number = 40;
/**
* The RefreshLayout constants.
*/
...
...
Please
register
or
login
to post a comment