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
5ca77b73
authored
Dec 10, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
c32f9bc9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
99 additions
and
11 deletions
+99
-11
src/views/tempaltes/editMenu.vue
+0
-0
src/views/tempaltes/editMenu_back.vue
+0
-0
src/views/tempaltes/editMore.vue
+99
-11
No files found.
src/views/tempaltes/editMenu.vue
View file @
5ca77b73
This diff is collapsed.
Click to expand it.
src/views/tempaltes/editMenu_back.vue
0 → 100644
View file @
5ca77b73
This diff is collapsed.
Click to expand it.
src/views/tempaltes/editMore.vue
View file @
5ca77b73
...
@@ -191,13 +191,24 @@
...
@@ -191,13 +191,24 @@
</div>
</div>
</slider>
</slider>
</div>
</div>
<div
class=
"group-menu"
v-if=
"templateData.listData[currentPage]"
>
<slider
:list=
"templateData.listData[currentPage].itemList"
>
<div
class=
"group-menu-item"
:class=
"itemListIndex===scope.index? 'group-menu-item-active': ''"
@
click=
"setItemListIndex(scope.index)"
slot-scope=
"scope"
>
{{
scope
.
slider
.
name
}}
</div>
</slider>
</div>
<div
class=
"content-right"
>
<div
class=
"content-right"
>
<
div
class=
"title"
>
编辑栏
</div
>
<
!--
<div
class=
"title"
>
编辑栏
</div>
--
>
<div
class=
"edit-area"
>
<div
class=
"edit-area"
>
<div
v-if=
"templateData.listData[currentPage]"
>
<div
v-if=
"templateData.listData[currentPage]"
>
<editMenu
<editMenu
v-if=
"loaded "
v-if=
"loaded "
:itemList=
"templateData.listData[currentPage].itemList"
:itemList=
"templateData.listData[currentPage].itemList"
:item=
"templateData.listData[currentPage].itemList[itemListIndex]"
:schemaData=
"templateData.listData[currentPage].schemaData"
:schemaData=
"templateData.listData[currentPage].schemaData"
:frameUrl=
"templateData.frameUrl"
:frameUrl=
"templateData.frameUrl"
@
setList=
"setList"
@
setList=
"setList"
...
@@ -298,6 +309,7 @@ export default {
...
@@ -298,6 +309,7 @@ export default {
pageViews
:
false
,
pageViews
:
false
,
isPreview
:
false
,
isPreview
:
false
,
currentPage
:
0
,
currentPage
:
0
,
itemListIndex
:
0
,
deviceList
:
[
deviceList
:
[
{
{
clientId
:
"maxrocky"
,
clientId
:
"maxrocky"
,
...
@@ -403,6 +415,9 @@ export default {
...
@@ -403,6 +415,9 @@ export default {
document
.
body
.
appendChild
(
newImg
);
document
.
body
.
appendChild
(
newImg
);
});
});
},
},
setItemListIndex
(
index
)
{
this
.
itemListIndex
=
index
;
},
onSheetSelect
(
item
)
{
onSheetSelect
(
item
)
{
this
.
showSheet
=
false
;
this
.
showSheet
=
false
;
if
(
item
.
action
===
"createPage"
)
{
if
(
item
.
action
===
"createPage"
)
{
...
@@ -656,6 +671,7 @@ export default {
...
@@ -656,6 +671,7 @@ export default {
window
.
wx
.
miniProgram
.
navigateTo
({
window
.
wx
.
miniProgram
.
navigateTo
({
url
:
`/pages/home/film/schedule_add/components/device/index?fId=
${
filmId
}
`
url
:
`/pages/home/film/schedule_add/components/device/index?fId=
${
filmId
}
`
});
});
this
.
$toast
.
clear
()
},
},
getFilmId
()
{
getFilmId
()
{
const
filmId
=
const
filmId
=
...
@@ -663,6 +679,11 @@ export default {
...
@@ -663,6 +679,11 @@ export default {
return
filmId
;
return
filmId
;
},
},
enterSubmit
()
{
enterSubmit
()
{
this
.
$toast
.
loading
({
overlay
:
true
,
message
:
"加载中..."
,
forbidClick
:
true
});
this
.
message
({
this
.
message
({
type
:
"getList"
type
:
"getList"
});
});
...
@@ -802,6 +823,66 @@ export default {
...
@@ -802,6 +823,66 @@ export default {
background
:
lightblue
;
background
:
lightblue
;
}
}
}
}
.group-menu
{
//
box-shadow
:
0px
-1px
0px
0px
rgba
(
0
,
0
,
0
,
0.1
);
border-bottom
:
0.5px
solid
rgba
(
0
,
0
,
0
,
0.2
);
display
:
flex
;
//
height
:
calc
(
100vh
-
96px
);
background
:
#fff
;
padding
:
0px
10px
;
padding-right
:
10px
;
width
:
100%
;
box-sizing
:
border-box
;
overflow
:
auto
;
.swiper-slide
{
width
:
auto
;
}
.group-menu-item
{
position
:
relative
;
//
width
:
80px
;
height
:
40px
;
line-height
:
40px
;
img
{
border
:
1px
dashed
#666
;
width
:
100%
;
box-sizing
:
border-box
;
}
//
line-height
:
65px
;
margin
:
0
20px
;
font-size
:
15px
;
color
:
rgba
(
153
,
153
,
153
,
1
);
.close
{
position
:
absolute
;
top
:
0
;
right
:
0
;
}
}
.group-menu-item-active
{
color
:
rgba
(
255
,
145
,
16
,
1
);
font-size
:
16px
;
position
:
relative
;
&::after
{
content
:
""
;
position
:
absolute
;
width
:
19px
;
height
:
4px
;
background
:
rgba
(
255
,
145
,
16
,
1
);
box-shadow
:
0px
1px
4px
1px
rgba
(
233
,
145
,
42
,
0.43
);
border-radius
:
2px
;
left
:
calc
(
50%
-
9.5px
);
bottom
:
0
;
}
}
.activePage
{
img
{
border
:
2px
solid
red
;
}
}
.sortable-chosen
{
background
:
lightblue
;
}
}
.content-left
{
.content-left
{
//
padding-top
:
10px
;
//
padding-top
:
10px
;
flex
:
1
;
flex
:
1
;
...
@@ -907,29 +988,36 @@ export default {
...
@@ -907,29 +988,36 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
//
display
:
flex
;
//
display
:
flex
;
//
justify-content
:
center
;
//
justify-content
:
center
;
padding
:
0
calc
((
100vw
-
343px
)
/
2
);
position
:
relative
;
width
:
344px
;
margin
:
0
auto
;
}
}
.iframe-container2
{
.iframe-container2
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
//
display
:
flex
;
//
display
:
flex
;
//
justify-content
:
center
;
//
justify-content
:
center
;
padding
:
0
calc
((
100vw
-
193px
)
/
2
);
width
:
194px
!important
;
margin
:
0
auto
;
}
}
.iframe
{
.iframe
{
width
:
343px
;
width
:
100%
;
margin
:
0
auto
;
margin
:
0
auto
;
//
margin-left
:
16px
;
//
margin-left
:
16px
;
height
:
19
3
px
;
height
:
19
4
px
;
display
:
block
;
display
:
block
;
box-shadow
:
0px
14px
27px
0px
rgba
(
0
,
0
,
0
,
0.16
);
box-shadow
:
0px
14px
27px
0px
rgba
(
0
,
0
,
0
,
0.16
);
position
:
relative
;
//
position
:
absolute
;
overflow
:
hidden
;
transform
:
translate3d
(
0
,
0
,
0
)
scale
(
1
);
}
}
.viframe
{
.viframe
{
position
:
relative
;
overflow
:
hidden
;
width
:
193px
!important
;
//
position
:
absolute
;
width
:
100%
!important
;
margin
:
0
auto
;
margin
:
0
auto
;
//
margin-left
:
91px
;
//
margin-left
:
91px
;
height
:
34
3
px
;
height
:
34
4
px
;
}
}
}
}
.content-left-v
{
.content-left-v
{
...
@@ -1192,8 +1280,8 @@ export default {
...
@@ -1192,8 +1280,8 @@ export default {
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
padding
:
2
0px
40px
;
padding
:
1
0px
40px
;
padding-bottom
:
2
0px
;
padding-bottom
:
1
0px
;
display
:
flex
;
display
:
flex
;
z-index
:
1000
;
z-index
:
1000
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
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