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
a41cf93a
Commit
a41cf93a
authored
Aug 28, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a4e806a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
20 deletions
+37
-20
VEditDiv.vue
...wTravelmanager/TravelGroupControl/TravelTemp/VEditDiv.vue
+7
-3
index.vue
...ravelmanager/TravelGroupControl/UpgradedVersion/index.vue
+30
-17
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelTemp/VEditDiv.vue
View file @
a41cf93a
...
...
@@ -28,10 +28,14 @@
var
range
=
sel
.
getRangeAt
(
0
);
if
(
range
)
{
var
textNode
=
range
.
startContainer
;
if
(
textNode
)
{
range
.
setStart
(
textNode
,
offset
)
}
if
(
sel
)
{
sel
.
removeAllRanges
()
sel
.
addRange
(
range
)
}
}
},
0
)
}
}
...
...
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/index.vue
View file @
a41cf93a
...
...
@@ -214,38 +214,47 @@
}
//酒店
else
if
(
pItem
.
pageType
==
4
)
{
newObj
.
SubName
=
"特色酒店"
;
if
(
tripObj
.
hotelArray
&&
tripObj
.
hotelArray
.
length
>
0
)
{
newObj
.
MainName
=
tripObj
.
hotelArray
[
0
].
MainName
;
newObj
.
SubName
=
"特色酒店"
;
newObj
.
ImgList
=
tripObj
.
hotelArray
[
0
].
ImgList
;
newObj
.
MainDesc
=
tripObj
.
hotelArray
[
0
].
MainDesc
;
}
else
{
newObj
.
MainName
=
"富士山花园酒店"
;
newObj
.
SubName
=
"特色酒店"
;
newObj
.
MainName
=
"默认酒店"
;
newObj
.
ImgList
=
[{
url
:
"https://imgfile.oytour.com/Upload/DMC/202305290204327370000000012.jpg"
}];
newObj
.
MainDesc
=
"
新大谷INN东京位于山手线大崎车站徒步一分钟,离品川,涉谷,原宿,都非常近,方便购物 观光,酒店房间干净 舒适,
"
;
newObj
.
MainDesc
=
"
默认酒店描述信息
"
;
}
}
//餐
else
if
(
pItem
.
pageType
==
5
)
{
newObj
.
MainName
=
"箱根湖畔日式料理"
;
newObj
.
SubName
=
"特色餐食"
;
if
(
tripObj
.
dinnerArray
&&
tripObj
.
dinnerArray
.
length
>
0
)
{
newObj
.
MainName
=
tripObj
.
dinnerArray
[
0
].
MainName
;
newObj
.
ImgList
=
tripObj
.
dinnerArray
[
0
].
ImgList
;
newObj
.
MainDesc
=
tripObj
.
dinnerArray
[
0
].
MainDesc
;
}
else
{
newObj
.
MainName
=
"默认餐食"
;
newObj
.
ImgList
=
[{
url
:
"http://imgfile.oytour.com/Upload/DMC/Z4DbAPRPmBPkaJQyxwesEWAz3sbZadNj.jpg"
}];
newObj
.
MainDesc
=
"箱根湖畔日式料理箱根湖畔日式料理箱根湖畔日式料理箱根湖畔日式料理箱根湖畔日式料理箱根湖畔日式料理箱根湖畔日式料理"
;
newObj
.
MainDesc
=
"默认餐食描述"
;
}
}
//景点
else
if
(
pItem
.
pageType
==
6
)
{
newObj
.
MainName
=
"东京秋叶原动漫.电器"
;
newObj
.
SubName
=
"特色景点"
;
if
(
tripObj
.
scenicArray
&&
tripObj
.
scenicArray
.
length
>
0
)
{
newObj
.
MainName
=
tripObj
.
scenicArray
[
0
].
MainName
;
newObj
.
ImgList
=
tripObj
.
scenicArray
[
0
].
ImgList
;
newObj
.
MainDesc
=
tripObj
.
scenicArray
[
0
].
MainDesc
;
}
else
{
newObj
.
MainName
=
"默认景点"
;
newObj
.
ImgList
=
[{
url
:
"http://imgfile.oytour.com/Upload/DMC/20200201061804955.jpg"
}];
newObj
.
MainDesc
=
"秋叶原是与时代尖端产业同步的电器大街,亦是目前世界上数一数二的电子科技街,集和了各种世界尖端科技产品,以及动漫商店,是许多年轻游客赴日必到的景点之一。秋叶原动漫大道这里可以说是动漫控们的天堂,因为不仅仅可以看到原汁原味的日本萌妹子化装成各种动漫造型,你也可以购买动漫人物的各种Q版造型,这条街上随处可见这种COS造型"
;
newObj
.
MainDesc
=
"默认景点描述信息"
;
}
}
pItem
.
dataObj
=
newObj
;
});
...
...
@@ -329,9 +338,13 @@
});
})
}
var
description
=
"暂无描述"
;
if
(
sItem
.
Description
&&
sItem
.
Description
!=
''
)
{
description
=
sItem
.
Description
;
}
var
dObj
=
{
MainName
:
sItem
.
DinnerName
,
MainDesc
:
sItem
.
D
escription
,
MainDesc
:
d
escription
,
ImgList
:
tempImgList
,
SourceType
:
5
};
...
...
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