wangliang_wd

feat:优化动态详情页底部功能栏

... ... @@ -21,7 +21,7 @@ export enum HostEnum {
* 环境host管理工具类
*/
export class HostManager {
private static _hostUrl: HostEnum = HostEnum.HOST_UAT;
private static _hostUrl: HostEnum = HostEnum.HOST_PRODUCT;
static changeHost(host: HostEnum) {
HostManager._hostUrl = host;
... ...
... ... @@ -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() {
... ...
... ... @@ -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 }) {
... ...