diff --git a/src/components/XNav/index.jsx b/src/components/XNav/index.jsx
new file mode 100644
index 0000000..dbb25d7
--- /dev/null
+++ b/src/components/XNav/index.jsx
@@ -0,0 +1,41 @@
+import {Component} from "react";
+import {Slot, View} from "@tarojs/components";
+import './index.scss';
+import Taro from "@tarojs/taro";
+
+class XNav extends Component {
+
+ static defaultProps = {
+ backgroundColor: '#FFFFFF',
+ position: 'block',
+ }
+
+ constructor(props) {
+ super(props);
+ this.state = {
+ statusBarHeight: 0,
+ };
+ }
+
+ componentDidMount() {
+ const sysInfo = Taro.getSystemInfoSync();
+ this.setState({ statusBarHeight: sysInfo.statusBarHeight });
+ }
+
+ render() {
+ const { statusBarHeight } = this.state;
+ return (
+
+
+ { this.props.children }
+
+
+ )
+ }
+}
+
+export default XNav;
diff --git a/src/components/XNav/index.scss b/src/components/XNav/index.scss
new file mode 100644
index 0000000..25421c4
--- /dev/null
+++ b/src/components/XNav/index.scss
@@ -0,0 +1,12 @@
+.x-nav-box {
+ //padding-top: v-bind(TopHight);
+ //background-color: v-bind(backgroundColor);
+ //position: v-bind(position);
+ top: 0;
+ left: 0;
+ z-index: 999;
+ @apply w-full;
+ .cont {
+ height: 75rpx;
+ }
+}
diff --git a/src/components/XPageBg/index.jsx b/src/components/XPageBg/index.jsx
new file mode 100644
index 0000000..db72a04
--- /dev/null
+++ b/src/components/XPageBg/index.jsx
@@ -0,0 +1,17 @@
+import { Component } from 'react'
+import { Image } from "@tarojs/components";
+
+class XPageBg extends Component {
+
+ static defaultProps = {
+ src: require('../../static/image/背景@2x.png')
+ }
+
+ render() {
+ return (
+
+ );
+ }
+}
+
+export default XPageBg;
diff --git a/src/components/XPageBg/index.scss b/src/components/XPageBg/index.scss
new file mode 100644
index 0000000..e69de29