111111111

This commit is contained in:
小陌 2024-01-03 23:01:20 +08:00
parent 1a3fa7ca71
commit e104d8b6f4

View File

@ -1,10 +1,10 @@
<template>
<el-container class="page-user">
<el-header :style="{padding: 0, 'min-height': stat.length>0?'150px':'100px', '--el-header-height':'auto'}">
<el-header :style="{padding: 0, 'min-height': stat.length>0?'150px':'90px', '--el-header-height':'auto'}">
<div style="width: 100%;">
<div class="acea-row user-row">
<div class="avatar mr15">
<x-upload v-if="avatarupload" :data=userPost v-model="user.avatar" ref="uploader" :api="avatarupload" width="68" height="68" icon="el-icon-UploadFilled" :onRemove="onRemove" class="xuavatar" round :cropper="true" title="上传" :replaceupload="true" :aspectRatio="1 / 1" style="border-radius: 10px" />
<x-upload v-if="avatarupload" :data=userPost v-model="user.avatar" ref="uploader" :api="avatarupload" width="68" height="68" icon="el-icon-UploadFilled" :onRemove="onRemove" class="xuavatar" round :cropper="true" title="" :replaceupload="true" :aspectRatio="1 / 1" style="border-radius: 10px" />
<el-avatar :size="68" v-else :src="user.avatar" style="border-radius: 10px"></el-avatar>
</div>
<div class="user-row-text">
@ -25,12 +25,12 @@
<el-button @click="xupdate('message', '发送消息', 'drawer')" type="info" size="small">
系统消息
</el-button>
<el-button @click="xupdate('user', '编辑信息', 'fdsafdafafa')" type="info" color="#607d8b" size="small">
<el-button @click="xupdate('user', '编辑信息')" type="info" color="#607d8b" size="small">
编辑资料
</el-button>
</div>
</div>
<el-row style="padding: 15px 10px 15px 25px;" v-if="stat.length>0">
<el-row style="padding: 10px 10px 15px 25px;" v-if="stat.length>0">
<el-col :span="s.span" v-for="(s,index) in stat" :key="index">
<el-statistic v-bind="s" />
</el-col>
@ -106,7 +106,7 @@
}
.user-row {
padding: 10px 10px 0 20px;
padding: 10px 10px 10px 20px;
width: 100%;
display: -webkit-box;
display: -moz-box;