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.

68 lines
1.4 KiB

1 year ago
<template>
<view class="uni-flex uni-row space-between center" style="background-color:#fff;">
1 year ago
<view>
<item :dataContent="dataContent"></item>
</view>
<view>
10 months ago
<!-- showBalanceQty -->
1 year ago
<balanceQty v-if="showItemQty" :dataContent="dataContent"></balanceQty>
12 months ago
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
10 months ago
:handleQty="dataContent.handleQty" :isShowStatus="false" :isShowStdPack="showStdPack">
12 months ago
</compare-qty>
1 year ago
</view>
<!-- <view v-else>
<recommend-qty v-if="handleQty==0" :dataContent="dataContent" :isShowStatus="false"></recommend-qty>
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
:handleQty="Number(handleQty)" :isShowStatus="false">
</compare-qty>
</view> -->
</view>
</template>
<script>
import item from '@/mycomponents/item/item.vue'
import balanceQty from '@/mycomponents/qty/balanceQty.vue'
12 months ago
import compareQty from '@/mycomponents/qty/compareQty.vue'
1 year ago
export default {
components: {
item,
12 months ago
balanceQty,
compareQty
1 year ago
},
data() {
return {
};
},
// 此处定义传入的数据
props: {
dataContent: {
type: Object,
default: {}
},
handleQty: {
type: Number,
default: 0
},
showItemQty: {
type: Boolean,
default: true
10 months ago
},
showStdPack: {
type: Boolean,
default: false
},
1 year ago
},
watch: {
},
methods: {
},
}
</script>
<style>
</style>