Showing
2 changed files
with
3 additions
and
2 deletions
| @@ -151,7 +151,7 @@ export struct ImageAndTextPageComponent { | @@ -151,7 +151,7 @@ export struct ImageAndTextPageComponent { | ||
| 151 | 151 | ||
| 152 | } | 152 | } |
| 153 | .width(CommonConstants.FULL_WIDTH) | 153 | .width(CommonConstants.FULL_WIDTH) |
| 154 | - .height(CommonConstants.FULL_HEIGHT) | 154 | + // .height(CommonConstants.FULL_HEIGHT) |
| 155 | .padding({ bottom: 76 }) | 155 | .padding({ bottom: 76 }) |
| 156 | .scrollBar(BarState.Off) | 156 | .scrollBar(BarState.Off) |
| 157 | .align(Alignment.Top) | 157 | .align(Alignment.Top) |
| @@ -34,6 +34,7 @@ export struct ImageAndTextWebComponent { | @@ -34,6 +34,7 @@ export struct ImageAndTextWebComponent { | ||
| 34 | let sourcePage: string = '5' | 34 | let sourcePage: string = '5' |
| 35 | let creatorId = await SPHelper.default.get(SpConstants.USER_CREATOR_ID, '') || '' | 35 | let creatorId = await SPHelper.default.get(SpConstants.USER_CREATOR_ID, '') || '' |
| 36 | let isLogin = await SPHelper.default.get(SpConstants.USER_STATUS, '') || '0' | 36 | let isLogin = await SPHelper.default.get(SpConstants.USER_STATUS, '') || '0' |
| 37 | + let loadImageOnlyWifiSwitch = await SPHelper.default.get(SpConstants.SETTING_WIFI_IMAGE_SWITCH, '') || false | ||
| 37 | if (this.action.params) { | 38 | if (this.action.params) { |
| 38 | if (this.action.params.contentID) { | 39 | if (this.action.params.contentID) { |
| 39 | contentId = this.action.params?.contentID | 40 | contentId = this.action.params?.contentID |
| @@ -63,7 +64,7 @@ export struct ImageAndTextWebComponent { | @@ -63,7 +64,7 @@ export struct ImageAndTextWebComponent { | ||
| 63 | creatorId: creatorId, | 64 | creatorId: creatorId, |
| 64 | cnsTraceId: '', | 65 | cnsTraceId: '', |
| 65 | isLogin: isLogin, | 66 | isLogin: isLogin, |
| 66 | - loadImageOnlyWifiSwitch: '2', | 67 | + loadImageOnlyWifiSwitch: loadImageOnlyWifiSwitch ? '2' : '1', |
| 67 | networkStatus: Number(NetworkUtil.isNetConnected()), | 68 | networkStatus: Number(NetworkUtil.isNetConnected()), |
| 68 | darkMode: 'light', | 69 | darkMode: 'light', |
| 69 | fontSizes: 'small' | 70 | fontSizes: 'small' |
-
Please register or login to post a comment