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
98b21eda
Commit
98b21eda
authored
Jun 18, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加
parent
9553bac7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
179 additions
and
3 deletions
+179
-3
WebSiteEdit.vue
src/components/WebSet/WebSiteEdit.vue
+10
-3
b2blink_dialog.vue
src/components/WebSet/plug-in/b2blink_dialog.vue
+76
-0
linkpicture_dialog.vue
src/components/WebSet/plug-in/linkpicture_dialog.vue
+93
-0
No files found.
src/components/WebSet/WebSiteEdit.vue
View file @
98b21eda
...
@@ -223,9 +223,12 @@
...
@@ -223,9 +223,12 @@
<!-- 图片链接 -->
<!-- 图片链接 -->
<imglinkdialog
v-if=
"currentEditItem.Id=='white_label_link_picture'"
:plugData=
"currentEditItemData"
>
<imglinkdialog
v-if=
"currentEditItem.Id=='white_label_link_picture'"
:plugData=
"currentEditItemData"
>
</imglinkdialog>
</imglinkdialog>
<!-- 挑选自有行程 图片 -->
<!-- 挑选自有行程 -->
<b2bdialog
v-if=
"currentEditItem.Id=='b2b'"
:plugData=
"currentEditItemData"
></b2bdialog>
<b2bdialog
v-if=
"currentEditItem.Id=='b2b'"
:plugData=
"currentEditItemData"
></b2bdialog>
<!-- 挑选自有行程 段落链接 -->
<b2blinkdialog
v-if=
"currentEditItem.Id=='b2b_LinkP'"
:plugData=
"currentEditItemData"
></b2blinkdialog>
<!-- 挑选自有行程 图片链接 -->
<linkpicturedialog
v-if=
"currentEditItem.Id=='b2b_LinkPicture'"
:plugData=
"currentEditItemData"
></linkpicturedialog>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"isShowDialog = false"
size=
"small"
>
取 消
</el-button>
<el-button
@
click=
"isShowDialog = false"
size=
"small"
>
取 消
</el-button>
...
@@ -244,6 +247,8 @@
...
@@ -244,6 +247,8 @@
import
paragraphLinkdialog
from
"../WebSet/plug-in/paragraphLink_dialog.vue"
import
paragraphLinkdialog
from
"../WebSet/plug-in/paragraphLink_dialog.vue"
import
imglinkdialog
from
"../WebSet/plug-in/imglink_dialog.vue"
import
imglinkdialog
from
"../WebSet/plug-in/imglink_dialog.vue"
import
b2bdialog
from
"../WebSet/plug-in/b2b_dialog.vue"
import
b2bdialog
from
"../WebSet/plug-in/b2b_dialog.vue"
import
b2blinkdialog
from
"../WebSet/plug-in/b2blink_dialog.vue"
import
linkpicturedialog
from
"../WebSet/plug-in/linkpicture_dialog.vue"
export
default
{
export
default
{
props
:
[
"templateData"
],
props
:
[
"templateData"
],
data
()
{
data
()
{
...
@@ -274,7 +279,9 @@
...
@@ -274,7 +279,9 @@
sectiondialog
,
sectiondialog
,
paragraphLinkdialog
,
paragraphLinkdialog
,
imglinkdialog
,
imglinkdialog
,
b2bdialog
b2bdialog
,
b2blinkdialog
,
linkpicturedialog
},
},
methods
:
{
methods
:
{
//显示弹窗
//显示弹窗
...
...
src/components/WebSet/plug-in/b2blink_dialog.vue
0 → 100644
View file @
98b21eda
<
style
>
.b2blinkDialog
.webSliderDiv
{
line-height
:
0
;
height
:
536px
;
border
:
1px
solid
#ccc
;
position
:
relative
;
background-color
:
#f1f1f1
;
}
.b2blinkDialog
.webSliderDiv
>
div
{
height
:
100%
;
}
.b2blinkDialog
.sectionImg
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background-position
:
center
;
background-size
:
cover
;
}
</
style
>
<
template
>
<div
class=
"b2blinkDialog"
>
<el-form
label-width=
"80px"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"標題"
>
<el-input
type=
"text"
v-model=
"plugData.Title"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"描述"
>
<el-input
type=
"textarea"
v-model=
"plugData.Describe"
:rows=
"4"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:span=
"24"
>
<el-form-item
label=
"行程名稱"
>
<el-select
v-model=
"plugData.TripTitle"
style=
"width:100%"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"B2B前台菜单"
:value=
"-1"
>
B2B前台菜单
</el-option>
<el-option
label=
"个人中心菜单"
:value=
"-2"
>
个人中心菜单
</el-option>
</el-select>
</el-form-item>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item>
<div
class=
"webSliderDiv"
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.TripImage + ')'}">
</div>
</div>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"plugData"
],
data
()
{
return
{
};
},
created
()
{},
methods
:
{
},
mounted
()
{
},
};
</
script
>
src/components/WebSet/plug-in/linkpicture_dialog.vue
0 → 100644
View file @
98b21eda
<
style
>
.linkpicdialog
.webSliderDiv
{
width
:
305px
;
line-height
:
0
;
height
:
305px
;
border
:
1px
solid
#ccc
;
position
:
relative
;
}
.linkpicdialog
.webSliderDiv
>
div
{
height
:
100%
;
}
.linkpicdialog
.sectionImg
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background-position
:
center
;
background-size
:
cover
;
background-color
:
#f1f1f1
;
}
</
style
>
<
template
>
<div
class=
"linkpicdialog"
>
<el-form
label-width=
"120px"
>
<el-form-item
label=
"標題"
>
<el-input
type=
"text"
v-model=
"plugData.Title"
></el-input>
</el-form-item>
<el-form-item
label=
"描述"
>
<el-input
type=
"textarea"
v-model=
"plugData.Describe"
:rows=
"4"
></el-input>
</el-form-item>
<el-row
style=
"margin-bottom:20px;"
>
<el-col
:span=
"10"
>
<el-form-item>
<div
class=
"webSliderDiv"
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.TripImage1 + ')'}">
</div>
</div>
</el-form-item>
</el-col>
<el-col
:span=
"14"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱1'"
>
<el-select
v-model=
"plugData.TripId1"
style=
"width:100%"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"B2B前台菜单"
:value=
"-1"
>
B2B前台菜单
</el-option>
<el-option
label=
"个人中心菜单"
:value=
"-2"
>
个人中心菜单
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
<el-row
style=
"margin-bottom:20px;"
>
<el-col
:span=
"10"
>
<el-form-item>
<div
class=
"webSliderDiv"
>
<div
class=
"sectionImg"
:style=
"
{backgroundImage:'url(' + plugData.TripImage2 + ')'}">
</div>
</div>
</el-form-item>
</el-col>
<el-col
:span=
"14"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱2'"
>
<el-select
v-model=
"plugData.TripId2"
style=
"width:100%"
>
<el-option
label=
"不限"
:value=
"0"
></el-option>
<el-option
label=
"B2B前台菜单"
:value=
"-1"
>
B2B前台菜单
</el-option>
<el-option
label=
"个人中心菜单"
:value=
"-2"
>
个人中心菜单
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
</el-form>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"plugData"
],
data
()
{
return
{};
},
created
()
{},
methods
:
{},
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugData'
);
},
};
</
script
>
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