Commit e59ae447 authored by zhangyanni's avatar zhangyanni

提交

parent 1c23adfb
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
//获取首页推荐公司展示信息 //获取首页推荐公司展示信息
getCompanyInfoAxios(params){ getCompanyInfoAxios(params){
return api.fetchGet(baseUrl+"/index/getIndexTopNBusiness"); return api.fetchGet(baseUrl+"/index/getIndexTopNBusiness?count="+params);
}, },
//获取首页最新动态信息 //获取首页最新动态信息
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
//获取首页推荐项目展示信息 //获取首页推荐项目展示信息
getProjectInfoAxios(params){ getProjectInfoAxios(params){
return api.fetchGet(baseUrl+"/index/getIndexTopNProject"); return api.fetchGet(baseUrl+"/index/getIndexTopNProject?count="+params);
}, },
//获取首页合作案例展示信息 //获取首页合作案例展示信息
......
...@@ -379,7 +379,10 @@ ...@@ -379,7 +379,10 @@
//获取大企业需求 //获取大企业需求
getBusinessInfoData() { getBusinessInfoData() {
let that = this; let that = this;
api.getCompanyInfoAxios().then((res) => { let params ={
count:6
};
api.getCompanyInfoAxios(params).then((res) => {
if (res.code == 0) { if (res.code == 0) {
that.companyInfo = res.result; that.companyInfo = res.result;
that.companyInfo.forEach((item) => { that.companyInfo.forEach((item) => {
...@@ -400,7 +403,10 @@ ...@@ -400,7 +403,10 @@
//获取推荐项目 //获取推荐项目
getProjectInfoData() { getProjectInfoData() {
let that = this; let that = this;
api.getProjectInfoAxios().then((res) => { let params ={
count:6
};
api.getProjectInfoAxios(params).then((res) => {
if (res.code == 0) { if (res.code == 0) {
res.result.forEach((item, index) => { res.result.forEach((item, index) => {
if (item.company_label) { if (item.company_label) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div v-if="isShow"> <div v-if="isShow">
<div class="topWrapper"> <div class="topWrapper">
<el-row class="userInfoWrapper" :style="{paddingBottom:publicFun.getUserDetailRoleFunc()==1?'0':'.6rem'}" v-if="empuser"> <el-row class="userInfoWrapper" :style="{paddingBottom:publicFun.getUserDetailRoleFunc()==1?'0':'.6rem'}" v-if="empuser">
<el-col :span="18"> <el-col :span="24">
<div style="position: relative" class="userLogo"> <div style="position: relative" class="userLogo">
<img :src="empuser.empLogo!=''&&empuser.empLogo?empuser.empLogo:require('../../assets/img/defaultlogo.png')"> <img :src="empuser.empLogo!=''&&empuser.empLogo?empuser.empLogo:require('../../assets/img/defaultlogo.png')">
<img v-if="publicFun.getUserRoleIsZjFunc()" src="../../assets/img/proFeedBack/vip.png" alt="" <img v-if="publicFun.getUserRoleIsZjFunc()" src="../../assets/img/proFeedBack/vip.png" alt=""
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
<div @click="handleToFlag" class="flagButton"><span>+ {{$t("interseted.add")}}</span></div> <div @click="handleToFlag" class="flagButton"><span>+ {{$t("interseted.add")}}</span></div>
</div> </div>
</div> </div>
</el-col> <p @click="handleGo" class="editInfo">{{$t("commonTitle.editInfo")}}</p>
<el-col :span="6">
<p @click="handleGo">{{$t("commonTitle.editInfo")}}</p>
</el-col> </el-col>
</el-row> </el-row>
<div class="routerLink routerLinkFirst" v-if="activeList.length>0"> <div class="routerLink routerLinkFirst" v-if="activeList.length>0">
...@@ -346,7 +344,6 @@ ...@@ -346,7 +344,6 @@
padding-left: 25%; padding-left: 25%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
padding-right: .2rem;
align-items: center; align-items: center;
margin-bottom: .6rem; margin-bottom: .6rem;
z-index: 9999; z-index: 9999;
...@@ -387,18 +384,21 @@ ...@@ -387,18 +384,21 @@
> span { > span {
display: block; display: block;
font-size: .32rem; font-size: .32rem;
margin-left: 0.3rem; margin-left: 0.4rem;
max-width: 4rem; max-width: 4rem;
font-weight: bold; font-weight: bold;
padding-top: .2rem; padding-top: .2rem;
} }
> p { p.editInfo{
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
font-size: .24rem; font-size: .24rem;
height: 1.3rem; height: 1.3rem;
padding-top:.2rem; padding-top:.2rem;
position: absolute;
right: .2rem;
top: .7rem;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment