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
0005f78a
Commit
0005f78a
authored
Aug 31, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加页面及img操作位置
parent
d03de5db
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
107 additions
and
89 deletions
+107
-89
UpgradedVersion.css
src/assets/css/UpgradedVersion.css
+3
-2
UpgradedVersionDetails.vue
...elGroupControl/UpgradedVersion/UpgradedVersionDetails.vue
+2
-2
MasterMapList.vue
...GroupControl/UpgradedVersion/components/MasterMapList.vue
+45
-45
featureControls.vue
...oupControl/UpgradedVersion/components/featureControls.vue
+38
-23
subheading.vue
...velGroupControl/UpgradedVersion/components/subheading.vue
+3
-3
featureHome.vue
...anager/TravelGroupControl/UpgradedVersion/featureHome.vue
+8
-7
otherJourney.vue
...nager/TravelGroupControl/UpgradedVersion/otherJourney.vue
+8
-7
No files found.
src/assets/css/UpgradedVersion.css
View file @
0005f78a
...
...
@@ -531,7 +531,8 @@ img {
}
.UpgradedVersionDetails-formBox1
{
top
:
12px
;
top
:
139px
;
left
:
-31px
;
}
.UpgradedVersionDetails-imgbox
{}
...
...
@@ -916,7 +917,7 @@ img {
.subIdeImgForm2Box3
{
left
:
0px
;
top
:
0
;
top
:
1px
;
}
.UpgradedVersion-intTitle
{
...
...
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/UpgradedVersionDetails.vue
View file @
0005f78a
...
...
@@ -3,7 +3,7 @@
<div
class=
"UpgradedVersionDetails-form absolute row-sb z-index1"
:style=
"
{'background':backgroundColor}">
<div
class=
"UpgradedVersionDetails-form-Box absolute UpgradedVersion-Hover"
>
<div
class=
"UpgradedVersionDetails-formBox1 absolute"
>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureData"
:ControlsType=
"'
row
'"
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureData"
:ControlsType=
"'
column
'"
:isDeletePage=
"FeatureData.isDeletePage"
:pagesType=
"3"
@
toAddPages=
"toAddPages"
@
toDeletePages=
"toDeletePages"
>
</FeatureControls>
...
...
@@ -14,7 +14,7 @@
<div
class=
"UpgradedVersionDetails-imgbox row-aic UpgradedVersion-Hover"
>
<div
class=
"UpgradedVersionDetails-img relative"
>
<div
class=
"UpgradedVersionDetails1 absolute z-index1"
>
<FeatureControls
v-if=
"FeatureData"
:index=
"index"
:FeatureData=
"FeatureData"
:isUploadImg=
"true"
<FeatureControls
v-if=
"FeatureData"
:index=
"index"
:FeatureData=
"FeatureData"
:
ControlsType=
"'column'"
isImg=
"1"
:
isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(i)"
@
toSelectImg=
"SelectImg(i)"
@
toAddImg=
"AddImg"
@
toDeleteImg=
"DeleteImg(i)"
/>
</div>
...
...
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/components/MasterMapList.vue
View file @
0005f78a
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/components/featureControls.vue
View file @
0005f78a
<
template
>
<div
class=
"featureControls"
>
<div
class=
"row-aic featureControls-bottom featureControls-bottomOne"
v-if=
"ControlsType=='row'"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"上传图"
placement=
"top"
>
<div
@
click=
"toUploadImg"
v-if=
"isUploadImg"
>
<i
class=
"el-icon-upload2"
></i>
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"选图"
placement=
"top"
>
<div
@
click=
"toSelectImg"
v-if=
"isSelectImg"
>
<i
class=
"el-icon-search"
></i>
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加图"
placement=
"top"
>
<div
@
click=
"toAddImg"
v-if=
"isAddImg"
>
<i
class=
"el-icon-plus"
></i>
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除图"
placement=
"top"
>
<div
@
click=
"toDeleteImg"
v-if=
"isDeleteImg"
>
<i
class=
"el-icon-delete"
></i>
</div>
</el-tooltip>
</div>
<div
class=
"column featureControls-bottom featureControls-bottomTwo"
v-else
>
<template
v-if=
"!isImg&&!isTemplate"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加页面"
placement=
"top"
>
<div
@
click=
"toAddPages"
>
<i
class=
"el-icon-plus"
></i>
...
...
@@ -11,8 +35,19 @@
<i
class=
"el-icon-delete"
></i>
</div>
</el-tooltip>
</
template
>
<
template
v-else
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"上传图"
placement=
"top"
>
<div
@
click=
"toUploadImg"
v-if=
"isUploadImg"
>
<i
class=
"el-icon-upload2"
></i>
</div>
<div
class=
"column featureControls-bottom featureControls-bottomTwo"
v-else
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"选图"
placement=
"top"
>
<div
@
click=
"toSelectImg"
v-if=
"isSelectImg"
>
<i
class=
"el-icon-search"
></i>
</div>
</el-tooltip>
</
template
>
<div
v-if=
"isTemplate"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"选模版"
placement=
"top"
>
<el-popover
trigger=
"hover"
placement=
"right"
>
...
...
@@ -28,26 +63,6 @@
</el-popover>
</el-tooltip>
</div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"上传图"
placement=
"top"
>
<div
@
click=
"toUploadImg"
v-if=
"isUploadImg"
>
<i
class=
"el-icon-upload2"
></i>
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"选图"
placement=
"top"
>
<div
@
click=
"toSelectImg"
v-if=
"isSelectImg"
>
<i
class=
"el-icon-search"
></i>
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加图"
placement=
"top"
>
<div
@
click=
"toAddImg"
v-if=
"isAddImg"
>
<i
class=
"el-icon-plus"
></i>
</div>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除图"
placement=
"top"
>
<div
@
click=
"toDeleteImg"
v-if=
"isDeleteImg"
>
<i
class=
"el-icon-delete"
></i>
</div>
</el-tooltip>
</div>
</div>
</template>
...
...
@@ -57,7 +72,7 @@
components
:
{
},
props
:
[
'index'
,
'FeatureData'
,
'ControlsType'
,
'pagesType'
,
'isDeletePage'
,
props
:
[
'index'
,
'FeatureData'
,
'ControlsType'
,
'isImg'
,
'pagesType'
,
'isDeletePage'
,
'isUploadImg'
,
'isSelectImg'
,
'isAddImg'
,
'isDeleteImg'
,
'isTemplate'
,
'Template'
],
data
()
{
...
...
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/components/subheading.vue
View file @
0005f78a
...
...
@@ -61,7 +61,7 @@
<div
class=
"subIdeImg1 bjE6 UpgradedVersion-Hover"
>
<div
class=
"subIdeImg1relative relative UpgradedVersion-Hover"
>
<div
class=
"subIdeImgForm1Box absolute"
>
<FeatureControls
v-if=
"FeatureData"
:index=
"index"
:FeatureData=
"FeatureData"
:isUploadImg=
"true"
<FeatureControls
v-if=
"FeatureData"
:index=
"index"
:FeatureData=
"FeatureData"
:is
Img=
"1"
:is
UploadImg=
"true"
:isSelectImg=
"true"
:isDeleteImg=
"false"
@
toUploadImg=
"toUploadImg(0)"
@
toSelectImg=
"toSelectImg(0)"
@
toAddImg=
"toAddImg"
@
toDeleteImg=
"toDeleteImg(0)"
/>
</div>
...
...
@@ -77,7 +77,7 @@
<div
class=
"subIdeImg1 bjE6 UpgradedVersion-Hover"
>
<div
class=
"subIdeImg1relative relative"
>
<div
class=
"subIdeImgForm1Box absolute"
>
<FeatureControls
v-if=
"FeatureData"
:index=
"index"
:FeatureData=
"FeatureData"
:isUploadImg=
"true"
<FeatureControls
v-if=
"FeatureData"
:index=
"index"
:FeatureData=
"FeatureData"
:is
Img=
"1"
:is
UploadImg=
"true"
:isSelectImg=
"true"
:isDeleteImg=
"false"
@
toUploadImg=
"toUploadImg(1)"
@
toSelectImg=
"toSelectImg(1)"
@
toAddImg=
"toAddImg"
@
toDeleteImg=
"toDeleteImg(1)"
/>
</div>
...
...
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/featureHome.vue
View file @
0005f78a
...
...
@@ -15,16 +15,17 @@
</div>
<div
class=
"featureHome-left UpgradedVersion-Hover"
>
<div
class=
"featureHome-vToolBar-one absolute z-index3"
>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'row'"
:isDeletePage=
"FeatureItem.isDeletePage"
:pagesType=
"1"
@
toAddPages=
"toAddPages"
@
toDeletePages=
"toDeletePages"
>
</FeatureControls>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
:isAddImg=
"false"
:isDeleteImg=
"false"
@
toUploadImg=
"UploadImg"
@
toSelectImg=
"SelectImg"
@
toAddImg=
"AddImg"
@
toDeleteImg=
"DeleteImg"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'homefile_'+(FeatureItem * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<div
class=
"featureHome-vToolBar-two absolute z-index3"
>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'column'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
:isAddImg=
"false"
:isDeleteImg=
"false"
@
toUploadImg=
"UploadImg"
@
toSelectImg=
"SelectImg"
@
toAddImg=
"AddImg"
@
toDeleteImg=
"DeleteImg"
></FeatureControls>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'column'"
:isDeletePage=
"FeatureItem.isDeletePage"
:pagesType=
"1"
@
toAddPages=
"toAddPages"
@
toDeletePages=
"toDeletePages"
>
</FeatureControls>
</div>
<div
class=
"featureHome-left-one bjF6 absolute z-index2"
>
<template
v-if=
"FeatureItem.dataObj.ImgList&&FeatureItem.dataObj.ImgList.length>0"
>
...
...
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/otherJourney.vue
View file @
0005f78a
...
...
@@ -6,17 +6,18 @@
:class=
"[FeatureItem.pageType==2?'':'UpgradedVersion-Hover']"
>
<div
class=
"MasterMapList-box-one absolute"
>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'row'"
:isDeletePage=
"FeatureItem.isDeletePage"
:pagesType=
"1"
@
toAddPages=
"toAddPages"
@
toDeletePages=
"toDeletePages"
>
</FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'introducefile_'+(FeatureItem * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<div
class=
"MasterMapList-box-two absolute z-index3"
>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'column'"
:isUploadImg=
"FeatureItem.pageType==2?true:false"
:isSelectImg=
"FeatureItem.pageType==2?true:false"
:isAddImg=
"FeatureItem.pageType==2?false:
FeatureItem.pageType!=2&&FeatureItem.dataObj.ImgList
&&FeatureItem.dataObj.ImgList.length!=9?true:false"
:isDeleteImg=
"false"
@
toUploadImg=
"UploadImg"
@
toSelectImg=
"SelectImg"
@
toAddImg=
"AddImg"
@
toDeleteImg=
"DeleteImg"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'introducefile_'+(FeatureItem * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<div
class=
"MasterMapList-box-two absolute z-index3"
>
<FeatureControls
:index=
"index"
:FeatureData=
"FeatureItem"
:ControlsType=
"'column'"
:isDeletePage=
"FeatureItem.isDeletePage"
:pagesType=
"1"
@
toAddPages=
"toAddPages"
@
toDeletePages=
"toDeletePages"
>
</FeatureControls>
</div>
</div>
<!-- 上传主图文件 -->
...
...
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