样式调整

This commit is contained in:
mengxiaolong
2021-01-19 16:14:46 +08:00
parent ce7d4dbdf6
commit af4810bfbe

View File

@@ -1,11 +1,11 @@
<!-- 头部用户信息 --> <!-- 头部用户信息 -->
<template> <template>
<div class="user-info flex p15 bg-head align-items-e"> <div class="user-info flex p10 bg-head align-items-e">
<div class="avatar w40 h40"> <div class="avatar w50 h50">
<img class="w40 absolute-center" :src="avatarUrl" /> <img class="w40 absolute-center" :src="avatarUrl" />
<img v-if="isGfStar" class="w40 star absolute-center" :src="avatarBorderUrl" /> <img v-if="isGfStar" class="w40 star absolute-center" :src="avatarBorderUrl" />
</div> </div>
<div class="add-list flex1 ml15"> <div class="add-list flex1 ml10 h50">
<span class="fs16 font-bold name">{{ userInfo.encryptionName }}</span> <span class="fs16 font-bold name">{{ userInfo.encryptionName }}</span>
<img v-if="isGfStar" id="gf-star" class="ml2" :src="titleUrl" /> <img v-if="isGfStar" id="gf-star" class="ml2" :src="titleUrl" />
<div class="">工号 | {{ userInfo.encryptionJobNo }}</div> <div class="">工号 | {{ userInfo.encryptionJobNo }}</div>
@@ -93,7 +93,7 @@ export default {
line-height: 22px; line-height: 22px;
.name { .name {
position: relative; position: relative;
vertical-align: middle; vertical-align: text-top;
} }
#gf-star { #gf-star {
display: inline-block; display: inline-block;