index.wxml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <view class="search" wx:if="{{act!=3}}">
  2. <input placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
  3. <image mode="widthFix" src="../images/search.png"></image>
  4. </view>
  5. <swiper class="banner" indicator-dots="{{true}}" autoplay="" indicator-active-color='#ffffff'>
  6. <block wx:for="{{lb}}" wx:key="*this">
  7. <swiper-item>
  8. <image src="{{item.img}}"></image>
  9. <!-- <view class="swiper-item">{{item.text}}</view> -->
  10. </swiper-item>
  11. </block>
  12. </swiper>
  13. <view class="search" wx:if="{{act==3}}" style="margin-bottom:20rpx;">
  14. <input placeholder-style='color:#C8C8C8;' placeholder="输入名称/关键字搜索"></input>
  15. <image mode="widthFix" src="../images/search.png"></image>
  16. </view>
  17. <view class="tab">
  18. <text bindtap="tab" data-id='0' class="{{act == 0?'active':''}}">中科院全刊</text>
  19. <text bindtap="tab" data-id='1' class="{{act == 1?'active':''}}">主办单位</text>
  20. <text bindtap="tab" data-id='2' class="{{act == 2?'active':''}}">领域期刊</text>
  21. <text bindtap="tab" data-id='3' class="{{act == 3?'active':''}}">传播指数</text>
  22. </view>
  23. <!-- <view class="zm">
  24. <view data-id='a' bindtap="scroll">A</view>
  25. <view data-id='b' bindtap="scroll">B</view>
  26. <view data-id='c' bindtap="scroll">C</view>
  27. <view data-id='d' bindtap="scroll">D</view>
  28. <view data-id='e' bindtap="scroll">E</view>
  29. <view data-id='f' bindtap="scroll">F</view>
  30. <view data-id='g' bindtap="scroll">G</view>
  31. <view data-id='h' bindtap="scroll">H</view>
  32. <view data-id='i' bindtap="scroll">I</view>
  33. <view data-id='j' bindtap="scroll">J</view>
  34. <view data-id='k' bindtap="scroll">K</view>
  35. <view data-id='l' bindtap="scroll">L</view>
  36. <view data-id='m' bindtap="scroll">M</view>
  37. <view data-id='n' bindtap="scroll">N</view>
  38. <view data-id='o' bindtap="scroll">O</view>
  39. <view data-id='p' bindtap="scroll">P</view>
  40. <view data-id='q' bindtap="scroll">Q</view>
  41. <view data-id='r' bindtap="scroll">R</view>
  42. <view data-id='s' bindtap="scroll">S</view>
  43. <view data-id='t' bindtap="scroll">T</view>
  44. <view data-id='u' bindtap="scroll">U</view>
  45. <view data-id='v' bindtap="scroll">V</view>
  46. <view data-id='w' bindtap="scroll">W</view>
  47. <view data-id='x' bindtap="scroll">X</view>
  48. <view data-id='y' bindtap="scroll">Y</view>
  49. <view data-id='z' bindtap="scroll">Z</view>
  50. </view> -->
  51. <view wx:if='{{act==0}}' id='nav' class="nav {{touchmove == 1?'touchmove':''}}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchend">
  52. <view id="nav_item" wx:for="{{zimu_list}}" wx:key="" data-index="{{index}}"
  53. data-id='{{item}}' bindtap="scroll">
  54. {{zimu_list[index]}}
  55. </view>
  56. </view>
  57. <swiper circular="{{true}}" style="height:60vh;" bindchange='swchange' current='{{act}}' autoplay="{{false}}">
  58. <swiper-item>
  59. <scroll-view scroll-y="true" scroll-into-view="{{scroll}}" class="content">
  60. <view wx:for='{{journals}}' wx:for='{{journals}}'>
  61. <view id="{{item.name}}" class="tt">{{item.name}}</view>
  62. <navigator url="../journalDetail/journalDetail" class="list" wx:for='{{item.journals}}' wx:key="journals{{index}}">
  63. <image mode="widthFix" src="{{item.img}}"></image>
  64. <view>
  65. <view class="title">{{item.name}}</view>
  66. <text>微信号:{{item.wxcode}}</text>
  67. <text>主编:{{item.editor}}</text>
  68. <text class="">主办单位:{{item.publishingUnit}}</text>
  69. </view>
  70. </navigator>
  71. </view>
  72. </scroll-view>
  73. </swiper-item>
  74. <swiper-item>
  75. <scroll-view scroll-y="true">
  76. <view class="dw" wx:for='{{organizers}}' wx:key="organizers{{index}}">
  77. <view class="dw_title">{{item.name}}
  78. <image mode="widthFix" src="../images/left.png"></image><text>12 </text> </view>
  79. <view class="dw_list">
  80. <navigator>
  81. <view>《数学学报》</view>
  82. <text>华罗庚“典型域上的多元复变数函数论”</text>
  83. </navigator>
  84. <navigator>
  85. <view>《数学学报》</view>
  86. <text>华罗庚“典型域上的多元复变数函数论”</text>
  87. </navigator>
  88. <navigator>
  89. <view>《数学学报》</view>
  90. <text>华罗庚“典型域上的多元复变数函数论”</text>
  91. </navigator>
  92. <view class="top cancel">取消置顶</view>
  93. </view>
  94. </view>
  95. </scroll-view>
  96. </swiper-item>
  97. <swiper-item>
  98. <scroll-view scroll-y="true">
  99. <view class="dw" wx:for='{{subjects}}' wx:key="*this">
  100. <view class="dw_title">{{item.name}}
  101. <image mode="widthFix" src="../images/left.png"></image><text>12 </text> </view>
  102. <view class="dw_list">
  103. <navigator wx:for='{{item.journals}}' wx:key="*this" wx:for-item='jour'>
  104. <view>{{jour.ename}}</view>
  105. <text>{{jour.desc}}</text>
  106. </navigator>
  107. <view wx:if='{{index==0}}' bindtap="cancel_top" class="top cancel">取消置顶</view>
  108. <view wx:else bindtap="top" data-id='{{item.subject_id}}' class="top">置顶</view>
  109. </view>
  110. </view>
  111. </scroll-view>
  112. </swiper-item>
  113. <swiper-item>
  114. <scroll-view scroll-y="true">
  115. <view class="thead">
  116. <text>最近查询</text><text>最新指数</text><text>日环比</text>
  117. </view>
  118. <view class="tbody">
  119. <view class="tr">
  120. <text>力学学报</text><text>234</text>
  121. <text class="per">18.00% <text class="up"></text></text>
  122. </view>
  123. <view class="tr">
  124. <text>力学学报</text><text>234</text>
  125. <text class="per">18.00% <text class="up"></text></text>
  126. </view>
  127. <view class="tr">
  128. <text>力学学报</text><text>234</text>
  129. <text class="per">18.00% <text class="up"></text></text>
  130. </view>
  131. </view>
  132. <view class="tbody">
  133. <view class="tr">
  134. <text>力学学报</text><text>234</text>
  135. <text class="per">18.00% <text class="up"></text></text>
  136. </view>
  137. <view class="tr">
  138. <text>力学学报</text><text>234</text>
  139. <text class="per">18.00% <text class="up"></text></text>
  140. </view>
  141. <view class="tr">
  142. <text>力学学报</text><text>234</text>
  143. <text class="per">18.00% <text class="up"></text></text>
  144. </view>
  145. </view>
  146. </scroll-view>
  147. </swiper-item>
  148. </swiper>
  149. <!-- 当前选择字母提示框 -->
  150. <view class="hint_bok" hidden="{{hiddenn}}">{{nav_text}}</view>