Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
viitto
pptist
Commits
fbb69901
Commit
fbb69901
authored
Feb 27, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分享页面部分样式
parent
c5cad1d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
Share.vue
src/views/SellTemplate/Share.vue
+9
-10
No files found.
src/views/SellTemplate/Share.vue
View file @
fbb69901
...
@@ -59,10 +59,9 @@
...
@@ -59,10 +59,9 @@
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1708337830000_43.png"
height=
"25"
v-if=
"scope.row.FileType==1"
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1708337830000_43.png"
height=
"25"
v-if=
"scope.row.FileType==1"
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1708250377000_777.png"
height=
"25"
v-else-if=
"scope.row.FileType==2"
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1708250377000_777.png"
height=
"25"
v-else-if=
"scope.row.FileType==2"
/>
<img
src=
"@/assets/img/file.png"
height=
"25"
v-else
/>
<img
src=
"@/assets/img/file.png"
height=
"25"
v-else
/>
<div
class=
"temp-tr col q-ml-md
file-name
"
:class=
"
{'cusor-pointer':scope.row.FileType==0}" @click="changeFolderHandler(scope.row)">
<div
class=
"temp-tr col q-ml-md"
:class=
"
{'cusor-pointer':scope.row.FileType==0}" @click="changeFolderHandler(scope.row)">
<el-tooltip
effect=
"dark"
:content=
"scope.row.FileName"
>
<el-tooltip
effect=
"dark"
:content=
"scope.row.FileName"
>
<div
truncated
<div
class=
"file-name"
v-html=
"queryObj.FileName!=''?(scope.row.FileName.replaceAll(queryObj.FileName,`
<span
class=
'text-waring'
>
${queryObj.FileName}
</span>
`)):scope.row.FileName">
</div>
v-html=
"scope.row.FileName.replaceAll(lastKeyword,`
<span
class=
'text-waring'
>
${lastKeyword}
</span>
`)">
</div>
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -78,13 +77,13 @@
...
@@ -78,13 +77,13 @@
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<div
class=
"row items-center"
:class=
"
{'hover':showItemId!=scope.row.FileId}">
<div
class=
"row items-center"
:class=
"
{'hover':showItemId!=scope.row.FileId}">
<el-button
type=
"primary"
icon=
"View"
size=
"small"
@
click
.
stop=
"openFileDocument(scope.row)"
v-if=
"scope.row.FileType!=0"
>
查看
</el-button>
<el-button
type=
"primary"
icon=
"View"
size=
"small"
@
click
.
stop=
"openFileDocument(scope.row)"
v-if=
"scope.row.FileType!=0"
>
查看
</el-button>
<el-dropdown
v-if=
"scope.row.
FileType&&(scope.row.IsEdit||scope.row.IsDownload)
"
class=
"q-pl-md cusor-pointer"
trigger=
"click"
@
visible-change=
"(val:boolean)=>dropdownChange(val,scope.row.FileId)"
>
<el-dropdown
v-if=
"scope.row.
IsEdit||scope.row.IsDownload||scope.row.IsView
"
class=
"q-pl-md cusor-pointer"
trigger=
"click"
@
visible-change=
"(val:boolean)=>dropdownChange(val,scope.row.FileId)"
>
<el-icon
size=
"16"
color=
"#b1b7cf"
><MoreFilled
/></el-icon>
<el-icon
size=
"16"
color=
"#b1b7cf"
><MoreFilled
/></el-icon>
<template
#
dropdown
>
<template
#
dropdown
>
<el-dropdown-menu
class=
"q-pa-md"
>
<el-dropdown-menu
class=
"q-pa-md"
>
<el-dropdown-item
v-if=
"scope.row.IsEdit && scope.row.FileType!=0"
icon=
"EditPen"
@
click=
"editorFileHandler(scope.row)"
>
编辑
</el-dropdown-item>
<el-dropdown-item
v-if=
"scope.row.IsEdit && scope.row.FileType!=0"
icon=
"EditPen"
@
click=
"editorFileHandler(scope.row)"
>
编辑
</el-dropdown-item>
<el-dropdown-item
v-if=
"scope.row.IsDownload && scope.row.FileType!=0"
icon=
"Download"
@
click=
"exportDocument(scope.row)"
>
导出
</el-dropdown-item>
<el-dropdown-item
v-if=
"scope.row.IsDownload && scope.row.FileType!=0"
icon=
"Download"
@
click=
"exportDocument(scope.row)"
>
导出
</el-dropdown-item>
<el-dropdown-item
icon=
"CopyDocument"
v-if=
"scope.row.IsView
&&scope.row.FileType
"
@
click=
"openCopyHandler(scope.row)"
>
复制到
</el-dropdown-item>
<el-dropdown-item
icon=
"CopyDocument"
v-if=
"scope.row.IsView"
@
click=
"openCopyHandler(scope.row)"
>
复制到
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</
template
>
</
template
>
</el-dropdown>
</el-dropdown>
...
@@ -97,7 +96,7 @@
...
@@ -97,7 +96,7 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<CopyFile
v-if=
"openCopy"
:details=
"copyObject"
@
close=
"() => openCopy=false"
></CopyFile>
<CopyFile
v-if=
"openCopy"
:details=
"copyObject"
:file-obj=
"copyObject"
@
close=
"() => openCopy=false"
></CopyFile>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
ApiResult
}
from
"@/configs/axios"
;
import
{
ApiResult
}
from
"@/configs/axios"
;
...
@@ -371,10 +370,10 @@ getDocumentData()
...
@@ -371,10 +370,10 @@ getDocumentData()
padding
:
0
12px
!
important
;
padding
:
0
12px
!
important
;
}
}
.sample-table
.file-name
{
.sample-table
.file-name
{
white-space
:nowrap
;
white-space
:nowrap
!
important
;
overflow
:hidden
;
overflow
:hidden
!
important
;
text-overflow
:ellipsis
;
text-overflow
:ellipsis
!
important
;
width
:
0
;
width
:
100%
;
}
}
.el-table
.caret-wrapper
{
.el-table
.caret-wrapper
{
height
:
12px
!
important
;
height
:
12px
!
important
;
...
...
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