yuzhilin

fix:16871 新闻-顶部logo、间距过大,搜索滚动词与早晚报字体样式与安卓不一致

@@ -10,6 +10,7 @@ import Url from '@ohos.url' @@ -10,6 +10,7 @@ import Url from '@ohos.url'
10 import { ContentDTO, PhotoListBean } from 'wdBean'; 10 import { ContentDTO, PhotoListBean } from 'wdBean';
11 import { handleJsCallAppService } from './JsCallAppService' 11 import { handleJsCallAppService } from './JsCallAppService'
12 import { HttpUtils } from 'wdNetwork/Index'; 12 import { HttpUtils } from 'wdNetwork/Index';
  13 +
13 const TAG = 'JsBridgeBiz' 14 const TAG = 'JsBridgeBiz'
14 15
15 class AppInfo { 16 class AppInfo {
@@ -20,6 +21,7 @@ class AppInfo { @@ -20,6 +21,7 @@ class AppInfo {
20 screenTabbarSafeHeight: number = 42 // TODO 这里需要动态获取 21 screenTabbarSafeHeight: number = 42 // TODO 这里需要动态获取
21 imei: string = HttpUtils.getImei() 22 imei: string = HttpUtils.getImei()
22 device_id: string = HttpUtils.getDeviceId() 23 device_id: string = HttpUtils.getDeviceId()
  24 + fontSizes: string = 'small'
23 // TODO 完善 25 // TODO 完善
24 } 26 }
25 27
@@ -61,13 +61,12 @@ export struct ImageAndTextPageComponent { @@ -61,13 +61,12 @@ export struct ImageAndTextPageComponent {
61 Text(this.publishTime) 61 Text(this.publishTime)
62 .fontColor($r('app.color.color_B0B0B0')) 62 .fontColor($r('app.color.color_B0B0B0'))
63 .fontSize($r('app.float.font_size_13')) 63 .fontSize($r('app.float.font_size_13'))
64 - .height('100%')  
65 - .align(Alignment.End)  
66 } 64 }
67 .width(CommonConstants.FULL_WIDTH) 65 .width(CommonConstants.FULL_WIDTH)
68 .height(32) 66 .height(32)
69 .padding({ left: 15, right: 15, }) 67 .padding({ left: 15, right: 15, })
70 .justifyContent(FlexAlign.SpaceBetween) 68 .justifyContent(FlexAlign.SpaceBetween)
  69 + .alignItems(VerticalAlign.Bottom)
71 .backgroundColor(Color.White) 70 .backgroundColor(Color.White)
72 71
73 Row() { 72 Row() {
@@ -66,7 +66,7 @@ export struct ImageAndTextWebComponent { @@ -66,7 +66,7 @@ export struct ImageAndTextWebComponent {
66 loadImageOnlyWifiSwitch: '2', 66 loadImageOnlyWifiSwitch: '2',
67 networkStatus: Number(NetworkUtil.isNetConnected()), 67 networkStatus: Number(NetworkUtil.isNetConnected()),
68 darkMode: 'light', 68 darkMode: 'light',
69 - fontSizes: 'normalsize' 69 + fontSizes: 'small'
70 70
71 } as H5ReceiveDataExtraBean 71 } as H5ReceiveDataExtraBean
72 let h5ReceiveDataJsonBean: H5ReceiveDataJsonBean = { 72 let h5ReceiveDataJsonBean: H5ReceiveDataJsonBean = {
@@ -197,7 +197,7 @@ export struct TopNavigationComponent { @@ -197,7 +197,7 @@ export struct TopNavigationComponent {
197 .width(18) 197 .width(18)
198 .height(18) 198 .height(18)
199 Text('早晚报') 199 Text('早晚报')
200 - .fontColor($r('app.color.color_B0B0B0')) 200 + .fontColor("#666666")
201 .fontSize($r('app.float.font_size_13')) 201 .fontSize($r('app.float.font_size_13'))
202 } 202 }
203 .alignItems(VerticalAlign.Center) 203 .alignItems(VerticalAlign.Center)
@@ -54,7 +54,7 @@ export struct FirstTabTopSearchComponent { @@ -54,7 +54,7 @@ export struct FirstTabTopSearchComponent {
54 ForEach(this.searchTextData, (item: string, index: number) => { 54 ForEach(this.searchTextData, (item: string, index: number) => {
55 Text(item) 55 Text(item)
56 .fontWeight(400) 56 .fontWeight(400)
57 - .fontColor($r('app.color.color_B0B0B0')) 57 + .fontColor("#666666")
58 .fontSize($r('app.float.font_size_13')) 58 .fontSize($r('app.float.font_size_13'))
59 .textAlign(TextAlign.Start) 59 .textAlign(TextAlign.Start)
60 .maxLines(1) 60 .maxLines(1)