<template name="cm-attributes">
	<!-- 二手商品详情-->
	<view class="cm-attributes">
		<view class="wrap-info">
			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''">
				<view class="info-viewL tui-skeleton-fillet">品牌：<text>{{product.brandName}}</text></view>
				<view class="info-viewL tui-skeleton-fillet">分类：<text>{{product.typeStr}}</text></view>
				<view class="info-viewL tui-skeleton-fillet">商品成色：<text>{{product.productQuality}}</text></view>
				<view class="info-viewL tui-skeleton-fillet" v-if="product.fixedYears!=''">出厂日期：<text>{{product.fixedYears}}</text></view>
				<view class="info-viewL tui-skeleton-fillet" v-if="product.showContactFlag==2">联系人：<text>{{product.contactName}}</text></view>
				<view class="info-viewL tui-skeleton-fillet" v-if="product.showContactFlag==2">联系方式：<text>{{product.contactMobile}}</text></view>
				<view class="info-viewL tui-skeleton-fillet" v-if="product.productType!=null||product.productType!=''">商品类型：<text v-if="product.productType==1">医美</text><text v-else>非医美</text></view>
			</view>
			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''" v-if="product.secondHandType==2">
				<view class="info-viewL tui-skeleton-fillet">市场价：<text>{{product.normalPriceStr}}</text></view>	
			    <view class="info-viewL tui-skeleton-fillet">采购价/原价：<text>{{product.originalPriceStr}}</text></view>
				<view class="info-viewL tui-skeleton-fillet">产品到期日：<text>{{product.maturityYears}}</text></view>	
				<view class="info-viewL tui-skeleton-fillet">库存：<text>{{product.stock}}</text></view>	
			</view>
			<view class="info-viewT" :class="goodsData.isNoneDisabled ? 'none' : ''">
				<view class="info-viewL tui-skeleton-fillet">所在地：<text>{{product.provinceCityDistrict}}</text></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	
	}
	.tui-skeleton-fillet{
	color:#999999 ;
	}
	.tui-skeleton-fillet text{
	color: #333333;
	}
</style>





















