1+ <view class='cu-custom'>
2+ <view class="cu-bar fixed bg-shadeTop" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;">
3+ <navigator class='action' open-type="navigateBack" delta="1" hover-class="none">
4+ <text class='icon-back'></text> 返回
5+ </navigator>
6+ <view class='content' style='top:{{StatusBar}}px;'>Tab索引</view>
7+ </view>
8+ </view>
9+ <swiper class="screen-swiper round-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500">
10+ <swiper-item wx:for="{{4}}" wx:key>
11+ <image src="https://image.weilanwl.com/img/4x3-{{index+1}}.jpg" mode='aspectFill'></image>
12+ </swiper-item>
13+ </swiper>
14+ <view class="VerticalBox">
15+ <scroll-view class="VerticalNav nav" scroll-y scroll-with-animation scroll-top="{{VerticalNavTop}}" style="height:calc(100vh - 375rpx)">
16+ <view class="cu-item {{index==TabCur?'text-green cur':''}}" wx:for="{{20}}" wx:key bindtap='tabSelect' data-id="{{index}}">
17+ Tab{{index +1}}
18+ </view>
19+ </scroll-view>
20+ <scroll-view class="VerticalMain" scroll-y scroll-with-animation style="height:calc(100vh - 375rpx)" scroll-into-view="main-id-{{TabCur}}" bindscroll="VerticalMain">
21+ <view class="padding-top padding-lr" wx:for="{{20}}" wx:key id="main-id-{{index}}">
22+ <view class='cu-bar solid-bottom bg-white'>
23+ <view class='action'>
24+ <text class='icon-title text-green'></text> Tab{{index +1}}</view>
25+ </view>
26+ <view class="cu-list menu menu-avatar">
27+ <view class="cu-item">
28+ <view class="cu-avatar round lg" style="background-image:url(https://image.weilanwl.com/img/square-1.jpg);"></view>
29+ <view class='content'>
30+ <view class='text-grey'>文晓港</view>
31+ <view class='text-gray text-sm'>
32+ <text class='icon-infofill text-red'></text> 消息未送达</view>
33+ </view>
34+ <view class='action'>
35+ <view class='text-grey text-xs'>22:20</view>
36+ <view class="cu-tag round bg-grey sm">5</view>
37+ </view>
38+ </view>
39+ <view class="cu-item">
40+ <view class="cu-avatar round lg" style="background-image:url(https://image.weilanwl.com/img/square-2.jpg);">
41+ <view class="cu-tag badge">99+</view>
42+ </view>
43+ <view class='content'>
44+ <view class='text-grey'>文晓港
45+ <view class="cu-tag round bg-orange sm">SVIP</view>
46+ </view>
47+ <view class='text-gray text-sm'>
48+ <text class='icon-redpacket_fill text-red'></text> 收到红包</view>
49+ </view>
50+ <view class='action'>
51+ <view class='text-grey text-xs'>22:20</view>
52+ <view class='icon-notice_forbid_fill text-gray'></view>
53+ </view>
54+ </view>
55+ <view class="cu-item ">
56+ <view class="cu-avatar radius lg" style="background-image:url(https://image.weilanwl.com/img/square-3.jpg);"></view>
57+ <view class='content'>
58+ <view>喵星人互动群</view>
59+ <view class='text-gray text-sm'>
60+ 喵星酱:喵喵喵!</view>
61+ </view>
62+ <view class='action'>
63+ <view class='text-grey text-xs'>22:20</view>
64+ <view class="cu-tag round bg-red sm">5</view>
65+ </view>
66+ </view>
67+ <view class="cu-item grayscale">
68+ <view class="cu-avatar radius lg" style="background-image:url(https://image.weilanwl.com/img/square-3.jpg);"></view>
69+ <view class='content'>
70+ <view>喵星人互动群</view>
71+ <view class='text-gray text-sm'>
72+ 喵星酱:喵喵喵!</view>
73+ </view>
74+ <view class='action'>
75+ <view class='text-grey text-xs'>22:20</view>
76+ <view class="cu-tag round bg-red sm">5</view>
77+ </view>
78+ </view>
79+ </view>
80+ </view>
81+ </scroll-view>
82+ </view>
0 commit comments