|
|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
+ <top-title :titleValue="title" style="width: 100%;"></top-title>
|
|
|
<div class="self-inf">
|
|
|
<div class="img-name-box" v-if="isAuth">
|
|
|
<image :src="userHeadImg" class="heade-img" mode="aspectFill"></image>
|
|
|
@@ -36,14 +37,16 @@
|
|
|
|
|
|
<script>
|
|
|
import md5 from "@/common/md5.js";
|
|
|
+import topTitle from '@/components/top-title/top-title.vue';
|
|
|
import footTabs from '@/components/foot-tabs/footTabs.vue';
|
|
|
export default {
|
|
|
components: {
|
|
|
- 'foot-tabs': footTabs
|
|
|
+ 'foot-tabs': footTabs,
|
|
|
+ 'top-title': topTitle
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- message: "我的",
|
|
|
+ title: "个人中心",
|
|
|
isAuth: true,
|
|
|
userHeadImg: "",
|
|
|
userNickName: "",
|
|
|
@@ -252,7 +255,7 @@ export default {
|
|
|
border-radius: 0rpx 0rpx 100% 100%;
|
|
|
.img-name-box {
|
|
|
height: 150rpx;
|
|
|
- margin-top: 70rpx;
|
|
|
+ margin-top: 110rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
.auth-btn {
|