同步代码
This commit is contained in:
@@ -104,7 +104,9 @@
|
||||
.name {
|
||||
flex: 1;
|
||||
padding-left: $padding;
|
||||
font-size: $title-size;
|
||||
font-size: $title-size + 2;
|
||||
font-size: $title-size + 2;
|
||||
color: #454545 !important;
|
||||
@extend .nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="content">
|
||||
<!-- 用户信息 -->
|
||||
<view class="info-flex">
|
||||
<u-avatar :src="userInfo.portraitUrl" shape="square" size="50" bg-color="#fff"></u-avatar>
|
||||
<u-avatar :src="userInfo.portraitUrl || require('@/static/user/cover.png')" shape="square" size="50" bg-color="#fff"></u-avatar>
|
||||
<view class="info-text">
|
||||
<view class="nickname">{{userInfo.name}}</view>
|
||||
<view class="address" @longpress="copyAddress">地址:{{userInfo.address}}</view>
|
||||
@@ -22,11 +22,11 @@
|
||||
<view class="info-btns">
|
||||
<view class="item u-border-bottom" @click="setRemark">
|
||||
<label>设置备注</label>
|
||||
<u-icon name="arrow-right" color="#999" size="16"></u-icon>
|
||||
<u-icon name="arrow-right" color="#eee" size="16" />
|
||||
</view>
|
||||
<view class="item u-border-bottom" @click="setRemark">
|
||||
<label>设置标签</label>
|
||||
<u-icon name="arrow-right" color="#999" size="16"></u-icon>
|
||||
<u-icon name="arrow-right" color="#eee" size="16" />
|
||||
</view>
|
||||
<view class="item u-border-bottom">
|
||||
<label>聊天免打扰</label>
|
||||
@@ -40,21 +40,21 @@
|
||||
<view class="footer">
|
||||
<view class="footer-item" @click="deleteFriend">
|
||||
<view class="icon">
|
||||
<u-icon class="icon-u" name="close-circle-fill" color="#fff" size="26"></u-icon>
|
||||
<u-icon class="icon-u" name="close-circle-fill" color="#fff" size="30" />
|
||||
</view>
|
||||
<view class="text">删除好友</view>
|
||||
</view>
|
||||
<view class="footer-item" @click="toPrivate">
|
||||
<view class="icon">
|
||||
<u-icon class="icon-u" name="chat-fill" color="#fff" size="26"></u-icon>
|
||||
<view class="icon ">
|
||||
<u-icon class="icon-u" name="chat-fill" color="#fff" size="30" />
|
||||
</view>
|
||||
<view class="text">发送消息</view>
|
||||
</view>
|
||||
<view class="footer-item" @click="callShow = true">
|
||||
<view class="icon">
|
||||
<u-icon class="icon-u" name="camera-fill" color="#fff" size="26"></u-icon>
|
||||
<u-icon class="icon-u" name="camera-fill" color="#fff" size="30" />
|
||||
</view>
|
||||
<view class="text">视频通话</view>
|
||||
<view class="text">音/视频通话</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
@@ -62,7 +62,7 @@
|
||||
<view class="footer">
|
||||
<view class="footer-item" @click="toBeFriend">
|
||||
<view class="icon">
|
||||
<u-icon class="icon-u" name="plus-people-fill" color="#fff" size="26"></u-icon>
|
||||
<u-icon class="icon-u" name="plus-people-fill" color="#fff" size="30" />
|
||||
</view>
|
||||
<view class="text">申请好友</view>
|
||||
</view>
|
||||
@@ -282,7 +282,7 @@
|
||||
.nickname {
|
||||
line-height: 30px;
|
||||
font-size: $title-size + 6;
|
||||
color: $text-color;
|
||||
color: #454545;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@@ -309,26 +309,36 @@
|
||||
.footer-item {
|
||||
margin: 0 $margin/2;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
|
||||
.icon {
|
||||
background: $main-color;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
display: inline-block;
|
||||
// line-height: 88rpx;
|
||||
// display: inline-block;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
|
||||
.icon-u {
|
||||
margin-top: calc((88rpx/2) - 13px);
|
||||
margin-left: calc((88rpx/2) - 13px);
|
||||
// margin-top: calc((88rpx/2) - 13px);
|
||||
// margin-left: calc((88rpx/2) - 13px);
|
||||
}
|
||||
}
|
||||
|
||||
.text {
|
||||
color: $main-color;
|
||||
font-size: $title-size-m;
|
||||
font-size: $title-size-m - 2;
|
||||
text-align: center;
|
||||
padding-top: 10rpx;
|
||||
padding-top: 16rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -339,12 +349,14 @@
|
||||
background: white;
|
||||
margin: $margin;
|
||||
border-radius: $radius;
|
||||
|
||||
.u-border-bottom{
|
||||
border-bottom: solid 1rpx #f9f9f9 !important;
|
||||
}
|
||||
.item {
|
||||
line-height: 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 $padding;
|
||||
padding:10rpx $padding;
|
||||
justify-content: space-between;
|
||||
font-size: $title-size-lg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user