feat: 我的页面

This commit is contained in:
eric
2022-11-20 10:23:10 +08:00
parent 83dd1cbafb
commit dd54abf0b9
4 changed files with 22 additions and 22 deletions

View File

@@ -1,13 +1,15 @@
.myContentDiv{
.myContent{
padding: 20px;
}
.myContent{
// background-color: yellow;
.myImage{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background-color: #f6ffed;
padding: 20px;
}
.cellArr{

View File

@@ -21,23 +21,19 @@ const my = (props: any) => {
const CardCom = () => {
return (
<ActiveCard />
// <Card
// num=""
// price=""
// desc="活动描述信息"
// title="活动标题"
// thumb="cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images.jpg"
// />
<View>
{[1, 2, 3, 4].splice(0, 2).map((item: any) => {
return <ActiveCard />;
})}
</View>
);
};
return (
<View className="myContentDiv">
<View className="myContent">
{/* <View className={styles?.myContent}> */}
{/* 头像 */}
<View className={`myContent`}>
<View className={`myImage`}>
<Image
round
width="100px"
@@ -55,12 +51,12 @@ const my = (props: any) => {
</Tabs>
</View>
<View className="cellArr">
<Cell icon='manager' title="个人资料" isLink />
<View className="cellArr">
<Cell icon="manager" title="个人资料" isLink />
{/* <Cell title="收藏" isLink /> */}
<Cell
title="微信客服"
icon='wechat'
icon="wechat"
isLink
value=""
onClick={() => {
@@ -73,8 +69,8 @@ const my = (props: any) => {
});
}}
/>
<Cell icon='friends' title="关于我们" isLink />
<Cell icon='setting' title="版本日志" isLink />
<Cell icon="friends" title="关于我们" isLink />
<Cell icon="setting" title="版本日志" isLink />
</View>
<TabbarCom active={2} />