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-07-05 14:44:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8542a3ad8a179696a5e7b30fff215ce78acbadbb
8542a3ad
1 parent
46006c0b
feat:优化动态详情页底部功能栏
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
sight_harmony/commons/wdNetwork/src/main/ets/http/HttpHostManager.ets
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
sight_harmony/commons/wdNetwork/src/main/ets/http/HttpHostManager.ets
View file @
8542a3a
...
...
@@ -21,7 +21,7 @@ export enum HostEnum {
* 环境host管理工具类
*/
export class HostManager {
private static _hostUrl: HostEnum = HostEnum.HOST_
UA
T;
private static _hostUrl: HostEnum = HostEnum.HOST_
PRODUC
T;
static changeHost(host: HostEnum) {
HostManager._hostUrl = host;
...
...
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
View file @
8542a3a
...
...
@@ -184,7 +184,14 @@ export struct ImageAndTextPageComponent {
detailedSkeleton().padding({ bottom: 44 })
}
}
// 底部交互区
}
.margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`})
.width(CommonConstants.FULL_WIDTH)
// .height(CommonConstants.FULL_HEIGHT)
Stack(){
// 底部交互区 固定底部
OperRowListView({
contentDetailData: this.contentDetailData,
publishCommentModel: this.publishCommentModel,
...
...
@@ -211,9 +218,10 @@ export struct ImageAndTextPageComponent {
}
})
}
.margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`})
.alignContent(Alignment.Top)
.position({y:'86%'})
.width(CommonConstants.FULL_WIDTH)
// .height(CommonConstants.FULL_HEIGHT
)
.height(120
)
// 发布时间
Column() {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
View file @
8542a3a
...
...
@@ -250,8 +250,8 @@ struct createImg {
Image(this.loadImg ? item.fullUrl : '')
.backgroundColor(index === 2 ? 0xffffff : 0xf5f5f5)
.aspectRatio(1)
.width(113)
.height(113)
.width('226lvp')
.height('226lvp')
.borderRadius(this.caclImageRadius(index))
if(this.getPicType(item.weight, item.height) !== 3){
Flex({ direction: FlexDirection.Row }) {
...
...
Please
register
or
login
to post a comment