knowledge.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!--pages/knowledge/knowledge.wxml-->
  2. <view class="search">
  3. <input placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
  4. <image mode="widthFix" src="../images/search.png"></image>
  5. </view>
  6. <view class="menu">
  7. <view class="picker" bindtap="showmenu">
  8. {{array[index]}} <text class="up"></text>
  9. </view>
  10. <view class="drop_menu" wx:if='{{show}}'>
  11. <text wx:for='{{array}}' bindtap="check" data-id='{{index}}'>{{item}}</text>
  12. </view>
  13. </view>
  14. <view class="tab">
  15. <text bindtap="tab" data-id='0' class="{{act == 0?'active':''}}">精品导读</text>
  16. <text bindtap="tab" data-id='1' class="{{act == 1?'active':''}}">知识地图</text>
  17. </view>
  18. <swiper circular="{{true}}" style="height:83vh;" bindchange='swchange' current='{{act}}' autoplay="{{false}}">
  19. <swiper-item>
  20. <scroll-view scroll-y="true" scroll-into-view="{{scroll}}" class="content">
  21. <navigator url="../journalDetail/journalDetail" class="list" wx:for='{{list}}' wx:key="journals{{index}}">
  22. <image src="{{item.img}}"></image>
  23. <view>
  24. <view class="title">{{item.name}}</view>
  25. <view class="ly">
  26. <view>
  27. <text>2018.5.28</text>
  28. </view>
  29. <text>作者:包为民</text>
  30. <text>《中国科学院》</text>
  31. </view>
  32. <text class="">主办单位:{{item.desc}}</text>
  33. </view>
  34. </navigator>
  35. </scroll-view>
  36. </swiper-item>
  37. <swiper-item>
  38. </swiper-item>
  39. </swiper>