Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
3d60e5fa
Commit
3d60e5fa
authored
Aug 12, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自定义图片预览样式调整
parent
b3a21bbc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3390 additions
and
2445 deletions
+3390
-2445
newTravelManager.css
src/assets/css/newTravelManager.css
+3386
-2436
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+4
-9
No files found.
src/assets/css/newTravelManager.css
View file @
3d60e5fa
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
3d60e5fa
...
...
@@ -90,7 +90,7 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"updateTFimg(1)"
>
上传行程特色
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
style=
"color:red;"
>
横版1754*1240,竖版:1240X1754
</div>
</el-upload>
<div
class=
"TFimgList"
v-for=
"(item,index) in FeatureData.TripImageListNew"
:key=
"item.subCode"
>
<div
class=
"TF
Self
imgList"
v-for=
"(item,index) in FeatureData.TripImageListNew"
:key=
"item.subCode"
>
<img
:key=
"index+10000"
v-if=
"!item"
src=
"../../../assets/img/bg_c3@3x.png"
>
<img
:key=
"index+20000"
v-else
:src=
"item"
>
<div
:key=
"index+30000"
class=
"TFIMGzhe"
>
...
...
@@ -117,9 +117,9 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"updateTFimg(2)"
>
上传行程详情
</el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
style=
"color:red;"
>
横版1754*1240,竖版:1240X1754
</div>
</el-upload>
<div
class=
"TFimgList"
v-for=
"(item,index) in FeatureData.DetailsImageListNew"
:key=
"item.subCode"
>
<div
class=
"TF
Self
imgList"
v-for=
"(item,index) in FeatureData.DetailsImageListNew"
:key=
"item.subCode"
>
<img
:key=
"index+1000"
v-if=
"!item"
src=
"../../../assets/img/bg_c3@3x.png"
>
<img
:key=
"index+2000"
v-else
:src=
"item"
>
<img
:key=
"index+2000"
v-else
:src=
"item"
style=
"width:220px;height:180px;"
>
<div
:key=
"index+3000"
class=
"TFIMGzhe"
>
<div
class=
"TFremove"
@
click=
"removeImg(2,index)"
>
<i
class=
"iconfont icon-xingzhuang"
></i>
...
...
@@ -385,7 +385,6 @@
}
}
},
inited
(
viewer
)
{
this
.
$viewer
=
viewer
;
},
...
...
@@ -393,6 +392,7 @@
let
srcArr
=
src
.
split
(
'?'
)
src
=
srcArr
[
0
]
let
isExsit
=
false
this
.
images
=
[];
this
.
images
.
forEach
(
x
=>
{
if
(
x
===
src
)
isExsit
=
true
...
...
@@ -651,15 +651,10 @@
reUpload
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
//let fileName = file.file.name;
let
that
=
this
;
let
path
=
"/Upload/24Trip/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
var
str
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
// that.FeatureData.fileList[
// this.updateChoseIndex
// ].Url = this.$commonUtils.GetALiFileUrl(str);
// that.FeatureData.fileList[this.updateChoseIndex].Name = fileName;
//行程特色
if
(
that
.
updateChoseIndex
==
1
)
{
that
.
FeatureData
.
TripImageListNew
.
push
(
str
);
...
...
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