Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
This project
Loading...
Sign in
Toggle navigation
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 472e2dc5
authored
Jul 31, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
5fa3d3db
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
154 additions
and
99 deletions
login/index/components/authSetting/authSetting.wxss
login/lib/index.js
packageOutput/components/staff/staff.scss
packageOutput/components/staff/staff.wxml
packagesList/outDetail/components/OutputWork/components/OutputBar/OutputBar.wxml
packagesList/outDetail/components/OutputWork/components/OutputLine/OutputLine.wxml
packagesList/outDetail/components/OutputWork/index.scss
packagesList/outDetail/components/WorktableEntrance/index.scss
packagesList/outDetail/components/activityOverview/activityOverview.js
packagesList/outDetail/components/activityTab/activityTab.scss
packagesList/outDetail/components/activityTop/activityTop.scss
packagesList/outDetail/components/activitying/index.scss
packagesList/outDetail/components/activitying/index.wxml
packagesList/outDetail/components/menu/index.wxml
packagesList/outDetail/index.scss
packagesList/outDetail/index.wxml
packagesList/packageOutput/pages/monthReport/monthReport.js
packagesList/packageOutput/pages/monthReport/monthReport.scss
packagesList/packageOutput/pages/monthReport/monthReport.wxml
pages/tab/mine/mine.js
pages/tab/output/components/BusiCard/BusiCard.scss
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.scss
pages/tab/output/components/sortTab/sortTab.scss
pages/tab/output/output.js
pages/tab/output/output.wxml
login/index/components/authSetting/authSetting.wxss
View file @
472e2dc
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
font-size: 24rpx;
font-size: 24rpx;
color: #999;
color: #999;
letter-spacing: 2rpx;
letter-spacing: 2rpx;
padding-left: 28rpx;
box-sizing: border-box;
box-sizing: border-box;
display: flex;
display: flex;
align-items: center;
align-items: center;
...
@@ -37,7 +36,7 @@
...
@@ -37,7 +36,7 @@
}
}
.tips .choose-box {
.tips .choose-box {
width:
80
rpx;
width:
64
rpx;
height:
80
rpx;
height:
64
rpx;
position: relative;
position: relative;
}
}
\ No newline at end of file
\ No newline at end of file
login/lib/index.js
View file @
472e2dc
...
@@ -4,6 +4,8 @@ import {
...
@@ -4,6 +4,8 @@ import {
setSubMerchant
setSubMerchant
}
from
'~/utils/cache/storageApi'
}
from
'~/utils/cache/storageApi'
import
USERAPI
from
'~/api/usersApi/index'
import
USERAPI
from
'~/api/usersApi/index'
import
outputApi
from
'~/api/outputApi/index'
import
{
IMG_URL
}
from
'~/utils/constantData'
const
setRouteData
=
targetPath
=>
{
const
setRouteData
=
targetPath
=>
{
let
[
url
,
query
]
=
targetPath
.
split
(
'?'
),
let
[
url
,
query
]
=
targetPath
.
split
(
'?'
),
obj
=
{}
obj
=
{}
...
@@ -38,22 +40,22 @@ const selectAccountLogin = ({
...
@@ -38,22 +40,22 @@ const selectAccountLogin = ({
})
})
}
}
/**获取门店号下的全部门店 */
/**获取门店号下的全部门店 */
const
findSubordinateListByPage
=
(
userInfo
)
=>
{
const
findSubordinateListByPage
=
(
userInfo
)
=>
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
USERAPI
.
findSubordinateListByPage
({
pageSize
:
10000
,
pageNum
:
1
,
merchantId
:
userInfo
.
merchantId
,
apiProjectName
:
'rop-merchants'
}).
then
(
res
=>
{
USERAPI
.
findSubordinateListByPage
({
pageSize
:
10000
,
pageNum
:
1
,
merchantId
:
userInfo
.
merchantId
,
apiProjectName
:
'rop-merchants'
}).
then
(
res
=>
{
const
list
=
res
.
data
||
[]
const
list
=
res
.
data
||
[]
const
merchant
=
list
.
map
(
i
=>
i
.
merchantNo
)
const
merchant
=
list
.
map
(
i
=>
i
.
merchantNo
)
resolve
(
merchant
)
resolve
(
merchant
)
})
})
})
})
}
}
/**查找二级流量方商户 */
/**查找二级流量方商户 */
const
secondFlow
=
(
userInfo
)
=>
{
const
secondFlow
=
(
userInfo
)
=>
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
USERAPI
.
secondFlow
({
merchantId
:
userInfo
.
merchantId
}).
then
(
res
=>
{
USERAPI
.
secondFlow
({
merchantId
:
userInfo
.
merchantId
}).
then
(
res
=>
{
const
list
=
res
||
{}
const
list
=
res
||
{}
const
merchant
=
list
.
merchantNoList
||
[]
const
merchant
=
list
.
merchantNoList
||
[]
resolve
(
merchant
)
resolve
(
merchant
)
})
})
})
})
...
@@ -69,7 +71,7 @@ const setLoginInfo = async (userInfo, sessionId) => {
...
@@ -69,7 +71,7 @@ const setLoginInfo = async (userInfo, sessionId) => {
setUserInfo
(
userInfo
)
setUserInfo
(
userInfo
)
setSessionId
(
sessionId
)
setSessionId
(
sessionId
)
try
{
try
{
const
merchant
=
await
Promise
.
all
([
findSubordinateListByPage
(
userInfo
),
secondFlow
(
userInfo
)])
const
merchant
=
await
Promise
.
all
([
findSubordinateListByPage
(
userInfo
),
secondFlow
(
userInfo
)])
setSubMerchant
(
merchant
.
flat
())
setSubMerchant
(
merchant
.
flat
())
}
catch
(
error
)
{
}
catch
(
error
)
{
}
}
...
@@ -80,19 +82,40 @@ const initServiceCenter = () => {
...
@@ -80,19 +82,40 @@ const initServiceCenter = () => {
}
}
/**成功跳转 */
/**成功跳转 */
const
loginSuccess
=
()
=>
{
const
loginSuccess
=
()
=>
{
const
{
let
{
subMerchant
}
=
wx
.
$storage
.
get
()
options
:
{
let
params
=
{
targetPath
merchantIds
:
subMerchant
,
}
}
}
=
wx
.
$router
.
getPageInstance
()
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
wx
.
setStorageSync
(
'first_enter'
,
true
)
// 0:全部-1;1:精品升级SC002;2:售后众筹SC004;3:会员权益/升级SC001
if
(
targetPath
)
{
let
_openList
=
[{
const
{
code
:
'SC002'
,
url
,
name
:
'boutiqueUpgrade'
,
obj
type
:
1
,
}
=
setRouteData
(
targetPath
)
},
{
wx
.
$router
.
reLaunch
(
url
,
obj
)
code
:
'SC004'
,
}
else
wx
.
reLaunch
({
url
:
"/pages/tab/output/output"
})
name
:
'afterSalesCrowdfunding'
,
type
:
0
,
},
{
code
:
'SC001'
,
name
:
'vdUpgrade'
,
type
:
2
,
}]
let
type
=
null
;
let
_list
=
[]
_list
=
res
.
merchantList
||
[]
_openList
.
forEach
(
k
=>
{
if
(
_list
[
0
].
sceneCodes
&&
_list
[
0
].
sceneCodes
.
includes
(
k
.
code
))
{
type
=
k
.
type
return
}
})
if
(
_list
.
length
==
1
&&
type
!==
null
)
{
wx
.
reLaunch
({
url
:
`/pages/tab/output/output?merchantId=
${
_list
[
0
].
merchantId4s
}
&type=
${
type
}
&merchantName=
${
_list
[
0
].
merchantName4s
}
`
,
})
}
else
wx
.
reLaunch
({
url
:
"/pages/tab/output/output"
})
})
}
}
const
loginModal
=
async
({
const
loginModal
=
async
({
message
,
message
,
...
...
packageOutput/components/staff/staff.scss
View file @
472e2dc
...
@@ -97,6 +97,9 @@
...
@@ -97,6 +97,9 @@
height
:
64rpx
;
height
:
64rpx
;
line-height
:
64rpx
;
line-height
:
64rpx
;
margin-left
:
15rpx
;
margin-left
:
15rpx
;
&
:
:
placeholder
{
color
:
red
;
}
}
}
}
}
}
}
...
@@ -106,7 +109,7 @@
...
@@ -106,7 +109,7 @@
}
}
.table_left_column
{
.table_left_column
{
min-width
:
1
5
0rpx
;
min-width
:
1
0
0rpx
;
height
:
auto
;
height
:
auto
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
...
@@ -114,13 +117,14 @@
...
@@ -114,13 +117,14 @@
.left_col_item
{
.left_col_item
{
width
:
100%
;
width
:
100%
;
height
:
63
rpx
;
height
:
72
rpx
;
font-size
:
20rpx
;
font-size
:
20rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
color
:
#1B233D
;
color
:
#1B233D
;
// background: #F9F9F9;
// background: #F9F9F9;
background
:
#F5F9FE
;
background
:
#F5F9FE
;
padding-left
:
18rpx
;
&
:first-child
{
&
:first-child
{
font-weight
:
600
;
font-weight
:
600
;
...
@@ -160,14 +164,14 @@
...
@@ -160,14 +164,14 @@
}
}
.flex_direction_column_item
{
.flex_direction_column_item
{
min-width
:
20
0rpx
;
min-width
:
15
0rpx
;
display
:
inline-block
;
display
:
inline-block
;
/* border: 1px solid #000; */
/* border: 1px solid #000; */
}
}
.item_name
{
.item_name
{
min-width
:
20
0rpx
;
min-width
:
12
0rpx
;
height
:
63
rpx
;
height
:
72
rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
...
packageOutput/components/staff/staff.wxml
View file @
472e2dc
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</view>
</view>
<view class="staff-input">
<view class="staff-input">
<icon class="icon-small" type="search" size="14"></icon>
<icon class="icon-small" type="search" size="14"></icon>
<input placeholder="输入员工名称" value="{{empName}}" bind:blur="hanldBlur"/>
<input placeholder="输入员工名称"
placeholder-style="color:#cdcdd1"
value="{{empName}}" bind:blur="hanldBlur"/>
</view>
</view>
<blokc wx:if="{{sfaff[0].list.length}}">
<blokc wx:if="{{sfaff[0].list.length}}">
<view class='table'>
<view class='table'>
...
...
packagesList/outDetail/components/OutputWork/components/OutputBar/OutputBar.wxml
View file @
472e2dc
<view class="bar-wrap">
<view class="bar-wrap">
<view class="searchList">
<view class="searchList">
<block wx:for="{{opts.barList}}" wx:for-item="item" wx:key="index">
<block wx:for="{{opts.barList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view>
<view class="search-unit">单位:{{opts.barList.length == 3?'元':'张'}}</view>
</block>
<view class="search-unit">单位:{{(dataType == 3&&opts.barList.length == 3) || (opts.barList.length == 2&&dataType==1) ?'元':'张'}}</view>
</view>
</view>
<view class="container">
<view class="container">
...
...
packagesList/outDetail/components/OutputWork/components/OutputLine/OutputLine.wxml
View file @
472e2dc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="searchList">
<view class="searchList">
<block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index">
<block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-unit">单位:
元
</view>
<view class="search-unit">单位:
{{dataType==1?'元':'单'}}
</view>
</view>
</view>
<view class="searchTime">
<view class="searchTime">
<block wx:for="{{dimension}}" wx:for-item="item" wx:key="index">
<block wx:for="{{dimension}}" wx:for-item="item" wx:key="index">
...
...
packagesList/outDetail/components/OutputWork/index.scss
View file @
472e2dc
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
}
}
.icon
{
.icon
{
width
:
56rpx
;
width
:
56rpx
;
height
:
48
rpx
;
height
:
56
rpx
;
// margin-left: 6rpx;
// margin-left: 6rpx;
}
}
}
}
...
...
packagesList/outDetail/components/WorktableEntrance/index.scss
View file @
472e2dc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
.searchInput
{
.searchInput
{
width
:
100%
;
width
:
100%
;
background
:
#fff
;
background
:
#fff
;
padding
:
24
rpx
0
;
padding
:
18
rpx
0
;
}
}
...
...
packagesList/outDetail/components/activityOverview/activityOverview.js
View file @
472e2dc
...
@@ -20,7 +20,7 @@ Component({
...
@@ -20,7 +20,7 @@ Component({
all
:
{
title
:
'总访客(人)'
,
num
:
s
.
visitCount
},
all
:
{
title
:
'总访客(人)'
,
num
:
s
.
visitCount
},
},
},
shareData
:
{
shareData
:
{
all
:
{
title
:
'
产值
值(元)'
,
num
:
this
.
priceFormat
(
s
.
realAmount
||
0
),
unit
:
'¥'
}
all
:
{
title
:
'
总产
值(元)'
,
num
:
this
.
priceFormat
(
s
.
realAmount
||
0
),
unit
:
'¥'
}
},
},
}
}
...
...
packagesList/outDetail/components/activityTab/activityTab.scss
View file @
472e2dc
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
// height: 78rpx;
// height: 78rpx;
// line-height: 78rpx;
// line-height: 78rpx;
justify-content
:
space-around
;
justify-content
:
space-around
;
padding-bottom
:
12rpx
;
.tab-item
{
.tab-item
{
color
:
#666666
;
color
:
#666666
;
...
...
packagesList/outDetail/components/activityTop/activityTop.scss
View file @
472e2dc
/* pages/tab/index/components/activityTop/activityTop.wxss */
/* pages/tab/index/components/activityTop/activityTop.wxss */
.active-top
{
.active-top
{
display
:
flex
;
display
:
flex
;
.active-img
{
.active-img
{
flex-shrink
:
0
;
flex-shrink
:
0
;
position
:
relative
;
position
:
relative
;
width
:
160rpx
;
width
:
160rpx
;
height
:
160rpx
;
height
:
160rpx
;
margin-right
:
24rpx
;
margin-right
:
24rpx
;
.thum-icon
{
.thum-icon
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
position
:
absolute
;
position
:
absolute
;
...
@@ -15,11 +17,13 @@
...
@@ -15,11 +17,13 @@
overflow
:
hidden
;
overflow
:
hidden
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
image
{
image
{
height
:
100%
;
height
:
100%
;
}
}
}
}
.active-type
{
.active-type
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
...
@@ -32,50 +36,59 @@
...
@@ -32,50 +36,59 @@
text-align
:
center
;
text-align
:
center
;
}
}
}
}
.active-title
{
.active-title
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
flex-flow
:
column
;
flex-flow
:
column
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
8rpx
0
;
padding
:
8rpx
0
;
.name
{
.name
{
// display: flex;
// display: flex;
// align-items: center;
// align-items: center;
.name-left
{
.name-left
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
36
rpx
;
font-size
:
28
rpx
;
color
:
#1B233D
;
color
:
#1B233D
;
line-height
:
48rpx
;
line-height
:
48rpx
;
word-break
:
break-all
;
word-break
:
break-all
;
.activity-type
{
.activity-type
{
float
:
right
;
float
:
right
;
line-height
:
44rpx
;
line-height
:
44rpx
;
font-size
:
28rpx
;
font-size
:
28rpx
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#FE5662
;
color
:
#FE5662
;
margin-top
:
4rpx
;
margin-top
:
4rpx
;
image
{
image
{
margin-top
:
4rpx
;
margin-top
:
4rpx
;
width
:
32rpx
;
width
:
32rpx
;
height
:
32rpx
;
height
:
32rpx
;
}
}
}
}
}
}
.right
{
.right
{
display
:
flex
;
display
:
flex
;
flex-flow
:
1
;
flex-flow
:
1
;
font-size
:
28rpx
;
font-size
:
28rpx
;
align-items
:
center
;
align-items
:
center
;
image
{
image
{
width
:
32rpx
;
width
:
32rpx
;
height
:
32rpx
;
height
:
32rpx
;
}
}
}
}
}
}
.time
{
.time
{
color
:
#7A8299
;
color
:
#7A8299
;
font-size
:
28rpx
;
font-size
:
24rpx
;
text
{
text
{
color
:
#1B233D
;
color
:
#1B233D
;
}
}
}
}
...
...
packagesList/outDetail/components/activitying/index.scss
View file @
472e2dc
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
}
}
.end
{
.end
{
color
:
#6E6E7A
;
color
:
#6E6E7A
;
margin-left
:
8rpx
;
}
}
.un-start-class
{
.un-start-class
{
width
:
32rpx
;
width
:
32rpx
;
...
...
packagesList/outDetail/components/activitying/index.wxml
View file @
472e2dc
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<!-- 活动top信息 -->
<!-- 活动top信息 -->
<activity-top tabType="{{tabType}}" data="{{item}}" widthStyle="flex: 0 0 62%;">
<activity-top tabType="{{tabType}}" data="{{item}}" widthStyle="flex: 0 0 62%;">
<block wx:if="{{item.activityStatus==2}}">
<block wx:if="{{item.activityStatus==2}}">
<glsx-image webp src="store-assistant/hot-icon.png"></glsx-image>
<glsx-image
class="un-start-class"
webp src="store-assistant/hot-icon.png"></glsx-image>
<text class="hot">火热进行中</text>
<text class="hot">火热进行中</text>
</block>
</block>
<block wx:if="{{item.activityStatus==1}}">
<block wx:if="{{item.activityStatus==1}}">
...
...
packagesList/outDetail/components/menu/index.wxml
View file @
472e2dc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<view class="title">场景切换</view>
<view class="title">场景切换</view>
<block wx:for="{{menus}}" wx:key="index">
<block wx:for="{{menus}}" wx:key="index">
<view catch:tap="selectMenu" data-index="{{item.serviceType}}" class="element {{item.serviceType==current?'active':''}}">
<view catch:tap="selectMenu" data-index="{{item.serviceType}}" class="element {{item.serviceType==current?'active':''}}">
<glsx-image class="logo" webp src="store-assistant-assemble/menu/{{item.logo}}.png"></glsx-image>
<glsx-image class="logo" webp src="store-assistant-assemble/menu/{{item.logo}}
{{item.serviceType==current?'-o':''}}
.png"></glsx-image>
<view class="label">{{item.title}}</view>
<view class="label">{{item.title}}</view>
<view wx:if="{{totals&&item.serviceType==0}}" class="num_pannel">{{totals}}</view>
<view wx:if="{{totals&&item.serviceType==0}}" class="num_pannel">{{totals}}</view>
</view>
</view>
...
...
packagesList/outDetail/index.scss
View file @
472e2dc
...
@@ -20,7 +20,7 @@ page {
...
@@ -20,7 +20,7 @@ page {
.layout
{
.layout
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
padding-
top
:
40
0rpx
;
padding-
bottom
:
6
0rpx
;
// background-color: #fff;
// background-color: #fff;
&
:
:
after
{
&
:
:
after
{
...
...
packagesList/outDetail/index.wxml
View file @
472e2dc
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</navigation-bar>
</navigation-bar>
</view>
</view>
<block wx:if="{{navHeight}}">
<block wx:if="{{navHeight}}">
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height:
calc(100vh - {{navHeight*2}}rpx)
">
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height:
100vh
">
<!-- 背景图 -->
<!-- 背景图 -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<view class="bg">
<view class="bg">
...
...
packagesList/packageOutput/pages/monthReport/monthReport.js
View file @
472e2dc
...
@@ -14,17 +14,17 @@ Page({
...
@@ -14,17 +14,17 @@ Page({
timeValue
:
new
Date
().
format
(
'yyyy-MM-dd'
),
timeValue
:
new
Date
().
format
(
'yyyy-MM-dd'
),
outputView
:
{
outputView
:
{
outputValue
:
[{
outputValue
:
[{
label
:
'报价量'
,
label
:
'报价量
(单)
'
,
name
:
'quotationCount'
,
name
:
'quotationCount'
,
unit
:
''
,
unit
:
''
,
iconUrl
:
'store-assistant-assemble/output/icon02.png'
iconUrl
:
'store-assistant-assemble/output/icon02.png'
},
{
},
{
label
:
'成交量'
,
label
:
'成交量
(单)
'
,
name
:
'successCount'
,
name
:
'successCount'
,
unit
:
''
,
unit
:
''
,
iconUrl
:
'store-assistant-assemble/output/icon07.png'
iconUrl
:
'store-assistant-assemble/output/icon07.png'
},
{
},
{
label
:
'产值'
,
label
:
'产值
(元)
'
,
name
:
'outputValue'
,
name
:
'outputValue'
,
_unit
:
'¥'
,
_unit
:
'¥'
,
iconUrl
:
'store-assistant-assemble/output/icon05.png'
iconUrl
:
'store-assistant-assemble/output/icon05.png'
...
...
packagesList/packageOutput/pages/monthReport/monthReport.scss
View file @
472e2dc
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
}
}
.store-desc
{
.store-desc
{
margin-top
:
6rpx
;
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#1b233d
a8
;
color
:
#1b233d
a8
;
line-height
:
32rpx
;
line-height
:
32rpx
;
...
@@ -167,7 +168,7 @@
...
@@ -167,7 +168,7 @@
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
// align-items: center;
// align-items: center;
font-size
:
2
4
rpx
;
font-size
:
2
2
rpx
;
color
:
#6E6E7A
;
color
:
#6E6E7A
;
// line-height: 36rpx;
// line-height: 36rpx;
...
@@ -236,8 +237,9 @@
...
@@ -236,8 +237,9 @@
// background: #F4F8FE;
// background: #F4F8FE;
// border-radius: 32rpx;
// border-radius: 32rpx;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
margin
:
16rpx
;
margin
-top
:
16rpx
;
padding
:
24rpx
;
padding
:
24rpx
;
min-height
:
calc
(
100%
-
500rpx
);
.billboard-title
{
.billboard-title
{
font-weight
:
600
;
font-weight
:
600
;
...
@@ -263,18 +265,18 @@
...
@@ -263,18 +265,18 @@
position
:
relative
;
position
:
relative
;
.billboard-item
{
.billboard-item
{
width
:
2
09
.54
rpx
;
width
:
2
16
rpx
;
height
:
3
21
.3
rpx
;
height
:
3
68
rpx
;
position
:
absolute
;
position
:
absolute
;
&
:first-child
{
&
:first-child
{
top
:
5
5rpx
;
top
:
2
5rpx
;
left
:
22
0
rpx
;
left
:
22
8
rpx
;
z-index
:
10
;
z-index
:
10
;
.bill-bg
{
.bill-bg
{
width
:
2
33
.52rpx
!
important
;
width
:
2
16rpx
;
height
:
3
58
.06rpx
!
important
;
height
:
3
68rpx
;
}
}
.bill-num
,
.bill-num
,
...
@@ -285,23 +287,31 @@
...
@@ -285,23 +287,31 @@
&
:nth-child
(
2
)
{
&
:nth-child
(
2
)
{
left
:
0rpx
;
left
:
0rpx
;
top
:
125rpx
;
top
:
65rpx
;
width
:
233
.52rpx
;
width
:
216rpx
;
height
:
358
.06rpx
;
height
:
336rpx
;
image
{
width
:
216rpx
;
height
:
336rpx
;
}
}
}
&
:nth-child
(
3
)
{
&
:nth-child
(
3
)
{
z-index
:
20
;
z-index
:
20
;
top
:
1
80rpx
;
top
:
80rpx
;
right
:
0rpx
;
right
:
0rpx
;
width
:
216rpx
;
height
:
304rpx
;
image
{
width
:
216rpx
;
height
:
304rpx
;
}
}
}
.billboard-item-bar
{
.billboard-item-bar
{
position
:
relative
;
position
:
relative
;
.bill-bg
{
.bill-bg
{
width
:
209
.54rpx
;
height
:
321
.3rpx
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
...
...
packagesList/packageOutput/pages/monthReport/monthReport.wxml
View file @
472e2dc
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
<glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
</view>
</view>
</view> -->
</view> -->
<scroll-view scroll-y class="content" class="content" refresher-triggered="{{triggered}}" refresher-enabled bindrefresherrefresh="getReport" bindscroll="scrollIng" style="{{'height:
calc(100% - 22rpx);
'}}">
<scroll-view scroll-y class="content" class="content" refresher-triggered="{{triggered}}" refresher-enabled bindrefresherrefresh="getReport" bindscroll="scrollIng" style="{{'height:
100%
'}}">
<view class="store-box">
<view class="store-box">
<view class="store-item">
<view class="store-item">
<view class="store-logo">
<view class="store-logo">
...
@@ -65,8 +65,8 @@
...
@@ -65,8 +65,8 @@
<view class="billboard-item" wx:for="{{billboard}}" wx:key="index">
<view class="billboard-item" wx:for="{{billboard}}" wx:key="index">
<view class="billboard-item-bar">
<view class="billboard-item-bar">
<view class="bill-border">
<view class="bill-border">
<view class="bill-name"
style="transform:translate({{index==1?-20:0}}rpx,0rpx)"
>{{item.name}}</view>
<view class="bill-name">{{item.name}}</view>
<view class="bill-num" wx:if="{{item.name}}"
style="transform:translate({{index==1?-20:0}}rpx,0rpx)"
><text class="unit">¥</text>{{item.value}}</view>
<view class="bill-num" wx:if="{{item.name}}"><text class="unit">¥</text>{{item.value}}</view>
</view>
</view>
<glsx-image webp custom-class="bill-bg" src="store-assistant-assemble/output/bill0{{item.sort}}.png"></glsx-image>
<glsx-image webp custom-class="bill-bg" src="store-assistant-assemble/output/bill0{{item.sort}}.png"></glsx-image>
</view>
</view>
...
...
pages/tab/mine/mine.js
View file @
472e2dc
...
@@ -66,6 +66,8 @@ Page({
...
@@ -66,6 +66,8 @@ Page({
*/
*/
onLoad
:
async
function
(
options
)
{
onLoad
:
async
function
(
options
)
{
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
if
(
userInfo
.
subLoginUser
&&
userInfo
.
subLoginUser
.
phone
)
userInfo
.
subLoginUser
.
phone
=
userInfo
.
subLoginUser
.
phone
.
replace
(
/
\B(?=(\d{4})
+
(?!\d))
/g
,
' '
);
this
.
setData
({
this
.
setData
({
userInfo
:
userInfo
.
subLoginUser
userInfo
:
userInfo
.
subLoginUser
})
})
...
...
pages/tab/output/components/BusiCard/BusiCard.scss
View file @
472e2dc
...
@@ -15,8 +15,7 @@
...
@@ -15,8 +15,7 @@
width
:
40rpx
;
width
:
40rpx
;
height
:
40rpx
;
height
:
40rpx
;
margin-right
:
8rpx
;
margin-right
:
8rpx
;
padding-bottom
:
14rpx
;
margin-top
:
-4rpx
;
border-radius
:
50%
;
}
}
.title
{
.title
{
...
...
pages/tab/output/components/client/client.js
View file @
472e2dc
...
@@ -126,14 +126,6 @@ Component({
...
@@ -126,14 +126,6 @@ Component({
item
[
k
.
name
]
=
'未开通'
item
[
k
.
name
]
=
'未开通'
}
else
if
(
item
.
sceneCodes
&&
!
item
.
sceneCodes
.
includes
(
k
.
code
))
{
}
else
if
(
item
.
sceneCodes
&&
!
item
.
sceneCodes
.
includes
(
k
.
code
))
{
item
[
k
.
name
]
=
'未开通'
item
[
k
.
name
]
=
'未开通'
}
else
{
if
(
_list
.
length
==
1
&&
wx
.
getStorageSync
(
'first_enter'
)){
wx
.
setStorageSync
(
'first_enter'
,
false
)
wx
.
navigateTo
({
url
:
`/packagesList/outDetail/index?merchantId=
${
_list
[
0
].
merchantId4s
}
&type=
${
k
.
type
}
&merchantName=
${
_list
[
0
].
merchantName4s
}
`
,
})
}
}
}
})
})
})
})
...
...
pages/tab/output/components/client/client.scss
View file @
472e2dc
...
@@ -214,6 +214,7 @@
...
@@ -214,6 +214,7 @@
font-size
:
24rpx
;
font-size
:
24rpx
;
text-align
:
center
;
text-align
:
center
;
color
:
#CCCED1
;
color
:
#CCCED1
;
margin-top
:
16rpx
;
padding-bottom
:
60rpx
;
padding-bottom
:
60rpx
;
}
}
...
...
pages/tab/output/components/sortTab/sortTab.scss
View file @
472e2dc
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
.sort-tab
{
.sort-tab
{
display
:
flex
;
display
:
flex
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
calc
(
100vw
-
32rpx
);
height
:
86rpx
;
height
:
86rpx
;
line-height
:
86rpx
;
line-height
:
86rpx
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
...
@@ -15,6 +14,7 @@
...
@@ -15,6 +14,7 @@
font-weight
:
600
;
font-weight
:
600
;
font-size
:
30rpx
;
font-size
:
30rpx
;
width
:
196rpx
;
width
:
196rpx
;
padding-left
:
8rpx
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
margin-right
:
20rpx
;
margin-right
:
20rpx
;
color
:
#5a6066
;
}
}
.icon
{
.icon
{
...
...
pages/tab/output/output.js
View file @
472e2dc
...
@@ -9,6 +9,7 @@ Page({
...
@@ -9,6 +9,7 @@ Page({
*/
*/
data
:
{
data
:
{
IMG_URL
,
IMG_URL
,
isShow
:
true
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
navStyle
:
'background-color: rgba(0,0,0,0);'
,
loginType
:
0
,
loginType
:
0
,
agree
:
true
,
agree
:
true
,
...
@@ -128,6 +129,18 @@ Page({
...
@@ -128,6 +129,18 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
const
{
merchantId
,
type
,
merchantName
}
=
options
if
(
merchantId
)
{
wx
.
navigateTo
({
url
:
`/packagesList/outDetail/index?merchantId=
${
merchantId
}
&type=
${
type
}
&merchantName=
${
merchantName
}
`
,
})
this
.
setData
({
isShow
:
false
},
()
=>
{
setTimeout
(()
=>
{
this
.
setData
({
isShow
:
true
})
},
1000
)
})
}
this
.
init
()
this
.
init
()
},
},
...
...
pages/tab/output/output.wxml
View file @
472e2dc
<!-- pages/tab/output/output.wxml -->
<!-- pages/tab/output/output.wxml -->
<block wx:if="{{isShow}}">
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">看产值</navigation-bar>
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">看产值</navigation-bar>
<!-- <view class="layout" style="padding-top:{{tabBarStyle}}px;">
<client id="client" />
</view> -->
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - 150rpx)">
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - 150rpx)">
<!-- 背景图 -->
<!-- <glsx-image webp src="store-assistant/index_bg.webp"></glsx-image> -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight+16}}px">
<view class="bg">
<glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
</view>
</view> -->
<client id="client" />
<client id="client" />
</view>
\ No newline at end of file
\ No newline at end of file
</view>
</block>
\ No newline at end of file
\ 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