wangliang_wd

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

@@ -21,7 +21,7 @@ export enum HostEnum { @@ -21,7 +21,7 @@ export enum HostEnum {
21 * 环境host管理工具类 21 * 环境host管理工具类
22 */ 22 */
23 export class HostManager { 23 export class HostManager {
24 - private static _hostUrl: HostEnum = HostEnum.HOST_UAT; 24 + private static _hostUrl: HostEnum = HostEnum.HOST_PRODUCT;
25 25
26 static changeHost(host: HostEnum) { 26 static changeHost(host: HostEnum) {
27 HostManager._hostUrl = host; 27 HostManager._hostUrl = host;
@@ -184,7 +184,14 @@ export struct ImageAndTextPageComponent { @@ -184,7 +184,14 @@ export struct ImageAndTextPageComponent {
184 detailedSkeleton().padding({ bottom: 44 }) 184 detailedSkeleton().padding({ bottom: 44 })
185 } 185 }
186 } 186 }
187 - // 底部交互区 187 +
  188 + }
  189 + .margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`})
  190 + .width(CommonConstants.FULL_WIDTH)
  191 + // .height(CommonConstants.FULL_HEIGHT)
  192 +
  193 + Stack(){
  194 + // 底部交互区 固定底部
188 OperRowListView({ 195 OperRowListView({
189 contentDetailData: this.contentDetailData, 196 contentDetailData: this.contentDetailData,
190 publishCommentModel: this.publishCommentModel, 197 publishCommentModel: this.publishCommentModel,
@@ -211,9 +218,10 @@ export struct ImageAndTextPageComponent { @@ -211,9 +218,10 @@ export struct ImageAndTextPageComponent {
211 } 218 }
212 }) 219 })
213 } 220 }
214 - .margin({top: `${this.topSafeHeight}px`, bottom: `${this.bottomSafeHeight}px`}) 221 + .alignContent(Alignment.Top)
  222 + .position({y:'86%'})
215 .width(CommonConstants.FULL_WIDTH) 223 .width(CommonConstants.FULL_WIDTH)
216 - // .height(CommonConstants.FULL_HEIGHT) 224 + .height(120)
217 225
218 // 发布时间 226 // 发布时间
219 Column() { 227 Column() {
@@ -250,8 +250,8 @@ struct createImg { @@ -250,8 +250,8 @@ struct createImg {
250 Image(this.loadImg ? item.fullUrl : '') 250 Image(this.loadImg ? item.fullUrl : '')
251 .backgroundColor(index === 2 ? 0xffffff : 0xf5f5f5) 251 .backgroundColor(index === 2 ? 0xffffff : 0xf5f5f5)
252 .aspectRatio(1) 252 .aspectRatio(1)
253 - .width(113)  
254 - .height(113) 253 + .width('226lvp')
  254 + .height('226lvp')
255 .borderRadius(this.caclImageRadius(index)) 255 .borderRadius(this.caclImageRadius(index))
256 if(this.getPicType(item.weight, item.height) !== 3){ 256 if(this.getPicType(item.weight, item.height) !== 3){
257 Flex({ direction: FlexDirection.Row }) { 257 Flex({ direction: FlexDirection.Row }) {