wangliang_wd

Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main

* 'main' of http://192.168.1.42/developOne/harmonyPool:
  feat: 18447 横滑卡-选择跳转右滑至卡片结尾_查看更多交互效果与安卓不一致且不跳转到配置的页面
  feat: resetMoreTips
  fix(17493):人民号冷启动卡-行间距过大、功能按钮位置偏下
  feat: 18447 横滑卡-选择跳转右滑至卡片结尾_查看更多交互效果与安卓不一致且不跳转到配置的页面
  fix(17493):人民号冷启动卡-行间距过大、功能按钮位置偏下
@@ -321,6 +321,10 @@ @@ -321,6 +321,10 @@
321 "value": "15vp" 321 "value": "15vp"
322 }, 322 },
323 { 323 {
  324 + "name": "vp_15_7",
  325 + "value": "15.7vp"
  326 + },
  327 + {
324 "name": "vp_18", 328 "name": "vp_18",
325 "value": "18vp" 329 "value": "18vp"
326 }, 330 },
@@ -55,6 +55,7 @@ export struct ZhSingleRow02 { @@ -55,6 +55,7 @@ export struct ZhSingleRow02 {
55 if (this.moreWidth > this.initMoreWidth) { 55 if (this.moreWidth > this.initMoreWidth) {
56 this.moreWidth = 16 56 this.moreWidth = 16
57 } 57 }
  58 + this.resetMoreTips()
58 } 59 }
59 60
60 toMore() { 61 toMore() {
@@ -26,7 +26,7 @@ export struct PeopleShipRecommendComponent { @@ -26,7 +26,7 @@ export struct PeopleShipRecommendComponent {
26 .height('30vp') 26 .height('30vp')
27 .fontColor($r('app.color.color_222222')) 27 .fontColor($r('app.color.color_222222'))
28 .fontWeight(600) 28 .fontWeight(600)
29 - .fontSize($r('app.float.vp_18')) 29 + .fontSize($r('app.float.vp_15_7'))
30 30
31 Blank() 31 Blank()
32 Button({ type: ButtonType.Normal, stateEffect: false }) { 32 Button({ type: ButtonType.Normal, stateEffect: false }) {
@@ -35,7 +35,7 @@ export struct PeopleShipRecommendComponent { @@ -35,7 +35,7 @@ export struct PeopleShipRecommendComponent {
35 .height('30vp') 35 .height('30vp')
36 .fontColor($r('app.color.color_999999')) 36 .fontColor($r('app.color.color_999999'))
37 .fontWeight(400) 37 .fontWeight(400)
38 - .fontSize($r('app.float.vp_14')) 38 + .fontSize($r('app.float.vp_13'))
39 Image($r('app.media.ic_refresh')) 39 Image($r('app.media.ic_refresh'))
40 .width('14vp') 40 .width('14vp')
41 .height('14vp') 41 .height('14vp')
@@ -56,7 +56,7 @@ export struct PeopleShipRecommendComponent { @@ -56,7 +56,7 @@ export struct PeopleShipRecommendComponent {
56 .width('100%') 56 .width('100%')
57 .alignSelf(ItemAlign.Start) 57 .alignSelf(ItemAlign.Start)
58 .margin({ 58 .margin({
59 - top: '10vp', 59 + top: '-50vp',
60 bottom: '10vp' 60 bottom: '10vp'
61 }) 61 })
62 62
@@ -75,7 +75,7 @@ export struct PeopleShipRecommendComponent { @@ -75,7 +75,7 @@ export struct PeopleShipRecommendComponent {
75 .columnsTemplate('1fr 1fr 1fr') 75 .columnsTemplate('1fr 1fr 1fr')
76 .columnsGap(20) 76 .columnsGap(20)
77 .rowsGap(16) 77 .rowsGap(16)
78 - .height(Math.ceil(this.rmhList.length / 3.0) * 132) 78 + .height(Math.ceil(this.rmhList.length / 3.0) * 126)
79 .backgroundColor(Color.Transparent) 79 .backgroundColor(Color.Transparent)
80 .margin({ 80 .margin({
81 right: '20vp', 81 right: '20vp',
@@ -94,7 +94,7 @@ export struct PeopleShipRecommendComponent { @@ -94,7 +94,7 @@ export struct PeopleShipRecommendComponent {
94 .borderRadius('3vp') 94 .borderRadius('3vp')
95 .fontColor($r('app.color.color_999999')) 95 .fontColor($r('app.color.color_999999'))
96 .fontWeight(500) 96 .fontWeight(500)
97 - .fontSize($r('app.float.vp_14')) 97 + .fontSize($r('app.float.vp_13'))
98 .fontColor(Color.White) 98 .fontColor(Color.White)
99 .onClick(() => { 99 .onClick(() => {
100 // 点击一键关注 100 // 点击一键关注
@@ -11,8 +11,8 @@ export struct PeopleShipRecommendHeadComponent { @@ -11,8 +11,8 @@ export struct PeopleShipRecommendHeadComponent {
11 Column(){ 11 Column(){
12 Stack({ alignContent: Alignment.BottomEnd }) { 12 Stack({ alignContent: Alignment.BottomEnd }) {
13 Image(this.rmhInfo.headPhotoUrl.length > 0 ? this.rmhInfo.headPhotoUrl : $r('app.media.WDAccountOwnerHedaerDefaultIcon')) 13 Image(this.rmhInfo.headPhotoUrl.length > 0 ? this.rmhInfo.headPhotoUrl : $r('app.media.WDAccountOwnerHedaerDefaultIcon'))
14 - .width('44vp')  
15 - .height('44vp') 14 + .width('40vp')
  15 + .height('40vp')
16 .borderRadius('22vp') 16 .borderRadius('22vp')
17 .objectFit(ImageFit.Cover) 17 .objectFit(ImageFit.Cover)
18 18
@@ -23,12 +23,12 @@ export struct PeopleShipRecommendHeadComponent { @@ -23,12 +23,12 @@ export struct PeopleShipRecommendHeadComponent {
23 .margin({ 23 .margin({
24 right: '-3vp' 24 right: '-3vp'
25 }) 25 })
26 - }.margin({ top: 12, bottom: 8 }) 26 + }.margin({ top: 4, bottom: 8 })
27 27
28 Row() { 28 Row() {
29 Text(this.rmhInfo.userName) 29 Text(this.rmhInfo.userName)
30 .fontColor($r('app.color.color_222222')) 30 .fontColor($r('app.color.color_222222'))
31 - .fontSize($r('app.float.vp_14')) 31 + .fontSize($r('app.float.vp_13'))
32 .fontWeight(600) 32 .fontWeight(600)
33 .maxLines(1) 33 .maxLines(1)
34 .textOverflow({overflow: TextOverflow.Ellipsis}) 34 .textOverflow({overflow: TextOverflow.Ellipsis})
@@ -49,14 +49,14 @@ export struct PeopleShipRecommendHeadComponent { @@ -49,14 +49,14 @@ export struct PeopleShipRecommendHeadComponent {
49 49
50 Text(this.rmhInfo.introduction) 50 Text(this.rmhInfo.introduction)
51 .fontColor($r('app.color.color_B0B0B0')) 51 .fontColor($r('app.color.color_B0B0B0'))
52 - .fontSize($r('app.float.vp_12'))  
53 - .margin({ top: 8, bottom: 14 }) 52 + .fontSize($r('app.float.vp_11'))
  53 + .margin({ top: 6, bottom: 14 })
54 .textOverflow({overflow: TextOverflow.Ellipsis}) 54 .textOverflow({overflow: TextOverflow.Ellipsis})
55 .maxLines(2) 55 .maxLines(2)
56 .height(34) 56 .height(34)
57 } 57 }
58 .width('100%') 58 .width('100%')
59 - .height('116vp') 59 + .height('110vp')
60 60
61 } 61 }
62 62
@@ -175,7 +175,14 @@ export struct LiveHorizontalCardComponent { @@ -175,7 +175,14 @@ export struct LiveHorizontalCardComponent {
175 }) 175 })
176 }) 176 })
177 } 177 }
178 - if (this.compDTO.operDataList.length >= 2) { 178 + if (this.compDTO.operDataList.length >= 2 && !(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '')) {
  179 + Row() {
  180 + Ellipse()
  181 + .width(2* (this.moreWidth - this.initMoreWidth - 1))
  182 + .height('100%')
  183 + .fill(0xe9e9e9)
  184 + .position({ left: -(this.moreWidth - this.initMoreWidth - 3) * 0.8 , top: 0 })
  185 +
179 Column() { 186 Column() {
180 if (this.moreWidth > this.initMoreWidth + 2) { 187 if (this.moreWidth > this.initMoreWidth + 2) {
181 Text(this.moreTips) 188 Text(this.moreTips)
@@ -186,10 +193,12 @@ export struct LiveHorizontalCardComponent { @@ -186,10 +193,12 @@ export struct LiveHorizontalCardComponent {
186 } 193 }
187 .justifyContent(FlexAlign.Center) 194 .justifyContent(FlexAlign.Center)
188 .align(Alignment.Center) 195 .align(Alignment.Center)
189 - .width(this.moreWidth)  
190 - .backgroundColor(0xf1f3f4) 196 + .height('100%')
  197 + .width(this.initMoreWidth)
  198 + .backgroundColor(0xe9e9e9)
191 .borderRadius({ topLeft: 5, bottomLeft: 5 }) 199 .borderRadius({ topLeft: 5, bottomLeft: 5 })
192 - .height(this.compDTO.operDataList.length == 2 ? 180 : 146) 200 + }
  201 + .margin({left: 1.5 * (this.moreWidth - this.initMoreWidth)})
193 } 202 }
194 } 203 }
195 } 204 }
@@ -211,6 +220,7 @@ export struct LiveHorizontalCardComponent { @@ -211,6 +220,7 @@ export struct LiveHorizontalCardComponent {
211 .onTouch((event?: TouchEvent) => { 220 .onTouch((event?: TouchEvent) => {
212 if(event) { 221 if(event) {
213 if (event.type === TouchType.Up) { 222 if (event.type === TouchType.Up) {
  223 + this.toMore();
214 this.resetEdgeAnimation(); 224 this.resetEdgeAnimation();
215 } 225 }
216 } 226 }
@@ -321,6 +321,10 @@ @@ -321,6 +321,10 @@
321 "value": "15vp" 321 "value": "15vp"
322 }, 322 },
323 { 323 {
  324 + "name": "vp_15_7",
  325 + "value": "15.7vp"
  326 + },
  327 + {
324 "name": "vp_18", 328 "name": "vp_18",
325 "value": "18vp" 329 "value": "18vp"
326 }, 330 },