123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!--pages/my/my.wxml-->
- <template name="mys">
- <view class="nav">
- <block wx:for="{{myData.nav}}" wx:key="{{index}}">
- <view class="{{index == myData.myInd ? 'slecte-nav' : ''}}" bindtap="myChoice" data-index="{{index}}">{{item}}</view>
- </block>
- </view>
- <swiper current="{{myData.myInd}}" bindchange="mySlide" style="height: 92%;">
- <swiper-item>
- <view class="my-information">
- <view class="information-item">
- <image class="head" src=""></image>
- <view class="set-name">
- <text class="name">阿杰</text>
- <text bindtap="setName">点击修改头像和名字</text>
- </view>
- </view>
- <view class="shaiwa">如何使用电视上的晒娃功能</view>
- <view class="mengwa" bindtap="album">萌娃相册</view>
- </view>
- </swiper-item>
- <swiper-item>
- <scroll-view class="scroll-view" scroll-y>
- <view class="my-collection">
- <view class="collection-item" wx:for="{{myData.favoritesList}}" wx:key="{{index}}">
- <image src="{{item.iconImg}}"></image>
- </view>
- </view>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- <scroll-view class="scroll-view" scroll-y>
- <view class="my-collection">
- <view class="collection-item" wx:for="{{myData.playLogList}}" wx:key="{{index}}">
- <image src="{{item.iconImg}}"></image>
- </view>
- </view>
- </scroll-view>
- </swiper-item>
- </swiper>
-
- </template>
|