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
a7981077
authored
Oct 22, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
d4e9ef84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
src/conpoments/collection_item/index.scss
+5
-0
src/conpoments/collection_item/index.tsx
+7
-2
src/pages/home/film/index.tsx
+2
-2
No files found.
src/conpoments/collection_item/index.scss
View file @
a7981077
...
...
@@ -13,6 +13,11 @@
width
:
100%
;
height
:
180px
;
}
.films-item-img2
{
width
:
100%
;
height
:
568px
;
}
}
&
-info
{
...
...
src/conpoments/collection_item/index.tsx
View file @
a7981077
...
...
@@ -29,12 +29,17 @@ interface FilmListItem {
class
FilmListItem
extends
Component
{
render
()
{
let
{
templateUrl
,
templateName
,
onClick
,
templateDescribe
}
=
this
.
props
let
{
templateUrl
,
templateName
,
onClick
,
templateDescribe
,
templateShow
}
=
this
.
props
templateUrl
=
templateUrl
||
''
return
(
<
View
className=
"films-item"
onClick=
{
()
=>
onClick
&&
onClick
()
}
>
<
View
className=
"films-item-img-box"
>
<
Image
className=
"films-item-img"
src=
{
templateUrl
.
split
(
','
)[
0
]
}
/>
<
Image
className=
{
templateShow
===
'HORIZONTAL'
?
'films-item-img'
:
'films-item-img films-item-img2'
}
src=
{
templateUrl
.
split
(
','
)[
0
]
}
/>
</
View
>
<
View
className=
"films-item-info"
>
<
Text
className=
"films-item-info-name"
>
{
templateName
}
</
Text
>
...
...
src/pages/home/film/index.tsx
View file @
a7981077
...
...
@@ -24,7 +24,7 @@ interface Device {
state
:
PageState
}
const
tabList
=
[{
title
:
'我的视片'
},
{
title
:
'
收藏的影片
'
}]
const
tabList
=
[{
title
:
'我的视片'
},
{
title
:
'
XX任务
'
}]
class
Device
extends
Component
{
config
:
Config
=
{
navigationBarTitleText
:
''
,
...
...
@@ -54,7 +54,7 @@ class Device extends Component {
</
View
>
</
AtTabsPane
>
<
AtTabsPane
className=
"at-tabs-page"
current=
{
current
}
index=
{
1
}
>
<
View
style=
{
{
height
:
`${windowHeight}px`
}
}
>
收藏的影片
</
View
>
<
View
style=
{
{
height
:
`${windowHeight}px`
}
}
>
XX任务
</
View
>
</
AtTabsPane
>
</
AtTabs
>
)
...
...
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