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 f1bf6d51
authored
Apr 24, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
374b76ad
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
567 additions
and
546 deletions
api/activityApi/ActivityApi.js
config.js
login/index/components/authSetting/authSetting.wxml
packagesList/outDetail/components/OutputWork/index.js
pages/tab/output/components/client/client.js
pages/tab/output/components/client/client.scss
api/activityApi/ActivityApi.js
View file @
f1bf6d5
...
...
@@ -240,6 +240,14 @@ class ActivityApi {
...
data
})
}
/**看产值-车损权益升级-产值总览当日 */
merchantsOutputToday
(
data
)
{
return
api
.
post
({
method
:
`scrm.api.boutiquecoupon.store.assistant.merchants.total.output.value.statistics.today`
,
...
data
})
}
/**看产值-车损权益升级-产值报表 */
merchantsOutputReport
(
data
)
{
return
api
.
post
({
...
...
config.js
View file @
f1bf6d5
...
...
@@ -4,7 +4,7 @@
*/
// 配置预发布的小程序aapId
export
const
preReleaseAppId
=
'
wxc50d04ae5aa9984a
'
export
const
preReleaseAppId
=
'
55555
'
// 小程序id
export
const
appId
=
'wxc50d04ae5aa9984a'
...
...
login/index/components/authSetting/authSetting.wxml
View file @
f1bf6d5
<view class='tips'>
<view class='choose-box' bindtap="choose">
<view class='icon'>
<image src="{{agree?'./images/ok.png':'./images/box.png'}}" class='check-img' />
<icon wx:if="{{agree}}" class="icon-small" type="success" size="14" color="#4466F0"></icon>
<icon wx:else class="icon-small" type="circle" size="14" color="#4466F0"></icon>
</view>
</view>
阅读并同意以下协议
...
...
packagesList/outDetail/components/OutputWork/index.js
View file @
f1bf6d5
import
ActivityApi
from
'~/api/activityApi/index'
let
thisPage
;
Component
({
/**
* 组件的属性列表
*/
properties
:
{
entranceType
:
{
type
:
Number
,
observer
:
function
(
val
)
{
console
.
log
(
val
,
'index'
)
this
.
initLocal
(
val
)
}
}
},
/**
* 组件的初始数据
*/
data
:
{
outputView
:
{
outputValue
:
[{
label
:
'总报价量'
,
name
:
'totalQuotationCount'
},
{
label
:
'总成交量'
,
name
:
'totalSuccessCount'
,
unit
:
''
},
{
label
:
'总产值'
,
name
:
'totalOutputValue'
,
_unit
:
'¥'
},
{
label
:
'当月报价量'
,
name
:
'monthQuotationCount'
,
_unit
:
'¥'
},
{
label
:
'当月成交量'
,
name
:
'monthSuccessCount'
,
unit
:
''
},
{
label
:
'当月产值'
,
name
:
'monthOutputValue'
,
_unit
:
'¥'
},
{
label
:
'单价'
,
name
:
'avgPrice'
,
_unit
:
'¥'
},
{
label
:
'升级率'
,
name
:
'conversionRate'
,
unit_
:
'%'
,
multiple
:
100
,
},
{
label
:
'平均车险报价'
,
name
:
'avgQuotationPrice'
,
_unit
:
'¥'
}],
boutiqueOutputValue
:
[{
label
:
'发券量(总)/张'
,
name
:
'sendCouponCountTotal'
,
unit
:
''
},
{
label
:
'升级订单/单'
,
name
:
'upgradeCountTotal'
,
unit
:
''
},
{
label
:
'营业额(总)/元'
,
name
:
'orderMoneyTotal'
,
_unit
:
'¥'
},
{
label
:
'客单价/元'
,
name
:
'averagePrice'
,
_unit
:
'¥'
},
{
label
:
'转化率'
,
name
:
'upgradeRatio'
,
unit_
:
'%'
}],
todayOutiqueOutputValue
:
[{
label
:
'发券量/张'
,
name
:
'sendCouponCountToday'
,
unit
:
''
},
{
label
:
'升级订单/单'
,
name
:
'upgradeCountToday'
,
unit
:
''
},
{
label
:
'营业额(总)/元'
,
name
:
'orderMoneyTotalToday'
,
unit
:
''
}],
todayOutputValue
:
[{
label
:
'发券量/张'
,
name
:
'avgQuotationPrice'
,
unit
:
''
},
{
label
:
'升级订单/单'
,
name
:
'avgQuotationPrice'
,
unit
:
''
},
{
label
:
'营业额(总)/元'
,
name
:
'avgQuotationPrice'
,
unit
:
''
}],
},
listData
:
[],
activeTrigger
:
false
,
activePageNum
:
1
,
activeTotal
:
0
,
pageNum
:
1
,
total
:
0
,
pageSize
:
10
,
noResult
:
false
,
isShow
:
false
,
opts
:
{
keys
:
[
'abscissaValue'
,
'ordinateValue'
],
color
:
'#69C9FF'
,
lineColr
:
'#6ED0BE'
,
tickCount
:
8
,
lineList
:
[],
barList
:
[],
chartData
:
[],
lineData
:
[]
},
},
/**
* 组件的方法列表
*/
methods
:
{
// 初始化
initLocal
(
val
)
{
this
.
setData
({
type
:
val
,
listData
:
[],
activeTrigger
:
false
,
activePageNum
:
1
,
activeTotal
:
0
,
pageNum
:
1
,
total
:
0
,
pageSize
:
10
,
noResult
:
false
},
()
=>
{
thisPage
=
wx
.
$router
.
getPageInstance
()
this
.
getActivityInfo
()
})
},
getActivityInfo
()
{
this
.
initSearch
()
this
.
getOutput
()
this
.
getStaffOutput
()
this
.
getHistogram
()
this
.
getTrend
()
/**
* 组件的属性列表
*/
properties
:
{
entranceType
:
{
type
:
Number
,
observer
:
function
(
val
)
{
console
.
log
(
val
,
'index'
)
this
.
initLocal
(
val
)
}
}
},
initSearch
()
{
let
{
type
,
opts
}
=
this
.
data
const
obj
=
{
1
:
{
lineList
:
[{
title
:
'营业额'
,
type
:
1
/**
* 组件的初始数据
*/
data
:
{
outputView
:
{
outputValue
:
[{
label
:
'总报价量'
,
name
:
'totalQuotationCount'
},
{
label
:
'总成交量'
,
name
:
'totalSuccessCount'
,
unit
:
''
},
{
label
:
'总产值'
,
name
:
'totalOutputValue'
,
_unit
:
'¥'
},
{
label
:
'当月报价量'
,
name
:
'monthQuotationCount'
,
_unit
:
'¥'
},
{
label
:
'当月成交量'
,
name
:
'monthSuccessCount'
,
unit
:
''
},
{
label
:
'当月产值'
,
name
:
'monthOutputValue'
,
_unit
:
'¥'
},
{
label
:
'单价'
,
name
:
'avgPrice'
,
_unit
:
'¥'
},
{
title
:
'到店量'
,
type
:
2
label
:
'升级率'
,
name
:
'conversionRate'
,
unit_
:
'%'
,
multiple
:
100
,
},
{
label
:
'平均车险报价'
,
name
:
'avgQuotationPrice'
,
_unit
:
'¥'
}],
barList
:
[{
title
:
'发券量'
,
type
:
3
boutiqueOutputValue
:
[{
label
:
'发券量(总)/张'
,
name
:
'sendCouponCountTotal'
,
unit
:
''
},
{
label
:
'升级订单/单'
,
name
:
'upgradeCountTotal'
,
unit
:
''
},
{
label
:
'营业额(总)/元'
,
name
:
'orderMoneyTotal'
,
_unit
:
'¥'
},
{
title
:
'营业额'
,
type
:
1
}]
},
2
:
{
lineList
:
[{
title
:
'报价量'
,
type
:
1
label
:
'客单价/元'
,
name
:
'averagePrice'
,
_unit
:
'¥'
},
{
label
:
'转化率'
,
name
:
'upgradeRatio'
,
unit_
:
'%'
}],
todayOutiqueOutputValue
:
[{
label
:
'发券量/张'
,
name
:
'sendCouponCountToday'
,
unit
:
''
},
{
title
:
'成交量'
,
type
:
2
label
:
'升级订单/单'
,
name
:
'upgradeCountToday'
,
unit
:
''
},
{
title
:
'产值'
,
type
:
3
label
:
'营业额(总)/元'
,
name
:
'orderMoneyTotalToday'
,
unit
:
''
}],
barList
:
[{
title
:
'报价量'
,
type
:
1
todayOutputValue
:
[{
label
:
'报价量'
,
name
:
'quotationCount'
,
unit
:
''
},
{
title
:
'成交量'
,
type
:
2
label
:
'成交量'
,
name
:
'successCount'
,
unit
:
''
},
{
title
:
'产值'
,
type
:
3
}]
}
label
:
'产值'
,
name
:
'outputValue'
,
unit
:
''
}],
},
lineList
=
obj
[
type
].
lineList
,
barList
=
obj
[
type
].
barList
const
barObj
=
this
.
selectComponent
(
'#bar'
)
const
lineObj
=
this
.
selectComponent
(
'#line'
)
this
.
setData
({
listData
:
[],
activeTrigger
:
false
,
activePageNum
:
1
,
activeTotal
:
0
,
pageNum
:
1
,
total
:
0
,
pageSize
:
10
,
noResult
:
false
,
isShow
:
false
,
opts
:
{
...
opts
,
lineList
,
barList
}
})
lineObj
.
setData
({
startTime
:
''
,
endTime
:
''
,
dataType
:
1
,
timePeriod
:
1
})
barObj
.
setData
({
dataType
:
type
==
1
?
3
:
1
})
},
// 看产值-产值总览
getOutput
()
{
const
{
type
}
=
this
.
data
let
apiName
=
'boutiquecouponOutputValue'
let
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
}
if
([
2
].
includes
(
type
))
{
apiName
=
'merchantsOutput'
params
=
{
merchantIds
:
[
thisPage
.
data
.
merchantId
]
}
}
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
this
.
setData
({
outputData
:
res
})
})
},
selectEvent
()
{
this
.
getTrend
()
},
selectBarEvent
()
{
this
.
getHistogram
()
},
selectTime
()
{
this
.
setData
({
isShow
:
true
})
},
onClose
()
{
this
.
setData
({
isShow
:
false
});
},
onConfirm
(
event
)
{
const
[
start
,
end
]
=
event
.
detail
;
const
lineObj
=
this
.
selectComponent
(
'#line'
)
this
.
setData
({
isShow
:
false
});
lineObj
.
setData
({
startTime
:
this
.
formatDate
(
start
),
endTime
:
this
.
formatDate
(
end
),
timePeriod
:
''
})
this
.
getTrend
()
},
formatDate
(
date
)
{
date
=
new
Date
(
date
);
return
`
${
date
.
getFullYear
()}
-
${
date
.
getMonth
()
+
1
}
-
${
date
.
getDate
()}
`
;
},
/**柱状图 */
getHistogram
()
{
const
barObj
=
this
.
selectComponent
(
'#bar'
)
let
{
dataType
}
=
barObj
.
data
const
methods
=
{
1
:
'boutiquecouponQueryCouponCountAndOrderMoney'
,
2
:
'merchantsHistogram'
}
const
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
,
dataType
//数据类型:1报价量/ 2成交量 /3产值
// timePeriod: 1, //时间类型 1本周 / 2本月 /3全年
// startTime: '',
// endTime: ''
}
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
this
.
setData
({
'opts.chartData'
:
res
})
})
},
/**折线图 */
getTrend
()
{
const
lineObj
=
this
.
selectComponent
(
'#line'
)
let
{
dataType
,
timePeriod
,
startTime
,
endTime
}
=
lineObj
.
data
const
methods
=
{
1
:
'boutiquecouponQueryOrderMoneyTotalAndToShopCount'
,
2
:
'merchantsTrend'
}
const
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
,
dataType
,
//数据类型:1报价量/ 2成交量 /3产值
dateDimension
:
timePeriod
,
//时间类型 1本周 / 2本月 /3全年
startDate
:
startTime
,
endDate
:
endTime
}
this
.
data
.
type
==
1
?
params
.
dateDimension
=
timePeriod
:
params
.
timePeriod
=
timePeriod
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
this
.
setData
({
'opts.lineData'
:
res
})
})
},
getOutputReport
()
{
ActivityApi
.
merchantsOutputReport
keys
:
[
'abscissaValue'
,
'ordinateValue'
],
color
:
'#69C9FF'
,
lineColr
:
'#6ED0BE'
,
tickCount
:
8
,
lineList
:
[],
barList
:
[],
chartData
:
[],
lineData
:
[]
},
},
/**员工排行 */
getStaffOutput
()
{
const
{
type
}
=
this
.
data
let
apiName
,
params
,
tabelTh
;
const
dataT
=
{
1
:
()
=>
{
apiName
=
'boutiquecouponQueryEmployeeRankList'
,
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
/**
* 组件的方法列表
*/
methods
:
{
// 初始化
initLocal
(
val
)
{
this
.
setData
({
type
:
val
,
activeTrigger
:
false
,
noResult
:
false
,
outputData
:
{},
sfaffList
:
[],
tabelTh
:
[]
},
()
=>
{
thisPage
=
wx
.
$router
.
getPageInstance
()
this
.
getActivityInfo
()
})
},
getActivityInfo
()
{
this
.
initSearch
()
this
.
getOutput
()
this
.
getStaffOutput
()
this
.
merchantsOutputToday
()
this
.
getHistogram
()
this
.
getTrend
()
},
initSearch
()
{
let
{
type
,
opts
}
=
this
.
data
const
obj
=
{
1
:
{
lineList
:
[{
title
:
'营业额'
,
type
:
1
},
{
title
:
'到店量'
,
type
:
2
}],
barList
:
[{
title
:
'发券量'
,
type
:
3
},
{
title
:
'营业额'
,
type
:
1
}]
},
2
:
{
lineList
:
[{
title
:
'报价量'
,
type
:
1
},
{
title
:
'成交量'
,
type
:
2
},
{
title
:
'产值'
,
type
:
3
}],
barList
:
[{
title
:
'报价量'
,
type
:
1
},
{
title
:
'成交量'
,
type
:
2
},
{
title
:
'产值'
,
type
:
3
}]
}
},
tabelTh
=
{
employeeName
:
'员工姓名'
,
orderMoneyTotal
:
'产值(营业额)'
,
upgradeCountTotal
:
'单量'
,
averagePrice
:
'客单价'
,
upgradeRatio
:
'转化率'
lineList
=
obj
[
type
].
lineList
,
barList
=
obj
[
type
].
barList
const
barObj
=
this
.
selectComponent
(
'#bar'
)
const
lineObj
=
this
.
selectComponent
(
'#line'
)
this
.
setData
({
opts
:
{
...
opts
,
lineList
,
barList
}
})
lineObj
.
setData
({
startTime
:
''
,
endTime
:
''
,
dataType
:
1
,
timePeriod
:
1
})
barObj
.
setData
({
dataType
:
type
==
1
?
3
:
1
})
},
// 看产值-产值总览
getOutput
()
{
const
{
type
,
}
=
this
.
data
let
apiName
=
'boutiquecouponOutputValue'
let
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
}
if
([
2
].
includes
(
type
))
{
apiName
=
'merchantsOutput'
params
=
{
merchantIds
:
[
thisPage
.
data
.
merchantId
]
}
}
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
this
.
setData
({
outputData
:
{
...
this
.
data
.
outputData
,
...
res
}
})
console
.
log
(
this
.
data
.
outputData
)
})
},
merchantsOutputToday
()
{
const
{
type
,
}
=
this
.
data
if
(
type
!=
2
)
return
ActivityApi
.
merchantsOutputToday
({
merchantIds
:
[
thisPage
.
data
.
merchantId
]
}).
then
(
res
=>
{
this
.
setData
({
outputData
:
{
...
this
.
data
.
outputData
,
...
res
}
})
})
},
selectEvent
()
{
this
.
getTrend
()
},
selectBarEvent
()
{
this
.
getHistogram
()
},
selectTime
()
{
this
.
setData
({
isShow
:
true
})
},
onClose
()
{
this
.
setData
({
isShow
:
false
});
},
2
:
()
=>
{
apiName
=
'merchantsStaffOutput'
,
params
=
{
merchantIds
:
[
thisPage
.
data
.
merchantId
]
onConfirm
(
event
)
{
const
[
start
,
end
]
=
event
.
detail
;
const
lineObj
=
this
.
selectComponent
(
'#line'
)
this
.
setData
({
isShow
:
false
});
lineObj
.
setData
({
startTime
:
this
.
formatDate
(
start
),
endTime
:
this
.
formatDate
(
end
),
timePeriod
:
''
})
this
.
getTrend
()
},
formatDate
(
date
)
{
date
=
new
Date
(
date
);
return
`
${
date
.
getFullYear
()}
-
${
date
.
getMonth
()
+
1
}
-
${
date
.
getDate
()}
`
;
},
/**柱状图 */
getHistogram
()
{
const
barObj
=
this
.
selectComponent
(
'#bar'
)
let
{
dataType
}
=
barObj
.
data
const
methods
=
{
1
:
'boutiquecouponQueryCouponCountAndOrderMoney'
,
2
:
'merchantsHistogram'
}
tabelTh
=
{
transferName
:
"员工姓名"
,
outputValue
:
"产值"
,
successCount
:
"成交量"
,
quotationCount
:
"报价量"
,
conversionRate
:
"转化率"
,
}
}
}
dataT
[
type
]()
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
const
sfaffList
=
res
.
list
||
res
||
[]
this
.
setData
({
sfaffList
,
tabelTh
})
})
},
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
]]
const
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
,
dataType
//数据类型:1报价量/ 2成交量 /3产值
// timePeriod: 1, //时间类型 1本周 / 2本月 /3全年
// startTime: '',
// endTime: ''
}
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
this
.
setData
({
'opts.chartData'
:
res
})
})
},
/**折线图 */
getTrend
()
{
const
lineObj
=
this
.
selectComponent
(
'#line'
)
let
{
dataType
,
timePeriod
,
startTime
,
endTime
}
=
lineObj
.
data
const
methods
=
{
1
:
'boutiquecouponQueryOrderMoneyTotalAndToShopCount'
,
2
:
'merchantsTrend'
}
const
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
,
dataType
,
//数据类型:1报价量/ 2成交量 /3产值
dateDimension
:
timePeriod
,
//时间类型 1本周 / 2本月 /3全年
startDate
:
startTime
,
endDate
:
endTime
}
this
.
data
.
type
==
1
?
params
.
dateDimension
=
timePeriod
:
params
.
timePeriod
=
timePeriod
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
this
.
setData
({
'opts.lineData'
:
res
})
})
},
getOutputReport
()
{
ActivityApi
.
merchantsOutputReport
},
/**员工排行 */
getStaffOutput
()
{
const
{
type
}
=
this
.
data
let
apiName
,
params
,
tabelTh
;
const
dataT
=
{
1
:
()
=>
{
apiName
=
'boutiquecouponQueryEmployeeRankList'
,
params
=
{
merchantId
:
thisPage
.
data
.
merchantId
},
tabelTh
=
{
employeeName
:
'员工姓名'
,
orderMoneyTotal
:
'产值(营业额)'
,
upgradeCountTotal
:
'单量'
,
averagePrice
:
'客单价'
,
upgradeRatio
:
'转化率'
}
},
2
:
()
=>
{
apiName
=
'merchantsStaffOutput'
,
params
=
{
merchantIds
:
[
thisPage
.
data
.
merchantId
]
}
tabelTh
=
{
transferName
:
"员工姓名"
,
outputValue
:
"产值"
,
successCount
:
"成交量"
,
quotationCount
:
"报价量"
,
conversionRate
:
"转化率"
,
}
}
}
dataT
[
type
]()
ActivityApi
[
apiName
](
params
).
then
(
res
=>
{
const
sfaffList
=
res
.
list
||
res
||
[]
this
.
setData
({
sfaffList
,
tabelTh
})
})
},
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
)
},
// 下拉刷新
activityRefresh
(
e
)
{
this
.
getActivityInfo
()
},
jumpReport
(
e
)
{
const
{
time
}
=
e
.
target
.
dataset
const
{
entranceType
}
=
this
.
data
wx
.
navigateTo
({
url
:
`/packagesList/packageOutput/pages/monthReport/monthReport?time=
${
time
}
&type=
${
entranceType
}
&merchantId=
${
thisPage
.
data
.
merchantId
}
&merchantName=
${
thisPage
.
data
.
merchantName
}
`
,
})
}
}
return
fn
(
res
)
},
// 下拉刷新
activityRefresh
(
e
)
{
this
.
getActivityInfo
()
},
jumpReport
(
e
)
{
const
{
time
}
=
e
.
target
.
dataset
const
{
entranceType
}
=
this
.
data
wx
.
navigateTo
({
url
:
`/packagesList/packageOutput/pages/monthReport/monthReport?time=
${
time
}
&type=
${
entranceType
}
&merchantId=
${
thisPage
.
data
.
merchantId
}
&merchantName=
${
thisPage
.
data
.
merchantName
}
`
,
})
}
},
// lifetimes: {
// attached() {
// if(this.control)return
// this.control = true
// this.initLocal(this.data.entranceType)
// }
// },
// lifetimes: {
// attached() {
// if(this.control)return
// this.control = true
// this.initLocal(this.data.entranceType)
// }
// },
})
\ No newline at end of file
pages/tab/output/components/client/client.js
View file @
f1bf6d5
...
...
@@ -129,7 +129,7 @@ Component({
let
{
userInfo
}
=
wx
.
$storage
.
get
()
let
params
=
{
...
sortSearchData
,
merchantIds
:
[
userInfo
.
subLoginUser
.
merchantId
]
,
merchantIds
:
userInfo
.
subLoginUser
.
permissionMerchantIds
,
}
outputApi
.
getBusiStatistics
(
params
).
then
(
res
=>
{
this
.
resetBusiData
()
...
...
pages/tab/output/components/client/client.scss
View file @
f1bf6d5
/* pages/tab/output/components/client/client.wxss */
.client
{
box-sizing
:
border-box
;
height
:
calc
(
100%
-
92rpx
);
color
:
#323436
;
box-sizing
:
border-box
;
height
:
calc
(
100%
-
92rpx
);
color
:
#323436
;
}
.client-box
{
margin
:
0
16rpx
;
.input-box
{
width
:
686rpx
;
height
:
64rpx
;
background
:
#ffffff
7d
;
border
:
2rpx
solid
#EEEEEE
;
border-radius
:
12rpx
;
margin
:
24rpx
auto
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-sizing
:
border-box
;
padding
:
0rpx
24rpx
0rpx
40rpx
;
input
{
margin
:
0
16rpx
;
.input-box
{
width
:
686rpx
;
height
:
64rpx
;
line-height
:
64rpx
;
}
}
background
:
#ffffff
7d
;
border
:
2rpx
solid
#EEEEEE
;
border-radius
:
12rpx
;
margin
:
24rpx
auto
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-sizing
:
border-box
;
padding
:
0rpx
24rpx
0rpx
40rpx
;
input
{
flex
:
1
;
height
:
64rpx
;
line-height
:
64rpx
;
}
}
}
.shadow
{
box-shadow
:
0
2rpx
20rpx
0
#b4bacc
52
;
// box-shadow: 0 2rpx 20rpx 0 red;
box-shadow
:
0
2rpx
20rpx
0
#b4bacc
52
;
// box-shadow: 0 2rpx 20rpx 0 red;
}
.output-box
{
margin
:
16rpx
0
;
margin
:
16rpx
0
;
}
.flex
{
display
:
flex
;
display
:
flex
;
}
.flex-between
{
display
:
flex
;
justify-content
:
space-between
;
display
:
flex
;
justify-content
:
space-between
;
}
.profit-box
{
box-sizing
:
border-box
;
position
:
relative
;
width
:
100%
;
height
:
96rpx
;
line-height
:
96rpx
;
color
:
#8A8C90
;
padding
:
0
20rpx
0
32rpx
;
margin-bottom
:
16rpx
;
margin-top
:
16rpx
;
background-size
:
100%
96rpx
;
.price-txt
{
// font-family: 'test';
font-size
:
40rpx
;
margin-left
:
16rpx
;
// font-weight: Bold;
// font-family: 'number';
// font-size: 26rpx;
}
box-sizing
:
border-box
;
position
:
relative
;
width
:
100%
;
height
:
96rpx
;
line-height
:
96rpx
;
color
:
#8A8C90
;
padding
:
0
20rpx
0
32rpx
;
margin-bottom
:
16rpx
;
margin-top
:
16rpx
;
background-size
:
100%
96rpx
;
.price-txt
{
// font-family: 'test';
font-size
:
40rpx
;
margin-left
:
16rpx
;
// font-weight: Bold;
// font-family: 'number';
// font-size: 26rpx;
}
}
.sort-fix
{
box-sizing
:
border-box
;
position
:
absolute
;
top
:
0
;
left
:
16rpx
;
box-sizing
:
border-box
;
position
:
absolute
;
top
:
0
;
left
:
16rpx
;
}
.price-txt
{
// font-family: 'test';
font-weight
:
Bold
;
// font-weight: 600;
font-size
:
26rpx
;
color
:
#F35251
;
// font-family: 'test';
font-weight
:
Bold
;
// font-weight: 600;
font-size
:
26rpx
;
color
:
#F35251
;
}
.box
{
box-sizing
:
border-box
;
width
:
100%
;
background
:
#FFFFFF
;
border-radius
:
8rpx
;
padding
:
28rpx
0
32rpx
;
margin-bottom
:
16rpx
;
.head
{
position
:
relative
;
// height: 40rpx;
line-height
:
40rpx
;
font-size
:
28rpx
;
color
:
#323436
;
padding-right
:
20rpx
;
&
:
:
before
{
position
:
absolute
;
left
:
0
;
top
:
4rpx
;
content
:
''
;
width
:
6rpx
;
height
:
32rpx
;
background
:
#3666FE
;
border-radius
:
0
4rpx
4rpx
0
;
}
box-sizing
:
border-box
;
width
:
100%
;
background
:
#FFFFFF
;
border-radius
:
8rpx
;
padding
:
28rpx
0
32rpx
;
margin-bottom
:
16rpx
;
.head
{
position
:
relative
;
// height: 40rpx;
line-height
:
40rpx
;
font-size
:
28rpx
;
color
:
#323436
;
padding-right
:
20rpx
;
&
:
:
before
{
position
:
absolute
;
left
:
0
;
top
:
4rpx
;
content
:
''
;
width
:
6rpx
;
height
:
32rpx
;
background
:
#3666FE
;
border-radius
:
0
4rpx
4rpx
0
;
}
.name
{
width
:
70%
;
margin-left
:
32rpx
;
font-weight
:
bold
;
}
.name
{
width
:
70%
;
margin-left
:
32rpx
;
font-weight
:
bold
;
}
.price-txt
{
font-size
:
26rpx
;
.price-txt
{
font-size
:
26rpx
;
}
}
}
&
-content
{
padding
:
22rpx
10rpx
0
;
}
&
-bottom
{
margin-top
:
20rpx
;
padding
:
0
22rpx
;
.tip-blue
{
width
:
56rpx
;
height
:
28rpx
;
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#3E71FE
;
padding
:
4rpx
8rpx
;
text-align
:
center
;
background
:
rgba
(
62
,
113
,
254
,
0
.12
);
border-radius
:
4rpx
;
&
-content
{
padding
:
22rpx
10rpx
0
;
}
.bottom-content
{
width
:
calc
(
100%
-
56rpx
);
margin-left
:
16rpx
;
&
-bottom
{
margin-top
:
20rpx
;
padding
:
0
22rpx
;
.tip-blue
{
width
:
56rpx
;
height
:
28rpx
;
font-weight
:
400
;
font-size
:
20rpx
;
color
:
#3E71FE
;
padding
:
4rpx
8rpx
;
text-align
:
center
;
background
:
rgba
(
62
,
113
,
254
,
0
.12
);
border-radius
:
4rpx
;
}
.tip-row
{
font-size
:
20rpx
;
color
:
#323436
;
line-height
:
32rpx
;
.bottom-content
{
width
:
calc
(
100%
-
56rpx
);
margin-left
:
16rpx
;
.tip-link
{
color
:
#3E71FE
;
}
.tip-row
{
font-size
:
20rpx
;
color
:
#323436
;
line-height
:
32rpx
;
.tip-link
{
color
:
#3E71FE
;
}
.time
{
color
:
#8A8C90
;
;
.time
{
color
:
#8A8C90
;
;
}
}
}
}
}
}
}
.box.share
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
.box-share
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-sizing
:
border-box
;
width
:
100%
;
padding
:
12rpx
20rpx
;
background
:
#FFF9F2
;
border-radius
:
0
0
8rpx
8rpx
;
margin-bottom
:
16rpx
;
.btn-share
{
width
:
112rpx
;
height
:
56rpx
;
line-height
:
56rpx
;
background
:
#3666FE
;
border-radius
:
28rpx
;
font-size
:
24rpx
;
color
:
#FFFFFF
;
text-align
:
center
;
margin-left
:
20rpx
;
}
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-sizing
:
border-box
;
width
:
100%
;
padding
:
12rpx
20rpx
;
background
:
#FFF9F2
;
border-radius
:
0
0
8rpx
8rpx
;
margin-bottom
:
16rpx
;
.btn-share
{
width
:
112rpx
;
height
:
56rpx
;
line-height
:
56rpx
;
background
:
#3666FE
;
border-radius
:
28rpx
;
font-size
:
24rpx
;
color
:
#FFFFFF
;
text-align
:
center
;
margin-left
:
20rpx
;
}
}
.end-txt
{
font-size
:
24rpx
;
text-align
:
center
;
color
:
#CCCED1
;
padding-bottom
:
60rpx
;
font-size
:
24rpx
;
text-align
:
center
;
color
:
#CCCED1
;
padding-bottom
:
60rpx
;
}
@font-face
{
/* 是你封装的名字 */
font-family
:
"test"
;
/* 你字体包的位置 */
/* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */
src
:
url('Gotham-Black.otf')
;
/* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */
/* format('opentype'); */
/* 是你封装的名字 */
font-family
:
"test"
;
/* 你字体包的位置 */
/* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */
src
:
url('Gotham-Black.otf')
;
/* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */
/* format('opentype'); */
}
.test
{
font-family
:
'test'
;
font-family
:
'test'
;
}
\ 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