Commit e59ae447 authored by zhangyanni's avatar zhangyanni

提交

parent 1c23adfb
......@@ -14,7 +14,7 @@ export default {
//获取首页推荐公司展示信息
getCompanyInfoAxios(params){
return api.fetchGet(baseUrl+"/index/getIndexTopNBusiness");
return api.fetchGet(baseUrl+"/index/getIndexTopNBusiness?count="+params);
},
//获取首页最新动态信息
......@@ -24,7 +24,7 @@ export default {
//获取首页推荐项目展示信息
getProjectInfoAxios(params){
return api.fetchGet(baseUrl+"/index/getIndexTopNProject");
return api.fetchGet(baseUrl+"/index/getIndexTopNProject?count="+params);
},
//获取首页合作案例展示信息
......
......@@ -379,7 +379,10 @@
//获取大企业需求
getBusinessInfoData() {
let that = this;
api.getCompanyInfoAxios().then((res) => {
let params ={
count:6
};
api.getCompanyInfoAxios(params).then((res) => {
if (res.code == 0) {
that.companyInfo = res.result;
that.companyInfo.forEach((item) => {
......@@ -400,7 +403,10 @@
//获取推荐项目
getProjectInfoData() {
let that = this;
api.getProjectInfoAxios().then((res) => {
let params ={
count:6
};
api.getProjectInfoAxios(params).then((res) => {
if (res.code == 0) {
res.result.forEach((item, index) => {
if (item.company_label) {
......
......@@ -3,7 +3,7 @@
<div v-if="isShow">
<div class="topWrapper">
<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">
<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=""
......@@ -16,9 +16,7 @@
<div @click="handleToFlag" class="flagButton"><span>+ {{$t("interseted.add")}}</span></div>
</div>
</div>
</el-col>
<el-col :span="6">
<p @click="handleGo">{{$t("commonTitle.editInfo")}}</p>
<p @click="handleGo" class="editInfo">{{$t("commonTitle.editInfo")}}</p>
</el-col>
</el-row>
<div class="routerLink routerLinkFirst" v-if="activeList.length>0">
......@@ -346,7 +344,6 @@
padding-left: 25%;
display: flex;
flex-wrap: wrap;
padding-right: .2rem;
align-items: center;
margin-bottom: .6rem;
z-index: 9999;
......@@ -387,18 +384,21 @@
> span {
display: block;
font-size: .32rem;
margin-left: 0.3rem;
margin-left: 0.4rem;
max-width: 4rem;
font-weight: bold;
padding-top: .2rem;
}
> p {
p.editInfo{
width: 100%;
display: flex;
justify-content: flex-end;
font-size: .24rem;
height: 1.3rem;
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