You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
727 B

5 years ago
<view class="navigation">
<view style="height:{{statusBarHeight}}px"></view>
<view class="navigation-bar">
<view class="navigation-left">
<icon class="search" type="search" size="26" color="white" bindtap="enterSearch"/>
<text class="title">发现</text>
</view>
5 years ago
<view class="navbar" bindtap="switchNav">
<view class="navitem {{current==index?'active':''}}" wx:for="{{list}}" data-current="{{index}}">
{{item.text}}
</view>
</view>
</view>
5 years ago
</view>
<swiper class="body" current="{{current}}" bindchange="switchTab" circular="1">
<swiper-item>
<courses wx:if="{{show[0]}}"/>
</swiper-item>
<swiper-item>
<shixuns wx:if="{{show[1]}}"/>
</swiper-item>
</swiper>