Closed gowago closed 1 year ago
H5
浏览器版本: chrome latest 使用框架: Vue 3
<swiper v-if="product.list" class="order-swiper bg-F8F8FA w-full h-137 box-border pt-15" :circular="true" :indicator-dots="false" :autoplay="false" previous-margin="16px" next-margin="16px" :snap-to-edge="true" @change="changeProduct" > <swiper-item v-for="item in product.list" :key="item.id"> <view class="mx-4 h-full bg-5079FD rounded-12" :style="getMask($changeUrl(item.image2, { prefix: '/wparesource/public', token: false }))" ></view> </swiper-item> </swiper>
h5环境下 默认展示第一个卡片
h5环境下会滑动最后一个卡片
Taro CLI 3.4.13 environment info: System: OS: Windows 10 Binaries: Node: 16.15.0 - D:\Program Files\nodejs\node.EXE Yarn: 1.22.17 - C:\Users\Administrator\AppData\Roaming\npm\yarn.CMD npm: 8.5.5 - D:\Program Files\nodejs\npm.CMD
fix in https://github.com/NervJS/taro/commit/6291beb0e611f5ddc91a7300d1180f8afda097ce
相关平台
H5
浏览器版本: chrome latest 使用框架: Vue 3
复现步骤
期望结果
h5环境下 默认展示第一个卡片
实际结果
h5环境下会滑动最后一个卡片
环境信息