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

File diff suppressed because one or more lines are too long

View File

@@ -13,11 +13,11 @@
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[3]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[5]!./src/pages/my/index.module.scss ***! !*** css ./node_modules/cache-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[3]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[5]!./src/pages/my/index.module.scss ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.myContentDiv { .myContent {
padding: 20rpx; padding: 20rpx;
} }
.myContent { .myImage {
display: -webkit-flex; display: -webkit-flex;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
@@ -30,6 +30,8 @@
-webkit-justify-content: center; -webkit-justify-content: center;
-ms-flex-pack: center; -ms-flex-pack: center;
justify-content: center; justify-content: center;
background-color: #f6ffed;
padding: 20rpx;
} }
.cellArr { .cellArr {

View File

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

View File

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