number.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <view wx:if='{{info.name}}'>
  2. <view class="top">
  3. <image class="fm" mode="widthFix" src="{{info.img}}"></image>
  4. <view>
  5. <view class="name">《{{info.name}}》</view>
  6. <text class="code"> 微信号:{{info.wxcode}}</text>
  7. <view class="tab">
  8. <text data-id='0' bindtap="checkpage" class="{{act==0?'active':''}}">简介</text>
  9. <text data-id='1' bindtap="checkpage" class="{{act==1?'active':''}}">分析</text>
  10. <text data-id='2' bindtap="checkpage" class="{{act==2?'active':''}}">资源</text>
  11. </view>
  12. </view>
  13. <image bindtap="weixin" class="ewm" src="../images/ewm.png"></image>
  14. </view>
  15. <view wx:if='{{act==0}}'>
  16. <view class="today">
  17. <text>{{day}} CASCI</text>
  18. <view>
  19. {{info.today_casci}}
  20. <image wx:if='{{info.today_casci_up[0]=="-"}}' src="../images/down.png"></image>
  21. <image wx:else src="../images/upup.png"></image>
  22. </view>
  23. <text wx:if='{{info.today_casci_up[0]=="-"}}' style="color:#2DCB83;">同比下降{{info.today_casci_up}}</text>
  24. <text wx:else style="color:red;">同比上升{{info.today_casci_up}}</text>
  25. </view>
  26. <view class="tab1">
  27. <view data-id='0' bindtap="check" class="{{casci==0?'active':''}}">近7日CASCI趋势</view>
  28. <view data-id='1' bindtap="check" class="{{casci==1?'active':''}}">近30日CASCI趋势</view>
  29. </view>
  30. <view class="container">
  31. <ec-canvas id="mychart" canvas-id="mychart-line" ec="{{ ec }}">
  32. </ec-canvas>
  33. </view>
  34. <view class="content">
  35. <view>中文名称:{{info.name}}</view>
  36. <view>外文名称:{{info.ename}}</view>
  37. <view>语种:{{info.languages}}</view>
  38. <view>主编:{{info.editor}}</view>
  39. <view>主管单位:{{info.corganizers}}</view>
  40. <view>办刊单位:{{info.publishingUnit}}</view>
  41. <view>创刊时间:{{info.publishingTime}}</view>
  42. <view>出版周期:{{info.publishingCycle}}</view>
  43. <view>国内刊号:{{info.domestic}}</view>
  44. <view>国际刊号:{{info.issn}}</view>
  45. <view>期刊官网:{{info.website}}</view>
  46. <view>编辑部地址:{{info.editorialAddress}}</view>
  47. <view>期刊简介:{{info.desc}}</view>
  48. </view>
  49. </view>
  50. <view wx:if='{{act == 1}}'>
  51. <view style="padding:0 5%;">
  52. <view class="today1">
  53. <view><text>{{day}}</text> 期刊数据分析</view>
  54. <view style="color:#999;">总排名
  55. <view style="font-size:36rpx;display:block;">
  56. {{analyse.total_rank}}
  57. <image wx:if='{{analyse.today_casci_up[0]=="-"}}' src="../images/down.png"></image>
  58. <image wx:else src="../images/upup.png"></image>
  59. </view>
  60. </view>
  61. <view wx:if='{{analyse.today_casci_up[0]=="-"}}' style="color:#2DCB83;line-height:90rpx;">同比下降{{analyse.today_casci_up}}</view>
  62. <view wx:else style="color:red;line-height:90rpx;">同比上升{{analyse.today_casci_up}}</view>
  63. </view>
  64. <view class="title">近7日总榜排名</view>
  65. </view>
  66. <view class="container">
  67. <ec-canvas id="mychart1" canvas-id="mychart-line" ec="{{ ec }}">
  68. </ec-canvas>
  69. </view>
  70. <view style="padding:0 5%;">
  71. <view class="nums">
  72. <view data-id='0' bindtap="checknum" class="{{page==0?'active':''}}">
  73. 阅读数
  74. <view data-id='0'>{{analyse.read_num}}</view>
  75. <text data-id='0'>平均{{analyse.read_num1}}</text>
  76. </view>
  77. <!-- <view data-id='1' bindtap="checknum" class="{{page==1?'active':''}}">
  78. 点赞数
  79. <view data-id='1'>{{analyse.read_num}}</view>
  80. <text data-id='1'>平均111</text>
  81. </view> -->
  82. <view data-id='2' bindtap="checknum" class="{{page==2?'active':''}}">
  83. 转发数
  84. <view data-id='2'>{{analyse.zhuanfa_num}}</view>
  85. <text data-id='2'>平均{{analyse.zhuanfa_num1}}</text>
  86. </view>
  87. </view>
  88. <view wx:if='{{page==0}}' class="title">近7日阅读数</view>
  89. <view wx:if='{{page==1}}' class="title">近7日点赞数</view>
  90. <view wx:if='{{page==2}}' class="title">近7日转发数</view>
  91. </view>
  92. <view class="container">
  93. <ec-canvas id="mychart2" canvas-id="mychart-line" ec="{{ ec }}">
  94. </ec-canvas>
  95. </view>
  96. </view>
  97. <view wx:if='{{act == 2}}' style="padding:0 30rpx;">
  98. <navigator url="../actDetail/actDetail?id={{item.id}}" class="list" wx:for='{{list}}'>
  99. <image src="{{item.img}}"></image>
  100. <view>
  101. <view class="_title">{{item.name}}</view>
  102. <view class="ly">
  103. <view>
  104. <text>{{item.publish_time}}</text>
  105. </view>
  106. <text>作者:{{item.author}}</text>
  107. <text></text>
  108. </view>
  109. <text class="">{{item.desc}}</text>
  110. </view>
  111. </navigator>
  112. <view wx:if='{{list.length<=0}}' style="color:#999;margin:100rpx 0;text-align:center;">暂无资源!</view>
  113. </view>
  114. </view>
  115. <view wx:if='{{show}}' class="_ewm">
  116. <view class="bg" bindtap="close"></view>
  117. <view class="ww">
  118. <view class="t">
  119. <image src="{{info.img}}"></image>
  120. <view>
  121. <view>{{info.name}}</view>
  122. <view style="color:#999;">微信号:{{info.wxcode}}</view>
  123. </view>
  124. </view>
  125. <image wx:if='{{info.qrcode}}' bindtap="view" class="m" mode="widthFix" src="{{info.qrcode}}"></image>
  126. <image wx:else class="m" mode="widthFix" src="../images/no.png"></image>
  127. <view class="b" wx:if='{{info.qrcode}}'>
  128. <text>1.扫描二维码,关注期刊公众号</text>
  129. <text>2.点击图片放大后长按可保存</text>
  130. </view>
  131. <view class="b" wx:else>
  132. <text>抱歉,本公众号暂未上传二维码</text>
  133. </view>
  134. </view>
  135. </view>