123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <view class="search" >
- <input bindinput="inputChange" placeholder-style='color:#C8C8C8;' value="{{keyword}}" placeholder="输入名称/关键字搜索"></input>
- <image bindtap="search1" mode="widthFix" src="../images/search.png"></image>
-
- </view>
- <view class="rview" wx:if='{{keyword}}'>
- <scroll-view scroll-x="true" class="tab" scroll-left='{{left}}'>
- <view>
- <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>
- <text bindtap="tab" data-id='4' class="{{act == 4?'active':''}}">相关期刊</text>
- <text bindtap="tab" data-id='5' class="{{act == 5?'active':''}}">相关学术学科</text>
- </view>
- </scroll-view>
- <scroll-view class="scroll" scroll-y="true" scroll-top='{{top}}' bindscrolltolower='next'>
- <view wx:if='{{act==0}}' class="part" wx:for='{{data}}'>
- <view class="title" wx:if='{{item.list.length>0}}'>{{item.name}} <text bindtap="more" data-index='{{index+1}}' data-id='{{item.value}}'>查看更多</text></view>
- <navigator url="../journalDetail/journalDetail?id={{i.id}}" class="list" wx:for='{{item.list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{item.value=="journal"&& idx<3}}'>
- <image src="{{i.img}}"></image>
- <view>
-
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text>微信号:{{i.wxcode}}</text>
- <text>主编:{{i.editor}}</text>
- <text class="">主办单位:{{i.publishingUnit}}</text>
- </view>
- </navigator>
- <navigator url="../list/list?organizer_id={{i.id}}&title={{i.name}}" class="list" wx:for='{{item.list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{item.value=="organizer" && idx<3}}' >
- <image style="height:125rpx;" src="{{i.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../actDetail/actDetail?id={{i.id}}" class="list" wx:for='{{item.list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{item.value=="article" && idx<3}}' >
- <image src="{{i.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text>作者:{{i.author}}</text>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../eventDetail/eventDetail?id={{i.id}}" class="list" wx:for='{{item.list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{item.value=="conference" && idx<3}}' >
- <image src="{{i.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../list/list?subject_id={{i.id}}&title={{i.name}}" class="list" wx:for='{{item.list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{item.value=="subject" && idx<3}}' style='padding-left:0;'>
- <!-- <image mode="widthFix" src="{{i.img}}"></image> -->
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- </view>
- <view wx:if='{{act!=0}}' class="part">
- <view class="title">{{title}}</view>
- <navigator url="../journalDetail/journalDetail?id={{i.id}}" class="list" wx:for='{{list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{value==type && type=="journal"}}'>
- <image src="{{i.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <!-- <text>微信号:{{i.wxcode}}</text>
- <text>主编:{{i.editor}}</text>
- <text class="">主办单位:{{i.publishingUnit}}</text> -->
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../list/list?organizer_id={{i.id}}&title={{i.name}}" class="list" wx:for='{{list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{value==type && type=="organizer"}}' >
- <image style="height:125rpx;" src="{{i.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../actDetail/actDetail?id={{i.id}}" class="list" wx:for='{{list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{value==type && type=="article"}}' >
- <image mode="widthFix" src="{{i.img}}"></image>
- <view>
- <!-- <view class="title">{{i.name}}</view> -->
- <view class="title"> <rich-text nodes="{{i.name}}"></rich-text></view>
- <text>作者:{{i.author}}</text>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../conference/conference?id={{i.id}}" class="list" wx:for='{{list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{value==type && type=="conference"}}' >
- <image src="{{i.img}}"></image>
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <navigator url="../list/list?subject_id={{i.id}}&title={{i.name}}" class="list" wx:for='{{list}}' wx:for-item='i' wx:for-index='idx' wx:if='{{value==type && type=="subject"}}' style='padding-left:0;'>
- <!-- <image mode="widthFix" src="{{i.img}}"></image> -->
- <view>
- <view class="title"> <rich-text nodes="{{i._name}}"></rich-text></view>
- <text class="wrap">{{i.desc}}</text>
- </view>
- </navigator>
- <block wx:if='{{list.length >= 20}}'>
- <view class='more' wx:if='{{loading}}'>上拉加载更多...</view>
- <view class='more' wx:else>已加载全部数据!</view>
- </block>
- </view>
- </scroll-view>
- </view>
- <view class="sview" wx:else>
- <view class="part">
- <view class="title">搜索指定内容</view>
- <navigator url="../search/search?type={{item.value}}&title={{item.name}}" wx:for='{{info.navs}}'>{{item.name}}</navigator>
- </view>
- <view class="part">
- <view class="title">搜索记录</view>
- <text data-value='{{item}}' bindtap="search" wx:for='{{info.history}}'>{{item}}</text>
- </view>
- <view class="part">
- <view class="title">冷词</view>
- <text data-value='{{item}}' bindtap="search" wx:for='{{info.cold_keyword}}'>{{item}}</text>
- </view>
- <view class="part">
- <view class="title">热词</view>
- <text data-value='{{item}}' bindtap="search" wx:for='{{info.hot_keyword}}'>{{item}}</text>
- </view>
- </view>
|