Commit f80f86bc by 前端

Merge branch 'SAAS+V4.42' of http://192.168.3.233:8090/saas_plus/dj-car-boutique…

…-work-wechat into SAAS+V4.42
2 parents 69fee1c5 14f59430
Showing 26 changed files with 710 additions and 446 deletions
...@@ -91,9 +91,14 @@ Component({ ...@@ -91,9 +91,14 @@ Component({
if (paused) this.qualityAudio.play() if (paused) this.qualityAudio.play()
}, },
onPause() { onPause() {
const {audioIndex } = this.data const {
audioIndex
} = this.data
// this.qualityAudio.pause() // this.qualityAudio.pause()
this.data[audioIndex].pause() if (this.data[audioIndex]) {
this.data[audioIndex].pause()
}
}, },
//结束播放 //结束播放
stopAudio() { stopAudio() {
...@@ -122,14 +127,17 @@ Component({ ...@@ -122,14 +127,17 @@ Component({
status: 'pause' status: 'pause'
}) })
}) })
const {audioIndex,status} = this.data const {
console.log(index,audioIndex) audioIndex,
if(audioIndex) { status
} = this.data
console.log(index, audioIndex)
if (audioIndex) {
this.data[audioIndex].pause() this.data[audioIndex].pause()
} }
this.setData({ this.setData({
audioIndex:index audioIndex: index
}) })
this.data[index].src = url this.data[index].src = url
this.data[index].play(); this.data[index].play();
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
height: var(--fontSize112); height: var(--fontSize112);
background: #EDF4FF; background: #EDF4FF;
border-radius: var(--fontSize16) var(--fontSize16) 0 0; border-radius: var(--fontSize16) var(--fontSize16) 0 0;
// border-top: var(--fontSize16);
// border-right: var(--fontSize16);
} }
.classify-list { .classify-list {
...@@ -16,8 +17,6 @@ ...@@ -16,8 +17,6 @@
box-sizing: border-box; box-sizing: border-box;
flex: 1; flex: 1;
text-align: center; text-align: center;
border-radius: 0 0 0 var(--fontSize16);
background: #EDF4FF;
.title { .title {
font-weight: 400; font-weight: 400;
...@@ -32,8 +31,9 @@ ...@@ -32,8 +31,9 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #347BFF; color: #347BFF;
line-height: var(--fontSize40); line-height: var(--fontSize40);
.fail{
color:#F24724; .fail {
color: #F24724;
} }
} }
...@@ -51,11 +51,14 @@ color:#F24724; ...@@ -51,11 +51,14 @@ color:#F24724;
} }
.quality-reception-wrap { .quality-reception-wrap {
overflow:scroll; overflow: scroll;
height: calc(100vh - var(--fontSize1150)); height: calc(100vh - var(--fontSize1150));
.link-list { .link-list {
background-color: #fff; background-color: #fff;
margin-bottom:var(--fontSize24); margin-bottom: var(--fontSize24);
border-radius: 0 0 var(--fontSize16) var(--fontSize16);
.link-title { .link-title {
width: 100%; width: 100%;
height: var(--fontSize80); height: var(--fontSize80);
...@@ -92,11 +95,13 @@ color:#F24724; ...@@ -92,11 +95,13 @@ color:#F24724;
color: #F24724; color: #F24724;
margin: 0 var(--fontSize44) 0 auto; margin: 0 var(--fontSize44) 0 auto;
} }
.failStage{
color:#F24724; .failStage {
} color: #F24724;
.success{ }
font-weight: 500;
.success {
font-weight: 500;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #35C376; color: #35C376;
margin: 0 var(--fontSize44) 0 auto; margin: 0 var(--fontSize44) 0 auto;
...@@ -104,10 +109,12 @@ color:#F24724; ...@@ -104,10 +109,12 @@ color:#F24724;
} }
.quality-content { .quality-content {
height: auto;
background-color: #fff; background-color: #fff;
border-radius: 0 0 var(--fontSize16) var(--fontSize16);
.content { .content {
position:relative; position: relative;
width: 100%; width: 100%;
height: auto; height: auto;
display: flex; display: flex;
...@@ -115,18 +122,21 @@ color:#F24724; ...@@ -115,18 +122,21 @@ color:#F24724;
padding: var(--fontSize24) var(--fontSize74) var(--fontSize24) var(--fontSize16); padding: var(--fontSize24) var(--fontSize74) var(--fontSize24) var(--fontSize16);
box-sizing: border-box; box-sizing: border-box;
margin-bottom: var(--fontSize12); margin-bottom: var(--fontSize12);
.trumpet-box{
width:var(--fontSize40); .trumpet-box {
height: var(--fontSize40); width: var(--fontSize40);
border-radius:50%; height: var(--fontSize40);
position:absolute; border-radius: 50%;
right:var(--fontSize12); position: absolute;
margin:0 auto; right: var(--fontSize12);
} margin: 0 auto;
.trumpet{ display: none;
width:var(--fontSize48); }
height: var(--fontSize40);
} .trumpet {
width: var(--fontSize48);
height: var(--fontSize40);
}
} }
.text { .text {
...@@ -138,6 +148,7 @@ color:#F24724; ...@@ -138,6 +148,7 @@ color:#F24724;
.left { .left {
position: relative; position: relative;
.avatar { .avatar {
width: var(--fontSize80); width: var(--fontSize80);
height: var(--fontSize80); height: var(--fontSize80);
...@@ -145,9 +156,9 @@ color:#F24724; ...@@ -145,9 +156,9 @@ color:#F24724;
} }
.duration { .duration {
position:absolute; position: absolute;
top:var(--fontSiz60); top: var(--fontSize70);
left:50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
padding: 0 var(--fontSize9); padding: 0 var(--fontSize9);
height: var(--fontSize28); height: var(--fontSize28);
...@@ -161,54 +172,42 @@ color:#F24724; ...@@ -161,54 +172,42 @@ color:#F24724;
} }
.hit { .hit {
position:relative;
background: #F0F6FF; background: #F0F6FF;
margin-bottom: 0 !important; margin-bottom: 0 !important;
.trumpet-box{
width:var(--fontSize48);
height: var(--fontSize40);
background:#fff;
border-radius:50%;
position:absolute;
right:var(--fontSize12);
margin:0 auto;
}
.trumpet{
width:var(--fontSize48);
height: var(--fontSize40);
}
} }
.hit-content { .hit-content {
width: 100%; width: 100%;
background: #F5F5F5; background: #F5F5F5;
padding: var(--fontSize12) 0; padding-bottom:var(--fontSize24);
.matching {
.matching {
display: flex; display: flex;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #B38442; color: #B38442;
height: var(--fontSize56); height: var(--fontSize80);
align-items: center; align-items: center;
padding: 0 var(--fontSize24); padding: var(--fontSize12) var(--fontSize24);
.title{ box-sizing: border-box;
display: flex;
align-items: center; .title {
justify-content: center; display: flex;
width: var(--fontSize172); align-items: center;
height: var(--fontSize56); justify-content: center;
background-image: linear-gradient(90deg, #ff8e0c1a 0%, #ffba7b1a 100%); width: var(--fontSize172);
border-radius: var(--fontSize28); height: var(--fontSize56);
margin-right: var(--fontSize8); background-image: linear-gradient(90deg, #ff8e0c1a 0%, #ffba7b1a 100%);
border-radius: var(--fontSize28);
.arrow { margin-right: var(--fontSize8);
width: var(--fontSize36);
height: var(--fontSize36); .arrow {
transition: all .25s; width: var(--fontSize36);
} height: var(--fontSize36);
transition: all .25s;
}
} }
.score { .score {
...@@ -216,18 +215,19 @@ color:#F24724; ...@@ -216,18 +215,19 @@ color:#F24724;
} }
} }
} }
.up {
height: auto;
.arrow { .up {
transform: rotate(90deg); height: auto;
}
.content-box { .arrow {
animation: move-up .2s forwards; transform: rotate(90deg);
}
} }
.content-box {
animation: move-up .2s forwards;
}
}
.verbal-warp { .verbal-warp {
padding: var(--fontSize24) var(--fontSize28); padding: var(--fontSize24) var(--fontSize28);
background: #FFFFFF; background: #FFFFFF;
...@@ -253,8 +253,8 @@ color:#F24724; ...@@ -253,8 +253,8 @@ color:#F24724;
font-weight: 400; font-weight: 400;
font-size: var(--fontSize26); font-size: var(--fontSize26);
color: #292D33; color: #292D33;
line-height:var(--fontSize44); line-height: var(--fontSize44);
white-space:pre-wrap; white-space: pre-wrap;
} }
} }
...@@ -266,13 +266,19 @@ color:#F24724; ...@@ -266,13 +266,19 @@ color:#F24724;
font-size: var(--fontSize26); font-size: var(--fontSize26);
font-weight: 500; font-weight: 500;
padding: var(--fontSize20) 0; padding: var(--fontSize20) 0;
.improve {
width: var(--fontSize32);
height: var(--fontSize32);
margin-right: var(--fontSize8);
}
} }
.line { .line {
width: 100%; width: 100%;
height: var(--fontSize2); height: var(--fontSize2);
background: #EDEDED; background: #EDEDED;
margin: var(--fontSize12) 0 var(--fontSize24); margin-bottom: var(--fontSize24);
} }
.more { .more {
...@@ -286,34 +292,41 @@ color:#F24724; ...@@ -286,34 +292,41 @@ color:#F24724;
color: #757980; color: #757980;
font-size: var(--fontSize24); font-size: var(--fontSize24);
} }
.no-hit-content{
padding:var(--fontSize24) 0; .no-hit-content {
.verbal-warp{ padding-bottom:var(--fontSize24);
.verbal-warp {
background: #FAFAFA; background: #FAFAFA;
margin-top: var(--fontSize24);
} }
} }
.empty-box{
margin:0 auto ; .empty-box {
display:flex; margin: 0 auto;
align-items:center; display: flex;
justify-content: center; align-items: center;
width: var(--fontSize488); justify-content: center;
height:var(--fontSiz124); width: var(--fontSize646);
opacity: 0.6; height: var(--fontSiz124);
background: #FFFFFF; opacity: 0.6;
border-radius:var(--fontSize16); background: #FFFFFF;
padding:var(--fontSize24) 0; border-radius: var(--fontSize16);
.no-data-img{ padding: var(--fontSize24) 0;
width:var(--fontSize76);
height: var(--fontSize76); .no-data-img {
width: var(--fontSize76);
height: var(--fontSize76);
} }
.list-not-text{
font-weight: 400; .list-not-text {
font-size: var(--fontSize24); font-weight: 400;
color: #8A8C90; font-size: var(--fontSize24);
margin-left:var(--fontSize16); color: #8A8C90;
margin-left: var(--fontSize16);
} }
} }
.no-data { .no-data {
text-align: center; text-align: center;
padding-top: var(--fontSize128); padding-top: var(--fontSize128);
...@@ -323,8 +336,19 @@ color:#F24724; ...@@ -323,8 +336,19 @@ color:#F24724;
width: var(--fontSize172); width: var(--fontSize172);
height: var(--fontSize172); height: var(--fontSize172);
} }
.list-not { .list-not {
font-size:var(--fontSize24); font-size: var(--fontSize24);
text-align: center; text-align: center;
color: #999EA8; color: #999EA8;
}
.axis-active {
.appeal-disabled {
display: block !important;
}
}
.more-bg{
padding:var(--fontSize24) 0;
background-color: #fff;
} }
\ No newline at end of file \ No newline at end of file
...@@ -92,6 +92,13 @@ Page({ ...@@ -92,6 +92,13 @@ Page({
}, },
onRoute(options) {
this.setData({
'customer.customerName': options.customerName,
'customer.customerPhone': options.customerPhone
})
},
onShow: function () { }, onShow: function () { },
toSelectReason(e) { toSelectReason(e) {
let { deafeatReason } = this.data let { deafeatReason } = this.data
......
...@@ -131,7 +131,7 @@ Component({ ...@@ -131,7 +131,7 @@ Component({
startDateTime: '', startDateTime: '',
endDateTime: '' endDateTime: ''
}], }],
customerKeyWord: '', customerName: '',
merchantShowMore: false, merchantShowMore: false,
staffShowMore: false staffShowMore: false
}, },
...@@ -166,9 +166,13 @@ Component({ ...@@ -166,9 +166,13 @@ Component({
}) })
}, },
popupConfirm(e) { popupConfirm(e) {
let selectedData = e?.detail || []
selectedData = selectedData.filter(v => v.merchantNo)
this.setData({ this.setData({
showSelectPopup: false, showSelectPopup: false,
'form.selectedMerchantList': e?.detail 'form.selectedMerchantList': selectedData
}, () => {
this.getStaffList(true)
}) })
}, },
updata(e) { updata(e) {
...@@ -293,16 +297,17 @@ Component({ ...@@ -293,16 +297,17 @@ Component({
'form.dateTime': dateTime, 'form.dateTime': dateTime,
'form.selectedMerchantList': [], 'form.selectedMerchantList': [],
'form.staffRangeList': staffRangeList, 'form.staffRangeList': staffRangeList,
customerKeyWord: '', customerName: '',
isReset: true isReset: true
}) })
this.getStaffList(true)
}, },
confirm() { confirm() {
let { let {
form, form,
userInfo, userInfo,
isReset, isReset,
customerKeyWord customerName
} = this.data } = this.data
let obj = {} let obj = {}
Object.keys(form).forEach(e => { Object.keys(form).forEach(e => {
...@@ -349,14 +354,15 @@ Component({ ...@@ -349,14 +354,15 @@ Component({
} }
}) })
}) })
if (customerKeyWord) obj.customerName = customerKeyWord if (customerName) obj.customerName = customerName
if (isReset) obj = {} if (isReset) obj = {}
this.triggerEvent('confirm', obj) this.triggerEvent('confirm', obj)
}, },
input(e) { input(e) {
let { value } = e.detail let { value } = e.detail
this.setData({ this.setData({
customerKeyWord: value customerName: value,
isReset: false
}) })
}, },
showMore(e) { showMore(e) {
...@@ -412,10 +418,12 @@ Component({ ...@@ -412,10 +418,12 @@ Component({
} }
}) })
}, },
getStaffList() { getStaffList(isFilterMerchant = false) {
let { storeRangeList } = this.data let { storeRangeList, form } = this.data
let selectedMerchantData = form.selectedMerchantList?.map(val => { if (val.merchantNo) return val.merchantNo})
let allMerchantData = storeRangeList?.map(val => { if (val.merchantNo) return val.merchantNo})
let params = { let params = {
merchantNos: storeRangeList?.map(val => { if (val.merchantNo) return val.merchantNo}) merchantNos: isFilterMerchant ? (selectedMerchantData?.length ? selectedMerchantData : allMerchantData) : allMerchantData
} }
if (!params.merchantNos?.length) return if (!params.merchantNos?.length) return
receptionRecordsApi.getStaffListApi(params).then(res => { receptionRecordsApi.getStaffListApi(params).then(res => {
......
<!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml--> <!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;" <scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight - 2}}px);margin-top:{{navBarHeight - 2}}px;"
hidden="{{!show}}"> hidden="{{!show}}">
<view class="main" style="padding-bottom:{{btnHeight}}px"> <view class="main">
<view class="box"> <view class="box">
<view class="title"> <view class="title">
日期 日期
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<view class="list-box"> <view class="list-box">
<view class="item flex-block"> <view class="item flex-block">
<image src="/images/search.png" class="icon"></image> <image src="/images/search.png" class="icon"></image>
<input placeholder="客户姓名/手机号" bindinput="input" maxlength="11" value="{{customerKeyWord}}" type="text"/> <input placeholder="客户姓名/手机号" bindinput="input" maxlength="11" value="{{customerName}}" type="text"/>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -78,7 +78,8 @@ Component({ ...@@ -78,7 +78,8 @@ Component({
itemInfo: params, itemInfo: params,
['itemInfo.startTimeStr']: startTimeStr, ['itemInfo.startTimeStr']: startTimeStr,
['itemInfo.endTimeStr']: endTimeStr, ['itemInfo.endTimeStr']: endTimeStr,
['itemInfo.duration']: _this.calculateTimeDifference(params.totalDuration) ['itemInfo.duration']: _this.calculateTimeDifference(params.totalDuration),
['itemInfo.isNoShow']: true
}) })
}, },
// 质检环节 // 质检环节
...@@ -94,6 +95,10 @@ Component({ ...@@ -94,6 +95,10 @@ Component({
if (event.left > (timelineWidth - event.width)) { // 处理会超出时间轴的质检环节 if (event.left > (timelineWidth - event.width)) { // 处理会超出时间轴的质检环节
event.left = (timelineWidth - event.width) event.left = (timelineWidth - event.width)
} }
// 处理相邻两个质检环节重叠(分两列一上一下一上一下)
if (event.left < (events[index - 2]?.left + events[index - 2]?.width)) {
event.left = (events[index - 2]?.left + events[index - 2]?.width)
}
event.bottom = 'var(--fontSize34)' event.bottom = 'var(--fontSize34)'
event.bottom = index % 2 == 0 ? 'var(--fontSize34)' : 0 event.bottom = index % 2 == 0 ? 'var(--fontSize34)' : 0
if (event.totalScore == 4) { // 接待环节 if (event.totalScore == 4) { // 接待环节
...@@ -121,12 +126,13 @@ Component({ ...@@ -121,12 +126,13 @@ Component({
} }
this.setData({ this.setData({
['itemInfo.receptionStaticInfoDetailDTOList'] : events, ['itemInfo.receptionStaticInfoDetailDTOList'] : events,
['itemInfo.isNoShow']: false
}) })
}, },
// 攻防点 // 攻防点
getDefensePoints(events, timelineWidth, totalMinutes) { getDefensePoints(events, timelineWidth, totalMinutes) {
events?.forEach(event => { events?.forEach(event => {
event.left = Math.ceil(event.mergedOffset / totalMinutes * timelineWidth) event.left = Math.ceil(event.mergedOffset / totalMinutes * timelineWidth) - 7
}) })
this.setData({ this.setData({
['itemInfo.receptionStaticInfoODDetailDTOList']: events ['itemInfo.receptionStaticInfoODDetailDTOList']: events
...@@ -140,8 +146,9 @@ Component({ ...@@ -140,8 +146,9 @@ Component({
return filterWidth return filterWidth
}, },
// 快速录战败单 // 快速录战败单
createDefeatOrder() { createDefeatOrder(e) {
wx.$router.go('packageEquity.createDeafeatOrder', {scene: 0}) let { item } = e.currentTarget.dataset
wx.$router.go('packageEquity.createDeafeatOrder', {customerName: item.customerName, customerPhone: item.phoneNumber})
}, },
// 点击质检环节 // 点击质检环节
handleTagsTap(e) { handleTagsTap(e) {
......
...@@ -21,15 +21,21 @@ ...@@ -21,15 +21,21 @@
} }
.record-name{ .record-name{
flex-shrink: 0; flex-shrink: 0;
font-weight: 600;
font-size: var(--fontSize30);
color: #292D33;
margin-right: var(--fontSize12); margin-right: var(--fontSize12);
display: inline-block; display: inline-block;
max-width: var(--fontSize300); max-width: var(--fontSize300);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
.value{
font-weight: 600;
font-size: var(--fontSize30);
color: #292D33;
}
.order-name{
font-weight: 400;
font-size: var(--fontSize26);
}
} }
.record-phone{ .record-phone{
font-size: var(--fontSize26); font-size: var(--fontSize26);
...@@ -57,6 +63,7 @@ ...@@ -57,6 +63,7 @@
padding: 0 var(--fontSize8); padding: 0 var(--fontSize8);
height: var(--fontSize28); height: var(--fontSize28);
border: var(--fontSize2) solid #F56C50; border: var(--fontSize2) solid #F56C50;
border-radius: var(--fontSize4);
color: #F56C50; color: #F56C50;
} }
.record-amount{ .record-amount{
...@@ -73,12 +80,15 @@ ...@@ -73,12 +80,15 @@
} }
.record-score{ .record-score{
font-size: var(--fontSize24); font-size: var(--fontSize24);
font-weight: 600;
color: #F56C50; color: #F56C50;
.value{ .value{
font-size: var(--fontSize48); font-size: var(--fontSize48);
font-family: "numberBold"; font-family: "numberBold";
} }
.unit{
font-weight: 600;
margin-left: var(--fontSize4);
}
&.black{ &.black{
color: #292D33; color: #292D33;
} }
...@@ -202,6 +212,9 @@ ...@@ -202,6 +212,9 @@
line-height: var(--fontSize32); line-height: var(--fontSize32);
overflow: hidden; overflow: hidden;
font-weight: 600; font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
&.red-tag{ &.red-tag{
background: #F247241f; background: #F247241f;
color: #F56C50; color: #F56C50;
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<view class="base-message"> <view class="base-message">
<view> <view>
<view class="record-name"> <view class="record-name">
<text>{{itemInfo.customerName}}</text> <text class="value">{{itemInfo.customerName}}</text>
<text wx:if="{{itemInfo.realCustomerName && itemInfo.realCustomerName != itemInfo.customerName}}">({{itemInfo.realCustomerName}})</text> <text class="order-name" wx:if="{{itemInfo.realCustomerName && itemInfo.realCustomerName != itemInfo.customerName}}">({{itemInfo.realCustomerName}})</text>
</view> </view>
<text class="record-phone" catchtap="phoneCall" data-phone="{{itemInfo.phoneNumber}}">{{itemInfo.phoneNumber}}</text> <text class="record-phone" catchtap="phoneCall" data-phone="{{itemInfo.phoneNumber}}">{{itemInfo.phoneNumber}}</text>
</view> </view>
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
<text class="line"></text> <text class="line"></text>
</text> </text>
<text class="record-score {{itemInfo.qualityCheckScore > 20 ? 'black': ''}}" wx:if="{{itemInfo.qualityCheckScore || itemInfo.qualityCheckScore === 0}}"> <text class="record-score {{itemInfo.qualityCheckScore > 20 ? 'black': ''}}" wx:if="{{itemInfo.qualityCheckScore || itemInfo.qualityCheckScore === 0}}">
<text class="value">{{itemInfo.qualityCheckScore}}</text>分 <text class="value">{{itemInfo.qualityCheckScore}}</text><text class="unit">分</text>
</text> </text>
<text class="record-score" wx:if="{{itemInfo.qualityCheckScore !== 0 && !itemInfo.qualityCheckScore}}"> <text class="record-score" wx:if="{{itemInfo.qualityCheckScore !== 0 && !itemInfo.qualityCheckScore}}">
<text>统计中</text> <text>分析中</text>
</text> </text>
</view> </view>
</view> </view>
...@@ -37,18 +37,18 @@ ...@@ -37,18 +37,18 @@
<view class="line-status"> <view class="line-status">
<view class="circular circular-left"></view> <view class="circular circular-left"></view>
<view class="circular circular-right"></view> <view class="circular circular-right"></view>
<view class="reception-result {{itemInfo.orderStatus == 2 ? 'defeat' : itemInfo.orderStatus == 1 ? 'success' : ''}}"> <view class="reception-result">
<gl-image wx:if="{{itemInfo.orderStatus == 3}}" webp src="/equity/unknown-icon.png" /> <gl-image webp src="/equity/order-status-{{itemInfo.orderStatus}}.png" />
</view> </view>
</view> </view>
<view class="creat-order-btn" wx:if="{{itemInfo.orderStatus == 3 && isShowDefeatBtn}}" catchtap="createDefeatOrder"> <view class="creat-order-btn" wx:if="{{itemInfo.orderStatus == 3 && isShowDefeatBtn}}" data-item="{{itemInfo}}" catchtap="createDefeatOrder">
<view class="bubble"> <view class="bubble">
<view class="bubble-content">快速录单</view> <view class="bubble-content">快速录单</view>
<view class="bubble-pointer"></view> <view class="bubble-pointer"></view>
</view> </view>
</view> </view>
<!-- 质检环节 --> <!-- 质检环节 -->
<view class="tags-box"> <view class="tags-box" hidden="{{itemInfo.isNoShow}}">
<block wx:key="index" wx:for="{{itemInfo.receptionStaticInfoDetailDTOList}}" <block wx:key="index" wx:for="{{itemInfo.receptionStaticInfoDetailDTOList}}"
wx:for-item="item"> wx:for-item="item">
<view class="tags-item" <view class="tags-item"
......
...@@ -379,7 +379,7 @@ Component({ ...@@ -379,7 +379,7 @@ Component({
carModels: searchForm?.carModels, carModels: searchForm?.carModels,
orderResult: searchForm?.orderResult, orderResult: searchForm?.orderResult,
merchantNo: userInfo?.isSuper && !searchForm?.merchantNo?.length ? storeRangeList.map(v => {if (v.merchantNo) return v.merchantNo}) : (searchForm?.merchantNo || [userInfo.default4SStoreInfo.merchantId]), merchantNo: userInfo?.isSuper && !searchForm?.merchantNo?.length ? storeRangeList.map(v => {if (v.merchantNo) return v.merchantNo}) : (searchForm?.merchantNo || [userInfo.default4SStoreInfo.merchantId]),
staffUuids: searchForm?.staffUuids staffUuids: userInfo.isSuper ? searchForm?.staffUuids : [userInfo.uuid]
} }
return obj return obj
}, },
...@@ -527,7 +527,8 @@ Component({ ...@@ -527,7 +527,8 @@ Component({
getReceptionRecordList({ getReceptionRecordList({
merchantNo: params.merchantNo, merchantNo: params.merchantNo,
startDateTime: params.startDateTime, startDateTime: params.startDateTime,
endDateTime: params.endDateTime endDateTime: params.endDateTime,
staffUuids: params.staffUuids
}).then(res => { }).then(res => {
let { code, message, data } = res let { code, message, data } = res
if (code == 0) { if (code == 0) {
......
...@@ -512,10 +512,12 @@ swiper{ ...@@ -512,10 +512,12 @@ swiper{
.list-box{ .list-box{
padding: 0 var(--fontSize8); padding: 0 var(--fontSize8);
.date-section { .date-section {
height: var(--fontSize40); height: var(--fontSize72);
line-height: var(--fontSize40); line-height: var(--fontSize70);
padding: var(--fontSize16); padding-left: var(--fontSize32);
background: #F7F8FA; background: #F7F8FA;
display: flex;
align-items: center;
&.sticky-date-section{ &.sticky-date-section{
position: sticky; position: sticky;
top: var(--fontSize80); top: var(--fontSize80);
...@@ -523,36 +525,52 @@ swiper{ ...@@ -523,36 +525,52 @@ swiper{
z-index: 1000; z-index: 1000;
} }
.date { .date {
flex-shrink: 0;
width: var(--fontSize146);
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #292D33; color: #292D33;
font-weight: 500; font-weight: 500;
margin-right: var(--fontSize36);
} }
.summary-item{ .static{
font-size: var(--fontSize26); height: 100%;
color: #5A5E66; white-space: nowrap;
&.blue{ overflow: hidden;
color: #347BFF; width: calc(100% - var(--fontSize146));
} .static-warp{
&.blue-blod{ height: 100%;
font-weight: 600; display: inline-block;
white-space: nowrap;
view{
display: inline-block;
.summary-item{
font-size: var(--fontSize26);
color: #5A5E66;
&.blue{
color: #347BFF;
}
&.blue-blod{
font-weight: 600;
}
}
.line{
display: inline-block;
width: var(--fontSize2);
height: var(--fontSize14);
background: #D1DBE7;
margin: 0 var(--fontSize16);
}
&.first-child{
padding-top: 0;
}
}
} }
} }
.line{
display: inline-block;
width: var(--fontSize2);
height: var(--fontSize14);
background: #D1DBE7;
margin: 0 var(--fontSize16);
}
&.first-child{
padding-top: 0;
}
} }
.record-card-top{ .record-card-top{
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: center; align-items: center;
padding-top: var(--fontSize8);
margin-right: var(--fontSize4); margin-right: var(--fontSize4);
.round-dot{ .round-dot{
width: var(--fontSize28); width: var(--fontSize28);
...@@ -570,9 +588,15 @@ swiper{ ...@@ -570,9 +588,15 @@ swiper{
.record-card{ .record-card{
display: flex; display: flex;
margin-top: var(--fontSize16); margin-top: var(--fontSize16);
padding: 0 var(--fontSize20) 0 var(--fontSize4);
position: relative;
.card-line{ .card-line{
position: absolute;
top: var(--fontSize44);
left: var(--fontSize14);
transparent: translateX(-50%);
width: var(--fontSize3); width: var(--fontSize3);
height: var(--fontSize310); height: var(--fontSize280);
background: repeating-linear-gradient(to bottom, transparent, transparent var(--fontSize10), #DEE0E3 var(--fontSize10), #DEE0E3 var(--fontSize20)); background: repeating-linear-gradient(to bottom, transparent, transparent var(--fontSize10), #DEE0E3 var(--fontSize10), #DEE0E3 var(--fontSize20));
} }
.card-item{ .card-item{
...@@ -592,5 +616,22 @@ swiper{ ...@@ -592,5 +616,22 @@ swiper{
height: var(--fontSize1); height: var(--fontSize1);
background: transparent; background: transparent;
} }
.empty-box{
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
.no-data-img{
width: var(--fontSize160);
height: var(--fontSize160);
}
.list-not-text{
margin-top: var(--fontSize10);
font-size: var(--fontSize28);
color: #BEC1C7;
}
}
} }
...@@ -114,29 +114,49 @@ ...@@ -114,29 +114,49 @@
</view> </view>
</view> </view>
<view class="list-box"> <view class="list-box">
<block wx:for="{{listData}}" wx:key="date" wx:if="{{item.receptionStaticInfoDTOList.length}}"> <block wx:if="{{filter.isShowEmpty(listData)}}">
<view class="date-section {{showScreen ? '' : 'sticky-date-section'}}"> <block wx:for="{{listData}}" wx:key="date" wx:if="{{item.receptionStaticInfoDTOList.length}}">
<text class="date">{{item.staticDateStr}}</text> <view class="date-section {{showScreen ? '' : 'sticky-date-section'}}">
<text class="summary-item">交付量 {{item.deliveryVolume}}</text> <text class="date">{{item.staticDateStr}}</text>
<text class="line"></text> <scroll-view scroll-x show-scrollbar="{{false}}" class="static">
<text class="summary-item">触客数 {{item.customerContacts}}</text> <view class="static-warp">
<text class="line"></text> <view>
<text class="summary-item blue {{isFilterUpgrade ? 'blue-blod' : ''}}" data-type="upgrade" bindtap="filterItemData">升级 {{item.upgrades}}</text> <text class="summary-item">交付量 {{item.deliveryVolume}}</text>
<text class="line"></text> <text class="line"></text>
<text class="summary-item blue {{isFilterDefeat ? 'blue-blod' : ''}}" data-type="defeat" bindtap="filterItemData">战败 {{item.losses}}</text> </view>
</view> <view>
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="time" wx:for-index="subIndex" wx:for-item="record"> <text class="summary-item">触客数 {{item.customerContacts}}</text>
<view class="record-card" bindtap="goReceptionDetail" data-item="{{record}}"> <text class="line"></text>
<view class="record-card-top"> </view>
<text class="round-dot">{{subIndex + 1}}</text> <view>
<view class="card-line"></view> <text class="summary-item blue {{isFilterUpgrade ? 'blue-blod' : ''}}" data-type="upgrade" bindtap="filterItemData">升级 {{item.upgrades}}</text>
</view> <text class="line"></text>
<view class="card-item"> </view>
<record-item record="{{record}}" showEmployeeName="{{showEmployeeName}}" isShowDefeatBtn="{{isShowDefeatBtn}}"></record-item> <view>
</view> <text class="summary-item blue {{isFilterDefeat ? 'blue-blod' : ''}}" data-type="defeat" bindtap="filterItemData">战败 {{item.losses}}</text>
</view>
</view>
</scroll-view>
</view> </view>
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="time" wx:for-index="subIndex" wx:for-item="record">
<view class="record-card" bindtap="goReceptionDetail" data-item="{{record}}">
<view class="record-card-top">
<text class="round-dot">{{subIndex + 1}}</text>
<view class="card-line"></view>
</view>
<view class="card-item">
<record-item record="{{record}}" showEmployeeName="{{showEmployeeName}}" isShowDefeatBtn="{{isShowDefeatBtn}}"></record-item>
</view>
</view>
</block>
</block> </block>
</block> </block>
<block wx:if="{{!filter.isShowEmpty(listData)}}">
<view class="empty-box">
<image class="no-data-img" src="{{IMG_URL}}empty_data.png" />
<view class="list-not-text">近七天暂无接待记录数据</view>
</view>
</block>
<block wx:if="{{nothing}}"> <block wx:if="{{nothing}}">
<view class="show-more-btn" bindtap="goPage">查看更多</view> <view class="show-more-btn" bindtap="goPage">查看更多</view>
</block> </block>
......
...@@ -6,7 +6,8 @@ Component({ ...@@ -6,7 +6,8 @@ Component({
* 组件的属性列表 * 组件的属性列表
*/ */
properties: { properties: {
batchId: Number batchId: Number,
defenceResultFlag:Number
}, },
lifetimes: { lifetimes: {
ready() { ready() {
...@@ -84,13 +85,13 @@ Component({ ...@@ -84,13 +85,13 @@ Component({
list list
} = this.data; } = this.data;
let mergedOffset = list.detailList[activeIndex].mergedOffset; let mergedOffset = list.detailList[activeIndex].mergedOffset;
thisPage.seek(mergedOffset)
thisPage.onPause()
thisPage.setData({ thisPage.setData({
activeIndex: 0, activeIndex: 0,
avgDefence:'' avgDefence:''
}, () => { }, () => {
thisPage.dialogueRef().toDefenceItem(mergedOffset) thisPage.dialogueRef().toDefenceItem(mergedOffset)
thisPage.play()
}) })
}, },
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
.attack-content { .attack-content {
width: 100%; width: 100%;
overflow: scroll; overflow: scroll;
height: calc(100vh - var(--fontSize740)); height: calc(100vh - var(--fontSize760));
background-color: #fff; background-color: #fff;
.content { .content {
......
<!--packageEquity/pages/receptionDetail/components/attack/index.wxml--> <!--packageEquity/pages/receptionDetail/components/attack/index.wxml-->
<view class="attack-wrap"> <view class="attack-wrap">
<block wx:if="{{isShow}}"> <block wx:if="{{isShow}}">
<block wx:if="{{list&&list.detailList&&list.detailList.length>0}}"> <block wx:if="{{list&&list.detailList&&list.detailList.length>0}}">
<scroll-view scroll-x class="scroll-view" wx:if="{{list&&list.detailList&&list.detailList.length>0}}"> <scroll-view scroll-x class="scroll-view" wx:if="{{list&&list.detailList&&list.detailList.length>0}}">
<view class="attack-bout {{list.detailList.length>4?'attach-list-scroll':''}}"> <view class="attack-bout {{list.detailList.length>4?'attach-list-scroll':''}}">
<view class="attack-list {{activeIndex==index?'active':''}}" wx:for="{{list.detailList}}" data-index="{{index}}" bind:tap="changeAttackType"> <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="title">攻防回合{{index+1}}</view>
<view class="score">{{item.defScore}}<text>分</text></view> <view class="score">{{item.defScore}}<text>分</text></view>
</view>
</view>
</scroll-view>
<scroll-view scroll-y class="attack-content" scroll-top="{{scrollTop}}">
<view class="content">
<view class="left attack">
攻
</view>
<view class="text">{{list.detailList[activeIndex].question}}</view>
</view>
<view class="content hit">
<view class="left defend">
防
</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>
<view class="suggest-content"> </view>
<rich-text nodes="{{list.detailList[activeIndex].suggestionsForImprovement}}"></rich-text> </scroll-view>
<scroll-view scroll-y class="attack-content" scroll-top="{{scrollTop}}">
<view class="content">
<view class="left attack">
攻
</view> </view>
<view class="line"></view> <view class="text">{{list.detailList[activeIndex].question}}</view>
<view class="title"> </view>
<gl-image class="improve" webp src="/polish.png" />润色表达 <view class="content hit">
<view class="left defend">
防
</view> </view>
<view class="suggest-content"> <view class="text">{{list.detailList[activeIndex].answer}}</view>
<rich-text nodes="{{list.detailList[activeIndex].refineTheExpression}}"></rich-text> </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> </view>
<view class="footer">
<view class="more" bind:tap="lookMore">去对话查看</view>
</view>
</scroll-view>
</block>
<block wx:else>
<view class="no-data">
<gl-image class="no-data-img" webp src="/equity/empty.png" />
<view class="list-not"> {{
defenceResultFlag === 1 ||
defenceResultFlag === 0 ||
defenceResultFlag === 4
? "数据分析中,请稍等"
: defenceResultFlag === 3
? "未发现攻防"
: "未进行攻防识别"
}}</view>
</view> </view>
<view class="footer"> </block>
<view class="more" bind:tap="lookMore">去对话查看</view>
</view>
</scroll-view>
</block>
<block wx:else>
<view class="no-data">
<gl-image class="no-data-img" webp src="/equity/empty.png" />
<view class="list-not">分析中,请稍等...</view>
</view>
</block> </block>
</block>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -148,8 +148,9 @@ Component({ ...@@ -148,8 +148,9 @@ Component({
const { const {
data: dialogueList data: dialogueList
} = await api.post("dj.api.smartcarlife.recepiton.findConversationDetailByBatchId", params), { } = await api.post("dj.api.smartcarlife.recepiton.findConversationDetailByBatchId", params), {
totalDuration totalDuration
} = this.data.recordData } = this.data.recordData,
userInfo = wx.$util.getUserInfo() || {}
let defenceNum = 1, let defenceNum = 1,
defenceDetailList = [] defenceDetailList = []
dialogueList?.map(e => { dialogueList?.map(e => {
...@@ -179,17 +180,22 @@ Component({ ...@@ -179,17 +180,22 @@ Component({
} }
if (e?.conversationCheckDetailDTO) { if (e?.conversationCheckDetailDTO) {
let { e.conversationCheckDetailDTO = Array.isArray(e.conversationCheckDetailDTO) ? e.conversationCheckDetailDTO : [e.conversationCheckDetailDTO]
suggestions, e.conversationCheckDetailDTO.map(i => {
firstClassify let {
} = e.conversationCheckDetailDTO suggestions,
if (suggestions) e.conversationCheckDetailDTO.suggestions = this.transitionBr(suggestions) firstClassify
if (suggestions == '-') e.conversationCheckDetailDTO.suggestions = '' } = i
let regex = new RegExp('环节', 'g') if (suggestions) i.suggestions = this.transitionBr(suggestions)
e.conversationCheckDetailDTO.firstClassify = firstClassify.replace(regex, '') if (suggestions == '-') i.suggestions = ''
let regex = new RegExp('环节', 'g')
i.firstClassify = firstClassify.replace(regex, '')
})
} else { } else {
e.appealText = e.conversationDetailAppealId ? '已申诉' : '申诉' if (!userInfo.isSuper) {
e.appealClass = e.conversationDetailAppealId ? 'appeal-disabled' : '' e.appealText = e.conversationDetailAppealId ? '已申诉' : '申诉'
e.appealClass = e.conversationDetailAppealId ? 'appeal-disabled' : ''
}
} }
}) })
this.setData({ this.setData({
...@@ -253,8 +259,11 @@ Component({ ...@@ -253,8 +259,11 @@ Component({
regex = new RegExp('注意事项', 'g') regex = new RegExp('注意事项', 'g')
totalDuration = totalDuration / 1000 totalDuration = totalDuration / 1000
wx.$util.getViewInfo('.axis-bar', ({ wx.$util.getViewInfo('.axis-bar', ({
height: containerHeight height: containerHeight,
top: barTop
}) => { }) => {
this.barTop = barTop
this.containerHeight = containerHeight
let colorList = [], let colorList = [],
processedTops = [], processedTops = [],
margin = 13, margin = 13,
...@@ -336,10 +345,13 @@ Component({ ...@@ -336,10 +345,13 @@ Component({
const { const {
index, index,
value, value,
ind,
key key
} = e.currentTarget.dataset } = e.currentTarget.dataset
let target = `dialogueList[${index}]`
if (ind > -1) target = `dialogueList[${index}].conversationCheckDetailDTO[${ind}]`
this.setData({ this.setData({
[`dialogueList[${index}].${key}`]: !value [`${target}.${key}`]: !value
}) })
}, },
touchstart() { touchstart() {
...@@ -405,7 +417,51 @@ Component({ ...@@ -405,7 +417,51 @@ Component({
dialogueList dialogueList
} = this.data, } = this.data,
item = dialogueList.find(e => e.mergedOffset == mergedOffset) item = dialogueList.find(e => e.mergedOffset == mergedOffset)
if (item && item.id) this.setTopId(item, true) if (item && item.id) wx.nextTick(() => this.setData({
toId: item.text_id,
activeId: item.text_id
}))
},
barSeek(e) {
function findNearest(arr, target) {
let closest = arr[0];
let minDiff = Math.abs(target - arr[0]);
for (let i = 1; i < arr.length; i++) {
const diff = Math.abs(target - arr[i]);
if (diff < minDiff) {
minDiff = diff;
closest = arr[i];
}
}
return closest;
}
let [touches] = e.touches, {
barTop,
containerHeight
} = this, {
duration
} = this.innerAudioContext, {
dialogueList
} = this.data
if (touches) {
let {
clientY
} = touches,
progress = (clientY - barTop) / containerHeight * 100,
offsetList = dialogueList.map(i => i.mergedOffset),
mergedOffset = findNearest(offsetList, duration * progress / 100),
item = dialogueList.find(i => i.mergedOffset == mergedOffset)
this.setData({
progress
})
this.seekPlay({
currentTarget:{
dataset:{item,scroll:true}
}
})
}
} }
} }
}) })
\ No newline at end of file \ No newline at end of file
...@@ -39,12 +39,15 @@ ...@@ -39,12 +39,15 @@
width: var(--fontSize80); width: var(--fontSize80);
height: var(--fontSize80); height: var(--fontSize80);
flex-shrink: 0; flex-shrink: 0;
display: flex;
align-items: center;
flex-direction: column;
.icon { .icon {
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 100%; border-radius: 100%;
overflow: hidden; overflow: hidden;
flex-shrink: 0;
} }
.time { .time {
...@@ -323,12 +326,12 @@ ...@@ -323,12 +326,12 @@
.axis-bar { .axis-bar {
position: absolute; position: absolute;
top: 50%; top: 50%;
right: -6rpx; right: -8rpx;
width: var(--fontSize12); width: 16rpx;
height: calc(100% - var(--fontSize140)); height: calc(100% - var(--fontSize140));
background-color: #E7E7E7; background-color: #E7E7E7;
transform: translateY(-50%); transform: translateY(-50%);
border-radius: var(--fontSize6); border-radius: var(--fontSize8);
z-index: 8; z-index: 8;
.hide-bar { .hide-bar {
...@@ -337,16 +340,16 @@ ...@@ -337,16 +340,16 @@
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
border-radius: var(--fontSize6); border-radius: var(--fontSize8);
overflow: hidden; overflow: hidden;
.axis-line { .axis-line {
border-radius: var(--fontSize2); border-radius: var(--fontSize4);
position: absolute; position: absolute;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
z-index: -1; z-index: -1;
width: 4rpx; width: 8rpx;
} }
.yellow-tag { .yellow-tag {
...@@ -368,8 +371,9 @@ ...@@ -368,8 +371,9 @@
background-color: #347BFF; background-color: #347BFF;
top: 0; top: 0;
left: 0; left: 0;
border-radius: var(--fontSize6); border-radius: var(--fontSize8);
z-index: 2; z-index: 2;
transition: all .1s;
} }
.axis-item { .axis-item {
...@@ -385,8 +389,8 @@ ...@@ -385,8 +389,8 @@
left: 50%; left: 50%;
top: 0; top: 0;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
width: var(--fontSize16); width: 20rpx;
height: var(--fontSize16); height:20rpx;
background: #FFFFFF; background: #FFFFFF;
border: var(--fontSize4) solid transparent; border: var(--fontSize4) solid transparent;
box-shadow: 0 var(--fontSize4) var(--fontSize16) 0 #7a7a7a33; box-shadow: 0 var(--fontSize4) var(--fontSize16) 0 #7a7a7a33;
...@@ -396,7 +400,7 @@ ...@@ -396,7 +400,7 @@
.axis-text { .axis-text {
position: absolute; position: absolute;
right: var(--fontSize16); right: var(--fontSize20);
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #757980; color: #757980;
display: inline-block; display: inline-block;
...@@ -409,39 +413,28 @@ ...@@ -409,39 +413,28 @@
} }
.yellow-tag { .yellow-tag {
background-color: #FFF5E6;
.axis-dot { .axis-dot {
border-color: #FF9D0A; border-color: #FF9D0A;
} }
&~.axis-text {
background-color: #FFF5E6;
}
} }
.green-tag { .green-tag {
background-color: #EAF9F1;
.axis-dot { .axis-dot {
border-color: #35C376; border-color: #35C376;
} }
&~.axis-text {
background-color: #EAF9F1;
}
} }
.red-tag { .red-tag {
background-color: #FFE8E8;
.axis-dot { .axis-dot {
border-color: #F56C50; border-color: #F56C50;
} }
&~.axis-text {
background-color: #FFF4F4;
}
} }
.axis-active { .axis-active {
z-index: 2; z-index: 4;
.axis-dot { .axis-dot {
width: var(--fontSize36); width: var(--fontSize36);
height: var(--fontSize36); height: var(--fontSize36);
...@@ -472,7 +465,8 @@ ...@@ -472,7 +465,8 @@
color: #FFFFFF !important; color: #FFFFFF !important;
background-color: #347BFF !important; background-color: #347BFF !important;
border-radius: var(--fontSize16) 0 0 var(--fontSize16); border-radius: var(--fontSize16) 0 0 var(--fontSize16);
right: var(--fontSize14); right: 18rpx;
z-index: 2;
} }
.defence-item { .defence-item {
...@@ -482,13 +476,13 @@ ...@@ -482,13 +476,13 @@
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
z-index: 4; z-index: 4;
.icon { .icon {
position: absolute; position: absolute;
top: 50%; top: 50%;
right: 100%; right: 100%;
width: 80rpx; width: 80rpx;
height: 40rpx; height: 40rpx;
transform: translateY(-50%);
} }
} }
} }
......
...@@ -22,40 +22,43 @@ ...@@ -22,40 +22,43 @@
</view> </view>
<!-- 意图匹配 --> <!-- 意图匹配 -->
<block wx:if="{{item.conversationCheckDetailDTO}}"> <block wx:if="{{item.conversationCheckDetailDTO}}">
<view class="detail-box {{item.showCheckDetail?'up':'down'}}"> <block wx:for="{{item.conversationCheckDetailDTO}}" wx:key="ind" wx:for-item="i" wx:for-index="ind">
<view class="text-box"> <view class="detail-box {{i.showCheckDetail?'up':'down'}}">
<view class="btn" bindtap="switchDetail" data-index="{{index}}" data-key="showCheckDetail" data-value="{{item.showCheckDetail}}"> <view class="text-box">
意图匹配 <view class="btn" bindtap="switchDetail" data-index="{{index}}"
<gl-image class="arrow" webp src="/equity/reception/suggestions-arrow.png" /> data-ind="{{ind}}" data-key="showCheckDetail" data-value="{{i.showCheckDetail}}">
</view> 意图匹配
{{item.conversationCheckDetailDTO.firstClassify}}/{{item.conversationCheckDetailDTO.secondClassify}} <gl-image class="arrow" webp src="/equity/reception/suggestions-arrow.png" />
<view class="score">{{item.conversationCheckDetailDTO.score}}分</view>
</view>
<view class="content-box">
<block wx:if="{{!item.conversationCheckDetailDTO.suggestions}}">
<view class="suggestions-box no">
<gl-image class="icon" webp src="/equity/reception/no-suggestions.png" />
暂无建议
</view> </view>
</block> {{i.firstClassify}}/{{i.secondClassify}}
<block wx:else> <view class="score">{{i.score}}分</view>
<view class="suggestions-box"> </view>
<view class="title"> <view class="content-box">
<gl-image class="icon" webp src="/equity/reception/suggestions-icon.png" /> <block wx:if="{{!i.suggestions}}">
话术建议 <view class="suggestions-box no">
<gl-image class="icon" webp src="/equity/reception/no-suggestions.png" />
暂无建议
</view> </view>
<view class="text"> </block>
<rich-text nodes="{{item.conversationCheckDetailDTO.suggestions}}"></rich-text> <block wx:else>
<view class="suggestions-box">
<view class="title">
<gl-image class="icon" webp src="/equity/reception/suggestions-icon.png" />
话术建议
</view>
<view class="text">
<rich-text nodes="{{i.suggestions}}"></rich-text>
</view>
</view> </view>
</view> </block>
</block>
<view class="ai-btn" data-satge="{{item.conversationCheckDetailDTO.firstClassify}}" bindtap="practiceHandle"> <view class="ai-btn" data-satge="{{i.firstClassify}}" bindtap="practiceHandle">
<gl-image class="icon" webp src="/equity/reception/message.png" /> <gl-image class="icon" webp src="/equity/reception/message.png" />
快速练习 快速练习
</view>
</view> </view>
</view> </view>
</view> </block>
</block> </block>
<!-- 攻防回合 --> <!-- 攻防回合 -->
<block wx:if="{{item.defenceDetail}}"> <block wx:if="{{item.defenceDetail}}">
...@@ -109,16 +112,16 @@ ...@@ -109,16 +112,16 @@
</view> </view>
</block> </block>
</block> </block>
<view class="axis-bar"> <view class="axis-bar" bindtap="barSeek">
<!-- <view class="axis-bar {{axisList.length ? '' : 'hide-axis-bar'}}"> --> <!-- <view class="axis-bar {{axisList.length ? '' : 'hide-axis-bar'}}"> -->
<view class="progress-bar" style="height:{{progress + '%'}}"></view> <view class="progress-bar" style="height:{{progress + '%'}}"></view>
<block wx:for="{{axisList}}" wx:key="index"> <block wx:for="{{axisList}}" wx:key="index">
<block wx:if="{{item.inspectionConversationDetailId}}"> <block wx:if="{{item.inspectionConversationDetailId}}">
<view class="axis-item {{activeId == item.text_id?'axis-active':''}} {{item.colorName}}" style="top:{{item.docTop + 'px'}};"> <view class="axis-item {{activeId == item.text_id?'axis-active':''}} {{item.colorName}}" style="top:{{item.docTop + 'px'}};">
<view class="axis-dot {{!isPlayIng && !isScrollling?'':'radius'}}" bindtap="seekPlay" data-item="{{item}}" data-scroll></view> <view class="axis-dot {{!isPlayIng && !isScrollling?'':'radius'}}" catchtap="seekPlay" data-item="{{item}}" data-scroll></view>
</view> </view>
<block wx:if="{{!isPlayIng && !isScrollling}}"> <block wx:if="{{!isPlayIng && !isScrollling}}">
<view class="axis-text {{activeId == item.text_id?'axis-text-active':''}}" bindtap="seekPlay" data-item="{{item}}" data-scroll style="top:{{item.top + 'px'}};"> <view class="axis-text {{item.colorName}} {{activeId == item.text_id?'axis-text-active':''}}" catchtap="seekPlay" data-item="{{item}}" data-scroll style="top:{{item.top + 'px'}};">
{{item.secondClassify}}+{{item.score}} {{item.secondClassify}}+{{item.score}}
</view> </view>
</block> </block>
...@@ -126,7 +129,7 @@ ...@@ -126,7 +129,7 @@
</block> </block>
<block wx:for="{{defenceDetailList}}" wx:key="index"> <block wx:for="{{defenceDetailList}}" wx:key="index">
<view class="defence-item" style="top:{{item.top + '%'}};"> <view class="defence-item" style="top:{{item.top + '%'}};">
<view class="icon" bindtap="toDefenceDetail" data-item="{{item}}"> <view class="icon" catchtap="toDefenceDetail" data-item="{{item}}">
<gl-image webp src="/equity/reception/defence-icon.png" /> <gl-image webp src="/equity/reception/defence-icon.png" />
</view> </view>
</view> </view>
......
...@@ -26,14 +26,18 @@ Component({ ...@@ -26,14 +26,18 @@ Component({
secondIndex: 0, secondIndex: 0,
activeids: [], activeids: [],
list: [{ list: [{
stage: '接待环节' stage: '接待环节',
totalScore: 4
}, { }, {
stage: '车辆交付' stage: '车辆交付',
totalScore: 50
}, },
{ {
stage: '需求挖掘' stage: '需求挖掘',
totalScore: 40
}, { }, {
stage: '促成交' stage: '促成交',
totalScore: 6
} }
] ]
}, },
...@@ -66,12 +70,15 @@ Component({ ...@@ -66,12 +70,15 @@ Component({
} }
}) })
if (data.every(item => !item.active)) { if (data.every(item => !item.active)) {
data[0].active = true data[0].active = true
} }
if (data[data.length - 1].active) { if (data[data.length - 1].active) {
data[data.length - 1].active = false if((data[data.length-1].duration+data[data.length-1].offset)/1000<=mergedOffset){
data[data.length - 1].active = false
}
} }
this.setData({ this.setData({
list list
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
height: var(--fontSize112); height: var(--fontSize112);
background: #EDF4FF; background: #EDF4FF;
border-radius: var(--fontSize16) var(--fontSize16) 0 0; border-radius: var(--fontSize16) var(--fontSize16) 0 0;
// border-top: var(--fontSize16);
// border-right: var(--fontSize16);
} }
.classify-list { .classify-list {
...@@ -16,8 +17,6 @@ ...@@ -16,8 +17,6 @@
box-sizing: border-box; box-sizing: border-box;
flex: 1; flex: 1;
text-align: center; text-align: center;
border-radius: 0 0 0 var(--fontSize16);
background: #EDF4FF;
.title { .title {
font-weight: 400; font-weight: 400;
...@@ -32,8 +31,9 @@ ...@@ -32,8 +31,9 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #347BFF; color: #347BFF;
line-height: var(--fontSize40); line-height: var(--fontSize40);
.fail{
color:#F24724; .fail {
color: #F24724;
} }
} }
...@@ -51,12 +51,14 @@ color:#F24724; ...@@ -51,12 +51,14 @@ color:#F24724;
} }
.quality-reception-wrap { .quality-reception-wrap {
overflow:scroll; overflow: scroll;
height: calc(100vh - var(--fontSize750)); height: calc(100vh - var(--fontSize750));
.link-list { .link-list {
background-color: #fff; background-color: #fff;
margin-bottom:var(--fontSize24); margin-bottom: var(--fontSize24);
padding-bottom:var(--fontSize24); border-radius: 0 0 var(--fontSize16) var(--fontSize16);
.link-title { .link-title {
width: 100%; width: 100%;
height: var(--fontSize80); height: var(--fontSize80);
...@@ -93,11 +95,13 @@ color:#F24724; ...@@ -93,11 +95,13 @@ color:#F24724;
color: #F24724; color: #F24724;
margin: 0 var(--fontSize44) 0 auto; margin: 0 var(--fontSize44) 0 auto;
} }
.failStage{
color:#F24724; .failStage {
} color: #F24724;
.success{ }
font-weight: 500;
.success {
font-weight: 500;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #35C376; color: #35C376;
margin: 0 var(--fontSize44) 0 auto; margin: 0 var(--fontSize44) 0 auto;
...@@ -105,10 +109,12 @@ color:#F24724; ...@@ -105,10 +109,12 @@ color:#F24724;
} }
.quality-content { .quality-content {
height:auto; height: auto;
background-color: #fff; background-color: #fff;
border-radius: 0 0 var(--fontSize16) var(--fontSize16);
.content { .content {
position:relative; position: relative;
width: 100%; width: 100%;
height: auto; height: auto;
display: flex; display: flex;
...@@ -116,19 +122,21 @@ color:#F24724; ...@@ -116,19 +122,21 @@ color:#F24724;
padding: var(--fontSize24) var(--fontSize74) var(--fontSize24) var(--fontSize16); padding: var(--fontSize24) var(--fontSize74) var(--fontSize24) var(--fontSize16);
box-sizing: border-box; box-sizing: border-box;
margin-bottom: var(--fontSize12); margin-bottom: var(--fontSize12);
.trumpet-box{
width:var(--fontSize40); .trumpet-box {
height: var(--fontSize40); width: var(--fontSize40);
border-radius:50%; height: var(--fontSize40);
position:absolute; border-radius: 50%;
right:var(--fontSize12); position: absolute;
margin:0 auto; right: var(--fontSize12);
display:none; margin: 0 auto;
} display: none;
.trumpet{ }
width:var(--fontSize48);
height: var(--fontSize40); .trumpet {
} width: var(--fontSize48);
height: var(--fontSize40);
}
} }
.text { .text {
...@@ -140,6 +148,7 @@ color:#F24724; ...@@ -140,6 +148,7 @@ color:#F24724;
.left { .left {
position: relative; position: relative;
.avatar { .avatar {
width: var(--fontSize80); width: var(--fontSize80);
height: var(--fontSize80); height: var(--fontSize80);
...@@ -147,9 +156,9 @@ color:#F24724; ...@@ -147,9 +156,9 @@ color:#F24724;
} }
.duration { .duration {
position:absolute; position: absolute;
top:var(--fontSiz60); top: var(--fontSize70);
left:50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
padding: 0 var(--fontSize9); padding: 0 var(--fontSize9);
height: var(--fontSize28); height: var(--fontSize28);
...@@ -163,41 +172,42 @@ color:#F24724; ...@@ -163,41 +172,42 @@ color:#F24724;
} }
.hit { .hit {
background: #F0F6FF; background: #F0F6FF;
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
.hit-content { .hit-content {
width: 100%; width: 100%;
background: #F5F5F5; background: #F5F5F5;
padding: var(--fontSize12) 0 ;
.matching { .matching {
display: flex; display: flex;
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #B38442; color: #B38442;
height: var(--fontSize56); height: var(--fontSize80);
align-items: center; align-items: center;
padding: 0 var(--fontSize24); padding: var(--fontSize12) var(--fontSize24);
.title{ box-sizing: border-box;
display: flex;
align-items: center; .title {
justify-content: center; display: flex;
width: var(--fontSize172); align-items: center;
height: var(--fontSize56); justify-content: center;
background-image: linear-gradient(90deg, #ff8e0c1a 0%, #ffba7b1a 100%); width: var(--fontSize172);
border-radius: var(--fontSize28); height: var(--fontSize56);
margin-right: var(--fontSize8); background-image: linear-gradient(90deg, #ff8e0c1a 0%, #ffba7b1a 100%);
border-radius: var(--fontSize28);
.arrow { margin-right: var(--fontSize8);
width: var(--fontSize36);
height: var(--fontSize36); .arrow {
transition: all .25s; width: var(--fontSize36);
} height: var(--fontSize36);
transition: all .25s;
}
} }
.score { .score {
...@@ -205,17 +215,19 @@ color:#F24724; ...@@ -205,17 +215,19 @@ color:#F24724;
} }
} }
} }
.up {
height: auto;
.arrow { .up {
transform: rotate(90deg); height: auto;
}
.content-box { .arrow {
animation: move-up .2s forwards; transform: rotate(90deg);
}
} }
.content-box {
animation: move-up .2s forwards;
}
}
.verbal-warp { .verbal-warp {
padding: var(--fontSize24) var(--fontSize28); padding: var(--fontSize24) var(--fontSize28);
background: #FFFFFF; background: #FFFFFF;
...@@ -241,8 +253,8 @@ color:#F24724; ...@@ -241,8 +253,8 @@ color:#F24724;
font-weight: 400; font-weight: 400;
font-size: var(--fontSize26); font-size: var(--fontSize26);
color: #292D33; color: #292D33;
line-height:var(--fontSize44); line-height: var(--fontSize44);
white-space:pre-wrap; white-space: pre-wrap;
} }
} }
...@@ -254,13 +266,19 @@ color:#F24724; ...@@ -254,13 +266,19 @@ color:#F24724;
font-size: var(--fontSize26); font-size: var(--fontSize26);
font-weight: 500; font-weight: 500;
padding: var(--fontSize20) 0; padding: var(--fontSize20) 0;
.improve {
width: var(--fontSize32);
height: var(--fontSize32);
margin-right: var(--fontSize8);
}
} }
.line { .line {
width: 100%; width: 100%;
height: var(--fontSize2); height: var(--fontSize2);
background: #EDEDED; background: #EDEDED;
margin: var(--fontSize24) 0 ; margin-bottom: var(--fontSize24);
} }
.more { .more {
...@@ -274,34 +292,39 @@ color:#F24724; ...@@ -274,34 +292,39 @@ color:#F24724;
color: #757980; color: #757980;
font-size: var(--fontSize24); font-size: var(--fontSize24);
} }
.no-hit-content{
.verbal-warp{ .no-hit-content {
.verbal-warp {
background: #FAFAFA; background: #FAFAFA;
margin-top:var(--fontSize24); margin-top: var(--fontSize24);
} }
} }
.empty-box{
margin:0 auto; .empty-box {
display:flex; margin: 0 auto;
align-items:center; display: flex;
justify-content: center; align-items: center;
width: var(--fontSize488); justify-content: center;
height:var(--fontSiz124); width: var(--fontSize646);
opacity: 0.6; height: var(--fontSiz124);
background: #FFFFFF; opacity: 0.6;
border-radius:var(--fontSize16); background: #FFFFFF;
padding:var(--fontSize24) 0; border-radius: var(--fontSize16);
.no-data-img{ padding: var(--fontSize24) 0;
width:var(--fontSize76);
height: var(--fontSize76); .no-data-img {
width: var(--fontSize76);
height: var(--fontSize76);
} }
.list-not-text{
font-weight: 400; .list-not-text {
font-size: var(--fontSize24); font-weight: 400;
color: #8A8C90; font-size: var(--fontSize24);
margin-left:var(--fontSize16); color: #8A8C90;
margin-left: var(--fontSize16);
} }
} }
.no-data { .no-data {
text-align: center; text-align: center;
padding-top: var(--fontSize128); padding-top: var(--fontSize128);
...@@ -311,13 +334,19 @@ color:#F24724; ...@@ -311,13 +334,19 @@ color:#F24724;
width: var(--fontSize172); width: var(--fontSize172);
height: var(--fontSize172); height: var(--fontSize172);
} }
.list-not { .list-not {
font-size:var(--fontSize24); font-size: var(--fontSize24);
text-align: center; text-align: center;
color: #999EA8; color: #999EA8;
} }
.axis-active{
.appeal-disabled{ .axis-active {
display:block!important; .appeal-disabled {
display: block !important;
} }
}
.more-bg{
padding:var(--fontSize24) 0;
background-color: #fff;
} }
\ No newline at end of file \ No newline at end of file
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
<image class="no-data-img" src="{{IMG_URL}}empty_data.png" /> <image class="no-data-img" src="{{IMG_URL}}empty_data.png" />
<view class="list-not-text">暂无数据</view> <view class="list-not-text">暂无数据</view>
</view> </view>
<view class="exercise" bind:tap="practiceHandle" data-satge="{{i.stage}}"> <view class="exercise" bind:tap="practiceHandle" data-stage="{{i.firstClassify}}">
<gl-image class="improve" webp src="/improve.png" />快速练习 <gl-image class="improve" webp src="/exercise.png" />快速练习
</view> </view>
</block> </block>
...@@ -65,11 +65,14 @@ ...@@ -65,11 +65,14 @@
<image class="no-data-img" src="{{IMG_URL}}empty_data.png" /> <image class="no-data-img" src="{{IMG_URL}}empty_data.png" />
<view class="list-not-text">暂无数据</view> <view class="list-not-text">暂无数据</view>
</view> </view>
<view class="exercise" bind:tap="practiceHandle" data-satge="{{i.stage}}"> <view class="exercise" bind:tap="practiceHandle" data-stage="{{i.firstClassify}}">
<gl-image class="improve" webp src="/improve.png" />快速练习 <gl-image class="improve" webp src="/exercise.png" />快速练习
</view> </view>
</view> </view>
<view class="more" wx:if="{{i.conversationDetailDTOList}}" bind:tap="lookMore" data-fIndex="{{ind}}">查看更多</view> <view class="more-bg" wx:if="{{i.conversationDetailDTOList}}">
<view class="more" bind:tap="lookMore" data-fIndex="{{ind}}">查看更多</view>
</view>
</view> </view>
</view> </view>
</block> </block>
......
...@@ -53,6 +53,7 @@ Page({ ...@@ -53,6 +53,7 @@ Page({
content: '是否前往AI趣练练习该对话环节', content: '是否前往AI趣练练习该对话环节',
success(res) { success(res) {
if (res.confirm) { if (res.confirm) {
console.log(tag,stage)
if (tag && stage) { if (tag && stage) {
wx.navigateTo({ wx.navigateTo({
url: `/packageEquity/pages/aiCheck/chat/chat?stage=${stage}&roleName=${tag}` url: `/packageEquity/pages/aiCheck/chat/chat?stage=${stage}&roleName=${tag}`
...@@ -174,7 +175,7 @@ Page({ ...@@ -174,7 +175,7 @@ Page({
startTime startTime
} = record } = record
// 门店 - 接待开始时间 - 接待时长 - 员工标记的接待结果 - 接待录音mp3地址 // 门店 - 接待开始时间 - 接待时长 - 员工标记的接待结果 - 接待录音mp3地址
let text = [`${userInfo && userInfo.default4SStoreInfo && userInfo.default4SStoreInfo.merchantName}`, wx.$util.tsFormatTime(startTime, 'Y年M月D日'), wx.$util.tsFormatTime(endTime, 'Y年M月D日'), this.format(totalDuration), receptionStatus, fileUrl].join(' - ') let text = [`${userInfo && userInfo.default4SStoreInfo && userInfo.default4SStoreInfo.merchantName}`, wx.$util.tsFormatTime(startTime, 'Y年M月D日 h:m:s'), wx.$util.tsFormatTime(endTime, 'Y年M月D日 h:m:s'), this.format(totalDuration), receptionStatus, fileUrl].join(' - ')
wx.$util.setCopyData(text) wx.$util.setCopyData(text)
// wx.$util.showToast('复制成功') // wx.$util.showToast('复制成功')
}, },
......
...@@ -39,7 +39,7 @@ page { ...@@ -39,7 +39,7 @@ page {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: var(--fontSize16) 0; padding: 0 0 var(--fontSize16) 0;
} }
.reception-types { .reception-types {
......
...@@ -29,6 +29,6 @@ ...@@ -29,6 +29,6 @@
<dialogue id="dialogue" bindplay="play" bindpause="onPause" recordData="{{record}}"></dialogue> <dialogue id="dialogue" bindplay="play" bindpause="onPause" recordData="{{record}}"></dialogue>
</view> </view>
<quality id="quality" wx:if="{{activeIndex==1}}" batchId="{{record.batchId}}"></quality> <quality id="quality" wx:if="{{activeIndex==1}}" batchId="{{record.batchId}}"></quality>
<attack wx:elif="{{activeIndex==2}}" batchId="{{record.batchId}}"></attack> <attack wx:elif="{{activeIndex==2}}" defenceResultFlag="{{record.defenceResultFlag}}" batchId="{{record.batchId}}"></attack>
</block> </block>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -69,7 +69,7 @@ Page({ ...@@ -69,7 +69,7 @@ Page({
carModels: searchForm?.carModels, carModels: searchForm?.carModels,
orderResult: searchForm?.orderResult, orderResult: searchForm?.orderResult,
merchantNo: userInfo?.isSuper && !searchForm?.merchantNo?.length ? storeRangeList?.map(v => {if (v.merchantNo) return v.merchantNo}) : (searchForm?.merchantNo || [userInfo.default4SStoreInfo.merchantId]), merchantNo: userInfo?.isSuper && !searchForm?.merchantNo?.length ? storeRangeList?.map(v => {if (v.merchantNo) return v.merchantNo}) : (searchForm?.merchantNo || [userInfo.default4SStoreInfo.merchantId]),
staffUuids: searchForm?.staffUuids staffUuids: userInfo.isSuper ? searchForm?.staffUuids : [userInfo.uuid]
} }
return obj return obj
}, },
...@@ -131,7 +131,8 @@ Page({ ...@@ -131,7 +131,8 @@ Page({
getReceptionRecordList({ getReceptionRecordList({
merchantNo: params.merchantNo, merchantNo: params.merchantNo,
startDateTime: params.startDateTime, startDateTime: params.startDateTime,
endDateTime: params.endDateTime endDateTime: params.endDateTime,
staffUuids: params.staffUuids
}).then(res => { }).then(res => {
let { code, message, data } = res let { code, message, data } = res
if (code == 0) { if (code == 0) {
......
...@@ -52,48 +52,63 @@ ...@@ -52,48 +52,63 @@
position: relative; position: relative;
} }
.date-section { .date-section {
height: var(--fontSize40); height: var(--fontSize72);
line-height: var(--fontSize40); line-height: var(--fontSize70);
padding: var(--fontSize16); padding-left: var(--fontSize32);
background: #F7F8FA; background: #F7F8FA;
display: flex;
align-items: center;
position: sticky; position: sticky;
top: 0; top: 0;
left: 0; left: 0;
z-index: 1000; z-index: 1000;
&.sticky-date-section{
}
.date { .date {
flex-shrink: 0;
width: var(--fontSize146);
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #292D33; color: #292D33;
font-weight: 500; font-weight: 500;
margin-right: var(--fontSize36);
} }
.summary-item{ .static{
font-size: var(--fontSize26); height: 100%;
color: #5A5E66; white-space: nowrap;
&.blue{ overflow: hidden;
color: #347BFF; width: calc(100% - var(--fontSize146));
} .static-warp{
&.blue-blod{ height: 100%;
font-weight: 600; display: inline-block;
white-space: nowrap;
view{
display: inline-block;
.summary-item{
font-size: var(--fontSize26);
color: #5A5E66;
&.blue{
color: #347BFF;
}
&.blue-blod{
font-weight: 600;
}
}
.line{
display: inline-block;
width: var(--fontSize2);
height: var(--fontSize14);
background: #D1DBE7;
margin: 0 var(--fontSize16);
}
&.first-child{
padding-top: 0;
}
}
} }
} }
.line{
display: inline-block;
width: var(--fontSize2);
height: var(--fontSize14);
background: #D1DBE7;
margin: 0 var(--fontSize16);
}
&.first-child{
padding-top: 0;
}
} }
.record-card-top{ .record-card-top{
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: center; align-items: center;
padding-top: var(--fontSize8);
margin-right: var(--fontSize4); margin-right: var(--fontSize4);
.round-dot{ .round-dot{
width: var(--fontSize28); width: var(--fontSize28);
...@@ -110,11 +125,16 @@ ...@@ -110,11 +125,16 @@
} }
.record-card{ .record-card{
display: flex; display: flex;
margin-top: var(--fontSize16); margin: var(--fontSize16) 0;
padding: 0 var(--fontSize20) 0 var(--fontSize4); padding: 0 var(--fontSize20) 0 var(--fontSize4);
position: relative;
.card-line{ .card-line{
position: absolute;
top: var(--fontSize44);
left: var(--fontSize14);
transparent: translateX(-50%);
width: var(--fontSize3); width: var(--fontSize3);
height: var(--fontSize310); height: var(--fontSize280);
background: repeating-linear-gradient(to bottom, transparent, transparent var(--fontSize10), #DEE0E3 var(--fontSize10), #DEE0E3 var(--fontSize20)); background: repeating-linear-gradient(to bottom, transparent, transparent var(--fontSize10), #DEE0E3 var(--fontSize10), #DEE0E3 var(--fontSize20));
} }
.card-item{ .card-item{
......
...@@ -26,14 +26,26 @@ ...@@ -26,14 +26,26 @@
<block wx:if="{{filter.isShowEmpty(listData)}}"> <block wx:if="{{filter.isShowEmpty(listData)}}">
<block wx:for="{{listData}}" wx:key="date" wx:if="{{item.receptionStaticInfoDTOList.length}}"> <block wx:for="{{listData}}" wx:key="date" wx:if="{{item.receptionStaticInfoDTOList.length}}">
<view class="date-section"> <view class="date-section">
<text class="date">{{item.staticDateStr}}</text> <view class="date">{{item.staticDateStr}}</view>
<text class="summary-item">交付量 {{item.deliveryVolume}}</text> <scroll-view scroll-x show-scrollbar="{{false}}" class="static">
<text class="line"></text> <view class="static-warp">
<text class="summary-item">触客数 {{item.customerContacts}}</text> <view>
<text class="line"></text> <text class="summary-item">交付量 {{item.deliveryVolume}}</text>
<text class="summary-item blue {{isFilterUpgrade ? 'blue-blod' : ''}}" data-type="upgrade" bindtap="filterItemData">升级 {{item.upgrades}}</text> <text class="line"></text>
<text class="line"></text> </view>
<text class="summary-item blue {{isFilterDefeat ? 'blue-blod' : ''}}" data-type="defeat" bindtap="filterItemData">战败 {{item.losses}}</text> <view>
<text class="summary-item">触客数 {{item.customerContacts}}</text>
<text class="line"></text>
</view>
<view>
<text class="summary-item blue {{isFilterUpgrade ? 'blue-blod' : ''}}" data-type="upgrade" bindtap="filterItemData">升级 {{item.upgrades}}</text>
<text class="line"></text>
</view>
<view>
<text class="summary-item blue {{isFilterDefeat ? 'blue-blod' : ''}}" data-type="defeat" bindtap="filterItemData">战败 {{item.losses}}</text>
</view>
</view>
</scroll-view>
</view> </view>
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="time" wx:for-index="subIndex" wx:for-item="record"> <block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="time" wx:for-index="subIndex" wx:for-item="record">
<view class="record-card" bind:tap="goto" data-record="{{record}}"> <view class="record-card" bind:tap="goto" data-record="{{record}}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!