# 商城 Mobile 組件 [toc] ## 手機切版寬度範圍 建議手機寬度還蓋範圍: **375px ~ 576px** 例外說明: * 最低寬原為 360px 的裝置多為 Android 4 版本,於 2021 年超過 90% 以上 google play app 不再繼續支援 Android 4.xx 版本。故建議不進行維護。 * iphone SE 的尺寸為 320px,占 iphone 總體市場( 未含 Android ) 1.2% 左右,故不建議列入主要維護項目,只要文字能夠正常顯示即可。 參考依據: [All Phones references](https://yesviz.com/viewport/) [IOS references](https://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions) ## Header **Naviagtion+SearchBar** :::info  ::: **Naviagtion+SegementBar** :::info  ::: ### Navigation bar :::info   ::: ### Search bar :::info  ::: ## SideBar :::info  ::: ## Segement bar :::info  ::: ## Tab bar :::info  ::: ## Modal :::info  ::: ## Modal - Bottom sheet 固定置底的 popup menu。 :::info 01  ::: ## Modal - Bottom Bar :::info 01  ::: ## Modal - Commmon ### Selector ::: info  ::: ### Path control :::info  ::: ### List :::info **01**  **02**  **03**  #### List-content ::: info  ::: ::: ### Card :::info **01**  **02**  **03**  **04**  ::: ### Menu :::info  ::: ## Form :::info  ::: ### 參考 [Google Material Design Guideline](https://m3.material.io/components/badges/overview) [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/components/all-components) ## 題外話 ### 關於在手機版上可恨的 safari 與 chrome 的網址列 與 tabbar 會導致跑版的問題 CSS 在 2021 釋出新的 css units 已可以被 chrome for android 、 safari on iOS、Android browser 支援,這些新的語法可以解決一直不斷發生的被 safari、chrome 網址列擋到的問題。現在支援度雖然還不夠,但感覺可以先記著,明年再來看看他的支援度成長到多少~ https://www.bram.us/2021/07/08/the-large-small-and-dynamic-viewports/ https://caniuse.com/?search=dvh https://www.terluinwebdesign.nl/en/css/incoming-20-new-css-viewport-units-svh-lvh-dvh-svw-lvw-dvw/
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up