contact.vue 2.33 KB
<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>