<template name="cm-attributes">
	<!-- 商品详情价格判断 -->
	<view class="cm-attributes">
		<view class="wrap-active" v-if="product.actStatus == 1">
			<text>活动时间：</text>
			<text>{{ product.beginTime }} ~ {{ product.endTime }}</text>
		</view>
		<view class="wrap-label" v-if="product.tagsList.length>0">
			<view class="label-a tui-skeleton-fillet" v-for="(label,index) in  product.tagsList" :key="index">{{label}}</view>
		</view>
		<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.brandName == null? '其他' : product.brandName}}</text></view>
				<view class="info-viewR tui-skeleton-fillet">包装规格：<text>{{product.unit}}</text></view>		
			</view>
			<view class="info-viewT" v-if="product.productCode!=''&&product.productCode!=null">
				<view class="info-viewL tui-skeleton-fillet">商品编码：<text>{{product.productCode}}</text></view>
			</view>
		</view>
		<view class="wrap-seve" :class="goodsData.isNoneDisabled ? 'none' : ''">
			<text class="tui-skeleton-rect">服务：</text>
			<text class="iconfont icon-dui tui-skeleton-rect"><text class="text">无忧退货</text></text>
			<text class="iconfont icon-dui tui-skeleton-rect"><text class="text">快速退款</text></text>
			<text class="iconfont icon-dui tui-skeleton-rect"><text class="text">正品保证</text></text>
		</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>





















