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
d87c97a5
Commit
d87c97a5
authored
Feb 22, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘href 行程特色颜色’
parent
e08ad4f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
Details.vue
src/components/Details.vue
+4
-4
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+22
-0
TravelManager2.vue
...ts/newTravelmanager/TravelGroupControl/TravelManager2.vue
+2
-0
No files found.
src/components/Details.vue
View file @
d87c97a5
...
...
@@ -59,7 +59,7 @@
<analogIFrame
:key=
"i"
:type=
'item.type'
v-model=
"item.history"
:curIndex=
'i'
:refer=
'item.refer'
v-show=
"tabs.indexOf(currentTag)==i"
:componentTemp=
'item.comp'
v-for=
"(item,i) in tabs"
v-if=
'item.comp'
:path=
'item.path'
:name=
'item.name'
></analogIFrame>
</div>
<div
class=
"flexParent"
v-if=
"openMode==0"
>
<a
:href=
'blankUrl'
ref
=
'blankLink'
target=
"_blank"
style=
"display:none"
>
1
</a>
<a
:href=
'blankUrl'
id
=
'blankLink'
target=
"_blank"
style=
"display:none"
>
1
</a>
<div
class=
"resource-ttop"
style=
"font-family:PingFangSC-Semibold"
v-if=
"rootName!=''"
>
{{rootName}}
<i
class=
"iconfont icon-weibiaoti102"
></i>
{{parentName}}
<i
class=
"iconfont icon-weibiaoti102"
></i><span
class=
"active"
>
{{currentName}}
</span>
</div>
...
...
@@ -882,10 +882,10 @@ export default {
next
()
}
else
if
(
that
.
openMode
==
0
&&
to
.
query
.
blank
&&
to
.
query
.
blank
==
'y'
){
that
.
$refs
.
blankLink
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
to
.
fullPath
}
`
let
dom
=
document
.
querySelector
(
"#blankLink"
)
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
to
.
fullPath
}
`
//console.log(that.$refs.blankLink.click())
that
.
$refs
.
blankLink
.
click
()
dom
.
click
()
}
else
{
next
()
}
...
...
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
d87c97a5
...
...
@@ -14,6 +14,11 @@
<div>
{{
item
.
ckTitle
}}
</div>
</div>
</div>
<div>
<el-radio-group
v-model=
"FeatureData.TemplateId"
>
<el-radio-button
v-for=
"item in templateColorArray"
:label=
"item.text"
:key=
"item.id"
:value=
"item.id"
></el-radio-button>
</el-radio-group>
</div>
<div>
注:幻灯片(图片至少为两张,图片尺寸应该控制在960*500,如果超出系统将自动裁剪显示)
</div>
<div
class=
"ScraList"
>
九宫格(请尽量保持图片高清,系统将根据你的图片数量自动缩放图片大小,最多9张图片)
</div>
<div
class=
"TFContent"
>
...
...
@@ -248,6 +253,23 @@
TypeState
:
5
}
],
//tab数组
templateColorArray
:[
{
id
:
1
,
color
:
'yellow'
,
text
:
'黄色'
},
{
id
:
2
,
color
:
'pink'
,
text
:
'粉色'
},
{
id
:
3
,
color
:
'blue'
,
text
:
'蓝色'
},
],
travelsList
:
[],
del_show
:
true
,
//折叠展开
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManager2.vue
View file @
d87c97a5
...
...
@@ -139,6 +139,7 @@
Subtitle
:
""
,
LineName
:
""
,
DayList
:
[],
TemplateId
:
1
,
IsSave
:
false
//是否保存
},
//线路行程
...
...
@@ -584,6 +585,7 @@
this
.
FeatureData
.
ConfigId
=
tempData
.
Feature
.
ConfigId
;
this
.
FeatureData
.
FeatureType
=
tempData
.
Feature
.
FeatureType
;
this
.
FeatureData
.
FeatureImg
=
tempData
.
Feature
.
FeatureImg
;
this
.
FeatureData
.
TemplateId
=
tempData
.
Feature
.
TemplateId
;
this
.
FeatureData
.
FeatureContent
=
tempData
.
Feature
.
FeatureContent
;
//图片列表
this
.
FeatureData
.
fileList
=
tempData
.
Feature
.
FeatureImgList
;
...
...
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