|
@@ -1,6 +1,12 @@
|
|
<template>
|
|
<template>
|
|
<view>
|
|
<view>
|
|
|
|
+ <view class="backbb">
|
|
|
|
+ <view @click="back" style="color: aliceblue;padding-top: 20rpx;padding-left: 20rpx;padding-bottom: 10rpx;">
|
|
|
|
+ 返回
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<view class="person-head">
|
|
<view class="person-head">
|
|
|
|
+
|
|
<view class="cu-avatar xl round margin-left-sm" @tap="ChooseImage" :style="`background-image:url('${avatar}')`" ></view>
|
|
<view class="cu-avatar xl round margin-left-sm" @tap="ChooseImage" :style="`background-image:url('${avatar}')`" ></view>
|
|
|
|
|
|
<view class="person-head-box">
|
|
<view class="person-head-box">
|
|
@@ -15,7 +21,7 @@
|
|
<text class="text-grey">公司</text>
|
|
<text class="text-grey">公司</text>
|
|
</view>
|
|
</view>
|
|
<view class="action">
|
|
<view class="action">
|
|
- <text class="text-grey">{{userInfo.companyDTO && userInfo.companyDTO.name || ''}}</text>
|
|
|
|
|
|
+ <text class="text-grey">{{userInfo.remarks || '无'}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="cu-item">
|
|
<view class="cu-item">
|
|
@@ -71,7 +77,7 @@
|
|
<text class="text-grey">修改密码</text>
|
|
<text class="text-grey">修改密码</text>
|
|
</view>
|
|
</view>
|
|
<view class="action">
|
|
<view class="action">
|
|
- <text class="text-grey">{{userInfo.officeDTO.name || ''}}</text>
|
|
|
|
|
|
+ <text class="text-grey"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -137,17 +143,24 @@
|
|
url: '/pages/login/login'
|
|
url: '/pages/login/login'
|
|
})
|
|
})
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ back(){
|
|
|
|
+ // 返回逻辑,比如跳转至上一页
|
|
|
|
+ this.$router.go(-1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
|
+ .backbb{
|
|
|
|
+ background: linear-gradient(to right, #365fff, #36bbff);
|
|
|
|
+ }
|
|
.person-head {
|
|
.person-head {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
align-items: center;
|
|
- height: 150px;
|
|
|
|
|
|
+ height: 140px;
|
|
padding-left: 20px;
|
|
padding-left: 20px;
|
|
background: linear-gradient(to right, #365fff, #36bbff);
|
|
background: linear-gradient(to right, #365fff, #36bbff);
|
|
}
|
|
}
|