12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!--pages/knowledge/knowledge.wxml-->
- <view class="search">
- <input bindinput='search' placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
- <image bindtap="search" mode="widthFix" src="../images/search.png"></image>
- </view>
- <view class="menu">
- <view class="picker" bindtap="showmenu">
- {{array[index]}} <text class="up"></text>
- </view>
- <view class="drop_menu" wx:if='{{show}}'>
- <text wx:for='{{array}}' bindtap="check" data-id='{{index}}'>{{item}}</text>
- </view>
- </view>
- <view class="tab">
- <text bindtap="tab" data-id='0' class="{{act == 0?'active':''}}">精品导读</text>
- <text bindtap="tab" data-id='1' class="{{act == 1?'active':''}}">知识地图</text>
- </view>
- <swiper circular="{{true}}" class="myswiper" bindchange='swchange' current='{{act}}' autoplay="{{false}}">
- <swiper-item>
- <scroll-view scroll-y="true" scroll-into-view="{{scroll}}" bindscrolltolower='next' class="content">
- <navigator url="../actDetail/actDetail?id={{item.id}}" class="list" wx:for='{{list}}' wx:key="journals{{index}}">
- <image src="{{item.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{item.name}}"></rich-text></view>
- <view class="ly">
- <view>
- <text>{{item.publish_time}}</text>
- </view>
- <text>作者:{{item.author}}</text>
- <text></text>
- </view>
- <text class="">主办单位:{{item.desc}}</text>
- </view>
- </navigator>
- <block wx:if='{{total>=20}}'>
- <view class='more' wx:if='{{list.length < total}}'>上拉加载更多...</view>
- <view class='more' wx:else>已加载全部数据!</view>
- </block>
- </scroll-view>
- </swiper-item>
- <swiper-item>
- </swiper-item>
- </swiper>
|