cxc-szcx-uniapp/pages/tab/product.vue

32 lines
701 B
Vue
Raw Normal View History

2024-09-14 02:26:50 +00:00
<template>
2025-03-03 10:14:17 +00:00
<view>
<view class="nav">生产经营数据</view>
2025-03-03 10:14:17 +00:00
<product-data></product-data>
2024-09-14 02:26:50 +00:00
</view>
</template>
<script setup>
const res = wx.getSystemInfoSync();
const statusHeight = res.statusBarHeight; //状态栏高度
const cusnavbarheight = statusHeight + 44 + 'px';
import productData from '@/pages/views/shengchan/index.vue';
2024-09-14 02:26:50 +00:00
</script>
<style lang="scss" scoped>
.nav {
width: calc(100% - 60rpx);
padding: 0 30rpx;
height: v-bind(cusnavbarheight);
font-size: 24rpx;
color: #ffffff;
2024-09-14 02:26:50 +00:00
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>