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
bf3e3bf8
Commit
bf3e3bf8
authored
Jul 02, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
996a5468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
61 deletions
+38
-61
b2b_dialog.vue
src/components/WebSet/plug-in/b2b_dialog.vue
+24
-27
picture_dialog.vue
src/components/WebSet/plug-in/picture_dialog.vue
+14
-34
No files found.
src/components/WebSet/plug-in/b2b_dialog.vue
View file @
bf3e3bf8
...
...
@@ -27,7 +27,15 @@
align-items
:
center
;
justify-content
:
center
;
}
.b2bDialog
.webSliderDiv
.addIconDiv
:hover
{
background
:
rgba
(
0
,
0
,
0
,
0.5
);
color
:
#fff
;
}
.b2bDialog
.webSliderDiv
i
{
font-size
:
50px
;
color
:
#d1d1d1
;
cursor
:
pointer
;
}
.b2bDialog
.webSliderDiv
>
div
{
height
:
100%
;
}
...
...
@@ -42,7 +50,7 @@
height
:
310px
!important
;
border-radius
:
50%
;
overflow
:
hidden
;
border
:
0
!important
;
margin-left
:
80px
;
}
.b2b_imgList
{
...
...
@@ -86,18 +94,12 @@
</div>
</el-col>
<el-col
:span=
"14"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,clickIndex=index"
>
选择行程
</el-button>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱'+' '+(index+1)"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
></el-input>
<el-input
type=
"text"
v-model=
"item.TripTitle"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"isShowTripDailog=true,clickIndex=index"
>
选择行程
</el-button>
</el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -119,13 +121,12 @@
<
template
v-if=
"plugData.Type==3"
>
<el-row>
<el-col
:span=
"12"
v-for=
"(item,index) in plugData.Details"
:key=
"index"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,clickIndex=index"
>
选择行程
</el-button>
</el-form-item>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱'+' '+(index+1)"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
></el-input>
<el-input
type=
"text"
v-model=
"item.TripTitle"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"isShowTripDailog=true,clickIndex=index"
>
选择行程
</el-button>
</el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -158,8 +159,14 @@
</el-row>
</
template
>
<
template
v-if=
"plugData.Type==4"
>
<el-row
v-for=
"(item,index) in plugData.Details"
:key=
"index"
style=
"margin-bottom:20px;"
>
<el-col
:span=
"8"
>
<el-row>
<el-col
:span=
"12"
v-for=
"(item,index) in plugData.Details"
:key=
"index"
style=
"margin-bottom:20px;"
>
<div>
<el-form-item>
<el-button
type=
"primary"
style=
"margin-left:80px;"
size=
"small"
@
click=
"isShowTripDailog=true,clickIndex=index"
>
选择行程
</el-button>
</el-form-item>
</div>
<div
class=
"webSliderDiv webImg_radius"
@
click=
"clickIndex=index"
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
...
...
@@ -172,16 +179,6 @@
</el-upload>
</div>
</el-col>
<el-col
:span=
"16"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,clickIndex=index"
>
选择行程
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-col>
</el-row>
</
template
>
</el-form>
...
...
src/components/WebSet/plug-in/picture_dialog.vue
View file @
bf3e3bf8
...
...
@@ -86,18 +86,12 @@
<div
v-else
style=
"margin-top:5px;"
>
圖片尺寸請上傳:800x530,檔案請小於3M
</div>
</el-col>
<el-col
:span=
"14"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"plugData.Type==1||plugData.Type==2||plugData.Type==3"
>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱'+' '+(index+1)"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
></el-input>
<el-input
type=
"text"
v-model=
"item.TripTitle"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -142,16 +136,12 @@
<el-form-item
style=
"margin-bottom:0"
>
<div>
圖片尺寸請上傳:373x600,檔案請小於3M
</div>
</el-form-item>
<el-row
:span=
"24"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-form-item>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"行程名稱"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
></el-input>
<el-form-item
:label=
"'行程名稱'+' '+(index+1)"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -171,7 +161,7 @@
<div
class=
"webSliderDiv"
@
click=
"clickIndex=index"
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<img
v-if=
"item.ImageUrl"
:src=
"item.ImageUrl"
style=
"width:auto;"
class=
"web_imgUrl"
alt=
""
/>
<img
v-if=
"item.ImageUrl"
:src=
"item.ImageUrl"
class=
"web_imgUrl"
alt=
""
/>
<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;"
...
...
@@ -182,18 +172,12 @@
<div
style=
"margin-top:5px;"
>
圖片尺寸請上傳:800x530,檔案請小於3M
</div>
</el-col>
<el-col
:span=
"14"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱'+' '+(index+1)"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
></el-input>
<el-input
type=
"text"
v-model=
"item.TripTitle"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -232,15 +216,11 @@
<div>
圖片尺寸請上傳:700x700,檔案請小於3M
</div>
</el-form-item>
<el-row>
<el-col
:span=
"24"
>
<el-form-item>
<el-button
type=
"primary"
size=
"small"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
:label=
"'行程名稱'+' '+(index+1)"
>
<el-input
type=
"text"
v-model=
"item.TripTitle"
></el-input>
<el-input
type=
"text"
v-model=
"item.TripTitle"
>
<el-button
slot=
"append"
type=
"primary"
@
click=
"isShowTripDailog=true,checkIndex=index"
>
选择行程
</el-button>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
...
...
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