contact.vue
2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<template>
<div >
<h3 class="box_h3"><img :src="homelist[0].wybm.minicon" alt="" class="circular"><span class="circular_title">{{homelist[0].wybm.title}}</span></h3>
<div class="wybm_content">
<p>
<span>
<img src="http://gxbfile-gs.gaoxiaobang.com/Huixuexi/yidongduanicon-.png" alt="">
</span>
<span class="tell">电</span><span>话:</span>
<span class="weights left_weight">{{wybm.phonenum}}</span>
<span class="weights left_weight">胡老师</span>
</p>
<p>
<span>
<img src="http://gxbfile-gs.gaoxiaobang.com/Huixuexi/zhandianwangzhanhulianwangie.png" alt="">
</span>
<span >学院网址:</span>
<span class="weights">https://zzy-ibs.bfsu.edu.cn</span>
</p>
<p class="last_p">
<span class="img">
<img src="http://gxbfile-gs.gaoxiaobang.com/Huixuexi/dizhi.png" alt="">
</span>
<span class="last_center">学院地址:</span>
<span class="weights">北京市海淀区西三环北路19号北京外国语大学西校区综合楼903</span>
</p>
</div>
</div>
</template>
<script>
import list from '@/assets/json/homecenter.json';
export default {
name: 'contact',
components: {},
data(){
return {
homelist: []
}
},
methods: {
},
created() {
this.homelist = list.homecenter.home;
var index = this.$route.query.index;
this.wybm = this.homelist[index].wybm;
// this.initWx()
this.$share.initWx('/master')
},
mounted() {
document.querySelector('body').setAttribute('style', 'background-color:#fff;')
}
}
</script>
<style lang="" scoped>
.banner_img{width:100%;}
.major_title{display:flex;justify-content: space-between;}
.wybm_content{width:92%;margin:auto;}
.wybm_content p{margin:.2rem 0 .3rem 0;line-height: .5rem;}
.wybm_content img{width:.4rem;margin-right:.2rem;}
.wybm_content p span{font-size:.28rem;}
.tell{margin-right:.6rem;}
.weights{font-weight:600;}
.left_weight{margin-left:.18rem;}
.right_weight{display:block;margin-left:2.1rem;}
.wybm_content .last_p{margin-bottom:0;}
h3.box_h3{margin-top:.4rem;}
.last_p .img{float:left;margin-right:.08rem;}
.last_p .last_center{float:left;padding-top:.01rem;}
.last_p .weights{float:left;width:65%;line-height:.34rem;}
</style>