myinventorys.wxml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!--moduleMine/pages/myinventorys/myinventorys.wxml-->
  2. <!-- tabs -->
  3. <view class="tab-view">
  4. <van-tabs swipeable bind:change="onTabChange">
  5. <van-tab wx:for="{{tabs}}" active="{{active}}" wx:for-item="itm" wx:key="id" id="{{itm.id}}" title="{{itm.name}}"/>
  6. </van-tabs>
  7. </view>
  8. <scroll-view class="scroll-view" scroll-x enable-flex>
  9. <!-- 列头 -->
  10. <view class="title-view" style="width: 100%;">
  11. <text class="title-view-text" wx:for="{{titles}}" wx:for-index="idx" wx:for-item="itm" wx:key="idx" id="idx">{{itm}}</text>
  12. </view>
  13. <!-- 单颗裸钻 彩色钻石 -->
  14. <view class="list-item" wx:for="{{datas}}" wx:for-item="data" wx:key="ladingbillid" wx:if="{{active != 1}}">
  15. <view class="list-item-left">
  16. <text>{{data.zsshapetypedisplay}}</text>
  17. <text>¥{{data.price}}</text>
  18. <text>¥{{data.priceper}}</text>
  19. </view>
  20. <view class="list-item-right">
  21. <text>{{data.zscolortype1display}} | {{data.zscolortype2display}} | {{data.zsclaritytype1display}} | {{data.zsclaritytype2display}}</text>
  22. <text>平均单颗重量:{{data.weightavg}}</text>
  23. <text>冻结重量: {{data.ffreezeqty}}</text>
  24. <text>商品编号: {{data.goodsno}}</text>
  25. </view>
  26. </view>
  27. <!-- 钻石首饰 -->
  28. <view class="list-item" wx:for="{{datas}}" wx:for-item="data" wx:key="ladingbillid" wx:if="{{active == 1}}">
  29. <view class="list-item-left">
  30. <text>{{data.zsshapetypedisplay}}</text>
  31. <text>{{data.zsshapetypedisplay}}</text>
  32. <text>¥{{data.price}}</text>
  33. </view>
  34. <view class="list-item-right">
  35. <text>{{data.zscolortype1display}} | {{data.zsclaritytype1display}} | {{data.zscuttype1display}} | {{data.weight}} </text>
  36. <text>冻结重量:{{data.ffreezeqty}}</text>
  37. <text>仓库:{{data.warehousenamedisplay}}</text>
  38. <text>卖家 :xxx</text>
  39. <text>商品编号: {{data.goodsno}}</text>
  40. </view>
  41. </view>
  42. </scroll-view>
  43. <van-empty wx:if="{{isEmpty}}" class="custom-image" description="无数据"/>