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 c5b4129e
authored
Jun 13, 2023
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
集团首页
1 parent
f5a7da44
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
17 deletions
miniProject/api/shop.js
miniProject/index/index.js
miniProject/index/index.wxml
miniProject/index/index.wxss
miniProject/api/shop.js
View file @
c5b4129
...
...
@@ -20,13 +20,25 @@ module.exports = {
getShopDetailData
(
userId
,
params
)
{
return
http
.
get
(
`/report/users/
${
userId
}
`
,
params
);
},
getPermission
(
id
){
getPermission
(
id
)
{
return
http
.
get
(
`/report/auth/api/v1/auth/users/
${
id
}
`
);
},
editUserInfo
(
params
){
editUserInfo
(
params
)
{
return
http
.
post
(
`/report/users/
${
params
.
userId
}
`
,
params
);
},
editUserPwd
(
params
){
editUserPwd
(
params
)
{
return
http
.
post
(
`/report/users/updateUser`
,
params
);
}
},
// 集团首页卡片信息
getAccountCard
(
params
)
{
return
http
.
get
(
`/report/wechat/account/index/info`
,
params
);
},
// 集团首页客流趋势分析
getAccountTrafficTrend
(
params
)
{
return
http
.
get
(
`/report/wechat/account/index/trafficTrend`
,
params
);
},
// 集团首页门店排行
getAccountMallRank
(
params
)
{
return
http
.
get
(
`/report/wechat/account/index/mall/rank`
,
params
);
},
}
\ No newline at end of file
miniProject/index/index.js
View file @
c5b4129
This diff is collapsed.
Click to expand it.
miniProject/index/index.wxml
View file @
c5b4129
...
...
@@ -7,7 +7,7 @@
<image src="../images/banner.png" class='images'></image>
<view class="shop_name">{{selectName}}</view>
<view class="shop_time">
<text>开业门店总数:
254
个</text>
<text>开业门店总数:
{{openMllNum}}
个</text>
</view>
</view>
<!-- 选择时间 -->
...
...
@@ -27,40 +27,40 @@
<view class="card_passage">
<image src="../images/keliulaing.png" class="card_image"></image>
<view class="cardName"> 路过客流量</view>
<view class="cardNum">
35480
</view>
<view class="cardNum">
{{exposure}}
</view>
</view>
<view class="card_passage">
<image src="../images/keliuliangyellow.png" class="card_image"></image>
<view class="cardName"> 客流量</view>
<view class="cardNum">
35480
</view>
<view class="cardNum">
{{traffic}}
</view>
</view>
<view class="card_passage">
<image src="../images/customer.png" class="card_image"></image>
<view class="cardName"> 顾客人数</view>
<view class="cardNum">
35480
</view>
<view class="cardNum">
{{customer}}
</view>
</view>
<view class="card_passage">
<image src="../images/jindianlv.png" class="card_image"></image>
<view class="cardName"> 进店率</view>
<view class="cardNum">
35480
</view>
<view class="cardNum">
{{entryRate}} %
</view>
</view>
</view>
<!-- 客流趋势分析 -->
<view class="keliuliang">
<text class="title_chart">客流趋势分析</text>
<view class="tab_tll">
<text class="text_tltle {{trendtypes==
1?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='1
'>过店客流</text>
<text class="text_tltle {{trendtypes==
2?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='2
'>进店客流</text>
<text class="text_tltle {{trendtypes==
3?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='3
'>顾客人数</text>
<text class="text_tltle {{trendtypes==
4?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='4
'>进店率</text>
<text class="text_tltle {{trendtypes==
'PassengerFlow'?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='PassengerFlow
'>过店客流</text>
<text class="text_tltle {{trendtypes==
'Exposure'?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='Exposure
'>进店客流</text>
<text class="text_tltle {{trendtypes==
'CustomerNum'?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='CustomerNum
'>顾客人数</text>
<text class="text_tltle {{trendtypes==
'IntoStoreRate'?'actives':'defaults'}}" bindtap="ClickPassageFlow" data-type='IntoStoreRate
'>进店率</text>
</view>
<basic chartId='chartDatatrend' chartData="{{chartData}}" height="500rpx"></basic>
</view>
<!-- 停留时长统计 -->
<view class="keliuliang">
<
!-- <
view class="keliuliang">
<text class="title_chart">停留时长统计</text>
<basic chartId='chartDatastop' chartData="{{chartDatastop}}" height="500rpx"></basic>
</view>
</view>
-->
<!-- 门店排行 -->
<view class="keliuliang">
<text class="title_chart">门店排行</text>
...
...
@@ -80,7 +80,7 @@
</view>
<view class="progress progressCustom">
<view class="bar">
<van-progress show-pivot="{{false}}" percentage="{{item.percentage}}" stroke-width="10" />
<van-progress
custom-class='customColor'
show-pivot="{{false}}" percentage="{{item.percentage}}" stroke-width="10" />
</view>
</view>
</view>
...
...
miniProject/index/index.wxss
View file @
c5b4129
...
...
@@ -162,7 +162,12 @@
margin-bottom: 10rpx;
border-radius: 100rpx;
}
.desc_content{
background-color: #F5F5F7 !important;
}
.desc_content_active{
background: linear-gradient(254deg, #78B3FB 0%, #487EF7 100%) !important;
}
.indexList .desc_info:nth-child(4) {
margin-right: 0 !important;
}
...
...
@@ -243,3 +248,6 @@
font-size: 28rpx;
font-weight: 900;
}
.customColor .van-progress__portion{
background: linear-gradient(152deg, #597CFF 0%, #7998FF 100%) !important;
}
\ No newline at end of file
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