index.wxml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <view class="container">
  2. <!-- 导航栏 -->
  3. <van-nav-bar custom-style="background-color: #407DB8">
  4. <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
  5. <text slot="title" style="color: #fff;">求购信息</text>
  6. </van-nav-bar>
  7. <!-- 卖家信息 -->
  8. <view class="seller-info">
  9. <text class="title">【 {{ order.zscategorydisplay }} 】</text>
  10. <view class="content">
  11. <view class="content__item">
  12. <text class="title">买方:</text>
  13. <text class="value">{{ order.buyusername}}</text>
  14. </view>
  15. <view class="content__item">
  16. <text class="title">币种:</text>
  17. <text class="value">{{ order.zscurrencytypedisplay }}</text>
  18. </view>
  19. <view class="content__item">
  20. <text class="title">履约规则:</text>
  21. </view>
  22. <view class="content__item">
  23. <view class="content__item__step">
  24. <view class="content__item__step__item" wx:for="{{ tmp.LstStep }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">
  25. <text style="background-color: {{ colors[idx] }}; color: white;">{{ itm.stepinfo }}</text>
  26. <text>{{ itm.stepdate }}</text>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- 钻石属性 -->
  33. <view class="attribute-info">
  34. <text class="title">【钻石属性】</text>
  35. <view class="attribute-info__item">
  36. <text class="title">形状:</text>
  37. <text class="value">{{ order.zsshapetypedisplay }}</text>
  38. </view>
  39. <view class="attribute-info__item">
  40. <text class="title">颜色:</text>
  41. <text class="value">{{ order.zscolortypedisplay }}</text>
  42. </view>
  43. <view class="attribute-info__item">
  44. <text class="title">净度:</text>
  45. <text class="value">{{ order.zsclaritytypedisplay }}</text>
  46. </view>
  47. <view class="attribute-info__item">
  48. <text class="title">切工:</text>
  49. <text class="value">{{ order.zscuttypedisplay }}</text>
  50. </view>
  51. <view class="attribute-info__item">
  52. <text class="title">抛光:</text>
  53. <text class="value">{{ order.zspolishtypedisplay }}</text>
  54. </view>
  55. <view class="attribute-info__item">
  56. <text class="title">对称:</text>
  57. <text class="value">{{ order.zssymmetrytypedisplay }}</text>
  58. </view>
  59. <view class="attribute-info__item">
  60. <text class="title">荧光:</text>
  61. <text class="value">{{ order.zsfluorescencetypedisplay }}</text>
  62. </view>
  63. <view class="attribute-info__item">
  64. <text class="title">尺寸:</text>
  65. <text class="value">{{ order.zssize }}</text>
  66. </view>
  67. </view>
  68. <!-- 询价信息 -->
  69. <view class="button-view">
  70. <van-button wx:if="{{ order.accountid != accountid }}" id="close" block round color="#407DB8" bind:click="goToDelistingSell">摘牌申请</van-button>
  71. <van-button wx:if="{{ order.accountid === accountid && order.wrtradeorderstatus === 3 }}" id="close" block round color="#7232dd" bind:click="doWRListingCancelOrder">撤销</van-button>
  72. </view>
  73. </view>