Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
8dd1b0e7
Commit
8dd1b0e7
authored
Jun 11, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面列表图片不显示缩略图
parent
f73659d5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
src/views/school-center/activity/activityList.vue
+6
-4
src/views/school-center/uploadVerify/studentCardVerify.vue
+8
-4
No files found.
src/views/school-center/activity/activityList.vue
View file @
8dd1b0e7
...
...
@@ -50,9 +50,9 @@
<!--列表-->
<s-table
:locale=
"emptyText"
:columns=
"columns"
:data=
"rowdata"
bordered
ref=
"table"
size=
"small"
class=
"flex-filling"
:row-selection=
"
{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">
<template
slot=
"imageUrl"
slot-scope=
"text"
>
<img
style=
"width: 20%"
:src=
"apis + text"
@
click=
"imgClick(text)"
>
</
template
>
<!--
<template
slot=
"imageUrl"
slot-scope=
"text"
>
--
>
<!--
<img
style=
"width: 20%"
:src=
"apis + text"
@
click=
"imgClick(text)"
>
--
>
<!--
</
template
>
--
>
<!--拦截器-->
<
template
slot=
"createTime"
slot-scope=
"text"
>
{{
text
|
dayjs
}}
</
template
>
<
template
slot=
"operation"
slot-scope=
"text,record"
>
...
...
@@ -60,6 +60,8 @@
<a-divider
type=
"vertical"
/>
<a
@
click=
"modifyfunction(record)"
>
编辑
</a>
<a-divider
type=
"vertical"
/>
<a
@
click=
"imgClick(text)"
>
图片
</a>
<a-divider
type=
"vertical"
/>
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
><a>
删除
</a></a-popconfirm>
</
template
>
<
template
slot=
"status"
slot-scope=
"text"
>
...
...
@@ -203,7 +205,7 @@
{
dataIndex
:
'title'
,
width
:
100
,
title
:
'活动标题'
,
align
:
"center"
},
{
dataIndex
:
'desc'
,
width
:
200
,
title
:
'活动详情'
,
align
:
"center"
},
{
dataIndex
:
'integral'
,
width
:
80
,
title
:
'活动积分'
,
align
:
"center"
},
{
dataIndex
:
'imageUrl'
,
title
:
'图片
'
,
scopedSlots
:
{
customRender
:
'imageUrl'
},
align
:
'center'
},
// {dataIndex: 'imageUrl', title: '图片
', scopedSlots: {customRender: 'imageUrl'},align: 'center'},
{
dataIndex
:
'status'
,
width
:
80
,
title
:
'审核状态'
,
align
:
"center"
,
scopedSlots
:
{
customRender
:
'status'
}},
{
dataIndex
:
'activityType'
,
width
:
80
,
title
:
'活动类型'
,
align
:
"center"
},
...
...
src/views/school-center/uploadVerify/studentCardVerify.vue
View file @
8dd1b0e7
...
...
@@ -133,19 +133,23 @@
<
template
slot=
"studentCardUrl"
slot-scope=
"text"
>
<p
v-show=
"text=='' "
>
无
</p>
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
<!--
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
-->
<a
v-show=
"text != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(text)"
>
点击查看
</a>
</
template
>
<
template
slot=
"otherImgUrl1"
slot-scope=
"text"
>
<p
v-show=
"text=='' "
>
无
</p>
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
<!--
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
-->
<a
v-show=
"text != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(text)"
>
点击查看
</a>
</
template
>
<
template
slot=
"otherImgUrl2"
slot-scope=
"text"
>
<p
v-show=
"text=='' "
>
无
</p>
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
<!--
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
-->
<a
v-show=
"text != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(text)"
>
点击查看
</a>
</
template
>
<
template
slot=
"otherImgUrl3"
slot-scope=
"text"
>
<p
v-show=
"text=='' "
>
无
</p>
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
<!--
<van-image
v-show=
"text!='' "
width=
"100"
height=
"100"
@
click=
"imgClick(text)"
:src=
"replaceUrl(text)"
/>
-->
<a
v-show=
"text != '' "
href=
"javascript:void(0);"
@
click=
"imgClick(text)"
>
点击查看
</a>
</
template
>
<!--<template slot="operation" slot-scope="text,record">
<span>
...
...
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