Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 63e1b20c
authored
Jun 14, 2023
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
12
1 parent
e5388b75
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
28 deletions
miniProject/index/index.js
miniProject/index/index.wxml
miniProject/index/index2.wxml
miniProject/pages/index/account/index.js
miniProject/pages/index/mall/index.js
miniProject/index/index.js
View file @
63e1b20
...
...
@@ -28,8 +28,8 @@ Component({
trendtypes
:
'PassengerFlow'
,
//选中的客流趋势类型
chartData
:
{},
//客流趋势分析数据
show
:
false
,
//显示日期自定义选择
minDate
:
new
Date
(
202
2
,
0
,
1
).
getTime
(),
//自定义时间的开始日期
maxDate
:
new
Date
(
2022
,
11
,
31
).
getTime
(),
//自定义时间的结束日期
minDate
:
new
Date
(
202
0
,
0
,
1
).
getTime
(),
//自定义时间的开始日期
// maxDate: new Date(2222, 0
, 31).getTime(), //自定义时间的结束日期
rankData
:
[],
indexVal
:
'PassengerFlow'
,
indexList
:
[{
...
...
miniProject/index/index.wxml
View file @
63e1b20
...
...
@@ -88,6 +88,6 @@
</view>
<!-- 自定义时间选择器 -->
<van-calendar show="{{ show }}" min-date="{{ minDate }}"
max-date="{{ maxDate }}"
bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' />
<van-calendar show="{{ show }}" min-date="{{ minDate }}" bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' />
</view>
</view>
\ No newline at end of file
miniProject/index/index2.wxml
View file @
63e1b20
...
...
@@ -78,5 +78,5 @@
<basic chartId='chartDataAge' chartData="{{chartDataAge}}" height="500rpx"></basic>
</view>
<!-- 自定义时间选择器 -->
<van-calendar show="{{ show }}" min-date="{{ minDate }}"
max-date="{{ maxDate }}"
bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' />
<van-calendar show="{{ show }}" min-date="{{ minDate }}" bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' />
</view>
\ No newline at end of file
miniProject/pages/index/account/index.js
View file @
63e1b20
...
...
@@ -2,18 +2,6 @@
const
App
=
getApp
();
const
customBehavior
=
require
(
'../../../extends/custom.behavior.js'
);
import
_
from
'underscore'
;
import
*
as
echarts
from
'../../../ec-canvas/echarts'
;
import
{
echartInfo
}
from
'../../../utils/common'
;
import
chartData
from
'../../../data'
;
import
{
getReportCharts
,
getIndexInfo
}
from
"../../../api/index.js"
;
import
{
getCharts
}
from
"../../../api/report.js"
;
Component
({
...
...
miniProject/pages/index/mall/index.js
View file @
63e1b20
...
...
@@ -2,18 +2,6 @@
const
App
=
getApp
();
const
customBehavior
=
require
(
'../../../extends/custom.behavior.js'
);
import
_
from
'underscore'
;
import
*
as
echarts
from
'../../../ec-canvas/echarts'
;
import
{
echartInfo
}
from
'../../../utils/common'
;
import
chartData
from
'../../../data'
;
import
{
getReportCharts
,
getIndexInfo
}
from
"../../../api/index.js"
;
import
{
getCharts
}
from
"../../../api/report.js"
;
import
cardConfig
from
'../../../utils/card'
Component
({
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment