You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
681 B
48 lines
681 B
<template>
|
|
<view>
|
|
<view class="uni-flex u-col-center space-between" style="
|
|
background-color:#fff;
|
|
margin-left: 10rpx;">
|
|
<view class="card_partCode">
|
|
<view class="" :class="openPopup(dataContent)">
|
|
{{dataContent.itemCode}}
|
|
</view>
|
|
<view class="">
|
|
{{dataContent.itemName}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
components: {
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
// 此处定义传入的数据
|
|
props: {
|
|
dataContent: {
|
|
type: Object,
|
|
default: {}
|
|
}
|
|
},
|
|
watch: {
|
|
|
|
},
|
|
methods: {
|
|
openPopup(val) {
|
|
|
|
// console.log(JSON.stringify(val));
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|