You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

272 lines
7.2 KiB
Vue

4 years ago
<template>
<div class="serviceoutlets-container">
<div class="maincontent w">
<div class="maincontentleft">
<div class="subset">
<div class="imgbox">
4 years ago
<img src="../../assets/zhengzhou.png" alt="" />
4 years ago
</div>
<div class="outletsinfobox">
<div class="outletsname">伯才人力郑州旗舰店</div>
<p class="outletsinfo">
一个自营+撮合的B2B人力资源供应链协同平台团队通过数据挖掘
算法优化等IT技术构建多角色参与的复杂协同网络为劳动密集型的
服务业企业提供RPOBPOHRO等人力资源服务
</p>
<div class="bottombox">
4 years ago
<div
class="outletslocation"
@click="tomap"
style="cursor: pointer"
>
4 years ago
<i class="iconfont icon-dingwei"></i
4 years ago
><span ref="maplocation">河南省郑州市航空港区XX街道XX号</span>
4 years ago
</div>
4 years ago
<!-- <button>录单</button> -->
4 years ago
</div>
</div>
</div>
<div class="subset">
<div class="imgbox">
4 years ago
<img src="../../assets/xuchang.png" alt="" />
4 years ago
</div>
<div class="outletsinfobox">
<div class="outletsname">伯才人力许昌服务店</div>
<p class="outletsinfo">
一个自营+撮合的B2B人力资源供应链协同平台团队通过数据挖掘
算法优化等IT技术构建多角色参与的复杂协同网络为劳动密集型的
服务业企业提供RPOBPOHRO等人力资源服务
</p>
<div class="bottombox">
4 years ago
<div
class="outletslocation"
@click="tomap"
style="cursor: pointer"
>
4 years ago
<i class="iconfont icon-dingwei"></i
4 years ago
><span ref="maplocation">河南省许昌市襄城县XX街道XX号</span>
4 years ago
</div>
4 years ago
<!-- <button>录单</button> -->
4 years ago
</div>
</div>
</div>
</div>
<div class="maincontentright">
<div class="hotphone">
4 years ago
<h1 class="bottombox"><i>服务热线</i></h1>
4 years ago
<p>0371-6611 3723</p>
4 years ago
</div>
<!-- <div class="relationme">
4 years ago
<p class="bottombox"><i>一手单合作</i></p>
<button>发布一手单</button>
</div> -->
4 years ago
<!-- <recommend :relationList="relationList" /> -->
4 years ago
</div>
</div>
</div>
</template>
<script>
4 years ago
// import recommend from "@/components/FirstJob/components/recommend.vue";
4 years ago
4 years ago
export default {
// 组件名称
name: "",
// 局部注册的组件
4 years ago
components: {
4 years ago
// recommend,
4 years ago
},
4 years ago
// 组件参数 接收来自父组件的数据
props: {},
// 组件状态值
data() {
return {
relationList: [1, 2, 3],
4 years ago
searchurl:
"http://api.map.baidu.com/geocoder?output=html&src=webapp.baidu.openAPIdemo&address=",
4 years ago
};
},
// 计算属性
computed: {},
// 侦听器
watch: {},
// 生命周期钩子 注:没用到的钩子请自行删除
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {},
/**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/
mounted() {},
// 组件方法
4 years ago
methods: {
tomap() {
const value = this.$refs.maplocation.innerHTML;
// console.log(this.$refs.maplocation.innerHTML);
console.log(this.searchrl);
window.location.href = this.searchurl + value;
},
},
4 years ago
};
</script>
<style scoped lang="less">
/deep/ .maincontent {
display: flex;
justify-content: space-between;
margin-top: 16px;
.maincontentleft {
4 years ago
width: 944px;
4 years ago
margin-right: 16px;
4 years ago
margin-bottom: 130px;
4 years ago
text-align: left;
.subset {
display: flex;
justify-content: space-between;
4 years ago
// width: 914px;
4 years ago
height: 226px;
padding: 20px;
margin-bottom: 16px;
background: #ffffff;
border-radius: 4px;
4 years ago
transition: all 0.2s;
&:hover {
// position: relative;
box-shadow: 3px 3px 20px 0px rgba(77, 87, 94, 0.1);
// transform: translateY(-0.5px);
}
4 years ago
.imgbox {
width: 248px;
height: 186px;
margin-right: 20px;
img {
width: 100%;
height: 100%;
}
}
.outletsinfobox {
flex: 1;
.outletsname {
font-size: 20px;
4 years ago
font-weight: normal;
4 years ago
text-align: left;
color: #4d575e;
line-height: 30px;
}
.outletsinfo {
4 years ago
margin-top: 24px;
font-size: 15px;
4 years ago
text-align: left;
4 years ago
color: #4d575ecc;
line-height: 24px;
4 years ago
}
.bottombox {
display: flex;
justify-content: space-between;
margin-top: 30px;
.outletslocation {
color: #ff6a00;
// line-height: 22px;
4 years ago
font-size: 17px;
4 years ago
i {
4 years ago
vertical-align: baseline;
font-size: 18px;
margin-right: 8px;
4 years ago
}
}
button {
4 years ago
// padding: 5px 20px;
width: 100px;
height: 32px;
line-height: 32px;
4 years ago
border: 1px solid #ff6a00;
font-size: 16px;
color: #ff6a00;
background-color: #fff;
border-radius: 4px;
}
}
}
}
4 years ago
// .pagecontainer {
// text-align: center;
// margin-bottom: 80px;
4 years ago
4 years ago
// .ant-pagination-item {
// border: none;
// a:hover {
// color: #ff6a00;
// }
// }
// .ant-pagination-item-active {
// background: #ff6a00;
// a {
// color: white;
// }
// a:hover {
// color: white;
// }
// }
// .ant-pagination-item-link {
// border: none;
// }
// }
4 years ago
}
.maincontentright {
> div {
margin-bottom: 16px;
}
.hotphone {
4 years ago
overflow: hidden;
position: relative;
4 years ago
width: 240px;
4 years ago
height: 160px;
// height: 114px;
padding: 0 20px 20px;
4 years ago
border-radius: 4px;
background-color: #fff;
4 years ago
text-align: center;
4 years ago
p {
4 years ago
position: absolute;
width: 100%;
4 years ago
font-size: 24px;
color: #ff6a00;
4 years ago
// font-weight: normal;
4 years ago
top: 65%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
4 years ago
}
}
.relationme {
4 years ago
overflow: hidden;
position: relative;
4 years ago
width: 240px;
4 years ago
height: 160px;
padding: 0 20px 20px;
color: rgba(0, 0, 0, 0.85);
4 years ago
background: #ffffff;
4 years ago
text-align: center;
4 years ago
button {
4 years ago
position: absolute;
width: 120px;
4 years ago
height: 32px;
margin-top: 16px;
4 years ago
font-size: 16px;
4 years ago
line-height: 20px;
4 years ago
border-radius: 999px;
4 years ago
border: 0;
background-color: #ff6a00;
color: #fff;
4 years ago
top: 55%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
4 years ago
}
}
}
}
</style>