|
@@ -1,2 +1,42 @@
|
|
|
<!--pages/knowledge/knowledge.wxml-->
|
|
|
-<text>pages/knowledge/knowledge.wxml</text>
|
|
|
+<view class="search">
|
|
|
+ <input placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
|
|
|
+ <image mode="widthFix" src="../images/search.png"></image>
|
|
|
+</view>
|
|
|
+
|
|
|
+<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{array[index]}}
|
|
|
+ </view>
|
|
|
+</picker>
|
|
|
+
|
|
|
+<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}}" style="height:83vh;" bindchange='swchange' current='{{act}}' autoplay="{{false}}">
|
|
|
+ <swiper-item>
|
|
|
+ <scroll-view scroll-y="true" scroll-into-view="{{scroll}}" class="content">
|
|
|
+ <navigator url="../journalDetail/journalDetail" class="list" wx:for='{{list}}' wx:key="journals{{index}}">
|
|
|
+ <image mode="widthFix" src="{{item.img}}"></image>
|
|
|
+ <view>
|
|
|
+ <view class="title">{{item.name}}</view>
|
|
|
+ <view class="ly">
|
|
|
+ <view>
|
|
|
+ <text>2018.5.28</text>
|
|
|
+ </view>
|
|
|
+ <text>作者:包为民</text>
|
|
|
+ <text>《中国科学院》</text>
|
|
|
+ </view>
|
|
|
+ <text class="">主办单位:{{item.desc}}</text>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+ </scroll-view>
|
|
|
+ </swiper-item>
|
|
|
+
|
|
|
+ <swiper-item>
|
|
|
+ </swiper-item>
|
|
|
+</swiper>
|