小程序
小游戏
企业微信
微信支付
扫描小程序码分享
- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
粉色区域为cover-view组件,当进行向左滑动时,cover-view组件会进行向左随着滚动页面进行移动,这个问题是什么导致的,希望大佬们看一下
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
<swiper style='width:{{windWidth}}px; height:480rpx;position:relative' indicator-dots="{{indicatorDots}}" circular="{{circular}}" bindchange="swiperChange">
<block wx:if="{{swiperCurrent == 0}}">
<cover-view catchtap='hangqing' class="zhe" style="width:{{windWidth}}px;"></cover-view>
</block>
<swiper-item wx:for="{{pics_Carousel}}" wx:key="{{index}}" style='width:100%;height:100%;position:relative'>
<block wx:if="{{index >=1}}">
<image class='img' style='width:100%;height:480rpx;' src='{{item}}' catchtap='marketProspect'></image>
<block wx:else>
<view class='banner1' bindtap='hangqing'>
<!-- <view class='headers'>今日市场情绪</view> -->
<image class='img' style='width:100%;height:480rpx;' src='{{item}}'></image>
<view class='banner_today'>
<view class='banner1_title'>
<canvas-ring id="canvasRing" value="{{c_val}}" class='looks canvan'>
</canvas-ring>
<canvas-ring2 id="canvasRing2" value="{{c_val2}}" class='looks canvan'>
</canvas-ring2>
<canvas-ring3 id="canvasRing3" value="{{c_val3}}" class='looks canvan'>
</canvas-ring3>
</view>
<view class='banner1_ti'>
<view class='looks'>看涨</view>
<view class='looks'>看平</view>
<view class='looks'>看跌</view>
</swiper-item>
</swiper>
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
给个简单的代码片段看看呢(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
麻烦提供这种格式的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
<swiper style='width:{{windWidth}}px; height:480rpx;position:relative' indicator-dots="{{indicatorDots}}" circular="{{circular}}" bindchange="swiperChange">
<block wx:if="{{swiperCurrent == 0}}">
<cover-view catchtap='hangqing' class="zhe" style="width:{{windWidth}}px;"></cover-view>
</block>
<swiper-item wx:for="{{pics_Carousel}}" wx:key="{{index}}" style='width:100%;height:100%;position:relative'>
<block wx:if="{{index >=1}}">
<image class='img' style='width:100%;height:480rpx;' src='{{item}}' catchtap='marketProspect'></image>
</block>
<block wx:else>
<view class='banner1' bindtap='hangqing'>
<!-- <view class='headers'>今日市场情绪</view> -->
<image class='img' style='width:100%;height:480rpx;' src='{{item}}'></image>
<view class='banner_today'>
<view class='banner1_title'>
<canvas-ring id="canvasRing" value="{{c_val}}" class='looks canvan'>
</canvas-ring>
<canvas-ring2 id="canvasRing2" value="{{c_val2}}" class='looks canvan'>
</canvas-ring2>
<canvas-ring3 id="canvasRing3" value="{{c_val3}}" class='looks canvan'>
</canvas-ring3>
</view>
<view class='banner1_ti'>
<view class='looks'>看涨</view>
<view class='looks'>看平</view>
<view class='looks'>看跌</view>
</view>
</view>
</view>
</block>
</swiper-item>
</swiper>
</view>
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
给个简单的代码片段看看呢(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
麻烦提供这种格式的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)