Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7ee23429
authored
Dec 20, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改编辑器IQ
parent
e7076f82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
+18
-9
src/views/tempaltes/editMenu.vue
+2
-0
src/views/tempaltes/editMore.vue
+16
-9
No files found.
src/views/tempaltes/editMenu.vue
View file @
7ee23429
...
@@ -529,6 +529,8 @@ export default {
...
@@ -529,6 +529,8 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
color
:
rgba
(
51
,
51
,
51
,
1
);
color
:
rgba
(
51
,
51
,
51
,
1
);
margin-top
:
0
;
margin-top
:
0
;
border
:
none
;
outline
:
none
;
}
}
}
}
</
style
>
</
style
>
...
...
src/views/tempaltes/editMore.vue
View file @
7ee23429
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
@
click=
"pageShow"
>
页面管理
</div>
<div
@
click=
"pageShow"
>
页面管理
</div>
</NavBar>
</NavBar>
<svg
<svg
v-show=
"!gifloaded && !loaded"
v-show=
"!gifloaded && !loaded
&& !iframeLoaded
"
xmlns=
"http://www.w3.org/2000/svg"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
style=
"margin:auto;background:#fff;display:block; margin-top: 30vh"
style=
"margin:auto;background:#fff;display:block; margin-top: 30vh"
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
</circle>
</circle>
</g>
</g>
</svg>
</svg>
<div
class=
"content"
v-show=
"gifloaded"
>
<div
class=
"content"
v-show=
"gifloaded
&& iframeLoaded
"
>
<div
<div
class=
"content-left"
class=
"content-left"
v-show=
"!clipImg"
v-show=
"!clipImg"
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"createBtn"
v-show=
"gifloaded
&& !clipImg
"
>
<div
class=
"createBtn"
v-show=
"gifloaded
&& loaded && iframeLoaded
"
>
<van-button
type=
"info"
@
click=
"enterSubmit"
style=
"width: 100%"
>
发布
</van-button>
<van-button
type=
"info"
@
click=
"enterSubmit"
style=
"width: 100%"
>
发布
</van-button>
</div>
</div>
<van-action-sheet
v-model=
"showSheet"
:round=
"true"
:actions=
"actions"
@
select=
"onSheetSelect"
/>
<van-action-sheet
v-model=
"showSheet"
:round=
"true"
:actions=
"actions"
@
select=
"onSheetSelect"
/>
...
@@ -314,6 +314,7 @@ export default {
...
@@ -314,6 +314,7 @@ export default {
isEdited
:
false
,
isEdited
:
false
,
mode
:
""
,
mode
:
""
,
loaded
:
false
,
loaded
:
false
,
iframeLoaded
:
false
,
show
:
false
,
show
:
false
,
isIos
:
true
,
isIos
:
true
,
pageViews
:
false
,
pageViews
:
false
,
...
@@ -376,6 +377,10 @@ export default {
...
@@ -376,6 +377,10 @@ export default {
vm
.
templateData
.
listData
=
e
.
data
.
pages
;
vm
.
templateData
.
listData
=
e
.
data
.
pages
;
// console.log("12121321321");
// console.log("12121321321");
}
}
if
(
typeof
e
.
data
===
"object"
&&
e
.
data
[
"type"
]
==
"slideChange"
)
{
vm
.
currentPage
=
e
.
data
.
page
;
// console.log("12121321321");
}
// var color = e.data;
// var color = e.data;
// document.getElementById("color").style.backgroundColor = color;
// document.getElementById("color").style.backgroundColor = color;
},
},
...
@@ -404,10 +409,10 @@ export default {
...
@@ -404,10 +409,10 @@ export default {
},
},
mounted
()
{
mounted
()
{
document
.
title
=
"编辑作品"
;
document
.
title
=
"编辑作品"
;
var
timer
=
setTimeout
(()
=>
{
//
var timer = setTimeout(() => {
this
.
gifloaded
=
true
;
//
this.gifloaded = true;
clearTimeout
(
timer
);
//
clearTimeout(timer);
},
1000
);
//
}, 1000);
},
},
methods
:
{
methods
:
{
message
(
data
)
{
message
(
data
)
{
...
@@ -515,7 +520,6 @@ export default {
...
@@ -515,7 +520,6 @@ export default {
this
.
$toast
.
success
(
"删除成功"
);
this
.
$toast
.
success
(
"删除成功"
);
if
(
this
.
templateData
.
listData
.
length
<=
this
.
currentPage
)
{
if
(
this
.
templateData
.
listData
.
length
<=
this
.
currentPage
)
{
this
.
goPage
(
this
.
templateData
.
listData
.
length
-
1
);
this
.
goPage
(
this
.
templateData
.
listData
.
length
-
1
);
alert
(
this
.
templateData
.
listData
.
length
);
}
}
},
1000
);
},
1000
);
},
},
...
@@ -563,6 +567,8 @@ export default {
...
@@ -563,6 +567,8 @@ export default {
this
.
loaded
=
true
;
this
.
loaded
=
true
;
},
},
iframeLoad
()
{
iframeLoad
()
{
this
.
gifloaded
=
true
this
.
iframeLoaded
=
true
this
.
setList
();
this
.
setList
();
},
},
pageShow
()
{
pageShow
()
{
...
@@ -719,7 +725,8 @@ export default {
...
@@ -719,7 +725,8 @@ export default {
this
.
$toast
.
loading
({
this
.
$toast
.
loading
({
overlay
:
true
,
overlay
:
true
,
message
:
"加载中..."
,
message
:
"加载中..."
,
forbidClick
:
true
forbidClick
:
true
,
duration
:
0
});
});
this
.
message
({
this
.
message
({
type
:
"getList"
type
:
"getList"
...
...
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