detail.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <view>
  3. <view class="cmain">
  4. <view class="box order_detail">
  5. <u-divider text="商铺信息"></u-divider>
  6. <view class="item">
  7. <text class="label">商铺编号</text>
  8. <text class="desc">{{item.shopNo}}</text>
  9. </view>
  10. <view class="item">
  11. <text class="label">商铺名称</text>
  12. <text class="desc">{{item.shopName}}</text>
  13. </view>
  14. <view class="item">
  15. <text class="label">铺主</text>
  16. <text class="desc">{{item.ownerName}}</text>
  17. </view>
  18. <view class="item">
  19. <text class="label">互市区</text>
  20. <text class="desc">{{item.tradeAreaName}}</text>
  21. </view>
  22. <view class="item">
  23. <text class="label">区域</text>
  24. <text class="desc">{{item.area}}</text>
  25. </view>
  26. <view class="item">
  27. <text class="label">经营范围</text>
  28. <text class="desc">{{item.bnsScope}}</text>
  29. </view>
  30. <view class="item">
  31. <text class="label">有效期</text>
  32. <text class="desc">{{item.expiry}}</text>
  33. </view>
  34. <view class="item">
  35. <text class="label">店铺地址</text>
  36. <text class="desc">{{item.shopAddr}}</text>
  37. </view>
  38. <view class="item">
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </template>
  44. <script>
  45. export default {
  46. data() {
  47. return {
  48. item: {}
  49. }
  50. },
  51. onLoad(e) {
  52. if(e.id) {
  53. this.http.request({
  54. url: '/level-one-server/app/TbShop/getDetailById',
  55. data: { id: e.id },
  56. success: res=> {
  57. this.item = res.data.data;
  58. }
  59. })
  60. }
  61. },
  62. methods: {
  63. }
  64. }
  65. </script>
  66. <style lang="scss">
  67. page {
  68. background-color: $pg;
  69. }
  70. </style>