<template> <view class=""> <uni-popup ref="popup"> <job-common-info :dataContent="dataContent" @onClose="closePopup"> <view class=""> <view class="uni-flex uni-column"> <view class="item"> <text class="item_title">供应商代码 : </text> <text class="text_wrap">{{dataContent.carrierCode}} </text> </view> </view> </view> </job-common-info> </uni-popup> </view> </template> <script> import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue' export default { components: { jobCommonInfo, }, data() { return { dataContent: { type: Object, default: {} } } }, mounted() {}, props: {}, methods: { openPopup(val) { this.dataContent = val; this.$refs.popup.open('bottom') }, closePopup() { this.$refs.popup.close() }, } } </script> <style> </style>