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
b4a2a860
Commit
b4a2a860
authored
1 month ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ab499962
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
7 deletions
+38
-7
GroupAdvertising.vue
src/components/TravelManager/TravelList/GroupAdvertising.vue
+11
-3
TravelConfig.vue
...ents/newTravelmanager/TravelGroupControl/TravelConfig.vue
+27
-4
No files found.
src/components/TravelManager/TravelList/GroupAdvertising.vue
View file @
b4a2a860
...
...
@@ -60,15 +60,23 @@
:title=
"$t('pub.updateMsg')"
></i></a>
<a
:href=
'item.AdvertisingPicUrl'
target=
"_blank"
:download=
"$t('salesModule.AdvPic')+'.png'"
><i
class=
"el-icon-download"
:title=
"$t('objFill.xz')"
></i></a>
-->
<span
@
click=
"getPicList(index)"
><i
class=
"iconfont icon-view"
title=
"查看原图"
></i></span>
<span
@
click=
"clickDownLoad(item,1)"
><i
class=
"el-icon-download"
title=
"旅小友二维码"
></i></span>
<
span
@
click=
"clickDownLoad(item,2)"
><i
class=
"el-icon-download"
title=
"行程二维码"
></i></span
>
<
!--
<span
@
click=
"clickDownLoad(item,2)"
><i
class=
"el-icon-download"
title=
"行程二维码"
></i></span>
--
>
<
span
@
click=
"clickDownLoad(item,3)"
><i
class=
"el-icon-download"
title=
"原图下载"
></i></span
>
<
!--
<span
@
click=
"clickDownLoad(item,3)"
><i
class=
"el-icon-download"
title=
"原图下载"
></i></span>
--
>
<i
class=
"el-icon-delete"
:title=
"$t('system.ph_shanchu')"
@
click
.
stop=
"deleteItem(item.ID)"
></i>
</div>
</div>
<div
style=
"text-align:center;"
>
<el-button
type=
"text"
@
click=
"clickDownLoad(item,2)"
>
行程广告图下载
</el-button>
<el-button
type=
"text"
@
click=
"clickDownLoad(item,3)"
>
原图下载
</el-button>
</div>
</li>
</ul>
<div
v-if=
'dataList.length==0'
style=
'width:100%;margin-top:50px;text-align:center;color: #ccc;'
>
...
...
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelGroupControl/TravelConfig.vue
View file @
b4a2a860
...
...
@@ -206,7 +206,8 @@
:before-upload=
"beforeUploadVideo"
:show-file-list=
"false"
:file-list=
"VideoStrList"
>
<el-button
size=
"small"
type=
"primary"
>
{{
$t
(
'tips.dianjishanhcuan'
)
}}
</el-button>
</el-upload>
<el-button
size=
"small"
class=
"TC_ChoiceBtn"
@
click=
"checkType=2,addimg=true"
type=
"primary"
>
{{
$t
(
'fnc.xuanze'
)
}}
<el-button
size=
"small"
class=
"TC_ChoiceBtn"
@
click=
"checkType=2,addimg=true"
type=
"primary"
>
{{
$t
(
'fnc.xuanze'
)
}}
</el-button>
</div>
<div
style=
"text-align: center;"
v-if=
"VideoStr"
>
...
...
@@ -237,6 +238,9 @@
<div
class=
"re-delte"
@
click
.
stop=
"addImgOpen(index)"
>
<i
class=
"iconfont icon-img_cz"
></i>
</div>
<div
class=
"re-delte"
@
click
.
stop=
"viewImg(index)"
>
<i
class=
"iconfont icon-view"
></i>
</div>
</div>
</div>
</div>
...
...
@@ -279,6 +283,14 @@
</div>
</el-upload>
</el-dialog>
<div
v-if=
'picIsShow'
class=
"viewBigPicLayer"
@
click=
"picIsShow=false"
>
<i
class=
"el-icon-circle-close-outline clolseViewBigPicLayer"
@
click=
"picIsShow=false"
></i>
<el-carousel
height=
"600px"
:initial-index=
'initialIndex'
:interval=
"5000"
trigger=
"click"
>
<el-carousel-item
v-for=
"(item,index) in picObj"
:key=
"index"
>
<div
class=
"inlineDiv ownScrollbarStyle"
><img
:src=
"item"
/></div>
</el-carousel-item>
</el-carousel>
</div>
</div>
</template>
<
script
>
...
...
@@ -385,7 +397,10 @@
ColorName
:
this
.
$t
(
'objFill.subjectcolor'
)[
18
],
ColorValue
:
'#6E4C43'
},
]
],
picIsShow
:
false
,
picObj
:
[],
initialIndex
:
0
,
};
},
components
:
{
...
...
@@ -394,7 +409,15 @@
GGMap
:
GGMap
,
},
methods
:
{
//获取轮播路径
viewImg
(
index
)
{
this
.
picIsShow
=
true
;
this
.
picObj
=
[];
this
.
initialIndex
=
index
;
this
.
PostConfig
.
fileList
.
forEach
(
item
=>
{
this
.
picObj
.
push
(
item
.
Url
);
})
},
loadVideo
:
function
()
{
// 输入地址
if
(
this
.
PostConfig
.
VideoStr
)
this
.
VideoStr
=
this
.
VideoStr
.
indexOf
(
'http'
)
>
-
1
?
this
.
VideoStr
:
this
.
domainManager
().
ViittoFileUrl
+
...
...
@@ -494,7 +517,7 @@
obj
.
ID
=
0
;
obj
.
Path
=
this
.
$commonUtils
.
removeDomain
(
imgItem
.
Path
);
obj
.
PicID
=
imgItem
.
ID
;
obj
.
ShowPath
=
imgItem
.
Path
;
obj
.
ShowPath
=
imgItem
.
Path
;
that
.
PostConfig
.
fileList
[
this
.
ChooseImgIndex
].
Url
=
obj
.
ShowPath
;
});
}
else
{
...
...
This diff is collapsed.
Click to expand it.
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