王士厅
@@ -34,6 +34,7 @@ export struct TabChatItemComponent { @@ -34,6 +34,7 @@ export struct TabChatItemComponent {
34 top: 10, bottom: 4 34 top: 10, bottom: 4
35 }) 35 })
36 .onClick(() => { 36 .onClick(() => {
  37 + if (this.item.customizeExpression == 1) {return}
37 this.gotoMultipleListImagePage(this.item.pictureUrls[0]) 38 this.gotoMultipleListImagePage(this.item.pictureUrls[0])
38 }) 39 })
39 } 40 }
@@ -255,14 +255,20 @@ export struct TabLiveItemComponent { @@ -255,14 +255,20 @@ export struct TabLiveItemComponent {
255 255
256 if (this.item.isWall == 1) { 256 if (this.item.isWall == 1) {
257 Blank().layoutWeight(1) 257 Blank().layoutWeight(1)
258 -  
259 - Text() {  
260 - Span(' 上墙 ')  
261 - .foregroundColor("#CB0000")  
262 - .fontSize(11)  
263 - .lineHeight(20)  
264 - .textBackgroundStyle({ color: "#70FFC63F", radius: 2 })  
265 - }.lineHeight(20).fontSize('14fp').fontWeight(400) 258 + Text(' 上墙 ')
  259 + .maxLines(1)
  260 + .textOverflow({ overflow: TextOverflow.Ellipsis })
  261 + .fontSize(11)
  262 + .fontWeight(400)
  263 + .fontColor("#CB0000")
  264 + .backgroundColor('#F1EFEB')
  265 + .padding({
  266 + left: 4,
  267 + top: 1,
  268 + right: 4,
  269 + bottom: 1
  270 + })
  271 + .borderRadius(2)
266 } 272 }
267 } 273 }
268 .alignItems(VerticalAlign.Top) 274 .alignItems(VerticalAlign.Top)
@@ -13,7 +13,7 @@ export struct UpgradeTipDialog { @@ -13,7 +13,7 @@ export struct UpgradeTipDialog {
13 maxWidth: number = 0 13 maxWidth: number = 0
14 scroller: Scroller = new Scroller(); 14 scroller: Scroller = new Scroller();
15 aboutToAppear(): void { 15 aboutToAppear(): void {
16 - this.maxHeight = DisplayUtils.getDeviceHeight() * 0.6 16 + this.maxHeight = DisplayUtils.getDeviceHeight() * 0.65
17 this.maxWidth = DisplayUtils.getDeviceWidth() * 0.76 17 this.maxWidth = DisplayUtils.getDeviceWidth() * 0.76
18 18
19 // this.tipContent.content = "1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电" 19 // this.tipContent.content = "1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电1、啊啊啊啊啊啊\n2、啊啊啊啊啊\n4、阿斯兰减肥的垃圾发电"
@@ -54,14 +54,16 @@ export struct UpgradeTipDialog { @@ -54,14 +54,16 @@ export struct UpgradeTipDialog {
54 .fontColor("#222222") 54 .fontColor("#222222")
55 .fontSize(18) 55 .fontSize(18)
56 .textAlign(TextAlign.Center) 56 .textAlign(TextAlign.Center)
  57 + .fontFamily('PingFang SC-Medium')
57 58
58 Scroll(this.scroller) { 59 Scroll(this.scroller) {
59 Column() { 60 Column() {
60 Row() { 61 Row() {
61 Text(this.tipContent.content) 62 Text(this.tipContent.content)
62 - .fontColor("#000000") 63 + .fontColor("#222222")
63 .fontSize(14) 64 .fontSize(14)
64 .textAlign(TextAlign.Start) 65 .textAlign(TextAlign.Start)
  66 + .lineHeight(24)
65 } 67 }
66 .alignItems(VerticalAlign.Top) 68 .alignItems(VerticalAlign.Top)
67 .width("100%") 69 .width("100%")
@@ -70,8 +72,8 @@ export struct UpgradeTipDialog { @@ -70,8 +72,8 @@ export struct UpgradeTipDialog {
70 .padding({left: 24, right: 24}) 72 .padding({left: 24, right: 24})
71 } 73 }
72 .width("100%") 74 .width("100%")
73 - .margin({top: 16, bottom: 2})  
74 - // .backgroundColor(Color.Brown) 75 + .margin({top: 12, bottom: 2})
  76 + // .backgroundColor(Color.Pink)
75 .layoutWeight(1) 77 .layoutWeight(1)
76 78
77 /// 灰色线 79 /// 灰色线
@@ -100,7 +102,7 @@ export struct UpgradeTipDialog { @@ -100,7 +102,7 @@ export struct UpgradeTipDialog {
100 102
101 if (this.tipContent.forceUpgrade) { 103 if (this.tipContent.forceUpgrade) {
102 Text("温馨提示:本次更新为必要更新,若您选择拒绝,将无法再使用app") 104 Text("温馨提示:本次更新为必要更新,若您选择拒绝,将无法再使用app")
103 - .fontColor("999999") 105 + .fontColor("#999999")
104 .fontSize(12) 106 .fontSize(12)
105 .fontWeight(400) 107 .fontWeight(400)
106 .lineHeight(17) 108 .lineHeight(17)
@@ -49,7 +49,7 @@ export struct BottomNavigationComponent { @@ -49,7 +49,7 @@ export struct BottomNavigationComponent {
49 /** 49 /**
50 * Component opacity value: 0.6. 50 * Component opacity value: 0.6.
51 */ 51 */
52 - readonly SIXTY_OPACITY: number = 0.6; 52 + readonly SIXTY_OPACITY: number = 0.8;
53 // 用于传参到顶导组件,【不用channelParam,主要是时序问题,需要先底导处理完,再延时触发顶导处理】 53 // 用于传参到顶导组件,【不用channelParam,主要是时序问题,需要先底导处理完,再延时触发顶导处理】
54 @State assignChannel: AssignChannelParam = new AssignChannelParam() 54 @State assignChannel: AssignChannelParam = new AssignChannelParam()
55 // 自动刷新触发(双击tab自动刷新) 55 // 自动刷新触发(双击tab自动刷新)
@@ -140,7 +140,7 @@ export struct BottomNavigationComponent { @@ -140,7 +140,7 @@ export struct BottomNavigationComponent {
140 .fontWeight(this.currentNavIndex === index ? FontWeight.Bold : FontWeight.Normal) 140 .fontWeight(this.currentNavIndex === index ? FontWeight.Bold : FontWeight.Normal)
141 .textAlign(TextAlign.Center) 141 .textAlign(TextAlign.Center)
142 .fontSize($r('app.float.font_size_10'))// .fontColor(this.currentNavIndex === index ? Color.Red : Color.Gray) 142 .fontSize($r('app.float.font_size_10'))// .fontColor(this.currentNavIndex === index ? Color.Red : Color.Gray)
143 - .fontColor(this.currentNavIndex === index ? navItem.nameCColor : navItem.nameColor) 143 + .fontColor(this.currentNavIndex === index ? this.setTabbarNameCColor(navItem) : this.setTabbarNameColor(navItem))
144 .opacity(this.currentNavIndex === index ? this.FULL_OPACITY : this.SIXTY_OPACITY) 144 .opacity(this.currentNavIndex === index ? this.FULL_OPACITY : this.SIXTY_OPACITY)
145 } 145 }
146 .zIndex(10) 146 .zIndex(10)
@@ -167,10 +167,34 @@ export struct BottomNavigationComponent { @@ -167,10 +167,34 @@ export struct BottomNavigationComponent {
167 167
168 } 168 }
169 169
  170 + private setTabbarNameCColor(navItem:BottomNavDTO) {
  171 +
  172 + if (this.isImmersive) {
  173 + return navItem.immersiveNameCColor
  174 + }
  175 +
  176 + if (this.isNight) {
  177 + return navItem.nightNameCColor
  178 + }
  179 +
  180 + return navItem.nameCColor
  181 + }
  182 +
  183 + private setTabbarNameColor(navItem:BottomNavDTO) {
  184 +
  185 + if (this.isImmersive) {
  186 + return navItem.immersiveNameColor
  187 + }
  188 + if (this.isNight) {
  189 + return navItem.nightNameColor
  190 + }
  191 +
  192 + return navItem.nameColor
  193 + }
  194 +
170 getBottomImageKnifeOption(navItem: BottomNavDTO, isSelect: boolean): ImageKnifeOption { 195 getBottomImageKnifeOption(navItem: BottomNavDTO, isSelect: boolean): ImageKnifeOption {
171 let defaultIcon = this.getBottomLocalIcon(navItem, isSelect) 196 let defaultIcon = this.getBottomLocalIcon(navItem, isSelect)
172 let url = this.getBottomIcon(navItem, isSelect) 197 let url = this.getBottomIcon(navItem, isSelect)
173 -  
174 let imageKnifeOption: ImageKnifeOption = { 198 let imageKnifeOption: ImageKnifeOption = {
175 loadSrc: url, 199 loadSrc: url,
176 // 占位图使用本地资源 200 // 占位图使用本地资源
@@ -196,6 +220,9 @@ export struct BottomNavigationComponent { @@ -196,6 +220,9 @@ export struct BottomNavigationComponent {
196 if (this.isImmersive) { 220 if (this.isImmersive) {
197 // 获取沉浸式icon 221 // 获取沉浸式icon
198 icon = isSelect ? navItem.immersiveIconCUrl : navItem.immersiveIconUrl 222 icon = isSelect ? navItem.immersiveIconCUrl : navItem.immersiveIconUrl
  223 + } else if (this.isNight) {
  224 + // 获取暗黑模式 icon
  225 + icon = isSelect ? navItem.nightIconCUrl : navItem.nightIconUrl
199 } else { 226 } else {
200 // 获取常规icon 227 // 获取常规icon
201 icon = isSelect ? navItem.iconC : navItem.icon 228 icon = isSelect ? navItem.iconC : navItem.icon
@@ -259,7 +286,7 @@ export struct BottomNavigationComponent { @@ -259,7 +286,7 @@ export struct BottomNavigationComponent {
259 286
260 // 底导切换函数 287 // 底导切换函数
261 async onBottomNavigationIndexChange(navItem: BottomNavDTO, index: number) { 288 async onBottomNavigationIndexChange(navItem: BottomNavDTO, index: number) {
262 - Logger.info(TAG, `onBottomNavigationIndexChange this.currentNavIndex: ${this.currentNavIndex}`); 289 + Logger.info(TAG, `onBottomNavigationIndexChange to Index:${index},this.currentNavIndex: ${this.currentNavIndex}`);
263 290
264 if (navItem.name === '我的') { 291 if (navItem.name === '我的') {
265 this.barBackgroundColor = Color.White 292 this.barBackgroundColor = Color.White