|
@@ -0,0 +1,101 @@
|
|
|
+<template>
|
|
|
+ <view>
|
|
|
+ <u-navbar title="编辑个人信息" >
|
|
|
+ <slot name="right">保存</slot>
|
|
|
+ </u-navbar>
|
|
|
+ <view class="photo">
|
|
|
+ <img src="../../../assets/img/editPhoto.png" alt="">
|
|
|
+ <view class="edit-photo">
|
|
|
+ <img src="../../../assets/img/md-camera_alt@1x(1).png" alt="">
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="change">
|
|
|
+ 点击更换头像
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="pet-name">
|
|
|
+ <view class="title">
|
|
|
+ 昵称
|
|
|
+ </view>
|
|
|
+ <view class="name">
|
|
|
+ 用户191012
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+ page{
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ /deep/.u-slot-content{
|
|
|
+ justify-content: end;
|
|
|
+ margin-right: 32rpx;
|
|
|
+ color: rgba(13, 186, 199, 1);
|
|
|
+ }
|
|
|
+ .photo{
|
|
|
+ margin: 20px auto 8px;
|
|
|
+ width: 160rpx;
|
|
|
+ height: 160rpx;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ img{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border-radius: 999px;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ .edit-photo{
|
|
|
+ width: 56rpx;
|
|
|
+ height: 56rpx;
|
|
|
+ background-color: rgba(78, 141, 246, 1);
|
|
|
+ border: 4rpx solid rgba(255, 255, 255, 1);
|
|
|
+ text-align: center;
|
|
|
+ border-radius: 999px;
|
|
|
+ z-index: 999;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+
|
|
|
+ img{
|
|
|
+
|
|
|
+ width: 32rpx;
|
|
|
+ height: 32rpx;
|
|
|
+ margin-top: 8rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .change{
|
|
|
+ color: rgba(13, 186, 199, 1);
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .pet-name{
|
|
|
+ margin-top: 20px;
|
|
|
+ padding: 15px;
|
|
|
+ border-bottom: 1px solid rgba(244, 244, 244, 1);
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ .title{
|
|
|
+ color: rgba(16, 16, 16, 1);
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .name{
|
|
|
+ color: rgba(136, 136, 136, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|