|
@@ -11,20 +11,20 @@
|
|
|
<el-col :span="24" class="two">
|
|
|
<el-col :span="8" class="two_1">
|
|
|
<el-col :span="24" class="two_1_1">联系我们:</el-col>
|
|
|
- <el-col :span="24" class="two_1_2">{{ contactInfo.mobile }}</el-col>
|
|
|
+ <el-col :span="24" class="two_1_2">{{ siteInfo.mobile }}</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="8" class="two_2">
|
|
|
<el-col :span="24" class="two_2_1">
|
|
|
<span>联系QQ:</span>
|
|
|
- <span>{{ contactInfo.qq }}</span>
|
|
|
+ <span>{{ siteInfo.qq }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="two_2_1">
|
|
|
<span>手机号码:</span>
|
|
|
- <span>{{ contactInfo.phone }}</span>
|
|
|
+ <span>{{ siteInfo.phone }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="two_2_1">
|
|
|
<span>联系邮箱:</span>
|
|
|
- <span>{{ contactInfo.email }}</span>
|
|
|
+ <span>{{ siteInfo.email }}</span>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="8" class="two_3"></el-col>
|
|
@@ -39,7 +39,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { siteInfo, contactInfo, webmenus } from '../../../layout/site';
|
|
|
+import { contactInfo, webmenus } from '../../../layout/site';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
export default {
|
|
|
name: 'footer-1',
|
|
@@ -48,11 +48,18 @@ export default {
|
|
|
data: function () {
|
|
|
return {
|
|
|
menus: webmenus,
|
|
|
+ siteInfo: {},
|
|
|
contactInfo: contactInfo,
|
|
|
};
|
|
|
},
|
|
|
- created() {},
|
|
|
+ created() {
|
|
|
+ this.search();
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ search() {
|
|
|
+ let companyInfo = sessionStorage.getItem('companyInfo');
|
|
|
+ this.$set(this, `siteInfo`, JSON.parse(companyInfo));
|
|
|
+ },
|
|
|
toHome(e) {
|
|
|
this.$router.push({ path: e.path });
|
|
|
window.scrollTo(0, 1);
|