123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <view class="search" bindtap='search' wx:if='{{act!=0}}'>
- <input placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
- <image mode="widthFix" src="../images/search.png"></image>
- </view>
- <view class="search" bindtap='search' wx:else style="width:100%;">
- <input placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
- <image mode="widthFix" src="../images/search.png"></image>
- </view>
- <view class="menu" wx:if='{{act!=0}}'>
- <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>
- <text bindtap="tab" data-id='2' class="{{act == 2?'active':''}}">活动预告</text>
- <text bindtap="tab" data-id='3' class="{{act == 3?'active':''}}">活动回顾</text>
- </view>
- <swiper class="myswiper" circular="{{true}}" bindchange='swchange' current='{{act}}' autoplay="{{false}}">
- <swiper-item>
- <scroll-view scroll-y="true">
- <block wx:if='{{!show_tj}}'>
- <view class="part">
- <view class="title">精品推荐 <text bindtap="more" data-id='1'>查看更多</text></view>
- <view class="tj">
- <navigator wx:for="{{arct}}" url="../conference/conference?id={{item.id}}" wx:if='{{index<3}}'>
- <view class="img_view">
- <image mode="scaleToFill" src="{{item.img}}"></image>
- <view class="date_ly">
- <text>{{item.begin_time}}</text>
- <text>{{item.journal_name}}</text>
- </view>
- </view>
- <view class="tj_name">{{item.name}}</view>
- <text>{{item.desc}}</text>
- </navigator>
- </view>
- </view>
- <view class="part">
- <view class="title">热门会议 <text bindtap="more" data-id='2'>查看更多</text></view>
- <view class="hd">
- <navigator class="list" wx:for='{{hot_arct}}' wx:key="hot_arct{{index}}" url="../eventDetail/eventDetail?id={{item.id}}">
- <image src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
-
- <view class="ly">
- <view>
- <text>{{item.begin_time}}</text>
- </view>
- <text class="nowrap">来源:{{item.organizer_name}}</text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- </view>
- </view>
- <view class="part">
- <view class="title">活动预告 <text bindtap="more" data-id='3'>查看更多</text></view>
- <view class="hd">
- <navigator class="list" wx:for='{{pre_arct}}' wx:key="pre_arct{{index}}" url="../conference/conference?id={{item.id}}" >
- <image src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
- <view class="ly">
- <view>
- <text>{{item.begin_time}}</text>
- <text>{{item.address}}</text>
- </view>
- <text>主讲人:{{item.speaker}}</text>
- <text>{{item.publish_unit}}</text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- </view>
- </view>
- <view class="part">
- <view class="title">活动回顾 <text bindtap="more" data-id='4'>查看更多</text></view>
- <view class="hd">
- <navigator class="list" wx:for='{{over_arct}}' wx:key="over_arct{{index}}" url="../conference/conference?id={{item.id}}" >
- <image src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
- <view class="ly">
- <text>主讲人:{{item.speaker}}</text>
- <view>
- <text>{{item.begin_time}}</text>
- </view>
- <text>{{item.publish_unit}}</text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- </view>
- </view>
- </block>
- <block wx:else>
- <!-- 全部推荐 -->
- <view class="part">
- <navigator class="list" wx:for='{{arct}}' wx:key="prearct{{index}}" url="../conference/conference?id={{item.id}}" >
- <image mode="widthFix" src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
- <view class="ly">
- <view>
- <text>{{item.begin_time}}</text>
- </view>
- <text>主讲人:{{item.speaker}}</text>
- <text>{{item.publish_unit}}</text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- </view>
- </block>
- </scroll-view>
- </swiper-item>
- <!-- 学术会议 -->
- <swiper-item>
- <scroll-view class="content" scroll-y="true" bindscrolltolower='next_0'>
- <navigator class="list" wx:for='{{conference}}' wx:key="conference{{index}}" url="../eventDetail/eventDetail?id={{item.id}}">
- <image src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
- <view class="ly">
- <view>
- <text>{{item.begin_time}}</text>
- </view>
- <text class="nowrap">来源:{{item.organizer_name}}</text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- <block wx:if='{{total_0 >= 20}}'>
- <view class='more' wx:if='{{conference.length < total_0}}'>上拉加载更多...</view>
- <view class='more' wx:else>已加载全部数据!</view>
- </block>
- </scroll-view>
- </swiper-item>
- <!-- 活动预告 -->
- <swiper-item>
- <scroll-view class="content" scroll-y="true" bindscrolltolower='next_1'>
- <navigator class="list" wx:for='{{pre}}' wx:key="pre{{index}}" url="../conference/conference?id={{item.id}}" >
- <image src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
- <view class="ly">
- <view>
- <text>{{item.begin_time}}</text>
- <text>{{item.address}}</text>
- </view>
- <text>主讲人:{{item.speaker}}</text>
- <text>{{item.publish_unit}}</text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- <block wx:if='{{total_1 >= 20}}'>
- <view class='more' wx:if='{{pre.length < total_1}}'>上拉加载更多...</view>
- <view class='more' wx:else>已加载全部数据!</view>
- </block>
- </scroll-view>
- </swiper-item>
- <!-- 活动回顾 -->
- <swiper-item>
- <scroll-view class="content" scroll-y="true" bindscrolltolower='next_2'>
- <navigator class="list" wx:for='{{over}}' wx:key="over{{index}}" url="../conference/conference?id={{item.id}}" >
- <image src="{{item.img}}"></image>
- <view>
- <view class="tt">{{item.name}} </view>
- <view class="ly">
-
- <text>主讲人:{{item.speaker}}</text>
- <view>
- <text>{{item.begin_time}}</text>
- </view>
- <text style="min-height:36rpx;">{{item.publish_unit}} </text>
- </view>
- <text>{{item.desc}}</text>
- </view>
- </navigator>
- <block wx:if='{{total_2 >= 20}}'>
- <view class='more' wx:if='{{over.length < total_2}}'>上拉加载更多...</view>
- <view class='more' wx:else>已加载全部数据!</view>
- </block>
- </scroll-view>
- </swiper-item>
- </swiper>
|