index.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <van-tabs wx:if="{{tabShow}}" bind:change="onChange" title-active-color='#3874F6' color='#3874F6'>
  2. <van-tab title="费用">
  3. <view class="head">
  4. <view class="count">费用</view>
  5. <view class="expand">
  6. <navigator url="#" class="but" bindtap="addExpense">
  7. <van-icon name="plus" />
  8. </navigator>
  9. </view>
  10. </view>
  11. <List list='{{list}}' bindchange='changeExpense' />
  12. </van-tab>
  13. <van-tab title="报价说明">
  14. <view class="head">
  15. <view class="count">报价说明</view>
  16. <view class="expand">
  17. <!-- wx:if="{{disabled}}" -->
  18. <navigator url="#" class="but" bindtap="addQuotedpricenotes">
  19. <van-icon name="plus" />
  20. </navigator>
  21. </view>
  22. </view>
  23. <view class="exprow" wx:for="{{quotedpricenotes}}" wx:key="index">
  24. <view style="margin-right: {{index>=2?'0':'30rpx'}};">{{item}}</view>
  25. <text wx:if="{{index>=2}}" class="iconfont icon-guanlian-shanchu" bindtap="deleteItem" data-index="{{index}}"></text>
  26. </view>
  27. </van-tab>
  28. </van-tabs>
  29. <van-dialog use-slot title="添加报价说明" show="{{ dialog }}" show-cancel-button confirm-button-color='#3874F6' bind:confirm='onConfirm' bind:cancel='onCancel'>
  30. <textarea placeholder="请填写" value="{{newExplain}}" bindinput="areaInput" class="textarea" />
  31. </van-dialog>