zhenghy

Merge remote-tracking branch 'origin/main'

1 import MinePageMoreFunctionModel from '../../viewmodel/MinePageMoreFunctionModel' 1 import MinePageMoreFunctionModel from '../../viewmodel/MinePageMoreFunctionModel'
2 import { WDRouterRule, WDRouterPage } from 'wdRouter' 2 import { WDRouterRule, WDRouterPage } from 'wdRouter'
3 import { Params } from 'wdBean'; 3 import { Params } from 'wdBean';
  4 +import { ToastUtils } from 'wdKit/Index';
4 5
5 @Component 6 @Component
6 export default struct MinePageMoreFunctionUI { 7 export default struct MinePageMoreFunctionUI {
@@ -75,6 +76,8 @@ export default struct MinePageMoreFunctionUI { @@ -75,6 +76,8 @@ export default struct MinePageMoreFunctionUI {
75 WDRouterRule.jumpWithPage(WDRouterPage.settingPage, params) 76 WDRouterRule.jumpWithPage(WDRouterPage.settingPage, params)
76 }else if (item.msg == "关于") { // 关于 77 }else if (item.msg == "关于") { // 关于
77 WDRouterRule.jumpWithPage(WDRouterPage.aboutPage) 78 WDRouterRule.jumpWithPage(WDRouterPage.aboutPage)
  79 + }else if (item.msg == "意见反馈") { // 关于
  80 + ToastUtils.shortToast("待开发")
78 } 81 }
79 }) 82 })
80 .height('117lpx') 83 .height('117lpx')
@@ -49,6 +49,7 @@ export struct OperRowListView { @@ -49,6 +49,7 @@ export struct OperRowListView {
49 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态 49 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态
50 @State likeBean: Record<string, string> = {} 50 @State likeBean: Record<string, string> = {}
51 @State audioUrl: string= '' 51 @State audioUrl: string= ''
  52 + @State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
52 needLike: boolean = true 53 needLike: boolean = true
53 54
54 async aboutToAppear() { 55 async aboutToAppear() {
@@ -120,7 +121,7 @@ export struct OperRowListView { @@ -120,7 +121,7 @@ export struct OperRowListView {
120 .backgroundColor(Color.White) 121 .backgroundColor(Color.White)
121 .padding({ 122 .padding({
122 top: 10, 123 top: 10,
123 - bottom: 50 124 + bottom: `${this.bottomSafeHeight}px`
124 }) 125 })
125 } 126 }
126 127
@@ -95,7 +95,7 @@ class MinePageDatasModel{ @@ -95,7 +95,7 @@ class MinePageDatasModel{
95 } 95 }
96 // this.moreData.push(new MinePageMoreFunctionModel("扫一扫",$r('app.media.mine_scan'))) 96 // this.moreData.push(new MinePageMoreFunctionModel("扫一扫",$r('app.media.mine_scan')))
97 // this.moreData.push(new MinePageMoreFunctionModel("我的奖品",$r('app.media.mine_mygift'))) 97 // this.moreData.push(new MinePageMoreFunctionModel("我的奖品",$r('app.media.mine_mygift')))
98 - // this.moreData.push(new MinePageMoreFunctionModel("意见反馈",$r('app.media.mine_suggest'))) 98 + this.moreData.push(new MinePageMoreFunctionModel("意见反馈",$r('app.media.mine_suggest')))
99 this.moreData.push(new MinePageMoreFunctionModel("设置",$r('app.media.mine_setting'))) 99 this.moreData.push(new MinePageMoreFunctionModel("设置",$r('app.media.mine_setting')))
100 this.moreData.push(new MinePageMoreFunctionModel("关于",$r('app.media.mine_about'))) 100 this.moreData.push(new MinePageMoreFunctionModel("关于",$r('app.media.mine_about')))
101 return this.moreData 101 return this.moreData