purchase-s-details.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <import src="../../public/page/purchase-details.wxml" />
  2. <import src="../../../../public/pages/public-view.wxml" />
  3. <scroll-view scroll-y="{{scroll}}" class="bg-scroll-view" bindscroll="scroll" scroll-with-animation scroll-top="{{scrollView.top}}">
  4. <template is="purchase-top" data="{{...adapter}}" />
  5. <picker wx:if="{{project.s}}" bindchange="chooseProject" range="{{project.v}}">
  6. <template wx:if="{{project.s}}" is="choose-view" data="{{...project}}"/>
  7. </picker>
  8. <picker bindchange="chooseAccountP" range="{{accounts}}" value="{{choseAccount}}">
  9. <template is="choose-view" data="{{...account}}" />
  10. </picker>
  11. <template is="tips-view" wx:if="{{tips.s}}" data="{{...tips}}" />
  12. <view class="choose-account">
  13. <view>
  14. <view wx:for="{{accounts}}" wx:key="" id="{{index}}" bindtap="chooseAccount">{{item}}</view>
  15. </view>
  16. <view animation="{{accountsAnimation}}"></view>
  17. </view>
  18. <template is="total-view" wx:for="{{totals[choseAccount]}}" wx:key="" data="{{...totals[choseAccount][index]}}"/>
  19. <view style="width: 100%;height: 30rpx;background-color: white;"></view>
  20. <template is="list-view" wx:for="{{list[choseAccount]}}" wx:key="" data="{{...list[choseAccount][index]}}"/>
  21. <view style="width: 100%;height: 30rpx;background-color: white;"></view>
  22. <template is="line" wx:if="{{!adapter.isSupplementaryPay}}" />
  23. <view wx:if="{{!adapter.isSupplementaryPay}}" class="to-calculator" bindtap="toCalculator">
  24. <text>查看详情</text>
  25. <image src="../../../../icon/public/arrow_right_blue.png"></image>
  26. </view>
  27. <template is="charge-view" data="{{charge: adapter.charge}}" />
  28. <template is="purchase-details-tips" data="{{...ui.tips}}"/>
  29. <view class="scroll-view-bottom-view{{adapter.suffix}}"></view>
  30. </scroll-view>
  31. <view class="purchase-details-choose" style="position: fixed;top: 0;left:0" hidden="{{chooseHidden}}">
  32. <view>
  33. <view wx:for="{{ui.tips.choose.t}}" id="{{index}}" bindtap="tipsChoose" style="color:{{index == ui.tips.choose.c ? '#3296FB' : '#666666'}};" wx:key="">{{item}}</view>
  34. </view>
  35. <view>
  36. <view></view>
  37. <view animation="{{ui.tips.choose.animation}}">
  38. <view></view>
  39. </view>
  40. </view>
  41. </view>
  42. <template is="purchase-bottom" data="{{...adapter}}" />
  43. <contact show="{{showContact}}" showHeight="{{showContactHeight}}" bindhiddenContact="hiddenContactListener"></contact>
  44. <!-- <template is="confirm-view" data="{{...confirmView}}" /> -->
  45. <template name="total-view">
  46. <view class="total-view">
  47. <text>{{t}}</text>
  48. <text>{{c}}</text>
  49. </view>
  50. <template is="both-line" />
  51. </template>
  52. <template name="list-view">
  53. <view class="list-view">
  54. <text>{{n}}</text>
  55. <view wx:if="{{s}}" bindtap="yearPay">年缴</view>
  56. <text>¥{{p}}</text>
  57. </view>
  58. </template>