index.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 class="content__item__step">
  22. <view class="content__item__step__item" wx:for="{{ tmp.LstStep }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">
  23. <text style="background-color: {{ colors[idx] }}; color: white;">{{ itm.stepinfo }}</text>
  24. <text>{{ itm.stepdate }}</text>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <!-- 钻石属性 -->
  31. <view class="attribute-info">
  32. <text class="title">【钻石属性】</text>
  33. <view class="attribute-info__item">
  34. <text class="title">形状:</text>
  35. <text class="value">{{ order.zstabledisplay }}</text>
  36. </view>
  37. <view class="attribute-info__item">
  38. <text class="title">颜色:</text>
  39. <text class="value">{{ order.zscolortypedisplay }}</text>
  40. </view>
  41. <view class="attribute-info__item">
  42. <text class="title">净度:</text>
  43. <text class="value">{{ order.zsclaritytypedisplay }}</text>
  44. </view>
  45. <view class="attribute-info__item">
  46. <text class="title">切工:</text>
  47. <text class="value">{{ order.zscuttypedisplay }}</text>
  48. </view>
  49. <view class="attribute-info__item">
  50. <text class="title">抛光:</text>
  51. <text class="value">{{ order.zspolishtypedisplay }}</text>
  52. </view>
  53. <view class="attribute-info__item">
  54. <text class="title">荧光:</text>
  55. <text class="value">{{ order.zsfluorescencetypedisplay }}</text>
  56. </view>
  57. <view class="attribute-info__item">
  58. <text class="title">尺寸:</text>
  59. <text class="value">{{ order.zssize }}</text>
  60. </view>
  61. </view>
  62. <!-- 询价信息 -->
  63. <view class="button-view">
  64. <van-button wx:if="{{ order.accountid != accountid }}" id="close" block round color="#7232dd" bind:click="goToDelistingSell">摘牌申请</van-button>
  65. <van-button wx:if="{{ order.accountid === accountid && order.wrtradeorderstatus === 3 }}" id="close" block round color="#7232dd" bind:click="doWRListingCancelOrder">撤销</van-button>
  66. </view>
  67. </view>