@@ -5,7 +5,7 @@ sidebar_label: CoverView
55
66覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。
77
8- 支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="百度小程序" src={require('@site/static/img/platform/swan.png').default} className="icon_platform" width="25px"/> <img title="支付宝小程序" src={require('@site/static/img/platform/alipay.png').default} className="icon_platform" width="25px"/> <img title="QQ 小程序" src={require('@site/static/img/platform/qq.png').default} className="icon_platform" width="25px"/> <img title="京东小程序" src={require('@site/static/img/platform/jd.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony hybrid" src={require('@site/static/img/platform/harmonyHybrid.png').default} className="icon_platform" width="25px"/>
8+ 支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="百度小程序" src={require('@site/static/img/platform/swan.png').default} className="icon_platform" width="25px"/> <img title="支付宝小程序" src={require('@site/static/img/platform/alipay.png').default} className="icon_platform" width="25px"/> <img title="QQ 小程序" src={require('@site/static/img/platform/qq.png').default} className="icon_platform" width="25px"/> <img title="京东小程序" src={require('@site/static/img/platform/jd.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="ASCF元服务" src={require('@site/static/img/platform/ascf.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony hybrid" src={require('@site/static/img/platform/harmonyHybrid.png').default} className="icon_platform" width="25px"/>
99
1010> [ 参考文档] ( https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html )
1111
@@ -122,31 +122,31 @@ class App extends Components {
122122
123123### API 支持度
124124
125- | API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony |
126- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
127- | CoverViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | |
128- | CoverViewProps.fixedTop | | ✔️ | | | | | | |
129- | CoverViewProps.fixedRight | | ✔️ | | | | | | |
130- | CoverViewProps.fixedBottom | | ✔️ | | | | | | |
131- | CoverViewProps.fixedLeft | | ✔️ | | | | | | |
132- | CoverViewProps.ariaRole | | | | ✔️ | | | | |
133- | CoverViewProps.ariaLabel | | | | ✔️ | | | | |
134- | CoverViewProps.scrollX | | | ✔️ | | | | | |
135- | CoverViewProps.scrollY | | | ✔️ | | | | | |
136- | CoverViewProps.upperThreshold | | | ✔️ | | | | | |
137- | CoverViewProps.lowerThreshold | | | ✔️ | | | | | |
138- | CoverViewProps.scrollLeft | | | ✔️ | | | | | |
139- | CoverViewProps.scrollIntoView | | | ✔️ | | | | | |
140- | CoverViewProps.scrollWithAnimation | | | ✔️ | | | | | |
141- | CoverViewProps.scrollAnimationDuration | | | ✔️ | | | | | |
142- | CoverViewProps.enableBackToTop | | | ✔️ | | | | | |
143- | CoverViewProps.trapScroll | | | ✔️ | | | | | |
144- | CoverViewProps.disableLowerScroll | | | ✔️ | | | | | |
145- | CoverViewProps.disableUpperScroll | | | ✔️ | | | | | |
146- | CoverViewProps.onScrollToUpper | | | ✔️ | | | | | |
147- | CoverViewProps.onScrollToLower | | | ✔️ | | | | | |
148- | CoverViewProps.onScroll | | | ✔️ | | | | | |
149- | CoverViewProps.onTouchStart | | | ✔️ | | | | | |
150- | CoverViewProps.onTouchMove | | | ✔️ | | | | | |
151- | CoverViewProps.onTouchEnd | | | ✔️ | | | | | |
152- | CoverViewProps.onTouchCancel | | | ✔️ | | | | | |
125+ | API | 微信小程序 | 百度小程序 | 支付宝小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | ASCF元服务 |
126+ | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
127+ | CoverViewProps.scrollTop | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | |
128+ | CoverViewProps.fixedTop | | ✔️ | | | | | | | |
129+ | CoverViewProps.fixedRight | | ✔️ | | | | | | | |
130+ | CoverViewProps.fixedBottom | | ✔️ | | | | | | | |
131+ | CoverViewProps.fixedLeft | | ✔️ | | | | | | | |
132+ | CoverViewProps.ariaRole | | | | ✔️ | | | | | |
133+ | CoverViewProps.ariaLabel | | | | ✔️ | | | | | |
134+ | CoverViewProps.scrollX | | | ✔️ | | | | | | |
135+ | CoverViewProps.scrollY | | | ✔️ | | | | | | |
136+ | CoverViewProps.upperThreshold | | | ✔️ | | | | | | |
137+ | CoverViewProps.lowerThreshold | | | ✔️ | | | | | | |
138+ | CoverViewProps.scrollLeft | | | ✔️ | | | | | | |
139+ | CoverViewProps.scrollIntoView | | | ✔️ | | | | | | |
140+ | CoverViewProps.scrollWithAnimation | | | ✔️ | | | | | | |
141+ | CoverViewProps.scrollAnimationDuration | | | ✔️ | | | | | | |
142+ | CoverViewProps.enableBackToTop | | | ✔️ | | | | | | |
143+ | CoverViewProps.trapScroll | | | ✔️ | | | | | | |
144+ | CoverViewProps.disableLowerScroll | | | ✔️ | | | | | | |
145+ | CoverViewProps.disableUpperScroll | | | ✔️ | | | | | | |
146+ | CoverViewProps.onScrollToUpper | | | ✔️ | | | | | | |
147+ | CoverViewProps.onScrollToLower | | | ✔️ | | | | | | |
148+ | CoverViewProps.onScroll | | | ✔️ | | | | | | |
149+ | CoverViewProps.onTouchStart | | | ✔️ | | | | | | |
150+ | CoverViewProps.onTouchMove | | | ✔️ | | | | | | |
151+ | CoverViewProps.onTouchEnd | | | ✔️ | | | | | | |
152+ | CoverViewProps.onTouchCancel | | | ✔️ | | | | | | |
0 commit comments