第二版提交

cyl/dev
王下 4 years ago
parent d002e4d311
commit ffa937777d

@ -78,7 +78,7 @@ export default {
.w { .w {
// background-color: #fff; // background-color: #fff;
// margin: 16px auto; // margin: 16px auto;
padding: 30px 0; padding: 16px 0 30px 0;
.bannerbox { .bannerbox {
position: relative; position: relative;
width: 100%; width: 100%;

@ -34,9 +34,9 @@
服务业企业提供RPOBPOHRO等人力资源服务 服务业企业提供RPOBPOHRO等人力资源服务
</p> </p>
<div class="bottombox"> <div class="bottombox">
<div class="outletslocation"> <div class="outletslocation" @click="tomap">
<i class="iconfont icon-dingwei"></i <i class="iconfont icon-dingwei"></i
>河南省许昌市襄城县XX街道XX号 ><span ref="maplocation">河南省许昌市襄城县XX街道XX号</span>
</div> </div>
<button>录单</button> <button>录单</button>
</div> </div>
@ -70,6 +70,8 @@ export default {
data() { data() {
return { return {
relationList: [1, 2, 3], relationList: [1, 2, 3],
searchurl:
"http://api.map.baidu.com/geocoder?output=html&src=webapp.baidu.openAPIdemo&address=",
}; };
}, },
// //
@ -87,7 +89,14 @@ export default {
*/ */
mounted() {}, mounted() {},
// //
methods: {}, methods: {
tomap() {
const value = this.$refs.maplocation.innerHTML;
// console.log(this.$refs.maplocation.innerHTML);
console.log(this.searchrl);
window.location.href = this.searchurl + value;
},
},
}; };
</script> </script>

@ -101,6 +101,7 @@ body {
// height: 3080px; // height: 3080px;
background-color: #eef1f5; background-color: #eef1f5;
font-size: 18px; font-size: 18px;
text-align: center;
} }
p { p {
font-size: 18px; font-size: 18px;

@ -14,7 +14,7 @@
</li> </li>
</ul> </ul>
<div class="formbox"> <div class="formbox">
<template v-if="loginway === 1"> <template v-if="loginway === 1" style="text-align: center">
<a-form <a-form
id="components-form-demo-normal-login" id="components-form-demo-normal-login"
:form="form" :form="form"
@ -95,7 +95,7 @@
<a href="">还没有账号立即注册</a> <a href="">还没有账号立即注册</a>
</div> </div>
</template> </template>
<template v-if="loginway === 2"> <template v-if="loginway === 2" style="text-align: center">
<a-form <a-form
id="components-form-demo-normal-login" id="components-form-demo-normal-login"
:form="form" :form="form"

@ -9,6 +9,7 @@
参数: 参数:
当前页pageNum 当前页pageNum
每页条数pageSize 每页条数pageSize
企业名搜索:aliasName
省市县district北京市,北京市,海淀区 省市县district北京市,北京市,海淀区
工价monthlyPayStr3000-4000 工价monthlyPayStr3000-4000
年龄ageStr, 16-18或58 年龄ageStr, 16-18或58

Loading…
Cancel
Save