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
499e8fc9
authored
Dec 30, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分页不过
parent
ef6e1194
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
15 deletions
+28
-15
src/common/index.ts
+4
-4
src/conpoments/film_list_item/index.scss
+3
-1
src/pages/home/device/film_list/index.tsx
+1
-0
src/pages/home/film/film_list/index.tsx
+1
-0
src/pages/home/film/schedule_add/components/films/index.tsx
+1
-0
src/pages/home/film/schedule_add/index.tsx
+0
-1
src/pages/home/film/schedule_list/index.tsx
+1
-0
src/pages/home/tempaltes/index.tsx
+9
-5
src/pages/home/tempaltes/indexBack.tsx
+8
-4
No files found.
src/common/index.ts
View file @
499e8fc9
export
const
FETCH_TIME_OUT
=
5000
export
const
BASE_URL
=
'https://server.bdideal.com'
export
const
WEBVIEW_URL
=
'https://visual.bdideal.com'
//
export const BASE_URL = 'https://dev-server.bdideal.com'
//
export const WEBVIEW_URL = 'https://dev-visual.bdideal.com'
//
export const BASE_URL = 'https://server.bdideal.com'
//
export const WEBVIEW_URL = 'https://visual.bdideal.com'
export
const
BASE_URL
=
'https://dev-server.bdideal.com'
export
const
WEBVIEW_URL
=
'https://dev-visual.bdideal.com'
// export const WEBVIEW_URL = 'http://127.0.0.1:8080'
/** 蓝牙的服务 uuid */
...
...
src/conpoments/film_list_item/index.scss
View file @
499e8fc9
...
...
@@ -60,9 +60,11 @@
&
-detail
{
height
:
55px
;
overflow
:
hidden
;
word-break
:
break-all
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
22px
;
color
:
#666
;
word-break
:
break-all
;
margin-bottom
:
5px
;
}
...
...
src/pages/home/device/film_list/index.tsx
View file @
499e8fc9
...
...
@@ -58,6 +58,7 @@ class Films extends Component {
this
.
getData
()
}
componentDidShow
()
{
this
.
page
=
1
this
.
getData
()
}
async
getData
()
{
...
...
src/pages/home/film/film_list/index.tsx
View file @
499e8fc9
...
...
@@ -67,6 +67,7 @@ class Films extends Component {
this
.
getData
()
}
componentDidShow
()
{
this
.
page
=
1
this
.
getData
()
this
.
onClose
()
}
...
...
src/pages/home/film/schedule_add/components/films/index.tsx
View file @
499e8fc9
...
...
@@ -103,6 +103,7 @@ class Films extends Component {
})
}
componentDidShow
()
{
this
.
page
=
1
this
.
getData
()
}
async
getData
()
{
...
...
src/pages/home/film/schedule_add/index.tsx
View file @
499e8fc9
...
...
@@ -70,7 +70,6 @@ class ScheduleAdd extends Component {
}
catch
(
err
)
{}
}
componentDidShow
()
{
console
.
log
(
'componentDidShow'
)
Taro
.
getStorage
({
key
:
'schedule-add-films'
}).
then
(
res
=>
{
this
.
setState
({
filmList
:
JSON
.
parse
(
res
.
data
)
...
...
src/pages/home/film/schedule_list/index.tsx
View file @
499e8fc9
...
...
@@ -64,6 +64,7 @@ class Schedule extends Component {
this
.
getData
()
}
componentDidShow
()
{
this
.
page
=
1
this
.
getData
()
}
async
getData
()
{
...
...
src/pages/home/tempaltes/index.tsx
View file @
499e8fc9
...
...
@@ -120,11 +120,15 @@ class Tempaltes extends Component {
templateId
:
''
})
})
this
.
setState
({
page
:
1
,
templateId
:
''
})
this
.
getData
()
this
.
setState
(
{
page
:
1
,
templateId
:
''
},
()
=>
{
this
.
getData
()
}
)
}
getData
(
showTempalte2
?)
{
Taro
.
showLoading
({
...
...
src/pages/home/tempaltes/indexBack.tsx
View file @
499e8fc9
...
...
@@ -66,10 +66,14 @@ class Tempaltes extends Component {
}
componentDidShow
()
{
this
.
setState
({
page
:
1
})
this
.
getData
()
this
.
setState
(
{
page
:
1
},
()
=>
{
this
.
getData
()
}
)
}
getData
()
{
const
{
page
}
=
this
.
state
...
...
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