|
@@ -1,12 +1,14 @@
|
|
<template>
|
|
<template>
|
|
- <div id="index">
|
|
|
|
|
|
+ <div id="account">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="top">
|
|
<el-col :span="24" class="top">
|
|
<top topType="2" :leftArrow="false"></top>
|
|
<top topType="2" :leftArrow="false"></top>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" class="info" :style="{ height: clientHeight + 'px' }"> 我要服务 </el-col>
|
|
|
|
- <el-col :span="24" class="foot"> 底部 </el-col>
|
|
|
|
|
|
+ <el-col :span="24" class="info" :style="{ height: clientHeight + 'px' }"> 个人中心 </el-col>
|
|
|
|
+ <el-col :span="24" class="foot">
|
|
|
|
+ <foot :type="2"></foot>
|
|
|
|
+ </el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
@@ -14,12 +16,14 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import top from '@/layout/common/top.vue';
|
|
import top from '@/layout/common/top.vue';
|
|
|
|
+import foot from '@/layout/common/foot.vue';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
export default {
|
|
export default {
|
|
- name: 'index',
|
|
|
|
|
|
+ name: 'account',
|
|
props: {},
|
|
props: {},
|
|
components: {
|
|
components: {
|
|
top,
|
|
top,
|
|
|
|
+ foot,
|
|
},
|
|
},
|
|
data: function () {
|
|
data: function () {
|
|
return {
|
|
return {
|
|
@@ -28,7 +32,7 @@ export default {
|
|
},
|
|
},
|
|
async created() {},
|
|
async created() {},
|
|
mounted() {
|
|
mounted() {
|
|
- let clientHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 90;
|
|
|
|
|
|
+ let clientHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 80;
|
|
this.$set(this, `clientHeight`, clientHeight);
|
|
this.$set(this, `clientHeight`, clientHeight);
|
|
},
|
|
},
|
|
methods: {},
|
|
methods: {},
|
|
@@ -60,7 +64,7 @@ export default {
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
}
|
|
}
|
|
.foot {
|
|
.foot {
|
|
- height: 50px;
|
|
|
|
|
|
+ height: 40px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
border-top: 1px solid #f1f1f1;
|
|
border-top: 1px solid #f1f1f1;
|
|
}
|
|
}
|