You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
782 B
28 lines
782 B
import {CustomWrapper, View} from "@tarojs/components";
|
|
import Taro from "@tarojs/taro";
|
|
import styles from './my.module.scss'
|
|
import {Profile} from '@/store'
|
|
import Header from "./components/header/header";
|
|
import {FC} from "react";
|
|
import Time from "@/pages/my/components/header/time";
|
|
import Service from "@/pages/my/components/header/service";
|
|
|
|
const My: FC = () => {
|
|
const globalData = Taro.getApp().globalData
|
|
|
|
return (
|
|
<CustomWrapper>
|
|
<Profile.Provider>
|
|
<View className={styles.content} style={`paddingTop:${globalData.statusBarHeight}px`}>
|
|
<Header/>
|
|
<View className={styles.ribbon}>
|
|
<Time/>
|
|
<Service/>
|
|
</View>
|
|
</View>
|
|
</Profile.Provider>
|
|
</CustomWrapper>
|
|
)
|
|
}
|
|
|
|
export default My
|
|
|