index.wxml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <view class="titleHead">
  2. <wxs src="../../../../utils/util.wxs" module="tool"></wxs>
  3. <view class="after"></view>
  4. 行业结构
  5. <view class="btns">
  6. <picker mode="selector" bindchange="channelChange" range-key="text" value="{{select_act}}" range="{{select}}">
  7. <view class="select">
  8. {{select[select_act].text || "请选择"}}
  9. <van-icon name="arrow-down" />
  10. </view>
  11. </picker>
  12. </view>
  13. </view>
  14. <view style="margin-bottom: 10px;">
  15. <text class="title">硬广行业结构</text>
  16. </view>
  17. <!-- <view style="height: 70vh;">
  18. <f2 wx:if="{{onInitChart !== undefined}}" onInit="{{onInitChart}}" />
  19. </view> -->
  20. <view class="youshikehubody">
  21. <van-row class="rowText" wx:if="{{DayList.length}}" style="margin-top: 5px;text-align: center;font-size: 14px;">
  22. <van-col span="4">
  23. <view class="col">序号</view>
  24. </van-col>
  25. <van-col span="15">
  26. <view class="col">大行业名称</view>
  27. </van-col>
  28. <van-col span="5">
  29. <view class="col">{{select[select_act].text + '/' + select[select_act].unit}}</view>
  30. </van-col>
  31. </van-row>
  32. <van-row class="rowText" wx:if="{{DayList.length}}" style="margin-top: 5px;text-align: center;font-size: 14px;" wx:for="{{DayList}}" wx:key="index">
  33. <van-col span="4">
  34. <view class="col col1">{{index+1}}</view>
  35. </van-col>
  36. <van-col span="15">
  37. <view class="col col1">{{item.name}}</view>
  38. </van-col>
  39. <van-col span="5" wx:if="{{select_act === 0}}">
  40. <view class="col col1">{{tool.formmater(item[select[select_act].proportionType], 2)}}</view>
  41. </van-col>
  42. <van-col span="5" wx:if="{{select_act === 1}}">
  43. <view class="col col1">{{tool.formmater(item[select[select_act].proportionType], 2)}}</view>
  44. </van-col>
  45. <van-col span="5" wx:if="{{select_act === 2}}">
  46. <view class="col col1">{{tool.formmater(item[select[select_act].proportionType], 2)}}</view>
  47. </van-col>
  48. </van-row>
  49. </view>
  50. <view style="margin: 10px 0">
  51. <text class="title">软广行业结构</text>
  52. </view>
  53. <!-- <view style="height: 70vh;margin-bottom: 10px;">
  54. <f2 wx:if="{{onInitChart1 !== undefined}}" onInit="{{onInitChart1}}" />
  55. </view> -->
  56. <view class="youshikehubody">
  57. <van-row class="rowText" wx:if="{{DayList.length}}" style="margin-top: 5px;text-align: center;font-size: 14px;">
  58. <van-col span="4">
  59. <view class="col">序号</view>
  60. </van-col>
  61. <van-col span="15">
  62. <view class="col">大行业名称</view>
  63. </van-col>
  64. <van-col span="5">
  65. <view class="col">{{select[select_act].text + '/' + select[select_act].unit}}</view>
  66. </van-col>
  67. </van-row>
  68. <van-row class="rowText" wx:if="{{DayList.length}}" style="margin-top: 5px;text-align: center;font-size: 14px;" wx:for="{{DayList}}" wx:key="index">
  69. <van-col span="4">
  70. <view class="col col1">{{index+1}}</view>
  71. </van-col>
  72. <van-col span="15">
  73. <view class="col col1">{{item.name}}</view>
  74. </van-col>
  75. <van-col span="5" wx:if="{{select_act === 0}}">
  76. <view class="col col1">{{tool.formmater(item[select[select_act].proportionType], 2)}}</view>
  77. </van-col>
  78. <van-col span="5" wx:if="{{select_act === 1}}">
  79. <view class="col col1">{{tool.formmater(item[select[select_act].proportionType], 2)}}</view>
  80. </van-col>
  81. <van-col span="5" wx:if="{{select_act === 2}}">
  82. <view class="col col1">{{tool.formmater(item[select[select_act].proportionType], 2)}}</view>
  83. </van-col>
  84. </van-row>
  85. </view>