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
ccf14a5d
Commit
ccf14a5d
authored
Jun 22, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c33bfb8b
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
2 additions
and
27 deletions
+2
-27
WebSiteAbout.vue
src/components/WebSet/WebSiteAbout.vue
+0
-1
WebSiteEdit.vue
src/components/WebSet/WebSiteEdit.vue
+0
-8
WebSiteIndex.vue
src/components/WebSet/WebSiteIndex.vue
+0
-1
WebSiteTrip.vue
src/components/WebSet/WebSiteTrip.vue
+0
-3
WebSiteUpdate.vue
src/components/WebSet/WebSiteUpdate.vue
+0
-2
b2b_dialog.vue
src/components/WebSet/plug-in/b2b_dialog.vue
+0
-2
background_dialog.vue
src/components/WebSet/plug-in/background_dialog.vue
+1
-1
banner_dialog.vue
src/components/WebSet/plug-in/banner_dialog.vue
+0
-2
linkpicture_dialog.vue
src/components/WebSet/plug-in/linkpicture_dialog.vue
+0
-2
searchf_dialog.vue
src/components/WebSet/plug-in/searchf_dialog.vue
+0
-2
searchs_dialog.vue
src/components/WebSet/plug-in/searchs_dialog.vue
+0
-2
slider_dialog.vue
src/components/WebSet/plug-in/slider_dialog.vue
+1
-1
No files found.
src/components/WebSet/WebSiteAbout.vue
View file @
ccf14a5d
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
}
}
}
}
this
.
$refs
.
WebSiteEdit
.
initData
(
this
.
postMsg
.
AboutDataList
);
this
.
$refs
.
WebSiteEdit
.
initData
(
this
.
postMsg
.
AboutDataList
);
console
.
log
(
"this.postMsg"
,
this
.
postMsg
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/WebSet/WebSiteEdit.vue
View file @
ccf14a5d
...
@@ -339,7 +339,6 @@
...
@@ -339,7 +339,6 @@
},
},
methods
:
{
methods
:
{
dragendLeft
(
e
,
item
)
{
dragendLeft
(
e
,
item
)
{
console
.
log
(
"dragendLeft"
,
e
);
var
obj
=
{
var
obj
=
{
Id
:
item
.
TemplateKey
,
Id
:
item
.
TemplateKey
,
plugData
:
item
.
TemplateData
,
plugData
:
item
.
TemplateData
,
...
@@ -350,26 +349,22 @@
...
@@ -350,26 +349,22 @@
},
},
//右边上下拖动开始
//右边上下拖动开始
handleDragStart
(
e
,
item
)
{
handleDragStart
(
e
,
item
)
{
console
.
log
(
"handleDragStart"
)
if
(
this
.
isDraggable
)
{
if
(
this
.
isDraggable
)
{
this
.
dragging
=
item
;
this
.
dragging
=
item
;
}
}
},
},
handleDragEnd
(
e
,
item
)
{
handleDragEnd
(
e
,
item
)
{
console
.
log
(
"handleDragEnd"
)
if
(
this
.
isDraggable
)
{
if
(
this
.
isDraggable
)
{
this
.
dragging
=
null
this
.
dragging
=
null
}
}
},
},
//首先把div变成可以放置的元素,即重写dragenter/dragover
//首先把div变成可以放置的元素,即重写dragenter/dragover
handleDragOver
(
e
)
{
handleDragOver
(
e
)
{
console
.
log
(
"handleDragOver"
)
if
(
this
.
isDraggable
)
{
if
(
this
.
isDraggable
)
{
e
.
dataTransfer
.
dropEffect
=
'move'
// e.dataTransfer.dropEffect="move";//在dragenter中针对放置目标来设置!
e
.
dataTransfer
.
dropEffect
=
'move'
// e.dataTransfer.dropEffect="move";//在dragenter中针对放置目标来设置!
}
}
},
},
handleDragEnter
(
e
,
item
)
{
handleDragEnter
(
e
,
item
)
{
console
.
log
(
"handleDragEnter"
)
if
(
this
.
isDraggable
)
{
if
(
this
.
isDraggable
)
{
e
.
dataTransfer
.
effectAllowed
=
"move"
//为需要移动的元素设置dragstart事件
e
.
dataTransfer
.
effectAllowed
=
"move"
//为需要移动的元素设置dragstart事件
if
(
item
===
this
.
dragging
)
{
if
(
item
===
this
.
dragging
)
{
...
@@ -413,7 +408,6 @@
...
@@ -413,7 +408,6 @@
},
},
//从左拖动到右边开始
//从左拖动到右边开始
dragLeftStart
(
ev
,
item
)
{
dragLeftStart
(
ev
,
item
)
{
console
.
log
(
"dragLeftStart"
)
this
.
isDraggable
=
false
;
this
.
isDraggable
=
false
;
var
obj
=
{
var
obj
=
{
Id
:
item
.
TemplateKey
,
Id
:
item
.
TemplateKey
,
...
@@ -430,8 +424,6 @@
...
@@ -430,8 +424,6 @@
},
},
//从左拖动到右边结束
//从左拖动到右边结束
drop
(
ev
,
index
)
{
drop
(
ev
,
index
)
{
console
.
log
(
"ev"
,
ev
);
console
.
log
(
"index"
,
index
);
if
(
!
this
.
isDraggable
)
{
if
(
!
this
.
isDraggable
)
{
this
.
dataList
.
splice
(
index
,
0
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
dragObj
)));
this
.
dataList
.
splice
(
index
,
0
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
dragObj
)));
}
}
...
...
src/components/WebSet/WebSiteIndex.vue
View file @
ccf14a5d
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
}
}
}
}
this
.
$refs
.
WebSiteEdit
.
initData
(
this
.
postMsg
.
HomeDataList
);
this
.
$refs
.
WebSiteEdit
.
initData
(
this
.
postMsg
.
HomeDataList
);
console
.
log
(
"this.postMsg"
,
this
.
postMsg
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/WebSet/WebSiteTrip.vue
View file @
ccf14a5d
...
@@ -401,9 +401,6 @@
...
@@ -401,9 +401,6 @@
}
}
});
});
}
}
console
.
log
(
"this.TripBgImgItem"
,
this
.
TripBgImgItem
);
console
.
log
(
"this.TripBottonItem"
,
this
.
TripBottonItem
);
console
.
log
(
"this.OtherList"
,
this
.
OtherList
);
}
}
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
...
...
src/components/WebSet/WebSiteUpdate.vue
View file @
ccf14a5d
...
@@ -54,7 +54,6 @@
...
@@ -54,7 +54,6 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
console
.
log
(
tempData
,
'data'
);
this
.
postMsg
.
PageDataList
=
tempData
.
PageDataList
;
this
.
postMsg
.
PageDataList
=
tempData
.
PageDataList
;
this
.
postMsg
.
Id
=
tempData
.
Id
;
this
.
postMsg
.
Id
=
tempData
.
Id
;
this
.
postMsg
.
PageName
=
tempData
.
PageName
;
this
.
postMsg
.
PageName
=
tempData
.
PageName
;
...
@@ -91,7 +90,6 @@
...
@@ -91,7 +90,6 @@
err
=>
{}
err
=>
{}
);
);
},
},
//获取模板数据
//获取模板数据
getNewTemplateData
(
templateDataList
)
{
getNewTemplateData
(
templateDataList
)
{
this
.
postMsg
.
PageDataList
=
templateDataList
;
this
.
postMsg
.
PageDataList
=
templateDataList
;
...
...
src/components/WebSet/plug-in/b2b_dialog.vue
View file @
ccf14a5d
...
@@ -199,7 +199,6 @@
...
@@ -199,7 +199,6 @@
DayNum
:
item
.
DayNum
,
DayNum
:
item
.
DayNum
,
Price
:
item
.
B2BPrice
,
Price
:
item
.
B2BPrice
,
};
};
console
.
log
(
obj
);
this
.
plugData
.
Details
[
this
.
clickIndex
].
TripImageUrl
=
obj
.
imgUrl
;
this
.
plugData
.
Details
[
this
.
clickIndex
].
TripImageUrl
=
obj
.
imgUrl
;
this
.
plugData
.
Details
[
this
.
clickIndex
].
Price
=
obj
.
Price
;
this
.
plugData
.
Details
[
this
.
clickIndex
].
Price
=
obj
.
Price
;
this
.
plugData
.
Details
[
this
.
clickIndex
].
DayNum
=
obj
.
DayNum
;
this
.
plugData
.
Details
[
this
.
clickIndex
].
DayNum
=
obj
.
DayNum
;
...
@@ -210,7 +209,6 @@
...
@@ -210,7 +209,6 @@
},
},
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugData'
);
},
},
};
};
...
...
src/components/WebSet/plug-in/background_dialog.vue
View file @
ccf14a5d
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugin'
);
},
},
};
};
...
...
src/components/WebSet/plug-in/banner_dialog.vue
View file @
ccf14a5d
...
@@ -139,10 +139,8 @@
...
@@ -139,10 +139,8 @@
this
.
plugData
.
Details
[
this
.
checkIndex
].
ImageUrl
=
imgUrl
;
this
.
plugData
.
Details
[
this
.
checkIndex
].
ImageUrl
=
imgUrl
;
});
});
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugData'
);
},
},
};
};
...
...
src/components/WebSet/plug-in/linkpicture_dialog.vue
View file @
ccf14a5d
...
@@ -121,10 +121,8 @@
...
@@ -121,10 +121,8 @@
});
});
}
}
},
},
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugData'
);
},
},
};
};
...
...
src/components/WebSet/plug-in/searchf_dialog.vue
View file @
ccf14a5d
...
@@ -103,10 +103,8 @@
...
@@ -103,10 +103,8 @@
this
.
plugData
.
Details
[
this
.
checkIndex
].
ImageUrl
=
imgUrl
;
this
.
plugData
.
Details
[
this
.
checkIndex
].
ImageUrl
=
imgUrl
;
});
});
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugData'
);
},
},
};
};
...
...
src/components/WebSet/plug-in/searchs_dialog.vue
View file @
ccf14a5d
...
@@ -103,10 +103,8 @@
...
@@ -103,10 +103,8 @@
this
.
plugData
.
Details
[
this
.
checkIndex
].
ImageUrl
=
imgUrl
;
this
.
plugData
.
Details
[
this
.
checkIndex
].
ImageUrl
=
imgUrl
;
});
});
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
plugData
,
'plugData'
);
},
},
};
};
...
...
src/components/WebSet/plug-in/slider_dialog.vue
View file @
ccf14a5d
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
};
};
},
},
created
()
{
created
()
{
console
.
log
(
"plugData"
,
this
.
plugData
);
},
},
methods
:
{
methods
:
{
//上传图片
//上传图片
...
...
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