infoItem.vue 746 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <view class="content">
  3. <u-cell title="价格监测点名称" :value="name" icon="file-text"></u-cell>
  4. <u-cell title="价格采集日期" :value="date" icon="calendar"></u-cell>
  5. <u-cell title="详细地址" :value="address" icon="map"></u-cell>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. props: {
  11. name: {
  12. type: String,
  13. require: false,
  14. default: ""
  15. },
  16. date: {
  17. type: String,
  18. require: false,
  19. default: ""
  20. },
  21. address: {
  22. type: String,
  23. require: false,
  24. default: ""
  25. }
  26. },
  27. data() {
  28. return {
  29. }
  30. },
  31. methods: {
  32. }
  33. }
  34. </script>
  35. <style scoped lang="scss">
  36. .content{
  37. margin-bottom: 24rpx;
  38. padding: 30rpx;
  39. background-color: #fff;
  40. border-radius: 24rpx;
  41. }
  42. </style>