Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
夏新然
/
appweb
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 f2caca69
authored
Apr 15, 2019
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
精准客流模块新增
1 parent
f097a41e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
114 additions
and
5 deletions
pages.json
pages/passenger/index.vue → pages/passenger/captureReport/capture.vue
pages/passenger/groupTimeReport/groupTime.vue
pages/passenger/passenger.vue
pages/profile/index.vue → pages/profile/profile.vue
pages.json
View file @
f2caca6
...
@@ -15,12 +15,12 @@
...
@@ -15,12 +15,12 @@
"navigationBarTitleText"
:
"综合分析"
"navigationBarTitleText"
:
"综合分析"
}
}
},{
},{
"path"
:
"pages/passenger/
index
"
,
"path"
:
"pages/passenger/
passenger
"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"精准客流"
"navigationBarTitleText"
:
"精准客流"
}
}
},{
},{
"path"
:
"pages/profile/
index
"
,
"path"
:
"pages/profile/
profile
"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"我的"
"navigationBarTitleText"
:
"我的"
}
}
...
@@ -109,6 +109,16 @@
...
@@ -109,6 +109,16 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
""
"navigationBarTitleText"
:
""
}
}
},{
"path"
:
"pages/passenger/captureReport/capture"
,
"style"
:
{
"navigationBarTitleText"
:
"抓拍记录"
}
},{
"path"
:
"pages/passenger/groupTimeReport/groupTime"
,
"style"
:
{
"navigationBarTitleText"
:
"客群分时统计"
}
}],
}],
"condition"
:
{
//模式配置,仅开发期间生效
"condition"
:
{
//模式配置,仅开发期间生效
"current"
:
0
,
//当前激活的模式(list
的索引项)
"current"
:
0
,
//当前激活的模式(list
的索引项)
...
@@ -140,7 +150,7 @@
...
@@ -140,7 +150,7 @@
"selectedIconPath"
:
"static/index/snySelect.png"
,
"selectedIconPath"
:
"static/index/snySelect.png"
,
"text"
:
"综合分析"
"text"
:
"综合分析"
},
{
},
{
"pagePath"
:
"pages/passenger/
index
"
,
"pagePath"
:
"pages/passenger/
passenger
"
,
"iconPath"
:
"static/index/flow.png"
,
"iconPath"
:
"static/index/flow.png"
,
"selectedIconPath"
:
"static/index/flowSelect.png"
,
"selectedIconPath"
:
"static/index/flowSelect.png"
,
"text"
:
"精准客流"
"text"
:
"精准客流"
...
@@ -150,7 +160,7 @@
...
@@ -150,7 +160,7 @@
"selectedIconPath"
:
"static/index/manageSelect.png"
,
"selectedIconPath"
:
"static/index/manageSelect.png"
,
"text"
:
"后台管理"
"text"
:
"后台管理"
},
{
},
{
"pagePath"
:
"pages/profile/
index
"
,
"pagePath"
:
"pages/profile/
profile
"
,
"iconPath"
:
"static/index/my.png"
,
"iconPath"
:
"static/index/my.png"
,
"selectedIconPath"
:
"static/index/mySelect.png"
,
"selectedIconPath"
:
"static/index/mySelect.png"
,
"text"
:
"我的"
"text"
:
"我的"
...
...
pages/passenger/
index
.vue
→
pages/passenger/
captureReport/capture
.vue
View file @
f2caca6
<
template
>
<
template
>
<
div>
222
</div
>
<
view>
抓拍记录
</view
>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
pages/passenger/groupTimeReport/groupTime.vue
0 → 100644
View file @
f2caca6
<
template
>
<view>
客群分时统计
</view>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
pages/passenger/passenger.vue
0 → 100644
View file @
f2caca6
<
template
>
<view>
<headerComp
:title=
"titleStr"
></headerComp>
<view
class=
"listBox"
>
<view
class=
"itemBox"
v-for=
"item in listData"
@
tap=
"goReport(item.src)"
>
<img
class=
"icons"
:src=
"item.iconSrc"
/>
<span
class=
"texts"
>
{{
item
.
text
}}
</span>
<img
class=
"arrows"
:src=
"item.rArrow"
alt=
""
/>
</view>
</view>
</view>
</
template
>
<
script
>
import
headerComp
from
'../../components/header'
import
arrow
from
'../../static/analysis/rArrow.png'
import
baseIcon
from
'../../static/analysis/base.png'
import
inout
from
'../../static/analysis/inout.png'
export
default
{
components
:
{
headerComp
},
data
()
{
return
{
titleStr
:
'精准客流'
,
listData
:[{
text
:
"抓拍记录"
,
iconSrc
:
baseIcon
,
rArrow
:
arrow
,
src
:
'captureReport/capture'
},{
text
:
"客群分时统计"
,
iconSrc
:
inout
,
rArrow
:
arrow
,
src
:
'groupTimeReport/groupTime'
}]
}
},
methods
:
{
goReport
(
url
){
uni
.
navigateTo
({
url
:
url
,
animationType
:
'slide-in-right'
,
animationDuration
:
200
})
},
},
}
</
script
>
<
style
>
.listBox
{
padding
:
18.11
upx
21.73
upx
;
}
.itemBox
{
padding
:
25.36
upx
0
;
background
:
#FFFFFF
;
position
:
relative
;
margin-bottom
:
18.11
upx
;
}
.itemBox
:active
{
background
:
#EEEEEE
;
}
.icons
{
width
:
28.98
upx
;
position
:
absolute
;
top
:
48.91
upx
;
left
:
43.47
upx
;
}
.texts
{
display
:
inline-block
;
height
:
68.84
upx
;
line-height
:
68.84
upx
;
border-left
:
3.62
upx
#EEEEEE
solid
;
padding-left
:
34.42
upx
;
font-size
:
25.4
upx
;
color
:
#000000
;
margin-left
:
115.94
upx
;
}
.arrows
{
width
:
14.49
upx
;
height
:
25.36
upx
;
position
:
absolute
;
right
:
25.36
upx
;
top
:
47.1
upx
;
}
</
style
>
pages/profile/
index
.vue
→
pages/profile/
profile
.vue
View file @
f2caca6
File moved
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