<template>
	<view class="center" style="margin: 5rpx;">
		<view :class="statusStyle(status)">
			•
		</view>
	</view>
</template>

<script>
	import {
		getInventoryStatusStyle,
	} from '@/common/directory.js';
	export default {
		data() {
			return {

			};
		},
		// 此处定义传入的数据
		props: {
			status: {
				type: String,
				default: "1"
			},
		},
		methods: {
			statusStyle: function(val) {
				return  getInventoryStatusStyle(val);
			},
		}
	}
</script>

<style lang="scss">


</style>


<style>
</style>
