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
02219161
Commit
02219161
authored
Sep 28, 2020
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页相关功能
parent
91953043
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
PageTopindex.vue
src/components/index/PageTopindex.vue
+1
-1
commentdetail.vue
src/views/topicpage/commentdetail.vue
+4
-0
No files found.
src/components/index/PageTopindex.vue
View file @
02219161
...
...
@@ -66,7 +66,7 @@
</div>
<div
style=
"position: absolute;right: 120px;top: 0px;"
class=
"topright gendisplay"
>
<div
style=
"line-height: 42px;position: relative;padding-right: 30px;margin-right: 10px;"
>
<el-input
class=
"index_topsou"
@
keyup
.
enter
.
native=
"handleSearchDetail(keyword)"
@
focus=
"keyword_search = true"
@
blur=
"keyword_search = false"
v-model=
"keyword"
maxlength=
"40"
:placeholder=
"$i18n.locale == 'zh-CN'?'请输入项目名称/企业名称/技术关键词':'Eenter Technology Keywords'"
style=
"width:
19
0px;height: 30px;"
></el-input>
<el-input
class=
"index_topsou"
@
keyup
.
enter
.
native=
"handleSearchDetail(keyword)"
@
focus=
"keyword_search = true"
@
blur=
"keyword_search = false"
v-model=
"keyword"
maxlength=
"40"
:placeholder=
"$i18n.locale == 'zh-CN'?'请输入项目名称/企业名称/技术关键词':'Eenter Technology Keywords'"
style=
"width:
24
0px;height: 30px;"
></el-input>
<p
class=
"topsearch_fixed"
type=
"primary"
:style=
"!keyword_search&&keyword==''?'':'background: #5D78FF'"
@
click=
"handleSearchDetail(keyword)"
>
<i
style=
"font-size: 12px;"
:style=
"!keyword_search&&keyword==''?'':'color:#ffffff'"
class=
"iconfont icon-iconsearch"
></i>
</p>
...
...
src/views/topicpage/commentdetail.vue
View file @
02219161
...
...
@@ -481,6 +481,10 @@
this
.
$refs
.
login
.
isexpertVisible
();
return
}
if
(
row
.
wordarea
==
''
){
this
.
$message
.
error
(
'内容不能为空'
);
return
;
}
let
params
=
{
commentsContent
:
row
.
wordarea
,
commentsState
:
row
.
commentsState
?
0
:
1
,
...
...
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