1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00

Vue, back edited,added

This commit is contained in:
Konstantin Vinokurov
2022-05-30 00:25:11 +07:00
parent d0b0b59e69
commit e20789565e
15 changed files with 340 additions and 808 deletions

View File

@@ -7,14 +7,26 @@
<img src="@/assets/images/1.1.jpg" alt="">
</div>
<div class="about_describtions">
<h3>Занимаюсь продажей квартир более 10 лет.</h3>
<h4>Имя Фамилия: </h4><h3>{{ name }}</h3>
<h4>Почта: </h4><h3>{{ user.email }}</h3>
<h4>Телефон: </h4><h3>{{ user.phone || 'Не указано' }}</h3>
</div>
</div>
</template>
<script>
import {mapGetters} from "vuex";
export default {
name: "ProfileAbout"
name: "ProfileAbout",
computed: {
...mapGetters({ user: 'user' }),
name() {
return this.user.last_name && this.user.first_name && this.user.middle_name
? `${this.user.last_name} ${this.user.first_name} ${this.user.middle_name}`
: 'Не указано';
}
}
}
</script>