x-orderCard.vue 738 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <!-- 订单详情表单 -->
  3. <view class="card_ordercard">
  4. <view class="title_detail"><span>姓名:</span>{{list.name}}</view>
  5. <view class="title_detail"><span>联系方式:</span>{{list.phone}}</view>
  6. <view class="title_detail"><span>地址:</span>{{list.address}}</view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. name: 'x-orderCard',
  12. props: {
  13. list: {
  14. type: Object,
  15. default () {
  16. return {}
  17. }
  18. },
  19. },
  20. data() {
  21. return {
  22. }
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. .card_ordercard {
  28. border-radius: 20rpx;
  29. padding: 20rpx;
  30. background-color: #fff;
  31. }
  32. .title_detail {
  33. margin: 10rpx 0rpx;
  34. span {
  35. font-size: 28rpx;
  36. color: #909399;
  37. margin-right: 10rpx;
  38. }
  39. }
  40. </style>