提交 7f7db937 编写于 作者: L linju

213

上级 233c20ab
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
image,switch,navigator,icons { image,switch,navigator,icons {
display: flex; display: flex;
box-sizing: border-box; box-sizing: border-box;
flex-direction: column;
} }
scroll-view{ scroll-view{
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
......
...@@ -70,9 +70,7 @@ ...@@ -70,9 +70,7 @@
}, { }, {
"path": "pages/ucenter/ucenter", "path": "pages/ucenter/ucenter",
"style": { "style": {
"navigationBarTitleText": "个人中心", "navigationStyle":"custom"
"navigationBarBackgroundColor": "#2F85FC",
"navigationBarTextStyle": "white"
} }
}, { }, {
"path": "pages/uni-feedback/uni-feedback", "path": "pages/uni-feedback/uni-feedback",
......
<template> <template>
<view class="center"> <view class="center">
<view class="logo" @click="goLogin" :hover-class="!login ? 'logo-hover' : ''"> <view class="userInfo" @click="goLogin" :hover-class="!login ? 'logo-hover' : ''">
<image class="logo-img" :src="login ? (userInfo.avatar || avatarUrl) :avatarUrl"></image> <image class="logo-img" :src="login ? (userInfo.avatar || avatarUrl) :avatarUrl"></image>
<view class="logo-title"> <view class="logo-title">
<text class="uer-name">Hi,{{login ? userInfo.username : '您未登录'}}</text> <text class="uer-name">Hi,{{login ? userInfo.username : '您未登录'}}</text>
...@@ -168,12 +168,12 @@ ...@@ -168,12 +168,12 @@
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.logo { .userInfo {
width: 750upx; width: 750rpx;
height: 240upx; padding: 20rpx;
padding: 20upx; padding-top:50px;
background-color: #2F85FC; background-color: #2F85FC;
flex-direction: row; flex-direction: column;
align-items: center; align-items: center;
} }
...@@ -182,38 +182,39 @@ ...@@ -182,38 +182,39 @@
} }
.logo-img { .logo-img {
width: 150upx; width: 150rpx;
height: 150upx; height: 150rpx;
border-radius: 150upx; border-radius: 150rpx;
border: solid 1px #FFFFFF;
} }
.logo-title { .logo-title {
height: 150upx; height: 150rpx;
flex: 1; flex: 1;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
flex-direction: row; flex-direction: row;
margin-left: 20upx; margin-left: 20rpx;
} }
.uer-name { .uer-name {
height: 60upx; height: 60rpx;
line-height: 60upx; line-height: 60rpx;
font-size: 38upx; font-size: 38rpx;
color: #FFFFFF; color: #FFFFFF;
} }
.go-login-navigat-arrow { .go-login-navigat-arrow {
font-size: 38upx; font-size: 38rpx;
color: #FFFFFF; color: #FFFFFF;
} }
.navigat-arrow { .navigat-arrow {
height: 90upx; height: 90rpx;
width: 40upx; width: 40rpx;
line-height: 90upx; line-height: 90rpx;
font-size: 34upx; font-size: 34rpx;
color: #555; color: #FFFFFF;
text-align: right; text-align: right;
font-family: texticons; font-family: texticons;
} }
...@@ -241,5 +242,17 @@ ...@@ -241,5 +242,17 @@
.uni-grid .item /deep/ .uni-grid-item__box { .uni-grid .item /deep/ .uni-grid-item__box {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
/*修改边线粗细示例*/
/* #ifndef APP-NVUE */
.center-list /deep/ .uni-list--border:after,
.center-list /deep/ .uni-list--border-top ,
.center-list /deep/ .uni-list--border-bottom{
-webkit-transform: scaleY(0.2);
transform: scaleY(0.2);
}
/* #endif */
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册