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
97f92326
Commit
97f92326
authored
Feb 04, 2021
by
zhangyanni
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
f77ef86e
c2d4e2a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
addkolExpert.vue
src/views/kolExpert/addkolExpert.vue
+1
-1
pushtopic.vue
src/views/topicpage/pushtopic.vue
+2
-2
No files found.
src/views/kolExpert/addkolExpert.vue
View file @
97f92326
...
...
@@ -12,7 +12,7 @@
<div
style=
"margin-top: 20px;"
>
<el-form
label-position=
"right"
:model=
"expertData"
:rules=
"rules"
ref=
"expertData"
label-width=
"200px"
class=
"contnetform180"
>
<el-form-item
label=
"绑定账号:"
prop=
"empAccount"
>
<el-input
:disabled=
"expertData.canUpdateAccount?
true:fals
e"
style=
"width: 500px;"
@
blur=
"isempAccountblur"
placeholder=
"请输入账号"
v-model=
"expertData.empAccount"
></el-input>
<el-input
:disabled=
"expertData.canUpdateAccount?
false:tru
e"
style=
"width: 500px;"
@
blur=
"isempAccountblur"
placeholder=
"请输入账号"
v-model=
"expertData.empAccount"
></el-input>
</el-form-item>
<el-form-item
label=
"专家姓名:"
prop=
"empName"
>
<el-input
style=
"width: 500px;"
maxlength=
"36"
placeholder=
"请输入专家姓名"
v-model=
"expertData.empName"
></el-input>
...
...
src/views/topicpage/pushtopic.vue
View file @
97f92326
...
...
@@ -61,7 +61,7 @@
</el-form-item>
<div
class=
"gendisplay"
style=
"display: flex;flex-wrap: wrap;width: 80%;margin-left: 180px"
>
<div
v-for=
"(item,index) in formData.professorList"
style=
"width: 150px;text-align: center;position: relative"
>
<p><img
:src=
"item.empLogo"
style=
"width: 90px;height: 90px;border-radius: 50%"
></p>
<p><img
:src=
"item.empLogo
?item.empLogo:require('../../assets/img/defaultlogo.png')
"
style=
"width: 90px;height: 90px;border-radius: 50%"
></p>
<p
style=
"margin: 10px 0"
>
{{
item
.
empName
}}
</p>
<p>
{{
item
.
professorTitle
}}
</p>
<i
class=
"iconfont icon-cuowu"
style=
"position: absolute;right: 0;top: 0;cursor: pointer;"
@
click=
"formData.professorList.splice(index,1)"
></i>
...
...
@@ -193,7 +193,7 @@
</el-table-column>
<el-table-column
prop=
"empLogo"
label=
"专家头像"
align=
"center"
width=
"80"
>
<
template
slot-scope=
"scope"
>
<img
:src=
"scope.row.empLogo"
style=
"width: 40px;height: 40px;border-radius: 50%"
>
<img
:src=
"scope.row.empLogo
?scope.row.empLogo:require('../../assets/img/defaultlogo.png')
"
style=
"width: 40px;height: 40px;border-radius: 50%"
>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('listjson.action')"
width=
"100"
align=
'center'
>
...
...
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