uni-app navigator、view组件hover-class点击变色bug
uni-app navigator、view组件hover-class点击变色bug
| 开发环境 | 版本号 | 项目创建方式 |
|---|---|---|
| Windows | win10 | HBuilderX |
测试过的手机:
- 安卓
- iOS
操作步骤:
- nvue
预期结果:
- nvue
实际结果:
- nvue
bug描述:
纯nvue项目(render为native)navigator 组件 hover-class=“navigator-hover” 设置这个默认样式点击有变色效果,设置其他任何样式点击都没有效果。
view组件 hover-class 在weex模式中正常,uni-app模式不正常,希望官方能同步。
更多关于uni-app navigator、view组件hover-class点击变色bug的实战教程也可以访问 https://www.itying.com/category-93-b0.html
1 回复
更多关于uni-app navigator、view组件hover-class点击变色bug的实战教程也可以访问 https://www.itying.com/category-93-b0.html
<navigator url="../reg/reg" open-type="navigate" hover-class="navigator-hover">
<view style="height: 88rpx; flex-direction: row; justify-content:space-between; align-items: center;">
<text style="font-size: 32rpx;">注销账号</text>
<image src="../../static/img/icon_arrow.png" style=" width:16rpx; height: 32rpx; margin-right: 30rpx;"></image>
</view>
</navigator>
<view hover-class="nav_hover" style="margin-top: 30rpx; width: 690rpx; height: 88rpx; border-radius: 10rpx; background-color: #DD524D;align-items: center;justify-content: center;">
<text style="color: #FFFFFF; font-size: 32rpx;">退出登录</text>
</view>

