|
@@ -1,14 +1,12 @@
|
|
|
<template>
|
|
|
<view >
|
|
|
<image mode="widthFix" src="/static/wd_bg_login.jpg" class="login_full_img"></image>
|
|
|
- <u-navbar title="我的资料" :border-bottom="false" background="{ background: '#ffffff',opacity:0.4; }" title-color="#ffffff" back-icon-color="#ffffff">
|
|
|
-
|
|
|
- </u-navbar>
|
|
|
+
|
|
|
|
|
|
<view class="loginBox">
|
|
|
<view style="display: flex;height: 160rpx;justify-content: center;" >
|
|
|
<view style="text-align: center;">
|
|
|
- <image @click="editAvatar" :src="$method.splitImgHost(form.avatar, true)" class="avatar"></image>
|
|
|
+ <image @click="editAvatar" :src="form.avatar?$method.splitImgHost(form.avatar, true):''" class="avatar"></image>
|
|
|
<view class="nick">{{form.realname}}</view>
|
|
|
<view>
|
|
|
<view class="item">
|
|
@@ -72,6 +70,9 @@
|
|
|
<u-input v-model="idCard" placeholder="请输入身份证" />
|
|
|
</view>
|
|
|
</u-modal>
|
|
|
+ <u-navbar title="我的资料" :border-bottom="false" background="{ background: '#ffffff',opacity:0.4; }" title-color="#ffffff" back-icon-color="#ffffff">
|
|
|
+
|
|
|
+ </u-navbar>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -80,7 +81,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- form:{},
|
|
|
+ form:{avatar:''},
|
|
|
array_sex: ['男', '女'],
|
|
|
n_show:false,
|
|
|
defaultRegionCode: '440112',
|
|
@@ -294,12 +295,6 @@ export default {
|
|
|
</style>
|
|
|
|
|
|
<style scope>
|
|
|
- .avatar{
|
|
|
- height: 70rpx;
|
|
|
- width: 70rpx;
|
|
|
- border-radius: 50%;
|
|
|
-
|
|
|
- }
|
|
|
.slot-content{
|
|
|
margin: 30rpx;
|
|
|
color: #606266;
|
|
@@ -328,16 +323,17 @@ export default {
|
|
|
}
|
|
|
.loginBox{
|
|
|
position: relative;
|
|
|
- top: -108px;
|
|
|
+ top: -80rpx;
|
|
|
}
|
|
|
.avatar{
|
|
|
- width: 80px;
|
|
|
- height: 80px;
|
|
|
+ width: 160rpx;
|
|
|
+ height: 160rpx;
|
|
|
+ border-radius: 50%;
|
|
|
}
|
|
|
.login_full_img {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
- height: 280rpx !important;
|
|
|
+ height: 140px !important;
|
|
|
z-index: -999;
|
|
|
top: 0;
|
|
|
}
|