|
|
@@ -27,14 +27,19 @@
|
|
|
</div>
|
|
|
</router-link> -->
|
|
|
<div class="userInfo flex-center">
|
|
|
+ <!-- <el-tooltip content="联系我们" effect="dark" placement="bottom">
|
|
|
+ <div style="font-size: 20px;margin-right: 10px;cursor: pointer;">
|
|
|
+ <i class="el-icon-service" @click="childMethod()"></i>
|
|
|
+ </div>
|
|
|
+ </el-tooltip> -->
|
|
|
<el-avatar fit="fill" :size="50" :src="avatar"></el-avatar>
|
|
|
<div class="nameAndIntegral">
|
|
|
<div>姓名: {{ userInfo.userName }}</div>
|
|
|
<div>
|
|
|
积分: <span class="blue">{{ userInfo.surplusIntegral }}</span>
|
|
|
- <!-- <router-link to="/ipay">
|
|
|
+ <router-link to="/ipay">
|
|
|
<span class="ipay-btn">充值</span>
|
|
|
- </router-link> -->
|
|
|
+ </router-link>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -53,7 +58,11 @@ export default {
|
|
|
...mapGetters(['userInfo','avatar'])
|
|
|
},
|
|
|
created() {},
|
|
|
- methods: {},
|
|
|
+ methods: {
|
|
|
+ childMethod() {
|
|
|
+ this.$parent.fatherMethod();
|
|
|
+ },
|
|
|
+ },
|
|
|
}
|
|
|
</script>
|
|
|
|