抖音b端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

120 lines
5.2 KiB

  1. <view class='firstPage'>
  2. <view class='fix'>
  3. <image src='../../assets/images/bannerbg.png'></image>
  4. <view class='writeOff writeOff1'>
  5. <!-- <view class='topBox clearfix' tt:if="{{djArr.length>0||count > 0}}" >
  6. <view class='left fl' >
  7. <text>待缴账单</text>
  8. <text>{{djArr.length}}</text>
  9. <text>¥{{djZmoney}}</text>
  10. </view>
  11. <view class='right fr'>
  12. <text>今日交易单数</text>
  13. <text>{{count}}</text>
  14. <text>¥{{amountMoney/100}}</text>
  15. </view>
  16. </view> -->
  17. <!-- tt:if="{{djArr.length == 0 && count == 0}}" -->
  18. <view class='topBox2 clearfix'>
  19. <view class='imgBox'>
  20. <image src='{{userInfo.merchant_img_url}}' mode='{{widthFix}}'></image>
  21. </view>
  22. <text class='name'>{{userInfo.mall_name}}({{userInfo.merchant_name}})</text>
  23. </view>
  24. </view>
  25. </view>
  26. <view class='location'>
  27. <view class='message' tt:if="{{billList.length>0}}">
  28. <image src='../../assets/images/mess.png' mode='widthFix'></image>
  29. <text>{{billList.length}}</text>
  30. </view>
  31. <swiper tt:if="{{billList.length>0}}" current='{{currentIndex}}' class="swiper_container" vertical="true"
  32. autoplay="true" circular="true" interval="3000">
  33. <block tt:for="{{billList}}" tt:key="index">
  34. <swiper-item bindtap="gotobill" data-data='{{item}}' data-id='{{item.id}}'>
  35. <view class="swiper_item clearfix">
  36. <text tt:if="{{item.status=='1'}}" class="state1 fl">欠缴</text>
  37. <text tt:if="{{item.status=='2'}}" class="state2 fl">待缴</text>
  38. <text class="fl billtype">{{item.name}}{{item.end}}</text>
  39. <text class="fl">{{item.owe/100}}元</text>
  40. </view>
  41. </swiper-item>
  42. </block>
  43. </swiper>
  44. </view>
  45. <view class='writeOff'>
  46. <view class='classification clearfix' tt:if="{{userInfoLoadIf&&userInfo.is_admin!=4}}">
  47. <view tt:for='{{classIfyList}}' tt:if="{{!(item.id==4&&userInfo.creditLocked==1)}}">
  48. <!-- <view tt:for='{{classIfyList}}' tt:if="{{false}}" tt:key='{{index}}'> -->
  49. <view hover-class='active' style='background:{{item.bg}}' bindtap='toWriteoff' data-id='{{item.id}}'>
  50. <icon class='{{item.icon}}'></icon>
  51. </view>
  52. <text>{{item.text}}</text>
  53. </view>
  54. </view>
  55. <view class='classification clearfix' tt:if="{{userInfoLoadIf&&userInfo.is_admin==4}}">
  56. <view tt:for='{{classIfyList2}}' tt:if="{{!(item.id==4&&userInfo.creditLocked==1)}}">
  57. <!-- <view tt:for='{{classIfyList}}' tt:if="{{false}}" tt:key='{{index}}'> -->
  58. <view hover-class='active' style='background:{{item.bg}}' bindtap='toWriteoff' data-id='{{item.id}}'>
  59. <icon class='{{item.icon}}'></icon>
  60. </view>
  61. <text>{{item.text}}</text>
  62. </view>
  63. </view>
  64. </view>
  65. <view tt:if="{{userInfo.is_admin!=4}}" class='jiaoyi jiaoyi1 jiaoyi2' hover-class='actives' bindtap='toTran'
  66. data-type='0'>
  67. <view class='toTransaction'>
  68. <view>
  69. <text>交易记录</text>
  70. </view>
  71. <view>今日交易额:{{amountMoney/100}}元
  72. <image class='iconfonts' src='../../assets/images/jian.png' mode="widthFix"></image>
  73. </view>
  74. </view>
  75. <!-- <view class='transaction' tt:if="{{ifShowChart!='show'}}">
  76. <ec-canvas id="mychart-jiaoyi" canvas-id="mychart-multi-bar" ec="{{ ecBar }}"></ec-canvas>
  77. </view> -->
  78. <view class='transaction' tt:if="{{ifShowChart=='show'}}">
  79. <image class='img' src='../../assets/images/nothave01.png' mode='widthFix'></image>
  80. <view class="nothave">暂无数据</view>
  81. </view>
  82. </view>
  83. <view tt:if="{{userInfo.is_admin!=4}}" class='jiaoyi' hover-class='actives' bindtap='toTran' data-type='1'>
  84. <view class='toTransaction'>
  85. <view>
  86. <text>核销记录</text>
  87. </view>
  88. <view>今日核销额:{{writeOffMoney/100}}元
  89. <image class='iconfonts' src='../../assets/images/jian.png' mode="widthFix"></image>
  90. </view>
  91. </view>
  92. <!-- <view class='transaction' tt:if="{{ifShowChart1!='show'}}">
  93. <ec-canvas id="mychart-hexiao" canvas-id="mychart-multi-scatter" ec="{{ ecScatter }}"></ec-canvas>
  94. </view>
  95. <view class='transaction' tt:if="{{ifShowChart1=='show'}}">
  96. <image class='img' src='../../assets/images/nothave02.png' mode='widthFix'></image>
  97. <view class="nothave1">暂无数据</view>
  98. </view> -->
  99. </view>
  100. <!-- <view class='jiaoyi jiaoyi1' hover-class='actives' bindtap='toRecord' data-type='0'>
  101. <view class='toTransaction'>
  102. <view>
  103. <text>收银记录</text>
  104. </view>
  105. <view>今日收银:{{recordMoney/100}}元
  106. <image class='iconfonts' src='../../assets/images/jian.png' mode="widthFix"></image>
  107. </view>
  108. </view>
  109. <view class='transaction' tt:if="{{ifShowChart2!='show'}}">
  110. <ec-canvas id="mychart-pament" canvas-id="mychart-pament-bar" ec="{{ ec }}"></ec-canvas>
  111. </view>
  112. <view class='transaction' tt:if="{{ifShowChart2=='show'}}">
  113. <image class='img' src='../../assets/images/nohave03.png' mode='widthFix'></image>
  114. <view class="nothave2">暂无数据</view>
  115. </view>
  116. </view> -->
  117. </view>