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
04d1fe3d
Commit
04d1fe3d
authored
Aug 28, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
5cc01d6f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
41 deletions
+40
-41
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+1
-1
VEditDiv.vue
...wTravelmanager/TravelGroupControl/TravelTemp/VEditDiv.vue
+36
-37
index.vue
...ravelmanager/TravelGroupControl/UpgradedVersion/index.vue
+3
-3
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
04d1fe3d
...
...
@@ -11,7 +11,7 @@
<div
class=
"TFslide"
v-for=
"item in TypeArray"
:class=
"
{'TFcked':item.isShow,'display_none':(item.TypeState===4
&&
FeatureData.FeatureType !== 4) || (item.TypeState===4
&&
!$route.query.configId)}"
@click="clickFeature(item)" :key="item.subCode"
v-if="((item.TypeState>3
&&
CurrentUserInfo.RB_Group_id==QjGroupId())||item.TypeState
<
=
3
)
&&
item
.
TypeState
!=
8
"
>
v-if="((item.TypeState>3
&&
CurrentUserInfo.RB_Group_id==QjGroupId())||item.TypeState
<
=
3
)"
>
<img
v-bind:src=
"item.imgUrl"
>
<div>
{{
item
.
ckTitle
}}
</div>
</div>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelTemp/VEditDiv.vue
View file @
04d1fe3d
<
template
>
<div
class=
"edit_div"
:contenteditable=
"canEdit"
v-html=
"innerText"
@
focus=
"isLocked = true"
@
blur=
"isLocked = false"
<div
class=
"edit_div"
:contenteditable=
"canEdit"
v-html=
"innerText"
@
focus=
"isLocked = true"
@
blur=
"isLocked = false"
@
input=
"changeText"
>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"value"
,
"canEdit"
],
export
default
{
props
:
[
"value"
,
"canEdit"
],
data
()
{
return
{
innerText
:
this
.
value
,
...
...
@@ -29,18 +24,22 @@ export default {
let
sel
=
window
.
getSelection
()
let
offset
=
sel
.
anchorOffset
this
.
$emit
(
"input"
,
this
.
$el
.
innerText
);
setTimeout
(
()
=>
{
var
range
=
sel
.
getRangeAt
(
0
)
setTimeout
(()
=>
{
var
range
=
sel
.
getRangeAt
(
0
);
if
(
range
)
{
var
textNode
=
range
.
startContainer
;
range
.
setStart
(
textNode
,
offset
)
range
.
setStart
(
textNode
,
offset
)
sel
.
removeAllRanges
()
sel
.
addRange
(
range
)
}
},
0
)
}
}
};
};
</
script
>
<
style
>
.edit_div
{}
.edit_div
{}
</
style
>
src/components/newTravelmanager/TravelGroupControl/UpgradedVersion/index.vue
View file @
04d1fe3d
...
...
@@ -200,7 +200,7 @@
//酒店
else
if
(
pItem
.
pageType
==
4
)
{
newObj
.
MainName
=
"富士山花园酒店"
;
newObj
.
SubName
=
"
酒店副标题
"
;
newObj
.
SubName
=
"
特色酒店
"
;
newObj
.
ImgList
=
[{
url
:
"https://imgfile.oytour.com/Upload/DMC/202305290204327370000000012.jpg"
}];
...
...
@@ -208,7 +208,7 @@
}
//餐
else
if
(
pItem
.
pageType
==
5
)
{
newObj
.
MainName
=
"箱根湖畔日式料理"
;
newObj
.
SubName
=
"
餐副标题
"
;
newObj
.
SubName
=
"
特色餐食
"
;
newObj
.
ImgList
=
[{
url
:
"http://imgfile.oytour.com/Upload/DMC/Z4DbAPRPmBPkaJQyxwesEWAz3sbZadNj.jpg"
}];
...
...
@@ -217,7 +217,7 @@
//景点
else
if
(
pItem
.
pageType
==
6
)
{
newObj
.
MainName
=
"东京秋叶原动漫.电器"
;
newObj
.
SubName
=
"
景点副标题
"
;
newObj
.
SubName
=
"
特色景点
"
;
newObj
.
ImgList
=
[{
url
:
"http://imgfile.oytour.com/Upload/DMC/20200201061804955.jpg"
}];
...
...
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