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 d2568e2e
authored
Apr 21, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
e25ac7b7
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
274 additions
and
359 deletions
packageOutput/components/staff/staff.js
packageOutput/components/staff/staff.scss
packageOutput/components/staff/staff.wxml
packageOutput/pages/crowdDetail/crowdDetail.js
packageOutput/pages/crowdDetail/crowdDetail.scss
packageOutput/pages/crowdDetail/crowdDetail.wxml
packageOutput/pages/monthReport/monthReport.js
packageOutput/pages/monthReport/monthReport.wxml
packagesList/outDetail/components/menu/index.wxml
packagesList/outDetail/index.js
packagesList/outDetail/index.scss
packagesList/outDetail/index.wxml
pages/tab/mine/mine.wxml
project.private.config.json
packageOutput/components/staff/staff.js
View file @
d2568e2
...
@@ -16,13 +16,54 @@ Component({
...
@@ -16,13 +16,54 @@ Component({
* 组件的初始数据
* 组件的初始数据
*/
*/
data
:
{
data
:
{
dataType
:
{
crowType
:
[{
label
:
'转发次数'
,
value
:
1
},
{
label
:
'访客总数'
,
value
:
2
},
{
label
:
'浏览总数'
,
value
:
3
},
{
label
:
'成交单量'
,
value
:
4
},
{
label
:
'转化率'
,
value
:
5
}],
boutique
:
[{
label
:
'单量'
,
value
:
1
},
{
label
:
'客单量'
,
value
:
2
},
{
label
:
'转化率'
,
value
:
3
}]
},
show
:
true
,
selectTxt
:
'单量'
,
selectValue
:
1
,
},
},
/**
/**
* 组件的方法列表
* 组件的方法列表
*/
*/
methods
:
{
methods
:
{
showUp
()
{
this
.
setData
({
show
:
false
})
},
selectType
(
e
)
{
const
{
value
,
label
}
=
e
.
target
.
dataset
console
.
log
(
label
)
this
.
setData
({
selectValue
:
value
,
show
:
true
,
selectTxt
:
label
})
}
}
}
})
})
packageOutput/components/staff/staff.scss
View file @
d2568e2
page
{
.box
{
background
:
#f3f3f3
;
margin
:
20rpx
;
font-size
:
30rpx
;
background
:
#FFFFFF
;
}
box-shadow
:
0
2rpx
20rpx
0
#b4bacc
52
;
border-radius
:
20rpx
;
padding
:
32rpx
40rpx
;
.box-title
{
font-weight
:
600
;
font-size
:
32rpx
;
color
:
#1B233D
;
line-height
:
48rpx
;
display
:
flex
;
justify-content
:
space-between
;
.select-up
{
font-weight
:
400
;
font-size
:
24rpx
;
color
:
#666666
;
position
:
relative
;
text-align
:
center
;
.staff-type
{
width
:
108rpx
;
}
.up-box
{
position
:
absolute
;
width
:
108rpx
;
height
:
160rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
0
18rpx
0
#3a596a
1c
;
border-radius
:
8rpx
;
z-index
:
10
;
.up-item
{
flex
:
auto
;
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#666666
;
line-height
:
53rpx
;
&
.checked
{
color
:
#708CFF
;
}
}
}
}
}
.staff-input
{
width
:
638rpx
;
height
:
64rpx
;
background
:
#ffffff
7d
;
border
:
2rpx
solid
#EEEEEE
;
border-radius
:
12rpx
;
margin
:
40rpx
auto
20rpx
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0rpx
20rpx
;
box-sizing
:
border-box
;
input
{
height
:
64rpx
;
line-height
:
64rpx
;
color
:
#999999
;
flex
:
1
;
}
}
}
.table
{
.table
{
display
:
flex
;
display
:
flex
;
}
}
...
...
packageOutput/components/staff/staff.wxml
View file @
d2568e2
<!--packageOutput/components/staff/staff.wxml-->
<!--packageOutput/components/staff/staff.wxml-->
<view class='table'>
<view class="box staff-box">
<view class="box-title">
<text>员工排行榜</text>
<view class="select-up">
<view bindtap="showUp" class="staff-type">{{selectTxt}}</view>
<view class="up-box" hidden="{{show}}">
<view class="up-item {{selectValue == item.value? 'checked':''}}" wx:for="{{dataType}}" wx:key="{{index}}" data-label="{{item.label}}" data-value="{{item.value}}" catchtap="selectType">
{{item.label}}
</view>
</view>
</view>
</view>
<view class="staff-input">
<input placeholder="输入员工名称" />
<icon class="icon-small" type="search" size="14"></icon>
</view>
<view class='table'>
<!-- 左侧固定 -->
<!-- 左侧固定 -->
<view class='table_left_column'>
<view class='table_left_column'>
<view class='left_col_item'>排名</view>
<view class='left_col_item'>排名</view>
<view class='left_col_item' wx:for="{{sfaffList[0].list
}}" wx:for-index="index" wx:key="index">{{index+1}}</view>
<view class='left_col_item' wx:for="{{sfaffList[0].list[sfaffList[0].val]
}}" wx:for-index="index" wx:key="index">{{index+1}}</view>
</view>
</view>
<!-- 右侧表格滚动 -->
<!-- 右侧表格滚动 -->
<view class="table_right_scroll_box">
<view class="table_right_scroll_box">
<view class="flex_direction_column_item" wx:for="{{sfaffList}}" wx:for-index="index" wx:key="index">
<view class="flex_direction_column_item" wx:for="{{sfaffList}}" wx:for-index="index" wx:key="index">
<view class='item_name'>{{item.name}}</view>
<view class='item_name'>{{item.name}}</view>
<view wx:for="{{item.list
}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'>
<view wx:for="{{item.list[item.val]
}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'>
<block wx:if="{{litem.price !='缺货'}}">¥{{litem.price}}/斤
</block>
<block>{{litem}}
</block>
<block wx:else>缺货</block
>
</view
>
</view>
</view>
</view>
</view>
</view>
</view>
...
...
packageOutput/pages/crowdDetail/crowdDetail.js
View file @
d2568e2
...
@@ -12,29 +12,29 @@ Page({
...
@@ -12,29 +12,29 @@ Page({
}
}
},
},
outputValue
:
[{
outputValue
:
[{
label
:
'今日产值/元'
,
label
:
'今日产值/元'
,
name
:
'avgQuotationPrice'
,
name
:
'avgQuotationPrice'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'今日订单/单'
,
label
:
'今日订单/单'
,
name
:
'avgQuotationPrice'
,
name
:
'avgQuotationPrice'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'今日访客/个'
,
label
:
'今日访客/个'
,
name
:
'avgQuotationPrice'
,
name
:
'avgQuotationPrice'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'累计产值/元'
,
label
:
'累计产值/元'
,
name
:
'avgQuotationPrice'
,
name
:
'avgQuotationPrice'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'累计订单/单'
,
label
:
'累计订单/单'
,
name
:
'avgQuotationPrice'
,
name
:
'avgQuotationPrice'
,
unit
:
''
unit
:
''
},
{
},
{
label
:
'累计访客/个'
,
label
:
'累计访客/个'
,
name
:
'avgQuotationPrice'
,
name
:
'avgQuotationPrice'
,
unit
:
''
unit
:
''
}],
}],
sfaffList
:
[{
sfaffList
:
[{
"name"
:
"果唯伊水果"
,
"name"
:
"果唯伊水果"
,
...
@@ -42,298 +42,7 @@ Page({
...
@@ -42,298 +42,7 @@ Page({
"pkId"
:
1
,
"pkId"
:
1
,
"price"
:
"5.8"
,
"price"
:
"5.8"
,
"typeName"
:
"苹果"
"typeName"
:
"苹果"
},
}
{
"pkId"
:
2
,
"price"
:
"2.08"
,
"typeName"
:
"香蕉"
},
{
"pkId"
:
3
,
"price"
:
"6.00"
,
"typeName"
:
"橙子"
},
{
"pkId"
:
4
,
"price"
:
"8.40"
,
"typeName"
:
"山竹"
},
{
"pkId"
:
5
,
"price"
:
"15"
,
"typeName"
:
"荔枝"
},
{
"pkId"
:
6
,
"price"
:
"5.8"
,
"typeName"
:
"芒果"
},
{
"pkId"
:
7
,
"price"
:
"2.10"
,
"typeName"
:
"西瓜"
},
{
"pkId"
:
8
,
"price"
:
"6.00"
,
"typeName"
:
"草莓"
},
{
"pkId"
:
9
,
"price"
:
"8.00"
,
"typeName"
:
"水蜜桃"
},
{
"pkId"
:
10
,
"price"
:
"7.80"
,
"typeName"
:
"李子"
},
{
"pkId"
:
11
,
"price"
:
"缺货"
,
"typeName"
:
"榴莲"
},
{
"pkId"
:
12
,
"price"
:
"4.08"
,
"typeName"
:
"蓝莓"
},
{
"pkId"
:
13
,
"price"
:
"2.80"
,
"typeName"
:
"柚子"
},
{
"pkId"
:
14
,
"price"
:
"8.00"
,
"typeName"
:
"木瓜"
},
]
},
{
"name"
:
"恋果"
,
"list"
:
[{
"pkId"
:
1
,
"price"
:
"5.40"
,
"typeName"
:
"苹果"
},
{
"pkId"
:
2
,
"price"
:
"2.20"
,
"typeName"
:
"香蕉"
},
{
"pkId"
:
3
,
"price"
:
"缺货"
,
"typeName"
:
"橙子"
},
{
"pkId"
:
4
,
"price"
:
"9.00"
,
"typeName"
:
"山竹"
},
{
"pkId"
:
5
,
"price"
:
"14.00"
,
"typeName"
:
"荔枝"
},
{
"pkId"
:
6
,
"price"
:
"5.50"
,
"typeName"
:
"芒果"
},
{
"pkId"
:
7
,
"price"
:
"1.89"
,
"typeName"
:
"西瓜"
},
{
"pkId"
:
8
,
"price"
:
"6.35"
,
"typeName"
:
"草莓"
},
{
"pkId"
:
9
,
"price"
:
"8.20"
,
"typeName"
:
"水蜜桃"
},
{
"pkId"
:
10
,
"price"
:
"8.60"
,
"typeName"
:
"李子"
},
{
"pkId"
:
11
,
"price"
:
"24.60"
,
"typeName"
:
"榴莲"
},
{
"pkId"
:
12
,
"price"
:
"4.56"
,
"typeName"
:
"蓝莓"
},
{
"pkId"
:
13
,
"price"
:
"3.60"
,
"typeName"
:
"柚子"
},
{
"pkId"
:
14
,
"price"
:
"7.20"
,
"typeName"
:
"木瓜"
},
],
},
{
"name"
:
"百果园"
,
"list"
:
[{
"pkId"
:
1
,
"price"
:
"6.10"
,
"typeName"
:
"苹果"
},
{
"pkId"
:
2
,
"price"
:
"2.30"
,
"typeName"
:
"香蕉"
},
{
"pkId"
:
3
,
"price"
:
"缺货"
,
"typeName"
:
"橙子"
},
{
"pkId"
:
4
,
"price"
:
"9.00"
,
"typeName"
:
"山竹"
},
{
"pkId"
:
5
,
"price"
:
"14.30"
,
"typeName"
:
"荔枝"
},
{
"pkId"
:
6
,
"price"
:
"5.65"
,
"typeName"
:
"芒果"
},
{
"pkId"
:
7
,
"price"
:
"2.08"
,
"typeName"
:
"西瓜"
},
{
"pkId"
:
8
,
"price"
:
"6.60"
,
"typeName"
:
"草莓"
},
{
"pkId"
:
9
,
"price"
:
"7.80"
,
"typeName"
:
"水蜜桃"
},
{
"pkId"
:
10
,
"price"
:
"8.2"
,
"typeName"
:
"李子"
},
{
"pkId"
:
11
,
"price"
:
"23.8"
,
"typeName"
:
"榴莲"
},
{
"pkId"
:
12
,
"price"
:
"4.36"
,
"typeName"
:
"蓝莓"
},
{
"pkId"
:
13
,
"price"
:
"3.20"
,
"typeName"
:
"柚子"
},
{
"pkId"
:
14
,
"price"
:
"8.00"
,
"typeName"
:
"木瓜"
},
]
},
{
"name"
:
"鲜丰水果"
,
"list"
:
[{
"pkId"
:
1
,
"price"
:
"4.80"
,
"typeName"
:
"苹果"
},
{
"pkId"
:
2
,
"price"
:
"1.98"
,
"typeName"
:
"香蕉"
},
{
"pkId"
:
3
,
"price"
:
"5.20"
,
"typeName"
:
"橙子"
},
{
"pkId"
:
4
,
"price"
:
"8.25"
,
"typeName"
:
"山竹"
},
{
"pkId"
:
5
,
"price"
:
"缺货"
,
"typeName"
:
"荔枝"
},
{
"pkId"
:
6
,
"price"
:
"5.8"
,
"typeName"
:
"芒果"
},
{
"pkId"
:
7
,
"price"
:
"2.28"
,
"typeName"
:
"西瓜"
},
{
"pkId"
:
8
,
"price"
:
"6.40"
,
"typeName"
:
"草莓"
},
{
"pkId"
:
9
,
"price"
:
"8.60"
,
"typeName"
:
"水蜜桃"
},
{
"pkId"
:
10
,
"price"
:
"15"
,
"typeName"
:
"李子"
},
{
"pkId"
:
11
,
"price"
:
"29.6"
,
"typeName"
:
"榴莲"
},
{
"pkId"
:
12
,
"price"
:
"缺货"
,
"typeName"
:
"蓝莓"
},
{
"pkId"
:
13
,
"price"
:
"4.10"
,
"typeName"
:
"柚子"
},
{
"pkId"
:
14
,
"price"
:
"6.80"
,
"typeName"
:
"木瓜"
},
]
]
}
}
]
]
...
@@ -343,7 +52,53 @@ Page({
...
@@ -343,7 +52,53 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
getDetail
()
},
formatArr
(
arr
,
fn
)
{
let
res
=
{}
for
(
let
v
of
arr
)
{
const
val
=
Object
.
keys
(
v
)
for
(
let
i
of
val
)
{
if
(
res
[
i
])
{
res
[
i
].
push
(
v
[
i
])
continue
}
res
[
i
]
=
[
v
[
i
]]
}
}
return
fn
(
res
)
},
getDetail
()
{
const
d
=
[{
employeeName
:
'张三'
,
avatarUrl
:
'33'
}]
let
obj
=
{
employeeName
:
'员工姓名'
,
orderMoneyTotal
:
'产值(营业额)'
,
upgradeCountTotal
:
'单量'
,
averagePrice
:
'客单价'
,
upgradeRatio
:
'转化率'
}
obj
=
{
employeeName
:
'员工姓名'
,
orderMoneyTotal
:
'产值(营业额)'
,
upgradeCountTotal
:
'转发字数'
,
averagePrice
:
'访客总数'
,
upgradeRatio
:
'浏览总数'
,
upgradeRatio
:
'成交单量'
,
upgradeRatio
:
'转化率'
,
}
const
sfaffList
=
this
.
formatArr
(
d
,
(
item
)
=>
{
const
result
=
[]
const
obj_keys
=
Object
.
keys
(
obj
)
for
(
let
k
of
obj_keys
)
{
result
.
push
({
name
:
obj
[
k
],
val
:
k
,
list
:
item
})
}
return
result
})
this
.
setData
({
sfaffList
})
},
},
/**
/**
...
...
packageOutput/pages/crowdDetail/crowdDetail.scss
View file @
d2568e2
.layout
{
.layout
{
position
:
relative
;
position
:
relative
;
.bg-box
{
.bg-box
{
width
:
100%
;
width
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
z-index
:
-1
;
z-index
:
-1
;
.bg
{
.bg
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -15,19 +17,23 @@
...
@@ -15,19 +17,23 @@
left
:
0
;
left
:
0
;
}
}
}
}
}
}
.output-box
{
.output-box
{
background
:
#F4F8FE
;
background
:
#F4F8FE
;
border-radius
:
32rpx
;
border-radius
:
32rpx
;
margin
:
0
16rpx
;
margin
:
0
16rpx
;
padding
:
24rpx
;
padding
:
24rpx
;
.output-title
{
.output-title
{
font-weight
:
600
;
font-weight
:
600
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#1B233D
;
color
:
#1B233D
;
line-height
:
48rpx
;
line-height
:
48rpx
;
margin-bottom
:
22rpx
;
margin-bottom
:
22rpx
;
display
:
flex
;
}
}
.output-value
{
.output-value
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
33
.33%
);
grid-template-columns
:
repeat
(
3
,
33
.33%
);
...
@@ -54,7 +60,8 @@
...
@@ -54,7 +60,8 @@
}
}
}
}
}
}
}
}
.box
{
.box
{
margin
:
20rpx
;
margin
:
20rpx
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
...
@@ -67,16 +74,42 @@
...
@@ -67,16 +74,42 @@
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#1B233D
;
color
:
#1B233D
;
line-height
:
48rpx
;
line-height
:
48rpx
;
display
:
flex
;
justify-content
:
space-between
;
.select-up
{
font-weight
:
400
;
font-size
:
24rpx
;
color
:
#666666
;
position
:
relative
;
.up-box
{
position
:
absolute
;
width
:
108rpx
;
height
:
160rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
0
18rpx
0
#3a596a
1c
;
border-radius
:
8rpx
;
.up-item
{
flex
:
auto
;
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#666666
;
text-align
:
center
;
line-height
:
53rpx
;
}
}
}
}
}
.staff-input
{
.staff-input
{
width
:
638rpx
;
width
:
638rpx
;
height
:
64rpx
;
height
:
64rpx
;
background
:
#ffffff
7d
;
background
:
#ffffff
7d
;
border
:
2rpx
solid
#EEEEEE
;
border
:
2rpx
solid
#EEEEEE
;
border-radius
:
12rpx
;
border-radius
:
12rpx
;
margin
:
20rpx
auto
;
margin
:
40rpx
auto
20rpx
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
...
packageOutput/pages/crowdDetail/crowdDetail.wxml
View file @
d2568e2
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
产值总览
产值总览
</view>
</view>
<view class="output-value">
<view class="output-value">
<view class="output-item" wx:for="{{outputValue}}">
<view class="output-item" wx:for="{{outputValue}}"
wx:key="{{index}}"
>
<view class="output-num">444</view>
<view class="output-num">444</view>
<view class="output-label">{{item.label}}</view>
<view class="output-label">{{item.label}}</view>
</view>
</view>
...
@@ -25,14 +25,7 @@
...
@@ -25,14 +25,7 @@
<invert-analyse data="{{analyseValue}}"></invert-analyse>
<invert-analyse data="{{analyseValue}}"></invert-analyse>
</view>
</view>
<view class="box staff-box">
<view class="box-title">员工排行榜</view>
<view class="staff-input">
<input placeholder="输入员工名称" />
<icon class="icon-small" type="search" size="14"></icon>
</view>
<staff sfaffList="{{sfaffList}}" />
<staff sfaffList="{{sfaffList}}" />
</view>
</scroll-view>
</scroll-view>
</view>
</view>
...
...
packageOutput/pages/monthReport/monthReport.js
View file @
d2568e2
...
@@ -92,10 +92,10 @@ Page({
...
@@ -92,10 +92,10 @@ Page({
}
}
},
},
month
:
()
=>
{
month
:
()
=>
{
apiName
=
'boutiquecouponQueryBy
Day
Report'
,
apiName
=
'boutiquecouponQueryBy
Month
Report'
,
params
=
{
params
=
{
merchantId
,
merchantId
,
reportMonth
:
timeValue
reportMonth
:
timeValue
.
substring
(
0
,
7
)
}
}
}
}
},
},
...
@@ -120,17 +120,27 @@ Page({
...
@@ -120,17 +120,27 @@ Page({
}
}
dataT
[
type
][
timeType
]()
dataT
[
type
][
timeType
]()
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
const
list
=
res
.
employeeOutputList
||
res
.
staffList
const
staffList
=
list
.
length
?
list
.
splice
(
0
,
3
):
new
Array
(
3
).
fill
(
1
)
const
billboard
=
staffList
.
map
((
item
,
idx
)
=>
{
return
{
sort
:
idx
+
1
,
value
:
item
.
outputValue
||
item
.
orderMoneyTotal
||
0
,
name
:
item
.
transferName
||
item
.
employeeName
}
})
this
.
setData
({
this
.
setData
({
outputData
:
res
||
{},
outputData
:
res
||
{},
triggered
:
false
triggered
:
false
,
billboard
})
})
})
})
},
},
//获取
day后的
//获取
下个月时间
getNextMonth
(
time
)
{
getNextMonth
(
time
)
{
const
arr
=
time
.
split
(
'-'
)
const
arr
=
time
.
split
(
'-'
)
let
year
=
arr
[
0
];
//获取当前日期的年份
let
year
=
arr
[
0
];
//获取当前日期的年份
let
month
=
+
arr
[
1
];
//获取当前日期的月份
let
month
=
+
arr
[
1
]
+
1
;
//获取当前日期的月份
let
day
=
arr
[
2
];
//获取当前日期的日
let
day
=
arr
[
2
];
//获取当前日期的日
if
(
month
==
13
)
{
if
(
month
==
13
)
{
year
=
parseInt
(
year
)
+
1
;
year
=
parseInt
(
year
)
+
1
;
...
@@ -147,7 +157,6 @@ Page({
...
@@ -147,7 +157,6 @@ Page({
return
`
${
date
.
getFullYear
()}
年
${
date
.
getMonth
()
+
1
}
}月`
;
return
`
${
date
.
getFullYear
()}
年
${
date
.
getMonth
()
+
1
}
}月`
;
},
},
onInput
(
event
)
{
onInput
(
event
)
{
console
.
log
(
event
.
detail
)
this
.
setData
({
this
.
setData
({
currentDate
:
event
.
detail
,
currentDate
:
event
.
detail
,
});
});
...
...
packageOutput/pages/monthReport/monthReport.wxml
View file @
d2568e2
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<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-num" style="transform:translate({{index==1?-20:0}}rpx,0rpx)">¥{{item.value}}</view>
<view class="bill-num"
wx:if="{{item.name}}"
style="transform:translate({{index==1?-20:0}}rpx,0rpx)">¥{{item.value}}</view>
<view class="bill-name" style="transform:translate({{index==1?-20:0}}rpx,0rpx)">{{item.name}}</view>
<view class="bill-name" style="transform:translate({{index==1?-20:0}}rpx,0rpx)">{{item.name}}</view>
</view>
</view>
<glsx-image webp custom-class="bill-bg" src="store-assistant-assemble/output/bill_{{item.sort}}.png"></glsx-image>
<glsx-image webp custom-class="bill-bg" src="store-assistant-assemble/output/bill_{{item.sort}}.png"></glsx-image>
...
...
packagesList/outDetail/components/menu/index.wxml
View file @
d2568e2
<van-popup custom-style="height: 100%;width:70%;" custom-class="popclass" bind:click-overlay="closeMenu" position="
lef
t" show="{{ show }}">
<van-popup custom-style="height: 100%;width:70%;" custom-class="popclass" bind:click-overlay="closeMenu" position="
righ
t" show="{{ show }}">
<view class="wrapper">
<view class="wrapper">
<view class="title">工作台</view>
<view class="title">工作台</view>
<block wx:for="{{menus}}" wx:key="index">
<block wx:for="{{menus}}" wx:key="index">
...
...
packagesList/outDetail/index.js
View file @
d2568e2
...
@@ -64,7 +64,7 @@ Component({
...
@@ -64,7 +64,7 @@ Component({
onLoad
(
options
)
{
onLoad
(
options
)
{
const
{
merchantId
,
merchantName
}
=
options
;
const
{
merchantId
,
merchantName
}
=
options
;
this
.
setData
({
merchantId
,
merchantName
})
this
.
setData
({
merchantId
:
44211227
,
merchantName
})
this
.
getSubscribeConfig
(
options
)
this
.
getSubscribeConfig
(
options
)
this
.
addEvent
()
this
.
addEvent
()
},
},
...
...
packagesList/outDetail/index.scss
View file @
d2568e2
...
@@ -7,14 +7,6 @@
...
@@ -7,14 +7,6 @@
font-size
:
34rpx
;
font-size
:
34rpx
;
font-weight
:
600
;
font-weight
:
600
;
}
}
.nav-func-icon
{
width
:
88rpx
;
height
:
88rpx
;
position
:
absolute
;
left
:
0rpx
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
.layout
{
.layout
{
...
@@ -47,12 +39,25 @@
...
@@ -47,12 +39,25 @@
padding
:
0
32rpx
;
padding
:
0
32rpx
;
.tab-scroll
{
.tab-scroll
{
height
:
100%
;
height
:
100%
;
width
:
600rpx
;
}
.nav-btn
{
width
:
88rpx
;
transform
:
translate
(
20rpx
,
8rpx
);
.nav-func-icon
{
width
:
88rpx
;
height
:
88rpx
;
}
}
}
.tab_element
{
.tab_element
{
display
:
inline-block
;
display
:
inline-block
;
width
:
50%
;
padding
:
0rpx
28rpx
;
position
:
relative
;
position
:
relative
;
line-height
:
96rpx
;
line-height
:
96rpx
;
margin-right
:
24rpx
;
&
:last-child
{
margin-right
:
0rpx
;
}
.inner
{
.inner
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
...
...
packagesList/outDetail/index.wxml
View file @
d2568e2
<wxs src="./index.wxs" module="fn"></wxs>
<wxs src="./index.wxs" module="fn"></wxs>
<view class="navigation-bar">
<view class="navigation-bar">
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady" page-title="工作台">
<navigation-bar
showBack="{{true}}"
navStyle="{{navStyle}}" bindnavbarReady="navbarReady" page-title="工作台">
<view class="bar-nav">
<view class="bar-nav">
<glsx-image class="nav-func-icon" bind:tap="showMenuList" webp src="store-assistant/menu/menu_logo.png"></glsx-image>
<view class="bar-text">工作台</view>
<view class="bar-text">工作台</view>
</view>
</view>
</navigation-bar>
</navigation-bar>
...
@@ -28,6 +27,10 @@
...
@@ -28,6 +27,10 @@
</view>
</view>
</block>
</block>
</scroll-view>
</scroll-view>
<view class="nav-btn">
<glsx-image class="nav-func-icon" bind:tap="showMenuList" webp src="store-assistant/menu/menu_logo.png"></glsx-image>
</view>
</view>
</view>
<!-- currentServiceType 0售后众筹 1续保膨胀金 2定保招揽 3私域运营 4精品礼券 5续保招揽 6节假日关怀 -->
<!-- currentServiceType 0售后众筹 1续保膨胀金 2定保招揽 3私域运营 4精品礼券 5续保招揽 6节假日关怀 -->
<view class="pannel" style="height:calc(100% - 30rpx)">
<view class="pannel" style="height:calc(100% - 30rpx)">
...
@@ -42,7 +45,5 @@
...
@@ -42,7 +45,5 @@
</view>
</view>
</view>
</view>
</block>
</block>
<!-- 安装信息 -->
<install-popup show="{{showPopup}}" data="{{installItem}}" bind:hidePopup="hidePopup"></install-popup>
<!-- 菜单信息 -->
<!-- 菜单信息 -->
<menu bind:currentMenu="getCurrentMenu" tabs="{{tab}}" totals="{{totals_zc}}" tabIndex="{{tabIndex}}" show="{{showMenu}}"></menu>
<menu bind:currentMenu="getCurrentMenu" tabs="{{tab}}" totals="{{totals_zc}}" tabIndex="{{tabIndex}}" show="{{showMenu}}"></menu>
\ No newline at end of file
\ No newline at end of file
pages/tab/mine/mine.wxml
View file @
d2568e2
<!-- pages/tab/output/output.wxml -->
<!-- pages/tab/output/output.wxml -->
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">我的</navigation-bar>
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">我的</navigation-bar>
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
<view class="userInfoCon">
<view class="userInfoCon"
bindtap="jumpLogout"
>
<glsx-image class="headPortrait" src="{{userInfo.userAvatarUrl||IMAGES.userAvatarUrl }}" webp>
<glsx-image class="headPortrait" src="{{userInfo.userAvatarUrl||IMAGES.userAvatarUrl }}" webp>
头像
头像
</glsx-image>
</glsx-image>
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<view class="name">{{userInfo.merchantName}}</view>
<view class="name">{{userInfo.merchantName}}</view>
<view class="id">{{userInfo.merchantId}}</view>
<view class="id">{{userInfo.merchantId}}</view>
</view>
</view>
<view class="logot"
bindtap="jumpLogout"
>
<view class="logot">
<glsx-image class="logot" webp src="store-assistant-assemble/login/arrow-left.png"></glsx-image>
<glsx-image class="logot" webp src="store-assistant-assemble/login/arrow-left.png"></glsx-image>
</view>
</view>
</view>
</view>
...
...
project.private.config.json
View file @
d2568e2
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
},
},
{
{
"name"
:
""
,
"name"
:
""
,
"pathName"
:
"pa
ckageOutput/pages/crowdDetail/crowdDetail
"
,
"pathName"
:
"pa
ges/tab/output/output
"
,
"query"
:
""
,
"query"
:
""
,
"launchMode"
:
"default"
,
"launchMode"
:
"default"
,
"scene"
:
null
"scene"
:
null
...
...
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