<template>
	<view>
		<view class="nav">生产经营数据</view>
		<product-data></product-data>
	</view>
</template>

<script setup>
const res = wx.getSystemInfoSync();
const statusHeight = res.statusBarHeight; //状态栏高度
const cusnavbarheight = statusHeight + 44 + 'px';

import productData from '@/pages/product/index.vue';
</script>

<style lang="scss" scoped>
.nav {
	width: calc(100% - 60rpx);
	padding: 0 30rpx;
	height: v-bind(cusnavbarheight);

	font-size: 24rpx;
	color: #ffffff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	background-image: url('../../static/my/navbg.png');
	background-repeat: no-repeat;
	background-size: 750rpx 458rpx;
}
</style>
