提交 e0b60a46 编写于 作者: 芊里

Merge branch 'master' of https://gitee.com/dcloud/base-app

...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
// "backgroundColor": "transparent", // "backgroundColor": "transparent",
"app-plus": { "app-plus": {
"animationType": "fade-in", "animationType": "fade-in",
// "background": "transparent", "background": "transparent",
"popGesture": "none", "popGesture": "none",
"titleNView":false "titleNView":false
// "navigationBarTitleText": "", // "navigationBarTitleText": "",
...@@ -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>
...@@ -165,12 +165,12 @@ ...@@ -165,12 +165,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;
} }
...@@ -179,38 +179,39 @@ ...@@ -179,38 +179,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;
} }
...@@ -239,4 +240,16 @@ ...@@ -239,4 +240,16 @@
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.
先完成此消息的编辑!
想要评论请 注册