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
80c047c2
authored
Aug 28, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分页面刷新
parent
b4bb3893
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
src/pages/home/tempaltes/conpoments/detail_top/index.tsx
+1
-1
src/pages/home/tempaltes/film_detail.tsx
+4
-1
src/pages/home/tempaltes/index.tsx
+6
-0
No files found.
src/pages/home/tempaltes/conpoments/detail_top/index.tsx
View file @
80c047c2
...
...
@@ -29,7 +29,7 @@ class DerailTop extends Component {
return
(
<
View
className=
"derail-top"
>
<
View
className=
"temp-top-info"
>
<
Image
className=
"temp-top-img"
src=
{
templateUrl
}
/>
<
Image
className=
"temp-top-img"
src=
{
templateUrl
.
split
(
','
)[
0
]
}
/>
<
View
className=
"temp-top-text-wrapper"
>
<
Text
className=
"temp-top-title"
>
{
templateName
}
</
Text
>
<
View
>
...
...
src/pages/home/tempaltes/film_detail.tsx
View file @
80c047c2
...
...
@@ -49,7 +49,10 @@ class FilmDetail extends Component {
componentWillMount
()
{
this
.
getData
()
}
componentDidShow
()
{
console
.
log
(
231131
)
this
.
getData
()
}
async
getData
()
{
const
{
page
,
filmId
}
=
this
.
state
try
{
...
...
src/pages/home/tempaltes/index.tsx
View file @
80c047c2
...
...
@@ -62,6 +62,12 @@ class Tempaltes extends Component {
this
.
getData
()
}
componentDidShow
()
{
this
.
setState
({
page
:
1
})
this
.
getData
()
}
getData
()
{
const
{
page
}
=
this
.
state
this
.
props
.
getTempListData
(
page
)
...
...
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