Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -20,10 +20,10 @@ | @@ -20,10 +20,10 @@ | ||
| 20 | </swiper> | 20 | </swiper> |
| 21 | --> | 21 | --> |
| 22 | <scroll-view class="view margin-left-lg header text-black" | 22 | <scroll-view class="view margin-left-lg header text-black" |
| 23 | - scroll-x="true" bindscroll="scroll" | 23 | + scroll-x="true" bindscroll="scroll" scroll-into-view="PID{{activityId}}" |
| 24 | style="width: 100%;white-space: nowrap;height:80rpx;padding-top: 16rpx;"> | 24 | style="width: 100%;white-space: nowrap;height:80rpx;padding-top: 16rpx;"> |
| 25 | <block wx:for="{{packs}}" wx:key="*this"> | 25 | <block wx:for="{{packs}}" wx:key="*this"> |
| 26 | - <view | 26 | + <view id="PID{{item.id}}" |
| 27 | bindtap="touchTab" data-id="{{item.id}}" data-index="{{index}}" | 27 | bindtap="touchTab" data-id="{{item.id}}" data-index="{{index}}" |
| 28 | class="view swiper-item {{activityId==item.id?'active':''}} flex align-center"> | 28 | class="view swiper-item {{activityId==item.id?'active':''}} flex align-center"> |
| 29 | <view class="txt-32-h swiper-item-txt"> | 29 | <view class="txt-32-h swiper-item-txt"> |
-
Please register or login to post a comment