Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 53795f48
authored
Jul 11, 2024
by
wangzhihui12
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工接待:质检、攻防需求开发
1 parent
e69cb42f
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
956 additions
and
5 deletions
app.json
config.js
packageEquity/carEquityApi.js
packageEquity/pages/receptionDetail/components/attack/index.js
packageEquity/pages/receptionDetail/components/attack/index.json
packageEquity/pages/receptionDetail/components/attack/index.sass
packageEquity/pages/receptionDetail/components/attack/index.wxml
packageEquity/pages/receptionDetail/components/quality/index.js
packageEquity/pages/receptionDetail/components/quality/index.json
packageEquity/pages/receptionDetail/components/quality/index.sass
packageEquity/pages/receptionDetail/components/quality/index.wxml
packageEquity/pages/receptionDetail/receptionDetail.js
packageEquity/pages/receptionDetail/receptionDetail.json
packageEquity/pages/receptionDetail/receptionDetail.sass
packageEquity/pages/receptionDetail/receptionDetail.wxml
app.json
View file @
53795f4
...
@@ -144,7 +144,8 @@
...
@@ -144,7 +144,8 @@
"pages/aiCheck/start/start"
,
"pages/aiCheck/start/start"
,
"pages/orderList/orderList"
,
"pages/orderList/orderList"
,
"pages/equityQualityOrderList/equityQualityOrderList"
,
"pages/equityQualityOrderList/equityQualityOrderList"
,
"pages/createDeafeatOrderBefore/createDeafeatOrderBefore"
"pages/createDeafeatOrderBefore/createDeafeatOrderBefore"
,
"pages/receptionDetail/receptionDetail"
]
]
},
},
{
{
...
@@ -211,11 +212,15 @@
...
@@ -211,11 +212,15 @@
"preloadRule"
:
{
"preloadRule"
:
{
"pages/tabWorkOrder/pages/index/index"
:
{
"pages/tabWorkOrder/pages/index/index"
:
{
"network"
:
"all"
,
"network"
:
"all"
,
"packages"
:
[
"tabWorkOrder"
]
"packages"
:
[
"tabWorkOrder"
]
},
},
"tabIndex/pages/index/index"
:
{
"tabIndex/pages/index/index"
:
{
"network"
:
"all"
,
"network"
:
"all"
,
"packages"
:
[
"tabWorkOrder"
]
"packages"
:
[
"tabWorkOrder"
]
}
}
},
},
"resolveAlias"
:
{
"resolveAlias"
:
{
...
@@ -229,4 +234,4 @@
...
@@ -229,4 +234,4 @@
},
},
"lazyCodeLoading"
:
"requiredComponents"
,
"lazyCodeLoading"
:
"requiredComponents"
,
"resizable"
:
true
"resizable"
:
true
}
}
\ No newline at end of file
\ No newline at end of file
config.js
View file @
53795f4
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
2
;
let
index
=
1
;
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
...
...
packageEquity/carEquityApi.js
View file @
53795f4
...
@@ -250,5 +250,19 @@ selectrecmerchantList(data) {
...
@@ -250,5 +250,19 @@ selectrecmerchantList(data) {
...
params
...
params
})
})
},
},
/**查询质检结果 */
getReceptionResultData
(
data
){
let
params
=
data
||
{}
return
api
.
post
(
'dj.api.smartcarlife.recepiton.findConversationCheckDetailByBatchId'
,
{
...
params
})
},
/**攻防明细*/
getDefenceDetail
(
data
){
let
params
=
data
||
{}
return
api
.
post
(
'dj.api.smartcarlife.app.inspection.defence.detail'
,
{
...
params
})
}
};
};
packageEquity/pages/receptionDetail/components/attack/index.js
0 → 100644
View file @
53795f4
// packageEquity/pages/receptionDetail/components/quality/index.js
import
api
from
"../../../../carEquityApi"
;
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component
({
/**
* 组件的属性列表
*/
properties
:
{
batchId
:
Number
},
lifetimes
:
{
ready
()
{
this
.
getReceptionResult
()
}
},
/**
* 组件的初始数据
*/
data
:
{
IMG_URL
,
activeIndex
:
0
,
},
/**
* 组件的方法列表
*/
methods
:
{
changeAttackType
(
e
)
{
let
{
index
}
=
e
.
currentTarget
.
dataset
this
.
setData
({
activeIndex
:
index
})
},
getReceptionResult
()
{
let
{
list
}
=
this
.
data
;
let
params
=
{
batchId
:
17
}
api
.
getDefenceDetail
(
params
).
then
(
res
=>
{
res
.
data
.
detailList
.
forEach
(
item
=>
{
item
.
highlight
=
item
.
highlight
&&
JSON
.
parse
(
item
.
highlight
)
item
.
highlight
.
forEach
((
high
)
=>
{
if
(
item
.
suggestionsForImprovement
){
item
.
suggestionsForImprovement
=
item
.
suggestionsForImprovement
.
replace
(
high
,
function
(
match
)
{
return
'<span style="color: #347BFF;font-weight: 500">'
+
match
+
"</span>"
})
}
if
(
item
.
refineTheExpression
){
item
.
refineTheExpression
=
item
.
refineTheExpression
.
replace
(
high
,
function
(
match
)
{
return
'<span style="color: #347BFF; font-weight: 500;">'
+
match
+
"</span>"
})
}
})
})
this
.
setData
({
list
:
res
.
data
})
console
.
log
(
this
.
data
.
list
)
})
},
lookMore
(){
},
practiceHandle
(){
}
}
})
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/attack/index.json
0 → 100644
View file @
53795f4
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/attack/index.sass
0 → 100644
View file @
53795f4
/* packageEquity/pages/receptionDetail/components/attack/index.wxss */
.attack-bout
{
display
:
flex
;
align-items
:
center
;
width
:
100%
;
height
:
var
(
--
fontSize112
)
;
background
:
#EDF4FF
;
border-radius
:
var
(
--
fontSize16
)
var
(
--
fontSize16
)
0
0
;
.attack-list
{
max-width
:
33%
;
height
:
var
(
--
fontSize112
)
;
padding
:
var
(
--
fontSize16
)
0
;
box-sizing
:
border-box
;
flex
:
1
;
text-align
:
center
;
border-radius
:
0
0
0
var
(
--
fontSize16
)
;
background
:
#EDF4FF
;
.title
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#757980
;
letter-spacing
:
0
;
line-height
:
var
(
--
fontSize40
)
;
}
.score
{
font-weight
:
600
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#347BFF
;
line-height
:
var
(
--
fontSize40
)
;
text
{
font-size
:
var
(
--
fontSize20
)
;
font-weight
:
500
;
}
}
}
.active
{
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize16
)
var
(
--
fontSize16
)
0
0
;
.title
{
color
:
#292D33
;
font-weight
:
500
;
}
}
}
.attack-content
{
width
:
100%
;
overflow
:
scroll
;
height
:
calc
(
100vh
-
var
(
--
fontSize660
))
;
background-color
:
#fff
;
.content
{
width
:
100%
;
height
:
auto
;
display
:
flex
;
align-items
:
center
;
padding
:
var
(
--
fontSize24
)
var
(
--
fontSize74
)
var
(
--
fontSize24
)
var
(
--
fontSize16
)
;
box-sizing
:
border-box
;
margin-bottom
:
var
(
--
fontSize12
)
;
}
.text
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#292D33
;
margin-left
:
var
(
--
fontSize16
)
;
}
.left
{
position
:
relative
;
.avatar
{
width
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
border-radius
:
50%
;
}
.duration
{
position
:
absolute
;
top
:
var
(
--
fontSiz60
)
;
left
:
50%
;
transform
:
translateX
(
-50%
)
;
padding
:
0
var
(
--
fontSize9
)
;
height
:
var
(
--
fontSize28
)
;
background
:
#FFFFFF
;
border
:
var
(
--
fontSize2
)
solid
#F0F6FF
;
border-radius
:
var
(
--
fontSize28
)
;
font-size
:
var
(
--
fontSize20
)
;
color
:
#999EA8
;
}
}
.hit
{
background
:
#F0F6FF
;
margin-bottom
:
0
!
important
;
}
}
.verbal-wrap
{
padding
:
var
(
--
fontSize24
)
;
background
:
#F5F5F5
;
.verbal-wrap-content
{
padding
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize16
)
;
.title
{
display
:
flex
;
align-items
:
center
;
font-weight
:
500
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#333333
;
margin-bottom
:
var
(
--
fontSize20
)
;
.improve
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
margin-right
:
var
(
--
fontSize12
)
;
}
}
.suggest-content
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize26
)
;
color
:
#292D33
;
line-height
:
var
(
--
fontSize44
)
;
}
}
.line
{
width
:
100%
;
height
:
var
(
--
fontSize2
)
;
background
:
#F0F6FF
;
margin
:
var
(
--
fontSize22
)
0
;
}
}
.footer
{
padding
:
var
(
--
fontSize24
)
0
;
}
.more
{
width
:
var
(
--
fontSize296
)
;
height
:
var
(
--
fontSize56
)
;
border
:
var
(
--
fontSize1
)
solid
#C3C3C3
;
border-radius
:
26rpx
;
text-align
:
center
;
line-height
:
var
(
--
fontSize56
)
;
margin
:
0
auto
;
color
:
#757980
;
font-size
:
var
(
--
fontSize24
)
;
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/attack/index.wxml
0 → 100644
View file @
53795f4
<!--packageEquity/pages/receptionDetail/components/attack/index.wxml-->
<view class="attack-wrap">
<view class="attack-bout">
<view class="attack-list {{activeIndex==index?'active':''}}" wx:for="{{list.detailList}}" data-index="{{index}}" bind:tap="changeAttackType">
<view class="title">攻防回合{{index+1}}</view>
<view class="score">{{item.defScore}}<text>分</text></view>
</view>
</view>
<view class="attack-content">
<view class="content">
<view class="left">
<gl-image class="avatar" webp src="/avatar/1.png" />
</view>
<view class="text">{{list.detailList[activeIndex].question}}</view>
</view>
<view class="content hit">
<view class="left">
<gl-image class="avatar" webp src="/avatar/1.png" />
</view>
<view class="text">{{list.detailList[activeIndex].answer}}</view>
</view>
<view class="verbal-wrap">
<view class="verbal-wrap-content">
<view class="title">
<gl-image class="improve" webp src="/improve.png" />话术建议
</view>
<view class="suggest-content"><rich-text nodes="{{list.detailList[activeIndex].suggestionsForImprovement}}"></rich-text></view>
<view class="line"></view>
<view class="title">
<gl-image class="improve" webp src="/polish.png" />润色表达
</view>
<view class="suggest-content"><rich-text nodes="{{list.detailList[activeIndex].refineTheExpression}}"></rich-text></view>
</view>
</view>
<view class="footer">
<view class="more">查看更多</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/quality/index.js
0 → 100644
View file @
53795f4
// packageEquity/pages/receptionDetail/components/quality/index.js
import
api
from
"../../../../carEquityApi"
;
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component
({
/**
* 组件的属性列表
*/
properties
:
{
batchId
:
Number
},
lifetimes
:
{
ready
()
{
this
.
getReceptionResult
()
}
},
/**
* 组件的初始数据
*/
data
:
{
IMG_URL
,
activeIndex
:
0
,
list
:
[{
stage
:
'接待环节'
},
{
stage
:
'车辆交付'
},
{
stage
:
'需求挖掘'
},
{
stage
:
'促成交'
}
]
},
/**
* 组件的方法列表
*/
methods
:
{
changeClassifyType
(
e
)
{
let
{
index
}
=
e
.
currentTarget
.
dataset
console
.
log
(
e
.
currentTarget
.
dataset
)
this
.
setData
({
activeIndex
:
index
})
},
getReceptionResult
()
{
let
{
list
}
=
this
.
data
;
let
params
=
{
batchId
:
17
}
api
.
getReceptionResultData
(
params
).
then
(
res
=>
{
list
.
forEach
(
item
=>
{
res
.
data
.
forEach
(
row
=>
{
if
(
row
.
stage
.
indexOf
(
item
.
stage
)
!=
-
1
)
{
Object
.
assign
(
item
,
row
,{
stage
:
item
.
stage
})
}
else
if
(
row
.
stage
===
'结束环节'
&&
item
.
stage
===
'促成交'
)
{
Object
.
assign
(
item
,
row
,{
stage
:
'促成交'
})
}
})
})
this
.
setData
({
list
:
list
})
console
.
log
(
list
)
})
},
lookMore
(){
},
practiceHandle
(){
}
}
})
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/quality/index.json
0 → 100644
View file @
53795f4
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/quality/index.sass
0 → 100644
View file @
53795f4
/* packageEquity/pages/receptionDetail/components/quality/index.wxss */
.quality-wrap
{
.classify-wrap
{
display
:
flex
;
align-items
:
center
;
width
:
100%
;
height
:
var
(
--
fontSize112
)
;
background
:
#EDF4FF
;
border-radius
:
var
(
--
fontSize16
)
var
(
--
fontSize16
)
0
0
;
}
.classify-list
{
height
:
var
(
--
fontSize112
)
;
padding
:
var
(
--
fontSize16
)
0
;
box-sizing
:
border-box
;
flex
:
1
;
text-align
:
center
;
border-radius
:
0
0
0
var
(
--
fontSize16
)
;
background
:
#EDF4FF
;
.title
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#757980
;
letter-spacing
:
0
;
line-height
:
var
(
--
fontSize40
)
;
}
.score
{
font-weight
:
600
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#347BFF
;
line-height
:
var
(
--
fontSize40
)
;
.fail
{
color
:
#F24724
;
}
}
}
.active
{
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize16
)
var
(
--
fontSize16
)
0
0
;
.title
{
color
:
#292D33
;
font-weight
:
500
;
}
}
}
.quality-reception-wrap
{
overflow
:scroll
;
height
:
calc
(
100vh
-
var
(
--
fontSize660
))
;
.link-list
{
background-color
:
#fff
;
margin-bottom
:var
(
--fontSize24
);
.link-title
{
width
:
100%
;
height
:
var
(
--
fontSize80
)
;
display
:
flex
;
align-items
:
center
;
background-image
:
linear-gradient
(
93deg
,
#E1F7FC
0%
,
#F3F7FF
27%
,
#F7F2FF
40%
,
#E8F1FF
65%
,
#F7F2FF
100%
)
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#000000
;
font-weight
:
500
;
border-radius
:
var
(
--
fontSize16
)
var
(
--
fontSize16
)
0
0
;
}
}
}
.link-title
{
.dot
{
width
:
var
(
--
fontSize8
)
;
height
:
var
(
--
fontSize8
)
;
background
:
#000000
;
border-radius
:
50%
;
margin
:
0
var
(
--
fontSize16
)
0
var
(
--
fontSize24
)
;
}
.score
{
font-weight
:
600
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#347BFF
;
margin-left
:
var
(
--
fontSize16
)
;
}
.fail
{
font-weight
:
500
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#F24724
;
margin
:
0
var
(
--
fontSize44
)
0
auto
;
}
.failStage
{
color
:
#F24724
;
}
.success
{
font-weight
:
500
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#35C376
;
margin
:
0
var
(
--
fontSize44
)
0
auto
;
}
}
.quality-content
{
background-color
:
#fff
;
.content
{
width
:
100%
;
height
:
auto
;
display
:
flex
;
align-items
:
center
;
padding
:
var
(
--
fontSize24
)
var
(
--
fontSize74
)
var
(
--
fontSize24
)
var
(
--
fontSize16
)
;
box-sizing
:
border-box
;
margin-bottom
:
var
(
--
fontSize12
)
;
}
.text
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#292D33
;
margin-left
:
var
(
--
fontSize16
)
;
}
.left
{
position
:
relative
;
.avatar
{
width
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
border-radius
:
50%
;
}
.duration
{
position
:absolute
;
top
:var
(
--fontSiz60
);
left
:
50%
;
transform
:
translateX
(
-50%
)
;
padding
:
0
var
(
--
fontSize9
)
;
height
:
var
(
--
fontSize28
)
;
background
:
#FFFFFF
;
border
:
var
(
--
fontSize2
)
solid
#F0F6FF
;
border-radius
:
var
(
--
fontSize28
)
;
font-size
:
var
(
--
fontSize20
)
;
color
:
#999EA8
;
}
}
}
.hit
{
background
:
#F0F6FF
;
margin-bottom
:
0
!
important
;
}
.hit-content
{
width
:
100%
;
background
:
#F5F5F5
;
padding
:
var
(
--
fontSize12
)
0
0
;
.matching
{
display
:
flex
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#B38442
;
height
:
var
(
--
fontSize56
)
;
align-items
:
center
;
padding
:
0
var
(
--
fontSize24
)
;
.title
{
position
:
relative
;
width
:
var
(
--
fontSize172
)
;
height
:
100%
;
line-height
:
var
(
--
fontSize56
)
;
text-align
:
center
;
background-image
:
linear-gradient
(
90deg
,
#ff8e0c
1a
0%
,
#ffba7b
1a
100%
)
;
border-radius
:
var
(
--
fontSize28
)
;
font-weight
:
500
;
margin-right
:
var
(
--
fontSize8
)
;
}
.
title
:
:
after
{
position
:
absolute
;
top
:
var
(
--
fontSize14
)
;
margin-left
:
var
(
--
fontSize8
)
;
content
:
''
;
display
:
inline-block
;
width
:
0
;
height
:
0
;
border-bottom
:
var
(
--
fontSize10
)
solid
#B38442
;
border-top
:
var
(
--
fontSize10
)
solid
transparent
;
border-left
:
var
(
--
fontSize10
)
solid
transparent
;
border-right
:
var
(
--
fontSize10
)
solid
transparent
;
}
.score
{
font-weight
:
600
;
}
}
}
.verbal-warp
{
padding
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize16
)
;
margin
:
0
var
(
--
fontSize24
)
;
.title
{
display
:
flex
;
align-items
:
center
;
font-weight
:
500
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#333333
;
margin-bottom
:
var
(
--
fontSize20
)
;
.improve
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
margin-right
:
var
(
--
fontSize12
)
;
}
}
.suggest-content
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize26
)
;
color
:
#292D33
;
line-height
:var
(
--fontSize44
);
}
}
.exercise
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
color
:
#347BFF
;
font-size
:
var
(
--
fontSize26
)
;
font-weight
:
500
;
padding
:
var
(
--
fontSize20
)
0
;
}
.line
{
width
:
100%
;
height
:
var
(
--
fontSize2
)
;
background
:
#EDEDED
;
margin
:
var
(
--
fontSize12
)
0
var
(
--
fontSize24
)
;
}
.more
{
width
:
var
(
--
fontSize296
)
;
height
:
var
(
--
fontSize56
)
;
border
:
var
(
--
fontSize1
)
solid
#C3C3C3
;
border-radius
:
26rpx
;
text-align
:
center
;
line-height
:
var
(
--
fontSize56
)
;
margin
:
0
auto
;
color
:
#757980
;
font-size
:
var
(
--
fontSize24
)
;
}
.no-hit-content
{
.verbal-warp
{
background
:
#FAFAFA
;
margin-top
:var
(
--fontSize24
);
}
}
.empty-box
{
margin
:
0
auto
;
display
:flex
;
align-items
:center
;
justify-content
:
center
;
width
:
var
(
--
fontSize488
)
;
height
:var
(
--fontSiz124
);
opacity
:
0
.6
;
background
:
#FFFFFF
;
border-radius
:var
(
--fontSize16
);
padding
:var
(
--fontSize24
)
0
;
.no-data-img
{
width
:var
(
--fontSize76
);
height
:
var
(
--
fontSize76
)
;
}
.list-not-text
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#8A8C90
;
margin-left
:var
(
--fontSize16
);
}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/components/quality/index.wxml
0 → 100644
View file @
53795f4
<!--packageEquity/pages/receptionDetail/components/quality/index.wxml-->
<view class="quality-wrap">
<view class="classify-wrap">
<view class="classify-list {{activeIndex==index?'active':''}}" wx:for="{{list}}" data-index="{{index}}" bind:tap="changeClassifyType">
<view class="title">{{item.stage}}</view>
<view class="score"><text class="{{(item.totalGetScore/item.totalScore)<0.5?'fail':''}}">{{item.totalGetScore}}</text>/{{item.totalScore}}</view>
</view>
</view>
<view class="quality-reception-wrap">
<view class="link-list" wx:for="{{list[activeIndex].conversationCheckDetailDTOList}}" wx:for-item='i' wx:for-index='ind' wx:key='ind'>
<view class="link-title">
<view class="dot"></view>{{i.firstClassify}}-{{i.secondClassify}} <view class="score"><text class="{{(i.score/i.rawScore)<0.5?'failStage':''}}">{{i.score}}</text>/{{i.rawScore}}</view>
<view class="{{i.conversationDetailDTOList?'success':'fail'}}">{{i.conversationDetailDTOList?'意图匹配':'意图不匹配'}}</view>
</view>
<view class="quality-content">
<blcok wx:for="{{i.conversationDetailDTOList}}" wx:for-item="c" wx:for-index='cind' wx:key='cind'>
<view class="content {{cind==2?'hit':''}}">
<view class="left">
<gl-image class="avatar" webp src="/avatar/1.png" />
<view class="duration">{{c.mergedOffset}}</view>
</view>
<view class="text">{{c.content}}</view>
</view>
<view class="hit-content" wx:if="{{cind==2}}">
<view class="matching">
<view class="title">意图匹配</view>
<view>{{i.firstClassify}}/{{i.secondClassify}}<text class="score">{{i.score}}分</text></view>
</view>
<view class="line"></view>
<view class="verbal-warp" wx:if="{{c.suggestions}}">
<view class="title">
<gl-image class="improve" webp src="/improve.png" />话术建议
</view>
<view class="suggest-content">{{c.suggestions}}</view>
</view>
<view class="empty-box" v-else>
<image class="no-data-img" src="{{IMG_URL}}empty_data.png" />
<view class="list-not-text">暂无数据</view>
</view>
<view class="exercise">
<gl-image class="improve" webp src="/improve.png" />快速练习
</view>
</view>
</blcok>
<view class="no-hit-content" wx:if="{{!i.conversationDetailDTOList}}">
<view class="verbal-warp" wx:if="{{i.suggestions}}">
<view class="title">
<gl-image class="improve" webp src="/improve.png" />话术建议
</view>
<view class="suggest-content">{{i.suggestions}}</view>
</view>
<view class="empty-box" v-else>
<image class="no-data-img" src="{{IMG_URL}}empty_data.png" />
<view class="list-not-text">暂无数据</view>
</view>
<view class="exercise" bind:tap="practiceHandle">
<gl-image class="improve" webp src="/improve.png" />快速练习
</view>
</view>
<view class="more" wx:if="{{i.conversationDetailDTOList}}" bind:tap="lookMore">查看更多</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/receptionDetail.js
0 → 100644
View file @
53795f4
// packageEquity/pages/receptionDetail/receptionDetail.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
navBarHeight
:
113.5
,
typeLists
:
[
"对话"
,
"质检"
,
"攻防"
],
activeIndex
:
0
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
changeType
(
e
){
let
{
index
}
=
e
.
currentTarget
.
dataset
console
.
log
(
e
.
currentTarget
.
dataset
)
this
.
setData
({
activeIndex
:
index
})
},
navbarReady
(
e
)
{
let
navBarHeight
=
e
.
detail
.
height
;
this
.
setData
({
navBarHeight
,
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{
}
})
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/receptionDetail.json
0 → 100644
View file @
53795f4
{
"usingComponents"
:
{
"quality"
:
"./components/quality/index"
,
"attack"
:
"./components/attack/index"
},
"navigationStyle"
:
"custom"
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/receptionDetail.sass
0 → 100644
View file @
53795f4
/* packageEquity/pages/receptionDetail/receptionDetail.wxss */
page
{
background-color
:
#FAFAFA
!
important
;
}
.navigation-title
{
font-weight
:
500
;
font-size
:
var
(
--
fontSize36
)
;
color
:
#282829
;
line-height
:
var
(
--
fontSize44
)
;
width
:
var
(
--
fontSize360
)
;
text-align
:
center
;
}
.bg
{
width
:
100%
;
height
:
var
(
--
fontSize800
)
;
background
:
url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/reception-nav--bg.png')
no-repeat
;
background-size
:
100%
var
(
--
fontSize800
)
;
position
:
fixed
;
left
:
0
;
top
:
0
;
z-index
:
-1
;
}
.reception-wrap
{
padding
:
0
var
(
--
fontSize28
)
;
.reception-info
{
width
:
100%
;
height
:
var
(
--
fontSize322
)
;
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize28
)
;
margin
:
var
(
--
fontSize12
)
0
;
}
.reception-nav
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin
:
var
(
--
fontSize16
)
0
;
}
.reception-types
{
display
:
flex
;
align-items
:
center
;
.type
{
width
:
var
(
--
fontSize144
)
;
line-height
:
var
(
--
fontSize40
)
;
padding
:
var
(
--
fontSize10
)
0
;
background
:
#FFFFFF
;
border-radius
:
var
(
--
fontSize8
)
;
margin-right
:
var
(
--
fontSize16
)
;
font-size
:
var
(
--
fontSize28
)
;
color
:
#5A5E66
;
font-weight
:
400
;
text-align
:
center
;
}
.active
{
font-weight
:
600
;
color
:
#347BFF
;
background
:
#347bff
1a
;
}
}
.reception-operate
{
display
:
flex
;
align-items
:
center
;
.img
{
width
:
var
(
--
fontSize52
)
;
height
:
var
(
--
fontSize52
)
;
}
.share
{
margin-right
:
var
(
--
fontSize12
)
}
.audio-wrap
{
width
:
var
(
--
fontSize140
)
;
height
:
var
(
--
fontSize60
)
;
display
:
flex
;
align-items
:
center
;
opacity
:
0
.8
;
background
:
#FFFFFF
;
padding
:
var
(
--
fontSize4
)
;
border-radius
:
var
(
--
fontSize28
)
;
box-sizing
:
border-box
;
.time
{
font-weight
:
400
;
font-size
:
var
(
--
fontSize26
)
;
color
:
#757980
;
margin-left
:var
(
--fontSize4
);
}
}
}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/receptionDetail/receptionDetail.wxml
0 → 100644
View file @
53795f4
<!--packageEquity/pages/receptionDetail/receptionDetail.wxml-->
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="true" navStyle="{{'background-color: rgba(0,0,0,0);box-shadow:none;' }}" bindback="back" >
<view class="navigation-title text-hide ">黎先生-6/10陈小姐接10陈小姐接</view>
</navigation-bar>
<view class="bg"></view>
<view class="reception-wrap" style="padding-top:{{ navBarHeight }}px;position: relative;">
<view class="reception-info">
</view>
<view class="reception-nav">
<view class="reception-types">
<view class="type {{activeIndex==index?'active':''}}" wx:for="{{typeLists}}" data-index="{{index}}" bind:tap="changeType">{{item}}</view>
</view>
<view class="reception-operate">
<gl-image class="img share" webp src="/share.png" />
<view class="audio-wrap">
<gl-image class="img" webp src="/play.png" />
<view class="time">62:02</view>
</view>
</view>
</view>
<view class="type-wrap">
<quality wx:if="{{activeIndex==1}}"></quality>
<attack wx:elif="{{activeIndex==2}}"></attack>
</view>
</view>
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