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
fd6e6a1b
Commit
fd6e6a1b
authored
Dec 28, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交搜索空
parent
5f64e25c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
12 deletions
+63
-12
common.scss
public/css/common.scss
+4
-0
contactBjt.png
src/assets/img/contactBjt.png
+0
-0
commonApi.js
src/common/commonApi.js
+11
-1
en.js
src/common/lang/en.js
+6
-0
zh.js
src/common/lang/zh.js
+4
-0
searchempty.vue
src/views/mobile/searchempty.vue
+38
-11
No files found.
public/css/common.scss
View file @
fd6e6a1b
...
...
@@ -195,6 +195,10 @@ input.el-input__inner {
font-size
:
14px
;
}
.moneyCheckbox.el-checkbox-button.is-checked
.el-checkbox-button__inner
{
box-shadow
:
none
!
important
;
}
//单选样式
...
...
src/assets/img/contactBjt.png
0 → 100644
View file @
fd6e6a1b
97 KB
src/common/commonApi.js
View file @
fd6e6a1b
...
...
@@ -173,5 +173,15 @@ export default {
//更新人脉圈列表联系人状态
updateCircleListFriendAxios
(
params
){
return
api
.
fetchLoadingPost
(
"/business/search/updateFriendStatus"
,
Qs
.
stringify
(
params
));
}
},
//获取竞猜列表
getGuessListAxios
(
params
)
{
return
api
.
fetchLoadingLogin
(
"/base/guess/selectBaseGuessList"
,
params
)
},
//获取行业报告列表
getIndustryReportListAxios
(
params
){
return
api
.
fetchGet
(
"/business/report/showList?"
+
Qs
.
stringify
(
params
))
},
}
src/common/lang/en.js
View file @
fd6e6a1b
...
...
@@ -2175,6 +2175,12 @@ module.exports = {
allchannels
:
'All channels'
,
quicklogin
:
'quick login'
,
allindustry
:
'All industry popular categories'
,
recommendRead
:
"Hot reports"
,
downloadReport
:
"Download"
,
reportIntro
:
"Report introduction"
,
noReportIntro
:
"No Introduction"
},
integral
:{
...
...
src/common/lang/zh.js
View file @
fd6e6a1b
...
...
@@ -2266,6 +2266,10 @@ module.exports = {
allchannels
:
'全部频道'
,
quicklogin
:
'快捷登录'
,
allindustry
:
'全部行业通俗分类'
,
recommendRead
:
"热门报告"
,
downloadReport
:
"下载该报告"
,
reportIntro
:
"报告介绍"
,
noReportIntro
:
"暂无介绍"
},
integral
:
{
...
...
src/views/mobile/searchempty.vue
View file @
fd6e6a1b
<
template
>
<div
:class=
"showTab==
3
?'activityNoData':'noDataWrap'"
>
<div
:class=
"showTab==
2
?'activityNoData':'noDataWrap'"
>
<div>
<div
style=
"margin-bottom: 0.5rem;width: 100%;"
>
<p
style=
"text-align: center"
v-if=
"showTab==0"
>
<img
src=
"../../assets/img/mobile/noProject.png"
style=
"height: 1.6rem;width: 1.6rem;"
alt=
""
<img
src=
"../../assets/img/mobile/noProject.png"
style=
"height: 1.6rem;width: 1.6rem;
object-fit: contain;
"
alt=
""
v-if=
"lang==1"
>
<img
src=
"../../assets/img/mobile/noActivity.png"
style=
"height: 1.5rem;width: 2rem;"
alt=
""
<img
src=
"../../assets/img/mobile/noActivity.png"
style=
"height: 1.5rem;width: 2rem;
object-fit: contain;
"
alt=
""
v-if=
"lang==2"
>
</p>
<p
style=
"text-align: center"
v-if=
"showTab==1"
><img
src=
"../../assets/img/mobile/noBusiness.png"
style=
"height: 1.6rem;width: 1.6rem;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==2"
><img
src=
"../../assets/img/mobile/noActivity.png"
style=
"height: 1.5rem;width: 2rem;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==3"
><img
src=
"../../assets/img/mobile/noArticle.png"
style=
"height: 1.6rem;width: 2.5rem;"
alt=
""
></p>
style=
"height: 1.6rem;width: 1.6rem;object-fit: contain;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==2"
><img
src=
"../../assets/img/mobile/noArticle.png"
style=
"height: 1.6rem;width: 2.5rem;object-fit: contain;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==3"
><img
src=
"../../assets/img/mobile/topicEmpty@2x.png"
style=
"height: 1.6rem;width: 2.5rem;object-fit: contain;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==5"
><img
src=
"../../assets/img/mobile/noGuess@2x.png"
style=
"height: 1.6rem;width: 2.5rem;object-fit: contain;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==6"
><img
src=
"../../assets/img/mobile/noActivity.png"
style=
"height: 1.5rem;width: 2rem;object-fit: contain;"
alt=
""
></p>
<p
style=
"text-align: center"
v-if=
"showTab==7"
><img
src=
"../../assets/img/mobile/noReport@2x.png"
style=
"height: 1.6rem;width: 2.5rem;object-fit: contain;"
alt=
""
></p>
</div>
<p
style=
"font-size:0.28rem;color:#AAAAAA;padding: 0 0.4rem;line-height: 0.5rem;text-align: center;width: 100%;"
>
<span
v-if=
"showTab==0"
>
{{
$t
(
'emptyDataTitle.searchRecordSB'
)
}}
</span>
<span
v-if=
"showTab==1"
>
{{
$t
(
'emptyDataTitle.searchRecordBB'
)
}}
</span>
<span
v-if=
"showTab==2"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keyword
+
$t
(
'emptyDataTitle.sorryArticleTitle'
)
}}
</span>
<span
v-if=
"showTab==3"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keyword
+
$t
(
'emptyDataTitle.sorryActivityTitle'
)
}}
</span>
<span
v-if=
"showTab==2"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keywordVal
+
$t
(
'emptyDataTitle.sorryActivityTitle'
)
}}
</span>
<span
v-if=
"showTab==3"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keywordVal
+
$t
(
'emptyDataTitle.sorryTopicTitle'
)
}}
</span>
<span
v-if=
"showTab==5"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keywordVal
+
$t
(
'emptyDataTitle.sorryGuessTitle'
)
}}
</span>
<span
v-if=
"showTab==6"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keywordVal
+
$t
(
'emptyDataTitle.sorryArticleTitle'
)
}}
</span>
<span
v-if=
"showTab==7"
>
{{
$t
(
'emptyDataTitle.sorryTitle1'
)
+
keywordVal
+
$t
(
'emptyDataTitle.sorryReportTitle'
)
}}
</span>
</p>
<div
v-if=
"showTab==
2
"
style=
"display: flex;justify-content: center;padding-top: .6rem;"
>
<div
v-if=
"showTab==
6
"
style=
"display: flex;justify-content: center;padding-top: .6rem;"
>
<el-button
type=
"primary"
style=
"border-radius: 1rem;"
@
click=
"$router.push('/articleList')"
>
{{
$t
(
'emptyDataTitle.moreArticle'
)
}}
</el-button>
</div>
<div
v-if=
"showTab==5"
style=
"display: flex;justify-content: center;padding-top: .6rem;"
>
<el-button
type=
"primary"
style=
"border-radius: 1rem;"
@
click=
"$router.push('/guessList')"
>
更多竞猜内容
</el-button>
</div>
<div
v-if=
"showTab==3"
style=
"display: flex;justify-content: center;padding-top: .6rem;"
>
<el-button
type=
"primary"
style=
"border-radius: 1rem;"
@
click=
"$router.push('/topicList')"
>
更多话题内容
</el-button>
</div>
<div
v-if=
"showTab==7"
style=
"display: flex;justify-content: center;padding-top: .6rem;"
>
<el-button
type=
"primary"
style=
"border-radius: 1rem;"
@
click=
"$router.push('/articleList')"
>
{{
$t
(
'emptyDataTitle.reportArticle'
)
}}
</el-button>
</div>
</div>
</div>
</
template
>
...
...
@@ -41,6 +64,7 @@
return
{
lang
:
this
.
$i18n
.
locale
==
"zh-CN"
?
1
:
2
,
keywordVal
:
""
}
},
methods
:
{
...
...
@@ -48,6 +72,9 @@
handleToAuth
()
{
this
.
$router
.
push
(
'/mobileAddAuth'
);
},
},
mounted
(){
this
.
keywordVal
=
this
.
keyword
;
}
}
</
script
>
...
...
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