Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client-taro
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
9ed8ee85
authored
Nov 29, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
a447f995
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
27 deletions
+38
-27
src/pages/home/film/schedule_add/components/device/index.scss
+18
-17
src/pages/home/film/schedule_add/components/device/index.tsx
+18
-9
src/pages/home/film/schedule_list/index.tsx
+1
-1
src/pages/home/tempaltes/scss/type_detail.scss
+1
-0
No files found.
src/pages/home/film/schedule_add/components/device/index.scss
View file @
9ed8ee85
...
...
@@ -39,11 +39,11 @@
}
&
-move
{
width
:
125
px
;
height
:
50
px
;
background
:
linear-gradient
(
270deg
,
rgba
(
255
,
51
,
37
,
1
)
0%
,
rgba
(
255
,
145
,
16
,
1
)
100%
);
border-radius
:
40px
;
line-height
:
50px
;
width
:
46
px
;
height
:
46
px
;
//
background: linear-gradient(270deg, rgba(255, 51, 37, 1) 0%, rgba(255, 145, 16, 1) 100%);
//
border-radius: 40px;
//
line-height: 50px;
border
:
none
;
font-size
:
28px
;
color
:
white
;
...
...
@@ -95,13 +95,13 @@
.triangle
{
position
:
absolute
;
top
:
20
px
;
right
:
10
px
;
top
:
15
px
;
right
:
-8
px
;
// margin-top: 10px;
height
:
0
;
border
:
20px
solid
transparent
;
width
:
0
;
border-top-color
:
#333
;
height
:
18px
;
//
border: 20px solid transparent;
width
:
27px
;
//
border-top-color: #333;
box-sizing
:
border-box
;
}
}
...
...
@@ -151,17 +151,18 @@
.device-tab-item-word
{
position
:
relative
;
padding-right
:
40px
;
display
:
inline-block
;
}
.triangle
{
position
:
absolute
;
top
:
1
0
px
;
right
:
-
20
px
;
top
:
1
5
px
;
right
:
-
8
px
;
// margin-top: 10px;
height
:
0
;
border
:
20px
solid
transparent
;
width
:
0
;
border-top-color
:
#333
;
height
:
18px
;
//
border: 20px solid transparent;
width
:
27px
;
//
border-top-color: #333;
box-sizing
:
border-box
;
}
}
...
...
src/pages/home/film/schedule_add/components/device/index.tsx
View file @
9ed8ee85
...
...
@@ -317,12 +317,22 @@ class DeviceSelect extends Component {
className=
{
TabIndex
===
1
?
'device-tab-item'
:
'device-tab-item device-tab-item-active'
}
onClick=
{
this
.
showModalView
}
>
<
Text
className=
"device-tab-item-word"
>
{
items
[
activeIndex
]
}
<
Text
className=
"triangle"
/>
</
Text
>
<
View
className=
"device-tab-item-word"
>
<
Text
onClick=
{
()
=>
{
console
.
log
(
123132132132
)
this
.
setState
({
TabIndex
:
0
})
}
}
>
{
items
[
activeIndex
]
}
</
Text
>
<
Image
src=
"https://visual-clouds.oss-cn-beijing.aliyuncs.com/miniprogram/list-icon.png"
className=
"triangle"
onClick=
{
this
.
showModalView
}
/>
</
View
>
</
View
>
<
View
className=
{
...
...
@@ -377,12 +387,11 @@ class DeviceSelect extends Component {
<
View
className=
"device-bind-item-info"
>
<
DeviceItem
{
...
item
}
/>
</
View
>
<
Button
<
Image
src=
"https://visual-clouds.oss-cn-beijing.aliyuncs.com/miniprogram/yichu.png"
className=
"device-bind-item-move"
onClick=
{
()
=>
this
.
changeItem
(
item
)
}
>
移除
</
Button
>
/>
</
Label
>
</
View
>
)
...
...
src/pages/home/film/schedule_list/index.tsx
View file @
9ed8ee85
...
...
@@ -188,7 +188,7 @@ class Schedule extends Component {
</
View
>
))
}
</
ListView
>
<
View
className=
"schedule-list-add-btn"
>
<
View
className=
"schedule-list-add-btn"
onClick=
{
this
.
addSchedule
}
>
<
Image
className=
"icon"
src=
"https://visual-clouds.oss-cn-beijing.aliyuncs.com/miniprogram/create.png"
...
...
src/pages/home/tempaltes/scss/type_detail.scss
View file @
9ed8ee85
...
...
@@ -46,6 +46,7 @@
.activeTagBtn
{
background
:
#ff9110
;
color
:
white
;
box-shadow
:
0
7px
12px
0
rgba
(
159
,
87
,
2
,
0
.17
);
}
}
}
...
...
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