Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
e59ae447
Commit
e59ae447
authored
May 21, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
1c23adfb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
11 deletions
+17
-11
api.js
src/views/index/api/api.js
+2
-2
index.vue
src/views/mobile/index/index.vue
+8
-2
mine.vue
src/views/mobile/mine.vue
+7
-7
No files found.
src/views/index/api/api.js
View file @
e59ae447
...
...
@@ -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
);
},
//获取首页合作案例展示信息
...
...
src/views/mobile/index/index.vue
View file @
e59ae447
...
...
@@ -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
)
{
...
...
src/views/mobile/mine.vue
View file @
e59ae447
...
...
@@ -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
.
3
rem
;
margin-left
:
0
.
4
rem
;
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
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment