123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <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">
- <input type="text" name="" id="" placeholder="用户191012" style="text-align: right;">
- </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>
|