删除个人 页
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
export default definePageConfig({
|
|
||||||
navigationBarTitleText: '个人中心',
|
|
||||||
// navigationBarBackgroundColor: '#FAFAFA',
|
|
||||||
navigationStyle: 'custom',
|
|
||||||
})
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
@use '~@/scss/images.scss' as img;
|
|
||||||
|
|
||||||
$--Backgrounds-Primary: '#fff';
|
|
||||||
|
|
||||||
.personal-container {
|
|
||||||
width: 100%;
|
|
||||||
height: 100vh;
|
|
||||||
background: radial-gradient(227.15% 100% at 50% 0%, #EEFFDC 0%, #FFF 36.58%), var(--Backgrounds-Primary, #FFF);
|
|
||||||
padding-top: 100px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
|
|
||||||
.personal-navigator {
|
|
||||||
position: fixed;
|
|
||||||
left: 10px;
|
|
||||||
top: 54px;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
|
|
||||||
.personal-navigator-back {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.personal-content {
|
|
||||||
width: 100%;
|
|
||||||
height: calc(100vh - 300px);
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
font-size: 32px;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import { View, Text, Image } from '@tarojs/components'
|
|
||||||
import Taro, { useRouter } from '@tarojs/taro'
|
|
||||||
import GuideBar from '@/components/GuideBar'
|
|
||||||
import img from '@/config/images'
|
|
||||||
import './index.scss'
|
|
||||||
|
|
||||||
const Personal = () => {
|
|
||||||
const { params } = useRouter()
|
|
||||||
const { id } = params
|
|
||||||
|
|
||||||
const handleBack = () => {
|
|
||||||
Taro.navigateBack()
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<View className='personal-container'>
|
|
||||||
{id && (
|
|
||||||
<View className='personal-navigator' onClick={handleBack}>
|
|
||||||
<Image className='personal-navigator-back' src={img.ICON_NAVIGATOR_BACK} />
|
|
||||||
</View>
|
|
||||||
)}
|
|
||||||
<View className='personal-content'>
|
|
||||||
<Text>Personal</Text>
|
|
||||||
</View>
|
|
||||||
<GuideBar currentPage='personal' />
|
|
||||||
</View>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Personal
|
|
||||||
Reference in New Issue
Block a user