<template name="cm-attributes">
	<!-- 商品详情价格判断 -->
	<view class="cm-attributes">
		<view class="wrap-label"  v-if="goodsData.isNoneDisabled">
			<view class="isLower">此商品已{{goodsData.disabledText}}，请浏览以下推荐商品~</view>
		</view>
		<view class="wrap-info">
			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''">
				<view class="info-viewL tui-skeleton-fillet">起订量：<text>{{product.minBuyNumber}}</text></view>
				<view class="info-viewR tui-skeleton-fillet">品牌：<text>{{product.brandName == null? '其他' : product.brandName}}</text></view>
			</view>
			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''">
				<view class="info-viewL tui-skeleton-fillet">包装规格：<text>{{product.unit}}</text></view>
				<view class="info-viewR tui-skeleton-fillet">商品编码：<text>{{product.productCode}}</text></view>		
			</view>
			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''" v-if="product.productCode!=''&&product.productCode!=null">
				<view class="info-viewL tui-skeleton-fillet">库存：<text>{{product.stock}}</text></view>
				<view class="info-viewR tui-skeleton-fillet"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		name:'cm-attributes',
		props:{
			product:{
				type:Object,
				default: {}
			},
			goodsData:{
				type:Object,
				default: {}
			},
		},
		data() {
			return{
				
			}
		},
		created() {
			
		},
		methods:{
		},
		
	}
</script>

<style lang="scss">	
	.bmCode{
	float: left;
	width: 702rpx;
	padding: 20rpx 24rpx 0 24rpx;
	border-bottom: 1px solid #F8F8F8	
	}
</style>





















