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
c58ff155
Commit
c58ff155
authored
Jul 02, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e33ae0ab
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
21 deletions
+36
-21
choose_trip.vue
src/components/WebSet/plug-in/choose_trip.vue
+1
-1
imglink_dialog.vue
src/components/WebSet/plug-in/imglink_dialog.vue
+34
-18
linkpicture_dialog.vue
src/components/WebSet/plug-in/linkpicture_dialog.vue
+1
-1
picture_dialog.vue
src/components/WebSet/plug-in/picture_dialog.vue
+0
-1
No files found.
src/components/WebSet/plug-in/choose_trip.vue
View file @
c58ff155
...
...
@@ -122,7 +122,7 @@
</el-col>
<el-col
:span=
"5"
>
<el-form-item>
<
button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),GetList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button
>
<
input
type=
"button"
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),GetList()"
:value=
"$t('pub.searchBtn')"
/
>
</el-form-item>
</el-col>
</el-row>
...
...
src/components/WebSet/plug-in/imglink_dialog.vue
View file @
c58ff155
...
...
@@ -2,7 +2,7 @@
.WebSiteimgLink
.webSliderDiv
{
line-height
:
0
;
height
:
275px
;
width
:
275px
;
width
:
275px
;
border
:
1px
solid
#ccc
;
position
:
relative
;
}
...
...
@@ -42,10 +42,11 @@
.WebSiteimgLink
.webSliderDiv
>
div
{
height
:
100%
;
}
.WebSiteimgLink
.sectionImg
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
.WebSiteimgLink
.sectionImg
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background-position
:
center
;
background-size
:
cover
;
}
...
...
@@ -71,8 +72,16 @@
<el-row>
<el-col
:span=
"10"
>
<el-form-item>
<div
class=
"webSliderDiv"
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.TripImage1 + ')'}">
</div>
<div
class=
"webSliderDiv"
@
click=
"checkindex=1"
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.ImageUrl1 + ')'}">
</div>
<div
class=
"addIconDiv"
>
<i
class=
"web_addImg iconfont icon-img_haha"
></i>
<i
class=
"web_delImg iconfont icon-img_delete_small"
style=
"margin-left:10px;"
@
click
.
stop=
"plugData.ImageUrl1=''"
></i>
</div>
</el-upload>
</div>
</el-form-item>
</el-col>
...
...
@@ -92,8 +101,16 @@
<el-row>
<el-col
:span=
"10"
>
<el-form-item>
<div
class=
"webSliderDiv"
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.TripImage2 + ')'}">
</div>
<div
class=
"webSliderDiv"
@
click=
"checkindex=2"
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.ImageUrl2 + ')'}">
</div>
<div
class=
"addIconDiv"
>
<i
class=
"web_addImg iconfont icon-img_haha"
></i>
<i
class=
"web_delImg iconfont icon-img_delete_small"
style=
"margin-left:10px;"
@
click
.
stop=
"plugData.ImageUrl2=''"
></i>
</div>
</el-upload>
</div>
</el-form-item>
</el-col>
...
...
@@ -113,14 +130,13 @@
</el-form>
<el-dialog
title=
"选择行程"
:visible
.
sync=
"isShowTripDailog"
width=
"1000px"
append-to-body
>
<!--
行程选中
-->
<!--
选择行程
-->
<chooseTrip
ref=
"chooseTrip"
:IsMultiple=
"false"
></chooseTrip>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"isShowTripDailog = false"
size=
"small"
>
取 消
</el-button>
<el-button
type=
"danger"
size=
"small"
@
click=
"getChooseTripData()"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
...
...
@@ -129,8 +145,8 @@
props
:
[
"plugData"
],
data
()
{
return
{
checkIndex
:
0
,
isShowTripDailog
:
false
checkIndex
:
0
,
isShowTripDailog
:
false
};
},
components
:
{
...
...
@@ -146,9 +162,9 @@
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
data
.
FilePath
;
var
imgUrl
=
this
.
domainManager
().
ViittoFileUrl
+
str
;
if
(
this
.
checkindex
==
1
)
{
if
(
this
.
checkindex
==
1
)
{
this
.
plugData
.
ImageUrl1
=
imgUrl
;
}
else
{
}
else
{
this
.
plugData
.
ImageUrl2
=
imgUrl
;
}
});
...
...
@@ -172,11 +188,11 @@
DayNum
:
item
.
DayNum
,
Price
:
item
.
B2BPrice
,
};
if
(
this
.
checkIndex
==
1
)
{
if
(
this
.
checkIndex
==
1
)
{
this
.
plugData
.
TripImage1
=
obj
.
imgUrl
;
this
.
plugData
.
TripTitle1
=
obj
.
Title
;
}
if
(
this
.
checkIndex
==
2
)
{
if
(
this
.
checkIndex
==
2
)
{
this
.
plugData
.
TripImage2
=
obj
.
imgUrl
;
this
.
plugData
.
TripTitle2
=
obj
.
Title
;
}
...
...
@@ -187,7 +203,7 @@
},
mounted
()
{
},
};
...
...
src/components/WebSet/plug-in/linkpicture_dialog.vue
View file @
c58ff155
...
...
@@ -68,7 +68,7 @@
</el-row>
</el-form>
<el-dialog
title=
"选择行程"
:visible
.
sync=
"isShowTripDailog"
width=
"1000px"
append-to-body
>
<!--
行程选中
-->
<!--
选择行程
-->
<chooseTrip
ref=
"chooseTrip"
:IsMultiple=
"false"
></chooseTrip>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"isShowTripDailog = false"
size=
"small"
>
取 消
</el-button>
...
...
src/components/WebSet/plug-in/picture_dialog.vue
View file @
c58ff155
...
...
@@ -279,7 +279,6 @@
chooseTrip
},
created
()
{
console
.
log
(
"this"
,
this
.
plugData
);
},
methods
:
{
UploadImage
(
file
)
{
...
...
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