无
- 发布:2022-04-29 10:39
- 更新:2022-04-29 10:39
- 阅读:848
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 12.3.1
HBuilderX类型: 正式
HBuilderX版本号: 3.4.7
手机系统: iOS
手机系统版本号: iOS 15
手机厂商: 模拟器
手机机型: iPhone13
页面类型: nvue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
无
无
实际结果:
无
无
bug描述:
1、swiper组件的indicator-dots设置无效,会一直显示
2、mp-html插件无法使用
3、这个问题不知道怎么描述,如下图
<scroll-view class="nav" scroll-y="false" scroll-x="true" show-scrollbar="false">
<view class="nav-item" v-for="(item,index) in nav" :key="item.id" @click="switchNav(item.id)" :class="item.id === category_id ? 'active' : ''">
<text class="nav-item-text">{{item.name}}</text>
</view>
</scroll-view>
<style>
.nav{
flex-direction: row;
width: 750rpx;
padding: 25rpx;
}
.nav-item{
height: 60rpx;
padding: 20rpx;
justify-content: center;
align-items: center;
}
.nav-item-text{
font-size: 28rpx;
color: #333333;
}
.nav-item.active{
background-color: #0c86ff;
border-radius: 10rpx;
}
.nav-item.active .nav-item-text{
color: #FFFFFF;
font-size: 28rpx;
}
</style>