From f17eb8c8ebf8fada870bda62b464e0ec628169a2 Mon Sep 17 00:00:00 2001 From: fanzhaonan Date: Sat, 18 Mar 2023 17:56:14 +0800 Subject: [PATCH] bugfix Signed-off-by: fanzhaonan --- .../design-interaction-event-normalization.md | 10 +++++----- .../figures/zh-cn_image_0000001280472701.png | Bin 5943 -> 3744 bytes .../typical-layout-scenario.md | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/design-interaction-event-normalization.md b/zh-cn/application-dev/key-features/multi-device-app-dev/design-interaction-event-normalization.md index 9bef5805ea..21d43d67ca 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/design-interaction-event-normalization.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/design-interaction-event-normalization.md @@ -11,12 +11,12 @@ 用户通过点击某个元素触发功能、访问新页面、或改变自身状态。 - | **输入方式** | **交互行为** | **示意** | +| **输入方式** | **交互行为** | **示意** | | -------- | -------- | -------- | -| 触屏 | 单指单击 | ![zh-cn_image_0000001280472681](figures/zh-cn_image_0000001280472681.png) | -| 鼠标 | 左键单击 / 左键双击 | ![zh-cn_image_0000001236472600](figures/zh-cn_image_0000001236472600.png) | -| 触摸板 | 单指单击 / 单指双击 | ![zh-cn_image_0000001280232265](figures/zh-cn_image_0000001280232265.png) | -| 键盘 | 移动焦点到对象上后按下Enter键 | ![zh-cn_image_0000001280472701](figures/zh-cn_image_0000001280472701.png) | +| 触屏 | 单指单击 | ![zh-cn_image_0000001280472681](figures/zh-cn_image_0000001280472681.png) | +| 鼠标 | 左键单击 / 左键双击 | ![zh-cn_image_0000001236472600](figures/zh-cn_image_0000001236472600.png) | +| 触摸板 | 单指单击 / 单指双击 | ![zh-cn_image_0000001280232265](figures/zh-cn_image_0000001280232265.png) | +| 键盘 | 移动焦点到对象上后按下Space键 | ![zh-cn_image_0000001280472701](figures/zh-cn_image_0000001280472701.png) | 一般地,触屏手指的按下/抬起行为对应于光标的按下/抬起行为。 diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/figures/zh-cn_image_0000001280472701.png b/zh-cn/application-dev/key-features/multi-device-app-dev/figures/zh-cn_image_0000001280472701.png index cabcaf5667a4093f188b59b9ce092abd975ab5d8..a27b306ab5457819b1a57599e2a7a95d81faf5c3 100644 GIT binary patch literal 3744 zcma)8c{mhY-&V2>6Jjh=_U$o7NhCWpWM`N#ma;V%TPWKkMOcRe~ zgs7O2hB2XdCXprk)}!#w^L^hR-}~45p6fd2{LXd#u5+F1{OfMaclVn8}f`hIGAT%p1@g*QtSg1I_PqP(**Q|C4`%s0;Mj&JA zEUt_2DckUx#YMbI{~Ff$lARFI;CSz@(s}CHdeh{??UQ=Y_9fCdalCihc`vMinD}$9 zFlwsMAZkkDm`?SL3#Z5o)Je^$5fhGgOJs(M_Q>ey3w@|WPN4XEWiP4NEvE$9Z@p^k zwj0<6-}aZ*wh4|2`+M6bJ5*1pIJcIUTOm%U%qA2;Kd2J0e9l7OzJC2dYJ4w1NXKQ# z%E}Ju==ooY@$vLbu(JJ25@;dAxfF3p@0T-+%~lX;hxvxdd}vc&bbb5gokW}?;_*aU zA#8drZ+?4;{T`yZ;`wf~^bL$~+IKIfaxuFScE-2u>oqb>-ex7n&N#DY7%O#GYLHx3H+cSDdLqPWHkmV>05#_G@xz;v)=td|GqIh$j*>2 zS){axU4t@0K@ng4uz(6)-x90EC#dWcr zI2p`fI0`ivD}9z(v(@=4zEihmK?w2@4_u|6H!#Qo0)cn<25V(b1P5{}&K-9Z^9Y3Z z>$CD(Hl=;|$19^O76avBD!uy6p}grHjX<}?4AwHQ4%m@PO8n9$=tJV2I;m~) z=j^o!N&3$qW(7e+oSYKnEGKWA@ICIQRlKZe%E7N-wCIc<1G?UWtE16qQRBN=9YHrA z70@dxDvVVAAgW1GJgI?ijwgM(4$9)Ys%sQoMtHqzi|5^QBxWM7!SA2cS68=8PE4RIWX(&hV;9pu4iEb^G&CHB zDfR|5uv)dG88RuMSliSygvx#U zx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RDx~$$qHsUE|ZP}P{y?Z=#~B4o&KP64v)lH{J5*K zVp~6uME|p5w-3=DM=_6SbeU2qXm*|X=mvnf9Gi%=HY9&8yutjI>YDDu%r24mj*+B; zAc8)Hptnh-g?%{^t#@#Xxh685ObS5UH5N3$`QcY&cP_cjB6uUHna+*BG@z&Jo4e^+w*UQGmY!=XOx>RcsnP5^4?w=-W; z+(nvv$YW`^V0X2xKsm16AUBQ5r9h{9&Or3^Z7pmWzFUE7K0{Lb#jtz5;eMZ9EjWew zhPJuS3(bd&xl($G44~0SfV)~UbubeQrnL!1Zjo{)0wAGh9aq-w&P3A>(5a4UYj7;4 z^#W|ugXj6!qj>IIcM8RxNHfkf(x>=%Zut`$XG&;E(~;yvX6W*D5_k@qM3r*qORAMZ zRrMv@ubxKi=CMvhl%czQqib+A)$KFfZ z=ayq3G#9F2GXTg8^)hflR*wM^RQ>b$tWs=?&w*9dewiX#2=t$8r2l5Z#9(ae=FP1# X(=CQ*r}T56*^Q^AuBTS5ViWaWtRs(2 diff --git a/zh-cn/application-dev/key-features/multi-device-app-dev/typical-layout-scenario.md b/zh-cn/application-dev/key-features/multi-device-app-dev/typical-layout-scenario.md index 52ea5884a2..84bcab1d59 100644 --- a/zh-cn/application-dev/key-features/multi-device-app-dev/typical-layout-scenario.md +++ b/zh-cn/application-dev/key-features/multi-device-app-dev/typical-layout-scenario.md @@ -470,6 +470,7 @@ struct Item { NavDestination() { Details({imageSrc: this.imageSrc}) }.title(this.label) + .backgroundColor('#FFFFFF') } } } @@ -491,7 +492,7 @@ struct NavigationSample { .backgroundColor('#F1F3F5') .height('100%') .width('100%') - .navBarWidth('40%') + .navBarWidth(360) .hideToolBar(true) .title('Sample') } -- GitLab