Commit c9dc266e by 胡悦

Merge branch 'SAAS+V5.0.0-1014' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.0.0-1014

2 parents 597b707d 0061e546
...@@ -7,5 +7,126 @@ module.exports = { ...@@ -7,5 +7,126 @@ module.exports = {
return http.post(`/evalOrder/page`, { return http.post(`/evalOrder/page`, {
...data ...data
}) })
},
/** 评估单详情 */
evalOrderDetail(data) {
return http.post(`/evalOrder/detail`, {
...data
})
},
/** 评估单创建 */
evalOrderCreate(data) {
return http.post(`/evalOrder/create`, {
...data
})
},
/** 评估单分页状态数量 */
evalOrderPageCount(data) {
return http.post(`/evalOrder/pageCount`, {
...data
})
},
/** 评估单更新 */
evalOrderUpdate(data) {
return http.post(`/evalOrder/edit`, {
...data
})
},
/** 评估单重新报价 */
evalOrderOwnerReQuote(data) {
return http.post(`/evalOrder/ownerReQuote`, {
...data
})
},
/** 签订买卖合同 */
evalOrderSignContract(data) {
return http.post(`/evalOrder/signingSaleContract`, {
...data
})
},
/** 评估单取消合同 */
evalOrderCancelContract(data) {
return http.post(`/evalOrder/cancelSaleContract`, {
...data
})
},
/** 评估单重新提交 */
evalOrderConfirmVehicleDelivery(data) {
return http.post(`/confirmVehicleDelivery/reSubmit`, {
...data
})
},
/** 确认交车 */
confirmDelivery(data) {
return http.post(`/confirmVehicleDelivery/confirmVehicleDelivery`, {
...data
})
},
/** 支付定金 */
payDepositApplication(data) {
return http.post(`/applyPayment/payDepositApplication`, {
...data
})
},
/** 发起代保管协议签署 */
signAgreement(data) {
return http.post(`/applyPayment/payFinal`, {
...data
})
},
/** 检查代保管协议签署状态 */
checkSignAgreement(data) {
return http.post(`/applyPayment/checkSignAgreement`, {
...data
})
},
/** 检查车辆是否存在重复评估单 */
checkRepeat(data) {
return http.post(`/evalOrder/checkRepeat`, {
...data
})
},
/** 车辆ocr识别 */
vinOcr(data) {
return http.post(`/evalOrder/vinOcr`, {
...data
})
},
/** 行驶证ocr识别 */
carLicenseOcr(data) {
return http.post(`/evalOrder/carLicenseOcr`, {
...data
})
},
/** 获取合同详情 */
getContractDetail(data) {
return http.post(`/evalElectronicContract/getDetail`, {
...data
})
},
/** 获取保管人列表 */
getCustodyAgreementList(data) {
return http.post(`/custodyAgreement/custodyAgreementList`, {
...data
})
},
/** 新增保管人 */
addCustodyAgreement(data) {
return http.post(`/custodyAgreement/addCustodyAgreement`, {
...data
})
},
/** 发送代保管人协议 */
sendCustodyAgreement(data) {
return http.post(`/custodyAgreement/sendCustodyAgreement`, {
...data
})
},
/** 销售协议预览 */
salesAgreementPreview(data) {
return http.post(`/evalOrder/salesAgreementPreview`, {
...data
})
} }
} }
...@@ -9,35 +9,41 @@ const HOST = { ...@@ -9,35 +9,41 @@ const HOST = {
ip: 'http://192.168.1.169:8292' ip: 'http://192.168.1.169:8292'
} }
function createRequestInstance() { const request = new Request({
const { sessionId } = uni.$storage?.get() || {}
console.log('创建request实例,当前sessionId:', sessionId)
return new Request({
baseURL: `${HOST['eva']}`, baseURL: `${HOST['eva']}`,
timeout: 300000,
appId: signSecretKey.appKey, appId: signSecretKey.appKey,
appSecret: signSecretKey.secret, appSecret: signSecretKey.secret,
params: { session: {
sessionId requiresSession: true,
sessionParamName: 'sessionId',
sessionId: async () => await getSid()
}, },
timeout: 30000,
response: { response: {
code_key: 'code', code_key: 'code',
code_success_value: '0', code_success_value: '0',
data_key: 'data', data_key: 'data',
errId: 'errId', errId: 'code',
errId_logout_value: '21' errId_logout_value: '21'
}, },
events: { events: {
response: (responseData, config) => { response: (responseData, config) => {
console.log('response事件触发', responseData, config) console.log('response事件触发', responseData, config)
}, },
error: (error, config) => { timeout: 30000,
console.log('error事件触发', error, config) response: {
code_key: 'code',
code_success_value: '0',
data_key: 'data',
errId: 'errId',
errId_logout_value: '21'
}, },
request: (request, config) => { request: (request, config) => {
console.log('request事件触发', request, config) console.log('request事件触发', request, config)
}, },
error: (error, config) => {
console.log('error事件触发', error, config)
},
logout: config => { logout: config => {
console.log('logout事件触发', config) console.log('logout事件触发', config)
const pages = getCurrentPages(), const pages = getCurrentPages(),
...@@ -49,27 +55,12 @@ function createRequestInstance() { ...@@ -49,27 +55,12 @@ function createRequestInstance() {
}) })
} }
} }
}) })
}
const requestProxy = {
get: function (target, prop, receiver) {
const instance = createRequestInstance()
if (instance && typeof instance[prop] === 'function') { async function getSid() {
return function (...args) {
if (['get', 'post', 'request', 'fetch'].includes(prop)) {
if (args[0] && typeof args[0] === 'object') {
const { sessionId } = uni.$storage?.get() || {} const { sessionId } = uni.$storage?.get() || {}
args[0].sessionId = sessionId console.log('sessionId3333322', sessionId)
} return sessionId
}
return instance[prop].apply(instance, args)
}
}
return instance ? instance[prop] : undefined
}
} }
export default new Proxy({}, requestProxy) export default request
...@@ -104,7 +104,9 @@ ...@@ -104,7 +104,9 @@
.fs-13 { .fs-13 {
font-size: toRpx(13); font-size: toRpx(13);
} }
.mr-16 {
margin-right: toRpx(16);
}
.mr-12 { .mr-12 {
margin-right: toRpx(12); margin-right: toRpx(12);
} }
...@@ -168,6 +170,9 @@ ...@@ -168,6 +170,9 @@
.mb-30 { .mb-30 {
margin-bottom: toRpx(30); margin-bottom: toRpx(30);
} }
.mb-32 {
margin-bottom: toRpx(32);
}
.mb-40 { .mb-40 {
margin-bottom: toRpx(40); margin-bottom: toRpx(40);
} }
......
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: calc(100vmin * (1173 / 768) * 0.7088661551577152) calc(100vmin * (1173 / 768) * 0.6862745098039216);} .sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: calc(100vmin * (1173 / 768) * 0.7156862745098039) calc(100vmin * (1173 / 768) * 0.6854219948849105);}
.icon-addEvaluationFrom { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929);
background-position: calc(100vmin * (1173 / 768) * -0.5) calc(100vmin * (1173 / 768) * -0.09505541346973571);}
.icon-addr { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-addr { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.2651321398124467);} background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.2651321398124467);}
.icon-ai-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-ai-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.216538789428815) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.27408354646206307) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-ai-bazaar { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929); .icon-ai-bazaar { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929);
background-position: calc(100vmin * (1173 / 768) * -0.5) calc(100vmin * (1173 / 768) * -0.09505541346973571);} background-position: calc(100vmin * (1173 / 768) * -0.2855924978687127) calc(100vmin * (1173 / 768) * -0.2651321398124467);}
.icon-ai { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-ai { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.2672634271099744) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.3248081841432225) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-appeal-record { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157); .icon-appeal-record { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.2804774083546462);} background-position: calc(100vmin * (1173 / 768) * -0.6253196930946292) calc(100vmin * (1173 / 768) * -0.5686274509803921);}
.icon-arrow-bottom { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-arrow-bottom { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.340153452685422) calc(100vmin * (1173 / 768) * -0.13256606990622335);} background-position: calc(100vmin * (1173 / 768) * -0.340153452685422) calc(100vmin * (1173 / 768) * -0.13256606990622335);}
.icon-arrow-next { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-arrow-next { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.46248934356351235) calc(100vmin * (1173 / 768) * -0.4079283887468031);} background-position: calc(100vmin * (1173 / 768) * -0.4352088661551577) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-arrow-right { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-arrow-right { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.2851662404092072);} background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.2851662404092072);}
.icon-avatar { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-avatar { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.10144927536231885) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.15217391304347827) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-back { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.021312872975277068); .icon-back { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.021312872975277068);
background-position: calc(100vmin * (1173 / 768) * -0.5) calc(100vmin * (1173 / 768) * -0.15601023017902813);} background-position: calc(100vmin * (1173 / 768) * -0.5) calc(100vmin * (1173 / 768) * -0.15601023017902813);}
.icon-bao { width: calc(100vmin * (1173 / 768) * 0.08354646206308611); height: calc(100vmin * (1173 / 768) * 0.0937766410912191); .icon-bao { width: calc(100vmin * (1173 / 768) * 0.08354646206308611); height: calc(100vmin * (1173 / 768) * 0.0937766410912191);
...@@ -24,189 +26,189 @@ ...@@ -24,189 +26,189 @@
.icon-blue-delete { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-blue-delete { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.3052003410059676);} background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.3052003410059676);}
.icon-boutique-config-0 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382); .icon-boutique-config-0 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.437766410912191) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.13427109974424553);}
.icon-boutique-config-1 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382); .icon-boutique-config-1 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.4629156010230179) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.15942028985507245);}
.icon-boutique-config-2 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382); .icon-boutique-config-2 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.4880647911338448) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.1845694799658994);}
.icon-btn-tips { width: calc(100vmin * (1173 / 768) * 0.0988917306052856); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-btn-tips { width: calc(100vmin * (1173 / 768) * 0.0988917306052856); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.3878942881500426) calc(100vmin * (1173 / 768) * -0.4317988064791134);} background-position: calc(100vmin * (1173 / 768) * -0.3878942881500426) calc(100vmin * (1173 / 768) * -0.4317988064791134);}
.icon-bydyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-bydyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3878942881500426) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.20971867007672634);}
.icon-calendar { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-calendar { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.32608695652173914);} background-position: calc(100vmin * (1173 / 768) * -0.34654731457800514) calc(100vmin * (1173 / 768) * -0.32608695652173914);}
.icon-certificate { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-certificate { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.35080988917306055);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.391304347826087);}
.icon-change-account { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-change-account { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.2092924126172208) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.44714407502131287) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-clone { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993); .icon-clone { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.3887468030690537);} background-position: calc(100vmin * (1173 / 768) * -0.5473145780051151) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-coupon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-coupon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.22932651321398123) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.46717817561807334) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-coupon { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-coupon { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.4151747655583973) calc(100vmin * (1173 / 768) * -0.4079283887468031);} background-position: calc(100vmin * (1173 / 768) * -0.3878942881500426) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-course { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-course { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.24936061381074168) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.48721227621483376) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-create-order { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-create-order { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.14876385336743392) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.19948849104859334) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-createOrder { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-createOrder { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.38448422847399827);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.42497868712702475);}
.icon-customer-1 { width: calc(100vmin * (1173 / 768) * 0.13640238704177324); height: calc(100vmin * (1173 / 768) * 0.13640238704177324); .icon-customer-1 { width: calc(100vmin * (1173 / 768) * 0.13640238704177324); height: calc(100vmin * (1173 / 768) * 0.13640238704177324);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.20758738277919864);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.13640238704177324); height: calc(100vmin * (1173 / 768) * 0.13640238704177324); .icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.13640238704177324); height: calc(100vmin * (1173 / 768) * 0.13640238704177324);
background-position: calc(100vmin * (1173 / 768) * -0.14279624893435636) calc(100vmin * (1173 / 768) * -0.20758738277919864);} background-position: calc(100vmin * (1173 / 768) * -0.14279624893435636) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-customer-add { width: calc(100vmin * (1173 / 768) * 0.0068201193520886615); height: calc(100vmin * (1173 / 768) * 0.0068201193520886615); .icon-customer-add { width: calc(100vmin * (1173 / 768) * 0.0068201193520886615); height: calc(100vmin * (1173 / 768) * 0.0068201193520886615);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.41965046888320545);} background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.11445012787723785);}
.icon-customer-detail { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-customer-detail { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.4113384484228474) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.2331628303495311);}
.icon-customer-file-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-customer-file-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.31798806479113384) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.3755328218243819) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-customer-file { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-customer-file { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.36871270247229326) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.42625745950554134) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-customer-flow { width: calc(100vmin * (1173 / 768) * 0.12617220801364024); height: calc(100vmin * (1173 / 768) * 0.08994032395566923); .icon-customer-flow { width: calc(100vmin * (1173 / 768) * 0.12617220801364024); height: calc(100vmin * (1173 / 768) * 0.08994032395566923);
background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * -0.09505541346973571);} background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * -0.09505541346973571);}
.icon-daily-report { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-daily-report { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.19607843137254902) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.24680306905370844) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-day-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-day-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.41815856777493604);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-defeat-detail { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978); .icon-defeat-detail { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.16879795396419436);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.2092924126172208);}
.icon-defeat-order { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-defeat-order { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.24339300937766412) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.29411764705882354) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-defeat-summary { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978); .icon-defeat-summary { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.20588235294117646);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.2463768115942029);}
.icon-defeatOrder { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-defeatOrder { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.4518329070758738);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.49232736572890023);}
.icon-detail-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-detail-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.2693947144075021) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5072463768115942) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-detail-btn { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-detail-btn { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.43478260869565216) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.2566069906223359);}
.icon-dress-code { width: calc(100vmin * (1173 / 768) * 0.007246376811594203); height: calc(100vmin * (1173 / 768) * 0.007885763000852515); .icon-dress-code { width: calc(100vmin * (1173 / 768) * 0.007246376811594203); height: calc(100vmin * (1173 / 768) * 0.007885763000852515);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.4053708439897698);} background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.10017050298380221);}
.icon-edit { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-edit { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.2894288150042626) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5272804774083546) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-evaluation-management { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-evaluation-management { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.2907075873827792) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.3414322250639386) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-evaluationClose { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-evaluationClose { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.45822676896845693) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.28005115089514065);}
.icon-expiration { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-expiration { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.3380221653878943) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.3887468030690537) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-eye-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-eye-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.309462915601023) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5439045183290707) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-eyes-off { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-eyes-off { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3294970161977835) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.40451832907075874) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-eyes-on { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-eyes-on { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3495311167945439) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.42455242966751916) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-face-error-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-error-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.3853367433930094) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.4360613810741688) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-face-error { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-error { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.43265132139812446) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.4833759590792839) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-face-success-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-success-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.4799658994032396) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.530690537084399) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-face-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.5272804774083546) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.578005115089514) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-feedback { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-feedback { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.4855072463768116);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.526001705029838);}
.icon-ffdyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-ffdyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.4816709292412617) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.3034953111679454);}
.icon-filter { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-filter { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3695652173913043) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.44458653026427963) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-finish-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-finish-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5051150895140665) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.3269394714407502);}
.icon-first-left { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-first-left { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.12148337595907928);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.16197783461210571);}
.icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528); .icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
background-position: calc(100vmin * (1173 / 768) * -0.21099744245524296) calc(100vmin * (1173 / 768) * -0.35038363171355497);} background-position: calc(100vmin * (1173 / 768) * -0.21099744245524296) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-first-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-first-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * -0.30008525149190113);} background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * -0.30008525149190113);}
.icon-front-gear { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-front-gear { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3895993179880648) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.46462063086104005) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-front-window { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-front-window { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4096334185848252) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.4846547314578005) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-home-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-home-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.4194373401534527) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.47698209718670076) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-home { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-home { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.05413469735720375) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.11167945439045183) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-icon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4296675191815857) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5046888320545609) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-close { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978); .icon-icon-close { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.24296675191815856);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.283461210571185);}
.icon-icon-copy { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-copy { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4497016197783461) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5247229326513214) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-instructions { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-instructions { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4697357203751066) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5447570332480819) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-navigation { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-navigation { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.489769820971867) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5647911338448423) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-notice { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-notice { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5098039215686274) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5848252344416027) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-scanning { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-scanning { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5298380221653879) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6048593350383632) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-select { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-select { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5498721227621484) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6248934356351236) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5699062233589087) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.644927536231884) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-store { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-store { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5899403239556692) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6649616368286445) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-icon-upload { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929); .icon-icon-upload { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929);
background-position: calc(100vmin * (1173 / 768) * -0.2855924978687127) calc(100vmin * (1173 / 768) * -0.2651321398124467);} background-position: calc(100vmin * (1173 / 768) * -0.4151747655583973) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-icon-weixin { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-weixin { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6099744245524297) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-income-card { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-income-card { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.484228473998295) calc(100vmin * (1173 / 768) * -0.4079283887468031);} background-position: calc(100vmin * (1173 / 768) * -0.45694799658994034) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-income-count { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-income-count { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.5170502983802217) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.5643648763853367) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-income-icon { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-income-icon { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.5575447570332481) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.6048593350383632) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-info_shield { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-info_shield { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5285592497868713) calc(100vmin * (1173 / 768) * -0.45865302642796246);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-info-icon { width: calc(100vmin * (1173 / 768) * 0.03751065643648764); height: calc(100vmin * (1173 / 768) * 0.03751065643648764); .icon-info-icon { width: calc(100vmin * (1173 / 768) * 0.03751065643648764); height: calc(100vmin * (1173 / 768) * 0.03751065643648764);
background-position: calc(100vmin * (1173 / 768) * -0.4731457800511509) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.520460358056266) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-invisible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-invisible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5132139812446718) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.37382779198635974);}
.icon-isExpiredTrafficIcon { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-isExpiredTrafficIcon { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5191815856777494);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5596760443307758);}
.icon-jbgz-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-jbgz-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5366581415174766) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.39727195225916456);}
.icon-js-icon { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-js-icon { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.2855924978687127) calc(100vmin * (1173 / 768) * -0.32608695652173914);} background-position: calc(100vmin * (1173 / 768) * -0.2855924978687127) calc(100vmin * (1173 / 768) * -0.32608695652173914);}
.icon-learn-bg { width: calc(100vmin * (1173 / 768) * 0.18073316283034954); height: calc(100vmin * (1173 / 768) * 0.05285592497868713); .icon-learn-bg { width: calc(100vmin * (1173 / 768) * 0.18073316283034954); height: calc(100vmin * (1173 / 768) * 0.05285592497868713);
background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * -0.13256606990622335);} background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * -0.13256606990622335);}
.icon-level { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-level { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5528559249786871);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5933503836317136);}
.icon-locker-icon { width: calc(100vmin * (1173 / 768) * 0.1466325660699062); height: calc(100vmin * (1173 / 768) * 0.20119352088661552); .icon-locker-icon { width: calc(100vmin * (1173 / 768) * 0.1466325660699062); height: calc(100vmin * (1173 / 768) * 0.20119352088661552);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * 0);}
.icon-logo { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662); .icon-logo { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.5647911338448423) calc(100vmin * (1173 / 768) * -0.10017050298380221);} background-position: calc(100vmin * (1173 / 768) * -0.5647911338448423) calc(100vmin * (1173 / 768) * -0.10017050298380221);}
.icon-lssl-icon { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157); .icon-lssl-icon { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.2988064791133845);} background-position: calc(100vmin * (1173 / 768) * -0.38064791133844844) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-mask-del { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-mask-del { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.5980392156862745) calc(100vmin * (1173 / 768) * -0.5882352941176471);}
.icon-mask-edit { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * 0);}
.icon-mask-edit { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.04049445865302643);}
.icon-medal { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-medal { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.5865302642796248);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-my-level { width: calc(100vmin * (1173 / 768) * 0.058823529411764705); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-my-level { width: calc(100vmin * (1173 / 768) * 0.058823529411764705); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.49317988064791135) calc(100vmin * (1173 / 768) * -0.4317988064791134);} background-position: calc(100vmin * (1173 / 768) * -0.49317988064791135) calc(100vmin * (1173 / 768) * -0.4317988064791134);}
.icon-my-store { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-my-store { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.04049445865302643);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.08098891730605286);}
.icon-no-insurance-data { width: calc(100vmin * (1173 / 768) * 0.20801364023870417); height: calc(100vmin * (1173 / 768) * 0.12617220801364024); .icon-no-insurance-data { width: calc(100vmin * (1173 / 768) * 0.20801364023870417); height: calc(100vmin * (1173 / 768) * 0.12617220801364024);
background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * 0);}
.icon-no-picture { width: calc(100vmin * (1173 / 768) * 0.021312872975277068); height: calc(100vmin * (1173 / 768) * 0.021312872975277068); .icon-no-picture { width: calc(100vmin * (1173 / 768) * 0.021312872975277068); height: calc(100vmin * (1173 / 768) * 0.021312872975277068);
background-position: calc(100vmin * (1173 / 768) * -0.24893435635123615) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.3213981244671782) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-notice-script { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-notice-script { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.5745950554134698) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-notice-study { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-notice-study { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.04731457800511509) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-notice-success { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-notice-success { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6300085251491901) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.020034100596760442) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-notice-system { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-notice-system { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.04731457800511509) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.09462915601023018) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-notice-violate { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-notice-violate { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.09462915601023018) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.14194373401534527) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-order-management { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-order-management { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.14194373401534527) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.18925831202046037) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-pause { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-pause { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5601023017902813) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.42071611253196933);}
.icon-payType-1 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662); .icon-payType-1 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.5647911338448423) calc(100vmin * (1173 / 768) * -0.17476555839727195);} background-position: calc(100vmin * (1173 / 768) * -0.5647911338448423) calc(100vmin * (1173 / 768) * -0.17476555839727195);}
.icon-payType-2 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662); .icon-payType-2 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
...@@ -218,87 +220,91 @@ ...@@ -218,87 +220,91 @@
.icon-payType-5 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662); .icon-payType-5 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.4761295822676897) calc(100vmin * (1173 / 768) * -0.19138959931798807);} background-position: calc(100vmin * (1173 / 768) * -0.4761295822676897) calc(100vmin * (1173 / 768) * -0.19138959931798807);}
.icon-pbjd-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-pbjd-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5835464620630861) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.4441602728047741);}
.icon-pen-active { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496); .icon-pen-active { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.4151747655583973) calc(100vmin * (1173 / 768) * -0.35038363171355497);} background-position: calc(100vmin * (1173 / 768) * -0.4761295822676897) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-pen { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496); .icon-pen { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.47271952259164535) calc(100vmin * (1173 / 768) * -0.35038363171355497);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-play { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-play { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6069906223358909) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.4676044330775789);}
.icon-point-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04859335038363171); .icon-point-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04859335038363171);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.05754475703324808) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-point { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-point { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.1082693947144075) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.1658141517476556) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.5302642796248934) calc(100vmin * (1173 / 768) * -0.35038363171355497);} background-position: calc(100vmin * (1173 / 768) * -0.033674339300937765) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-promotion { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-promotion { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.340153452685422) calc(100vmin * (1173 / 768) * -0.15942028985507245);} background-position: calc(100vmin * (1173 / 768) * -0.340153452685422) calc(100vmin * (1173 / 768) * -0.15942028985507245);}
.icon-prompt { width: calc(100vmin * (1173 / 768) * 0.10230179028132992); height: calc(100vmin * (1173 / 768) * 0.10230179028132992); .icon-prompt { width: calc(100vmin * (1173 / 768) * 0.10230179028132992); height: calc(100vmin * (1173 / 768) * 0.10230179028132992);
background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * -0.19138959931798807);} background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * -0.19138959931798807);}
.icon-qg-tips { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-qg-tips { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.5059676044330775) calc(100vmin * (1173 / 768) * -0.4079283887468031);} background-position: calc(100vmin * (1173 / 768) * -0.47868712702472294) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-qgtc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-qgtc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6304347826086957) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.49104859335038364);}
.icon-qr-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-qr-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.18925831202046037) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.23657289002557544) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-qt-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-qt-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6538789428815004) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.5144927536231884);}
.icon-quality-no-data { width: calc(100vmin * (1173 / 768) * 0.19096334185848252); height: calc(100vmin * (1173 / 768) * 0.0886615515771526); .icon-quality-no-data { width: calc(100vmin * (1173 / 768) * 0.19096334185848252); height: calc(100vmin * (1173 / 768) * 0.0886615515771526);
background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.3674339300937766) calc(100vmin * (1173 / 768) * 0);}
.icon-qw { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-qw { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.27664109121909636) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.5336743393009378) calc(100vmin * (1173 / 768) * -0.38064791133844844);}
.icon-qytc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-qytc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.5379369138959932);}
.icon-ranking { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-ranking { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.06734867860187553) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-rbkk-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-rbkk-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.023444160272804774) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.5613810741687979);}
.icon-rear-gear { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-rear-gear { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6500426257459505) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.040068201193520885) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-rear-window { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-rear-window { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.670076726342711) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.06010230179028133) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-reception-1 { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-reception-1 { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.3034953111679454) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * 0);}
.icon-reception-2 { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-reception-2 { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.33034953111679455) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.026854219948849106);}
.icon-reception-pause { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815); .icon-reception-pause { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815);
background-position: calc(100vmin * (1173 / 768) * -0.16325660699062233) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6253196930946292) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-reception-play { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815); .icon-reception-play { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815);
background-position: calc(100vmin * (1173 / 768) * -0.1918158567774936) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.26427962489343565) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-reception-share { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815); .icon-reception-share { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815);
background-position: calc(100vmin * (1173 / 768) * -0.22037510656436488) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.2928388746803069) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-record-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-record-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.16240409207161124) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.21994884910485935) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-record { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-record { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.4701619778346121) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.5277067348678602) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-revoke { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-revoke { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.23657289002557544) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.28388746803069054) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-revokeOrder { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-revokeOrder { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.033674339300937765) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.1010230179028133) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-right-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-right-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.08013640238704177) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-role-1 { width: calc(100vmin * (1173 / 768) * 0.028985507246376812); height: calc(100vmin * (1173 / 768) * 0.028985507246376812); .icon-role-1 { width: calc(100vmin * (1173 / 768) * 0.028985507246376812); height: calc(100vmin * (1173 / 768) * 0.028985507246376812);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.28005115089514065);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.3205456095481671);}
.icon-role-2 { width: calc(100vmin * (1173 / 768) * 0.028985507246376812); height: calc(100vmin * (1173 / 768) * 0.028985507246376812); .icon-role-2 { width: calc(100vmin * (1173 / 768) * 0.028985507246376812); height: calc(100vmin * (1173 / 768) * 0.028985507246376812);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.3154305200341006);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.355924978687127);}
.icon-rule { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157); .icon-rule { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.3171355498721228);} background-position: calc(100vmin * (1173 / 768) * -0.3989769820971867) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-scan { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-scan { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.020034100596760442);} background-position: calc(100vmin * (1173 / 768) * -0.10017050298380221) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-scanIcon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.12020460358056266) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-scanIconX { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3491048593350384) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-scene-0 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-scene-0 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.28388746803069054) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.3312020460358056) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-scene-1 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-scene-1 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.3312020460358056) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.37851662404092073) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-scene-7 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-scene-7 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.37851662404092073) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.4258312020460358) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-scene-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-scene-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.5208866155157715) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.5784313725490197) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-scene-change { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-scene-change { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.040068201193520885);} background-position: calc(100vmin * (1173 / 768) * -0.1402387041773231) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-scene { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-scene { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.571611253196931) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-search { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-search { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.04688832054560955) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.5848252344416027);}
.icon-second-left { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-second-left { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.42838874680306904) calc(100vmin * (1173 / 768) * -0.30008525149190113);} background-position: calc(100vmin * (1173 / 768) * -0.42838874680306904) calc(100vmin * (1173 / 768) * -0.30008525149190113);}
.icon-second-nav { width: calc(100vmin * (1173 / 768) * 0.20460358056265984); height: calc(100vmin * (1173 / 768) * 0.07502131287297528); .icon-second-nav { width: calc(100vmin * (1173 / 768) * 0.20460358056265984); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
...@@ -306,78 +312,78 @@ ...@@ -306,78 +312,78 @@
.icon-second-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-second-right { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.48934356351236147) calc(100vmin * (1173 / 768) * -0.30008525149190113);} background-position: calc(100vmin * (1173 / 768) * -0.48934356351236147) calc(100vmin * (1173 / 768) * -0.30008525149190113);}
.icon-setting { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-setting { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.06734867860187553) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.13469735720375106) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-short-first-nav { width: calc(100vmin * (1173 / 768) * 0.1773231031543052); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-short-first-nav { width: calc(100vmin * (1173 / 768) * 0.1773231031543052); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.2041773231031543) calc(100vmin * (1173 / 768) * -0.4317988064791134);} background-position: calc(100vmin * (1173 / 768) * -0.2041773231031543) calc(100vmin * (1173 / 768) * -0.4317988064791134);}
.icon-short-second-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-short-second-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.4317988064791134);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.4317988064791134);}
.icon-short-task-title { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-short-task-title { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.35720375106564367) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.05370843989769821);}
.icon-start-text { width: calc(100vmin * (1173 / 768) * 0.0733162830349531); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-start-text { width: calc(100vmin * (1173 / 768) * 0.0733162830349531); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.4761295822676897) calc(100vmin * (1173 / 768) * -0.2659846547314578);} background-position: calc(100vmin * (1173 / 768) * -0.4761295822676897) calc(100vmin * (1173 / 768) * -0.2659846547314578);}
.icon-stick-top-blue { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-stick-top-blue { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.06010230179028133);} background-position: calc(100vmin * (1173 / 768) * -0.16027280477408354) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-stick-top { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-stick-top { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.08013640238704177);} background-position: calc(100vmin * (1173 / 768) * -0.18030690537084398) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.10017050298380221);} background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-store { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-store { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.4258312020460358) calc(100vmin * (1173 / 768) * -0.5882352941176471);} background-position: calc(100vmin * (1173 / 768) * -0.4731457800511509) calc(100vmin * (1173 / 768) * -0.5907928388746803);}
.icon-study-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-study-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.050724637681159424) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-study-tips { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157); .icon-study-tips { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.335464620630861);} background-position: calc(100vmin * (1173 / 768) * -0.417306052855925) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-study { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763); .icon-study { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.050724637681159424) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.10144927536231885) calc(100vmin * (1173 / 768) * -0.5400682011935208);}
.icon-submit { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-submit { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.07033248081841433) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.6082693947144076);}
.icon-successIcon { width: calc(100vmin * (1173 / 768) * 0.023870417732310314); height: calc(100vmin * (1173 / 768) * 0.023870417732310314); .icon-successIcon { width: calc(100vmin * (1173 / 768) * 0.023870417732310314); height: calc(100vmin * (1173 / 768) * 0.023870417732310314);
background-position: calc(100vmin * (1173 / 768) * -0.1329923273657289) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.5336743393009378) calc(100vmin * (1173 / 768) * -0.35038363171355497);}
.icon-suggestions-arrow { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-suggestions-arrow { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.5277067348678602) calc(100vmin * (1173 / 768) * -0.4079283887468031);} background-position: calc(100vmin * (1173 / 768) * -0.5004262574595055) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-suggestions-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-suggestions-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.12020460358056266);} background-position: calc(100vmin * (1173 / 768) * -0.22037510656436488) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-sun-roof { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-sun-roof { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.1402387041773231);} background-position: calc(100vmin * (1173 / 768) * -0.24040920716112532) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-tag-checked { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-tag-checked { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5302642796248934) calc(100vmin * (1173 / 768) * -0.38405797101449274);} background-position: calc(100vmin * (1173 / 768) * -0.4151747655583973) calc(100vmin * (1173 / 768) * -0.4113384484228474);}
.icon-task-pass { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157); .icon-task-pass { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.3537936913895993);} background-position: calc(100vmin * (1173 / 768) * -0.4356351236146633) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-tdcj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-tdcj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.0937766410912191) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.6317135549872123);}
.icon-time-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-time-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.16027280477408354);} background-position: calc(100vmin * (1173 / 768) * -0.26044330775788577) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-time { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-time { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.11722080136402387) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.629156010230179) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
.icon-tips-b { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-tips-b { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.18030690537084398);} background-position: calc(100vmin * (1173 / 768) * -0.2804774083546462) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-tips-g { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-tips-g { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.38405797101449274) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.08056265984654731);}
.icon-tips { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-tips { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.08098891730605286);} background-position: calc(100vmin * (1173 / 768) * -0.6547314578005116) calc(100vmin * (1173 / 768) * -0.12148337595907928);}
.icon-tool-file { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248); .icon-tool-file { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.6223358908780904) calc(100vmin * (1173 / 768) * -0.4825234441602728);} background-position: calc(100vmin * (1173 / 768) * -0.16837169650468883) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-tool-finish { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248); .icon-tool-finish { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.6219096334185849) calc(100vmin * (1173 / 768) * -0.5375106564364877);} background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-tool-pay { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248); .icon-tool-pay { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.1010230179028133) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.23231031543052003) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-topTipsRightIcon { width: calc(100vmin * (1173 / 768) * 0.06990622335890878); height: calc(100vmin * (1173 / 768) * 0.05115089514066496); .icon-topTipsRightIcon { width: calc(100vmin * (1173 / 768) * 0.06990622335890878); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.2855924978687127) calc(100vmin * (1173 / 768) * -0.20758738277919864);} background-position: calc(100vmin * (1173 / 768) * -0.2855924978687127) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-total { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-total { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.20034100596760443);} background-position: calc(100vmin * (1173 / 768) * -0.30051150895140666) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-two-arrow { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.010230179028132993); .icon-two-arrow { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.3721227621483376);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.6551577152600171);}
.icon-uploadAdd { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-uploadAdd { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.41091219096334186) calc(100vmin * (1173 / 768) * -0.6355498721227621);} background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.10741687979539642);}
.icon-visible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-visible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.14066496163682865) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.629156010230179) calc(100vmin * (1173 / 768) * -0.5059676044330775);}
.icon-warning-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-warning-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.22037510656436488);} background-position: calc(100vmin * (1173 / 768) * -0.3205456095481671) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.24040920716112532);} background-position: calc(100vmin * (1173 / 768) * -0.34057971014492755) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-ybtc_icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-ybtc_icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.16410912190963342) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.38107416879795397) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
.icon-yw-icon { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-yw-icon { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.1875532821824382) calc(100vmin * (1173 / 768) * -0.6692242114236999);} background-position: calc(100vmin * (1173 / 768) * -0.5221653878942881) calc(100vmin * (1173 / 768) * -0.45865302642796246);}
.icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.6952259164535379) calc(100vmin * (1173 / 768) * -0.26044330775788577);}
\ No newline at end of file \ No newline at end of file
background-position: calc(100vmin * (1173 / 768) * -0.36061381074168797) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
\ No newline at end of file \ No newline at end of file

2.76 MB | W: | H:

2.78 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
<template>
<view class="employee-list">
<template v-for="(i, index) in list">
<view :key="index" @click="choose(i)" :class="['item flex', { active: currentId ? i.id == currentId : i.id == data[params.idKey] }]">
<view class="sprite-icon icon-tag-checked"></view>
{{ i.name }}
</view>
</template>
</view>
</template>
<script type="text/ecmascript-6">
import popupmixin from './popupmixin'
export default {
mixins: [popupmixin],
name: 'AgreementList',
inject: ['userInfo'],
data () {
return {
}
},
mounted () {
},
methods: {
async getList (searchValue, search) {
const { userInfo, params } = this
const data = await uni.$api.evaluationApi.getCustodyAgreementList()
this.updateParams(params, data || [])
},
initData (data) {
this.list = data
this.$emit('onComplete')
},
handleSearch (searchValue) {
this.list = []
this.getList(searchValue, true)
},
choose (i) {
console.log('choose', i)
let { params: { idKey }, data } = this,
value = {
userId: data.deliveryUserId,
deliveryUserId: data.userId
}[idKey]
if ((idKey == 'userId' || idKey == 'deliveryUserId') && value == i.uuid) return uni.showToast({
title: '销售顾问/录单员与交付专员不能选取同一人',
icon: 'none',
mask: true
})
this.currentId = i.id
this.$emit('choose', i)
}
}
}
</script>
<style scoped lang="scss">
.employee-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: toRpx(32);
margin: 0 toRpx(48);
.item {
justify-content: center;
height: toRpx(72);
border-radius: toRpx(8);
border: toRpx(2) solid #dce0e6;
box-sizing: border-box;
position: relative;
color: #333333;
font-size: toRpx(32);
.sprite-icon {
display: none;
position: absolute;
top: 0;
right: 0;
}
}
.active {
border-color: #2c66f7;
background: #ecf1ff;
color: #2c66f7;
.sprite-icon {
display: block;
}
}
}
</style>
...@@ -83,7 +83,7 @@ const componentConfig = { ...@@ -83,7 +83,7 @@ const componentConfig = {
placeholder: '请输入名称', placeholder: '请输入名称',
idKey: 'goodsId', idKey: 'goodsId',
nullTips: '请勾选商品', nullTips: '请勾选商品',
goodsType: [1],//前档 goodsType: [1], //前档
cacheData: [], cacheData: [],
loadComplete: false, loadComplete: false,
searchValue: '', searchValue: '',
...@@ -119,7 +119,7 @@ const componentConfig = { ...@@ -119,7 +119,7 @@ const componentConfig = {
placeholder: '请输入名称', placeholder: '请输入名称',
idKey: 'goodsId', idKey: 'goodsId',
nullTips: '请勾选商品', nullTips: '请勾选商品',
goodsType: [4],// 后档 goodsType: [4], // 后档
cacheData: [], cacheData: [],
loadComplete: false, loadComplete: false,
searchValue: '', searchValue: '',
...@@ -131,7 +131,7 @@ const componentConfig = { ...@@ -131,7 +131,7 @@ const componentConfig = {
placeholder: '请输入名称', placeholder: '请输入名称',
idKey: 'goodsId', idKey: 'goodsId',
nullTips: '请勾选商品', nullTips: '请勾选商品',
goodsType: [5, 6, 7],// 天窗 goodsType: [5, 6, 7], // 天窗
cacheData: [], cacheData: [],
loadComplete: false, loadComplete: false,
searchValue: '', searchValue: '',
...@@ -163,6 +163,16 @@ const componentConfig = { ...@@ -163,6 +163,16 @@ const componentConfig = {
title: '选择时间', title: '选择时间',
hideSearch: true, hideSearch: true,
loadComplete: false loadComplete: false
},
14: {
name: 'AgreementList',
title: '代保管人员',
placeholder: '请输入姓名',
idKey: 'id',
cacheData: [],
loadComplete: false,
hideSearch: true,
noData: false
} }
} }
export default { componentConfig } export default { componentConfig }
<template> <template>
<view class="order-popup"> <view class="order-popup">
<popup <popup :position="position" :animation="animation" ref="popup" @onConfirm="confirm" @onCancel="cancel">
:position="position"
:animation="animation"
ref="popup"
@onConfirm="confirm"
@onCancel="cancel"
>
<view class="popup-title flex"> <view class="popup-title flex">
{{title}} {{ title }}
<view <view class="popup-close flex" @click="close">
class="popup-close flex" <uni-icons type="closeempty" size="16"></uni-icons>
@click="close"
>
<uni-icons
type="closeempty"
size="16"
></uni-icons>
</view> </view>
</view> </view>
<template v-if="!componentObject[popupType].hideSearch"> <template v-if="!componentObject[popupType].hideSearch">
<view class="popup-search"> <view class="popup-search">
<input <input class="input" type="text" :placeholder="componentObject[popupType].placeholder || '请输入'" placeholder-class="placeholder" v-model="componentObject[popupType].searchValue" confirm-type="search" @confirm="handleSearch" />
class="input" <view class="clear flex" @click="clear">
type="text" <uni-icons type="closeempty" size="16" v-if="componentObject[popupType].searchValue"></uni-icons>
:placeholder="componentObject[popupType].placeholder || '请输入'"
placeholder-class="placeholder"
v-model="componentObject[popupType].searchValue"
confirm-type="search"
@confirm="handleSearch"
>
<view
class="clear flex"
@click="clear"
>
<uni-icons
type="closeempty"
size="16"
v-if="componentObject[popupType].searchValue"
></uni-icons>
</view> </view>
</view> </view>
</template> </template>
<view :class="['popup-body',{ 'hide-search' :componentObject[popupType].hideSearch}]"> <view :class="['popup-body', { 'hide-search': componentObject[popupType].hideSearch }]">
<scroll-view <scroll-view scroll-y :class="['popup-scroll-view', { show: componentObject[popupType].loadComplete }]">
scroll-y <component :is="componentObject[popupType].name" :params.sync="componentObject[popupType]" :data="data" :dataKey="dataKey" :isDefeatOrder="isDefeatOrder" :positionTypeList="positionTypeList" ref="componentRef" @choose="chooseContent = $event" @openSkuPopup="openSkuPopup" @onComplete="componentObject[popupType].loadComplete = true"></component>
:class="['popup-scroll-view',{show:componentObject[popupType].loadComplete}]"
>
<component
:is="componentObject[popupType].name"
:params.sync="componentObject[popupType]"
:data="data"
:dataKey="dataKey"
:isDefeatOrder="isDefeatOrder"
:positionTypeList="positionTypeList"
ref="componentRef"
@choose="chooseContent = $event"
@openSkuPopup="openSkuPopup"
@onComplete="componentObject[popupType].loadComplete = true"
></component>
<template v-if="componentObject[popupType].noData"> <template v-if="componentObject[popupType].noData">
<view class="nothing flex">暂无数据</view> <view class="nothing flex">暂无数据</view>
</template> </template>
</scroll-view> </scroll-view>
<image <image v-if="!componentObject[popupType].loadComplete" class="loading" src="../../assets/images/common/loadding.gif" />
v-if="!componentObject[popupType].loadComplete"
class="loading"
src="../../assets/images/common/loadding.gif"
/>
</view> </view>
</popup> </popup>
<sku-popup <sku-popup ref="skuPopupRef" @onConfirm="skuConfirm"></sku-popup>
ref="skuPopupRef"
@onConfirm="skuConfirm"
></sku-popup>
</view> </view>
</template> </template>
<script type='text/ecmascript-6'> <script type="text/ecmascript-6">
import Popup from '@/components/Popup.vue' import Popup from '@/components/Popup.vue'
import config from './config' import config from './config'
import EmployeeList from './components/EmployeeList.vue' import EmployeeList from './components/EmployeeList.vue'
...@@ -89,6 +41,7 @@ import PackageList from './components/PackageList.vue' ...@@ -89,6 +41,7 @@ import PackageList from './components/PackageList.vue'
import SkuGoodsList from './components/SkuGoodsList.vue' import SkuGoodsList from './components/SkuGoodsList.vue'
import SkuPopup from './components/SkuPopup.vue' import SkuPopup from './components/SkuPopup.vue'
import DateTime from './components/DateTime.vue' import DateTime from './components/DateTime.vue'
import AgreementList from './components/AgreementList.vue'
export default { export default {
components: { components: {
Popup, Popup,
...@@ -100,7 +53,8 @@ export default { ...@@ -100,7 +53,8 @@ export default {
PackageList, PackageList,
SkuGoodsList, SkuGoodsList,
SkuPopup, SkuPopup,
DateTime DateTime,
AgreementList
}, },
name: '', name: '',
props: { props: {
...@@ -252,7 +206,7 @@ export default { ...@@ -252,7 +206,7 @@ export default {
} }
</script> </script>
<style scoped lang='scss'> <style scoped lang="scss">
.popup-box { .popup-box {
border-radius: toRpx(32) toRpx(32) 0 0; border-radius: toRpx(32) toRpx(32) 0 0;
background: #ffffff; background: #ffffff;
......
...@@ -59,7 +59,7 @@ const djDomain = { ...@@ -59,7 +59,7 @@ const djDomain = {
}[target[index]] }[target[index]]
const evaluationDomain = { const evaluationDomain = {
ip: 'http://192.168.1.221:5003', ip: 'http://192.168.1.103:5003',
// ip: 'http://192.168.2.80:8558', // ip: 'http://192.168.2.80:8558',
dev: 'http://gsc.dev.glsx.com.cn', dev: 'http://gsc.dev.glsx.com.cn',
beta: 'https://dj.beta.glsx.com.cn', //预发布 appid: wx9f91c1ec493eb425 beta: 'https://dj.beta.glsx.com.cn', //预发布 appid: wx9f91c1ec493eb425
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"glsk-toolkit": "^1.0.3", "glsk-toolkit": "1.0.4",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"number-precision": "^1.6.0", "number-precision": "^1.6.0",
......
...@@ -226,6 +226,18 @@ ...@@ -226,6 +226,18 @@
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
},
{
"path": "pages/evaluationForm/evaluationFormDetails",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/evaluationForm/components/pdfPreView",
"style": {
"navigationStyle": "custom"
}
} }
], ],
"globalStyle": { "globalStyle": {
......
<template> <template>
<div> <view class="details-page">
<MediaInfo :imageData="imageDatas" /> <view class="nav-bar">
</div> <view class="back" @click="backPage">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
<view class="title">评估单详情</view>
</view>
<view class="flex justify-between align-center mb-24">
<view class="flex align-center justify-between">
<view :class="['status mr-24', statusClass(detailsInfo.basic.status)]">{{ statusMap[detailsInfo.basic.status].name }}</view>
<view class="status-box">
<text class="label">工单编号:</text>
<text class="value">{{ detailsInfo.basic.evalOrderNo }}</text>
</view>
</view>
<view class="status-box">
<text class="label">工单编号:</text>
<text class="value">{{ detailsInfo.basic.evalOrderNo }}</text>
</view>
</view>
<view class="detail-content">
<view class="box-class mt-16">
<view class="tab-container">
<scroll-view scroll-x enable-flex class="tab-scroll">
<view v-for="(tab, index) in tabs" :key="index" :class="['tab-item', { active: activeTab === index }]" @click="switchTab(index)">
{{ tab.name }}
</view>
</scroll-view>
</view>
<view class="tab-panel" :class="{ 'no-bac': activeTab === 2 }">
<!-- 动态标题 -->
<view class="tab-panel-title" v-if="activeTab !== 2">{{ tabs[activeTab].name }}</view>
<!-- 动态内容区域 -->
<view v-if="activeTab === 0" class="gridBox mb-32">
<view v-for="(item, index) in carInfoItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
<view v-else-if="activeTab === 1" class="gridBox mb-32">
<view v-for="(item, index) in carLicenseItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
<view v-else-if="activeTab === 2">
<view class="upload-box mb-32">
<view class="tab-panel-title">车辆图片</view>
<view class="upload-grid mb-32">
<!-- 车辆外观图片 -->
<view class="flex upload-item-container" v-for="field in uploadFields" :key="field.key">
<view class="upload-label" v-if="getImageBySubtype(field.key)">
{{ field.label }}
</view>
<view class="upload-images-wrapper" v-if="getImageBySubtype(field.key)">
<view class="uploaded-media-container">
<image :src="getImageBySubtype(field.key).fileUrl" mode="aspectFill" class="uploaded-media"></image>
</view>
</view>
</view>
</view>
</view>
<view class="upload-box mb-32">
<view class="tab-panel-title">证件图片</view>
<view class="upload-grid">
<view class="flex upload-item-container" v-for="field in uploadCertificateFields" :key="field.key">
<view class="upload-label" v-if="getImageBySubtype(field.key)">
{{ field.label }}
</view>
<view class="upload-images-wrapper" v-if="getImageBySubtype(field.key)">
<view class="uploaded-media-container">
<image :src="getImageBySubtype(field.key).fileUrl" mode="aspectFill" class="uploaded-media"></image>
</view>
</view>
</view>
</view>
</view>
<view class="upload-box mb-32">
<view class="tab-panel-title">视频信息</view>
<view class="upload-grid">
<view class="flex upload-item-container" v-for="field in uploadVideoFields" :key="field.key">
<view class="upload-label" v-if="getImageBySubtype(field.key)">
{{ field.label }}
</view>
<view class="upload-images-wrapper" v-if="getImageBySubtype(field.key)">
<view class="uploaded-media-container">
<view class="video-container">
<video :src="getImageBySubtype(field.key).fileUrl" mode="aspectFill" controls class="uploaded-media"></video>
<view class="video-play-icon">
<uni-icons type="play" size="24" color="#fff"></uni-icons>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="upload-box mb-32">
<view class="tab-panel-title">其他图片</view>
<view class="upload-grid">
<view class="flex upload-item-container" v-for="field in uploadOtherFields" :key="field.key">
<view class="upload-label" v-if="getImageBySubtype(field.key)">
{{ field.label }}
</view>
<view class="upload-images-wrapper" v-if="getImageBySubtype(field.key)">
<view class="uploaded-media-container">
<image :src="getImageBySubtype(field.key).fileUrl" mode="aspectFill" class="uploaded-media"></image>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 其他标签页可以在这里添加 -->
<view v-else class="empty-content">
<text>暂无{{ tabs[activeTab].name }}信息</text>
</view>
</view>
</view>
</view>
</view>
</template> </template>
<script> <script>
import MediaInfo from '../../components/MediaInfo' import MediaInfo from './components/MediaInfo'
import { fileSuibtype } from '@/pages/boutique/evaluationFormMap' import { fileSuibtype } from './evaluationFormMap'
import { statusMap, usageTypeMap, ownerTypeMap, sunroofMap, vehicleCategoryMap, buyNewCarMap, hasAccidentMap, overallRatingMap, emissionStandardMap } from './evaluationFormMap.js'
export default { export default {
components: { components: {
MediaInfo MediaInfo
...@@ -38,8 +160,433 @@ export default { ...@@ -38,8 +160,433 @@ export default {
alt: fileSuibtype[32].name alt: fileSuibtype[32].name
} }
] ]
},
detailsInfo: {},
statusMap,
usageTypeMap,
ownerTypeMap,
sunroofMap,
vehicleCategoryMap,
buyNewCarMap,
hasAccidentMap,
overallRatingMap,
emissionStandardMap,
activeTab: 0,
tabs: [
{ name: '车辆信息', key: 'carInfo' },
{ name: '牌证信息', key: 'carLicense' },
{ name: '图像信息', key: 'images' },
{ name: '评估信息', key: 'evaluation' },
{ name: '签约信息', key: 'contract' },
{ name: '支付信息', key: 'payment' },
{ name: '交车确认', key: 'delivery' },
{ name: '编辑记录', key: 'editRecords' }
],
carInfoItems: [
{ label: '销售顾问', key: 'basic.sellerName' },
{ label: '品牌车型', key: 'carInfo.carSeriesName', formatter: (val, data) => `${val} ${data.carInfo.carTypeName}` },
{ label: '车架号', key: 'carInfo.vin' },
{ label: '车牌号', key: 'carInfo.licensePlate' },
{ label: '发动机号', key: 'carInfo.engineNumber' },
{ label: '上牌时间', key: 'carInfo.registrationDate' },
{ label: '上牌城市', key: 'carInfo.registrationCityName' },
{ label: '车辆所在地', key: 'carInfo.carProvinceName', formatter: (val, data) => `${val}-${data.carInfo.carCityName}` },
{ label: '表显里程', key: 'carInfo.mileage' },
{ label: '使用性质', key: 'carInfo.usageType', map: 'usageTypeMap' },
{ label: '所有人性质', key: 'carInfo.ownerType', map: 'ownerTypeMap' },
{ label: '天窗', key: 'carInfo.sunroof', map: 'sunroofMap' },
{ label: '车辆类别', key: 'carInfo.vehicleCategory', map: 'vehicleCategoryMap' },
{ label: '排放标准', key: 'carInfo.emissionStandard', map: 'emissionStandardMap' },
{ label: '外观颜色', key: 'carInfo.exteriorColor' },
{ label: '内饰颜色', key: 'carInfo.interiorColor' },
{ label: '生产日期', key: 'carInfo.productionDate' },
{ label: '指导价', key: 'carInfo.guidePrice' },
{ label: '是否购买新车', key: 'carInfo.buyNewCar', map: 'buyNewCarMap' },
{ label: '是否事故车', key: 'carInfo.hasAccident', map: 'hasAccidentMap' },
{ label: '综合评价', key: 'carInfo.overallRating', map: 'overallRatingMap', fullWidth: true },
{ label: '车况描述', key: 'carInfo.conditionDescription', fullWidth: true }
],
carLicenseItems: [
{ label: '钥匙数', key: 'carLicense.keyCount' },
{ label: '过户次数', key: 'carLicense.transferCount' },
{ label: '交强险到期', key: 'carLicense.forceExpirationDate' },
{ label: '年审到期', key: 'carLicense.annualInspectionExpiry' },
{ label: '商业险到期', key: 'carLicense.commercialInsuranceExpiry' },
{ label: '原车主名称', key: 'carLicense.previousOwnerName' },
{ label: '原车主电话', key: 'carLicense.previousOwnerPhone', fullWidth: true },
{ label: '原车主住址', key: 'carLicense.previousOwnerAddress', fullWidth: true }
],
uploadFields: [
{
key: 11,
label: '左前45度',
required: true,
maxCount: 1,
accept: 'image'
},
{ key: 12, label: '主驾驶全景', maxCount: 1, accept: 'image' },
{ key: 13, label: '仪表盘', maxCount: 1, accept: 'image' },
{ key: 14, label: '后排座椅', maxCount: 1, accept: 'image' },
{ key: 15, label: '中控台', maxCount: 1, accept: 'image' },
{ key: 16, label: '右后45度', maxCount: 1, accept: 'image' },
{ key: 17, label: '铭牌', maxCount: 1, accept: 'image' }
],
uploadCertificateFields: [
{ key: 21, label: '行驶证', maxCount: 1, accept: 'image' },
{ key: 22, label: '登记证', maxCount: 3, accept: 'image' }
],
uploadVideoFields: [
{ key: 31, label: '发动机工况', required: true, accept: 'video' },
{ key: 32, label: '车况解说', required: true, accept: 'video' }
],
uploadOtherFields: [{ key: 41, label: '其他图片', required: true, accept: 'image' }]
} }
},
mounted() {
this.getDetail(this.$route.query.evalOrderNo)
},
methods: {
backPage() {
uni.navigateBack({
delta: 1
})
},
statusClass(status) {
return status > 0 ? `status-${status}` : 'status-0'
},
getDetail(evalOrderNo) {
const that = this
uni.$api.evaluationApi
.evalOrderDetail({
evalOrderNo
})
.then(res => {
console.log('res:', res)
const { basic = {}, carInfo = {}, carLicense = {}, images = {} } = res
that.detailsInfo = res
})
},
switchTab(index) {
this.activeTab = index
// 滚动到顶部
uni.pageScrollTo({
scrollTop: 0,
duration: 0
})
},
getFieldValue(obj, path) {
if (!obj || !path) return ''
const keys = path.split('.')
let value = obj
for (const key of keys) {
value = value[key]
if (value === undefined || value === null) {
return ''
}
}
return value
},
// 格式化显示值
formatValue(item, data) {
const rawValue = this.getFieldValue(data, item.key)
// 如果有自定义格式化器,使用它
if (item.formatter && typeof item.formatter === 'function') {
return item.formatter(rawValue, data)
}
// 如果有映射表,使用映射表
if (item.map && this[item.map]) {
return this[item.map][rawValue] || rawValue
}
// 返回原始值(如果为空则返回空字符串)
return rawValue || ''
},
// 根据fileSubtype获取图片
getImageBySubtype(subtype) {
console.log('subtype:', subtype)
if (!this.detailsInfo.images) return null
const obj = this.detailsInfo.images.find(img => img.fileSubtype === subtype) || null
console.log('obj:', obj)
return obj
},
// 获取图片标签名称
getImageLabel(fileSubtype) {
// 这里使用已有的fileSuibtype映射
return this.fileSuibtype[fileSubtype]?.name || `未知类型(${fileSubtype})`
} }
} }
} }
</script> </script>
<style lang="scss" scoped>
.details-page {
position: relative;
width: 100vw;
height: 100vh;
background-image: url('@/assets/images/common/page-bg.webp');
background-size: 100%;
padding: toRpx(160) toRpx(64) toRpx(48);
box-sizing: border-box;
.detail-content {
width: 100%;
height: 100%;
box-sizing: border-box;
overflow: auto;
.box-class {
height: calc(100% - #{toRpx(110)});
background: #ffffff59;
backdrop-filter: blur(toRpx(16));
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border-radius: toRpx(48);
overflow: auto;
padding: toRpx(32) toRpx(48) toRpx(42);
box-sizing: border-box;
.tab-container {
margin-bottom: toRpx(32);
.tab-scroll {
width: 100%;
display: flex;
white-space: nowrap;
.tab-item {
width: toRpx(208);
height: toRpx(72);
border-radius: toRpx(16);
background: #ffffff;
backdrop-filter: blur(12px);
display: inline-block;
padding: toRpx(16) toRpx(32);
color: #666666;
position: relative;
cursor: pointer;
transition: color 0.3s;
margin-right: toRpx(16);
&.active {
color: #fff;
background: linear-gradient(180deg, #6795ff 0%, #4a84f9 100%);
box-shadow: toRpx(4) toRpx(8) toRpx(16) 0 #81a3d659;
}
.tab-active-line {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: toRpx(48);
height: toRpx(6);
background-color: #347bff;
border-radius: toRpx(3);
opacity: 0;
transition: opacity 0.3s;
&.show {
opacity: 1;
}
}
}
}
}
.tab-panel {
border-radius: toRpx(16);
background: #ffffff;
padding: toRpx(24) toRpx(32);
.tab-panel-title {
font-size: toRpx(32);
font-weight: 600;
color: #333333;
margin-bottom: toRpx(24);
}
.gridBox {
display: grid;
grid-template-columns: 1fr 1fr;
gap: toRpx(24);
border-radius: toRpx(16);
background: #ffffff;
padding: toRpx(28) toRpx(32);
box-sizing: border-box;
.title-label-see {
width: toRpx(168);
color: #999999;
font-size: toRpx(28);
font-weight: 400;
}
image {
width: toRpx(240);
height: toRpx(240);
border-radius: toRpx(12);
background: #f4f5f7;
}
.full-width {
grid-column: 1 / -1;
}
}
.empty-content {
text-align: center;
padding: toRpx(100) 0;
color: #999999;
font-size: toRpx(28);
}
.upload-box {
background: #ffffff;
padding: toRpx(24) toRpx(32);
border-radius: toRpx(16);
box-sizing: border-box;
}
.upload-grid {
display: grid;
gap: toRpx(24);
grid-template-columns: repeat(3, 1fr);
border-radius: toRpx(16);
}
.upload-item-container {
align-items: flex-start;
margin-bottom: toRpx(32);
.upload-label {
color: #666666;
font-size: toRpx(26);
font-weight: 400;
display: flex;
align-items: flex-start;
margin-right: toRpx(42);
width: toRpx(180);
margin-bottom: toRpx(16);
}
.requiredLabel {
color: #f24724;
font-size: toRpx(28);
font-weight: 400;
margin-left: toRpx(8);
}
.upload-images-wrapper {
display: flex;
gap: toRpx(16);
flex: 1;
}
&.fullwidth {
grid-column: 1 / -1; // 跨越所有列
.upload-label {
flex: none;
}
}
}
.upload-item {
height: toRpx(240);
border-radius: toRpx(12);
display: flex;
align-items: center;
justify-content: center;
position: relative;
opacity: 1;
background: #f5f8ff;
width: toRpx(240);
}
.upload-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #999999;
}
.upload-text {
margin-top: toRpx(12);
font-size: toRpx(24);
}
/* 已上传媒体样式 */
.uploaded-media-container {
position: relative;
height: toRpx(240);
border-radius: toRpx(12);
overflow: hidden;
width: toRpx(240);
}
.uploaded-media {
width: 100%;
height: 100%;
}
/* 视频容器样式 */
.video-container {
position: relative;
width: 100%;
height: 100%;
}
/* 视频播放图标 */
.video-play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: toRpx(60);
height: toRpx(60);
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
}
.no-bac {
background-color: transparent;
padding: 0;
}
}
}
.status-box {
.label {
color: #999ea8;
font-size: toRpx(24);
font-weight: 400;
}
.value {
color: #666666;
font-size: toRpx(24);
font-weight: 400;
}
}
.status {
border-radius: toRpx(4);
background: #fef4e8;
padding: toRpx(4) toRpx(20);
font-size: toRpx(24);
font-weight: 500;
}
// 状态颜色
.status-10 {
color: #f59619;
background: #fef4e8;
}
.status-20 {
color: #6a56f0;
background: #f0eefd;
}
.status-30 {
color: #2cca74;
background: #e9f9f1;
}
.status-40 {
color: #5842eb;
background: #eeecfd;
}
.status-50 {
color: #5842eb;
background: #eeecfd;
}
.status-100 {
color: #2cca74;
background: #e9f9f1;
}
// 驳回
.status-0 {
color: #eb4e4e;
background: #fdeded;
}
}
</style>
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
<view class="title">新增评估单</view> <view class="title">新增评估单</view>
</view> </view>
<view class="detail-content"> <view class="detail-content">
<view class="stepper-container flex"> <view class="flex align-center">
<view class="stepper-container flex flex-1">
<view class="flex items-center"> <view class="flex items-center">
<view class="step-number-circle" :class="{ active: currentStep >= 1 }"> <view class="step-number-circle" :class="{ active: currentStep >= 1 }">
<view class="step-number">1</view> <view class="step-number">1</view>
...@@ -29,11 +30,16 @@ ...@@ -29,11 +30,16 @@
<view class="step-name" :class="{ active: currentStep >= 3 }">图像信息</view> <view class="step-name" :class="{ active: currentStep >= 3 }">图像信息</view>
</view> </view>
</view> </view>
<view v-if="currentStep === 1" class="flex align-center scanBtn justify-center" @click.stop="scan('carLicenseOcr')">
<view class="sprite-icon icon-scanIcon"></view>
行驶证
</view>
</view>
<view class="fromBox"> <view class="fromBox">
<!-- 车辆信息表单 --> <!-- 车辆信息表单 -->
<FormCell v-if="currentStep === 1" :formFields="formFields" :formData="formData" @handleCell="handleCell" @pickerChange="pickerChange" @radioChange="radioChange" /> <FormCell v-if="currentStep === 1" :formFields="formFields" :formData="formData" @handleCell="handleCell" @pickerChange="pickerChange" @radioChange="radioChange" @blurChange="blurChange" @scan="scan" />
<!-- 牌证信息表单 --> <!-- 牌证信息表单 -->
<FormCell v-else-if="currentStep === 2" :formFields="licenseFormFields" :formData="formData" @handleCell="handleCell" /> <FormCell v-else-if="currentStep === 2" :formFields="licenseFormFields" :formData="formData" @handleCell="handleCell" />
...@@ -42,68 +48,29 @@ ...@@ -42,68 +48,29 @@
<view v-else-if="currentStep === 3" class="form-container-upload"> <view v-else-if="currentStep === 3" class="form-container-upload">
<view class="upload-section"> <view class="upload-section">
<view class="section-title">车辆图片</view> <view class="section-title">车辆图片</view>
<UploadMedia :upload-fields="uploadFields" v-model:images-data="formImagesData" :grid-columns="3" /> <UploadMedia :upload-fields="uploadFields" :mediaData.sync="formImagesData" :grid-columns="3" />
</view> </view>
<view class="upload-section"> <view class="upload-section">
<view class="section-title">证件资料</view> <view class="section-title">证件资料</view>
<view class="upload-grid"> <UploadMedia :upload-fields="uploadCertificateFields" :mediaData.sync="certificateImagesData" :grid-columns="3" />
<view class="flex upload-item-container" v-for="field in uploadCertificateFields" :key="field.key">
<view class="upload-label">
{{ field.label }}
<text class="requiredLabel" v-if="field.required">*</text>
</view>
<view class="upload-item" @click="handleImageUpload(field)">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
</view>
</view>
</view>
</view>
</view> </view>
<view class="upload-section"> <view class="upload-section">
<view class="section-title">车辆视频</view> <view class="section-title">车辆视频</view>
<view class="upload-grid"> <UploadMedia :upload-fields="uploadVideoFields" :mediaData.sync="carVideoData" :grid-columns="3" />
<view class="flex upload-item-container" v-for="field in uploadVideoFields" :key="field.key">
<view class="upload-label">
{{ field.label }}
<text class="requiredLabel" v-if="field.required">*</text>
</view>
<view class="upload-item" @click="handleVideoUpload(field)">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传视频</text>
</view>
</view>
</view>
</view>
</view> </view>
<view class="upload-section"> <view class="upload-section">
<view class="section-title">其他图片</view> <view class="section-title">其他图片</view>
<view class="upload-grid"> <UploadMedia :upload-fields="uploadOtherFields" :mediaData.sync="otherImagesData" :grid-columns="3" />
<view class="flex upload-item-container" v-for="field in uploadOtherFields" :key="field.key">
<view class="upload-label">
{{ field.label }}
<text class="requiredLabel" v-if="field.required">*</text>
</view>
<view class="upload-item" @click="handleImageUpload(field)">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
</view>
</view>
</view>
</view>
</view> </view>
</view> </view>
</view> </view>
<view class="button-module flex justify-center align-center"> <view class="button-module flex justify-center align-center">
<view class="button-container flex justify-between"> <view class="button-container flex justify-between">
<view class="cancel-btn" @click="currentStep > 1 ? prevStep() : backPage"> <view class="cancel-btn" @click="currentStep > 1 ? prevStep() : backPage()">
{{ currentStep > 1 ? '上一步' : '取消' }} {{ currentStep > 1 ? '上一步' : '取消' }}
</view> </view>
<view class="next-btn" @click="currentStep < 3 ? nextStep() : submitForm"> <view class="next-btn" @click="currentStep < 3 ? nextStep() : submitForm()">
{{ currentStep < 3 ? '下一步' : '提交' }} {{ currentStep < 3 ? '下一步' : '提交' }}
</view> </view>
</view> </view>
...@@ -119,6 +86,17 @@ ...@@ -119,6 +86,17 @@
<uni-calendar class="calendar" :showMonth="false" @change="calendarChange" /> <uni-calendar class="calendar" :showMonth="false" @change="calendarChange" />
</template> </template>
</GeneralPopup> </GeneralPopup>
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips">
<template #content>
<view>
<image class="tipsPopupBg" :src="bg" />
<view class="title">提示</view>
<view class="tipsConent">
<view>{{ isExistSamePlate ? '已存在相同车牌号的评估单,是否进入编辑流程?' : '已存在一个30天内有效评估,是否进入详情查看?' }}</view>
</view>
</view>
</template>
</GeneralPopup>
</view> </view>
</template> </template>
<script> <script>
...@@ -154,11 +132,13 @@ export default { ...@@ -154,11 +132,13 @@ export default {
}, },
data() { data() {
return { return {
bg: require('@/assets/images/boutique/tipsPopupBg.png'),
pickerArray: [], pickerArray: [],
index: 0, index: 0,
carList: [], carList: [],
selectDate: '', selectDate: '',
popupTypeEnum, popupTypeEnum,
isExistSamePlate: false,
formData: { formData: {
evalOrderBasicReqDTO: { evalOrderBasicReqDTO: {
sellerUserId: 'S10001', sellerUserId: 'S10001',
...@@ -175,7 +155,7 @@ export default { ...@@ -175,7 +155,7 @@ export default {
carSeriesName: '帕萨特', carSeriesName: '帕萨特',
carTypeId: 401, carTypeId: 401,
carTypeName: '帕萨特2020款 330TSI', carTypeName: '帕萨特2020款 330TSI',
vin: 'LFPH4ACC9J1234567', vin: '',
licensePlate: '苏21920012', licensePlate: '苏21920012',
engineNumber: 'ENG20250922', engineNumber: 'ENG20250922',
registrationDate: '2020-05-01', registrationDate: '2020-05-01',
...@@ -194,42 +174,35 @@ export default { ...@@ -194,42 +174,35 @@ export default {
vehicleCategory: 1, vehicleCategory: 1,
emissionStandard: 6, emissionStandard: 6,
interiorColor: '黑色', interiorColor: '黑色',
exteriorColor: '白色', exteriorColor: '黑色',
productionDate: '2020-03-01', productionDate: '',
guidePrice: 230000, guidePrice: 230000,
buyNewCar: 1, buyNewCar: 1,
hasAccident: 0, hasAccident: 0,
overallRating: '1', overallRating: '1',
conditionDescription: '车况良好,无重大事故' conditionDescription: ''
}, },
carLicenseReqDTO: { carLicenseReqDTO: {
keyCount: 2, keyCount: 2,
transferCount: 1, transferCount: 1,
compulsoryInsuranceExpiry: '2025-06-30', compulsoryInsuranceExpiry: '',
annualInspectionExpiry: '2026-05-01', annualInspectionExpiry: '',
commercialInsuranceExpiry: '2025-06-30', commercialInsuranceExpiry: '',
previousOwnerName: '王五', previousOwnerName: '',
previousOwnerAddress: '江苏省南京市鼓楼区', previousOwnerAddress: '',
previousOwnerPhone: '13812345678' previousOwnerPhone: '13059281290'
}, },
imageList: [ imageList: []
{
fileType: 1,
fileSubtype: 11,
fileName: 'car_left_front.jpg',
fileUrl: 'https://oss.example.com/car/left_front.jpg',
fileFormat: 'jpeg'
}
],
evalOrderNo: ''
}, },
formImagesData: {}, formImagesData: {},
certificateImagesData: {},
carVideoData: {},
otherImagesData: {},
currentStep: 1, // 当前步骤,默认为1 currentStep: 1, // 当前步骤,默认为1
formFields: [ formFields: [
{ key: 'sellerUserId', label: '销售顾问', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'sellerUserId', targetObj: 'evalOrderBasicReqDTO', type: 'select', showText: 'shopMerchantName' }, { key: 'sellerUserId', label: '销售顾问', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'sellerUserId', targetObj: 'evalOrderBasicReqDTO', type: 'select', showText: 'shopMerchantName' },
{ key: 'brandModel', label: '品牌车型', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'sellerUserId', targetObj: 'evalOrderBasicReqDTO', type: 'select', showText: 'shopMerchantName' }, { key: 'brandModel', label: '品牌车型', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'sellerUserId', targetObj: 'evalOrderBasicReqDTO', type: 'select', showText: 'shopMerchantName' },
{ key: 'vin', label: '车架号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'vin', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' }, { key: 'vin', label: '车架号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'vin', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName', isScan: true },
{ key: 'licensePlate', label: '车牌号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'licensePlate', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' }, { key: 'licensePlate', label: '车牌号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'licensePlate', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' },
{ key: 'engineNumber', label: '发动机号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'engineNumber', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' }, { key: 'engineNumber', label: '发动机号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'engineNumber', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' },
{ key: 'registrationCityId', label: '上牌城市', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'registrationCityId', targetObj: 'carBaseReqDTO', type: 'select', showText: 'shopMerchantName' }, { key: 'registrationCityId', label: '上牌城市', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'registrationCityId', targetObj: 'carBaseReqDTO', type: 'select', showText: 'shopMerchantName' },
...@@ -489,32 +462,34 @@ export default { ...@@ -489,32 +462,34 @@ export default {
key: 11, key: 11,
label: '左前45度', label: '左前45度',
required: true, required: true,
maxCount: 2, maxCount: 1,
required: true, accept: 'image'
columnCount: 3, // 一行显示2张图片
fullwidth: true
}, },
{ key: 12, label: '主驾驶全景', required: true }, { key: 12, label: '主驾驶全景', maxCount: 1, accept: 'image' },
{ key: 13, label: '仪表盘', required: true }, { key: 13, label: '仪表盘', maxCount: 1, accept: 'image' },
{ key: 14, label: '后排座椅', required: true }, { key: 14, label: '后排座椅', maxCount: 1, accept: 'image' },
{ key: 15, label: '中控台', required: true }, { key: 15, label: '中控台', maxCount: 1, accept: 'image' },
{ key: 16, label: '右后45度', required: true }, { key: 16, label: '右后45度', maxCount: 1, accept: 'image' },
{ key: 17, label: '铭牌', required: true } { key: 17, label: '铭牌', maxCount: 1, accept: 'image' }
], ],
uploadCertificateFields: [ uploadCertificateFields: [
{ key: 21, label: '行驶证', required: true }, { key: 21, label: '行驶证', maxCount: 1, accept: 'image' },
{ key: 22, label: '登记证', required: true } { key: 22, label: '登记证', maxCount: 3, accept: 'image' }
], ],
uploadVideoFields: [ uploadVideoFields: [
{ key: 31, label: '发动机工况', required: true }, { key: 31, label: '发动机工况', required: true, accept: 'video' },
{ key: 32, label: '车况解说', required: true } { key: 32, label: '车况解说', required: true, accept: 'video' }
], ],
uploadOtherFields: [{ key: 41, label: '其他图片', required: true }], uploadOtherFields: [{ key: 41, label: '其他图片', required: true, accept: 'image' }],
currentField: null currentField: null
} }
}, },
mounted() { mounted() {
console.log(this.$route.query)
if (this.$route.query.type == 'edit') {
this.getDetail(this.$route.query.evalOrderNo)
}
this.userInfo = uni.$storage.get('userInfo') || {} this.userInfo = uni.$storage.get('userInfo') || {}
console.log('userInfo', this.userInfo) console.log('userInfo', this.userInfo)
Object.assign(this.formData.evalOrderBasicReqDTO, { Object.assign(this.formData.evalOrderBasicReqDTO, {
...@@ -530,130 +505,21 @@ export default { ...@@ -530,130 +505,21 @@ export default {
delta: 1 delta: 1
}) })
}, },
handleImageUpload(field) {
// 显示操作菜单,让用户选择拍照或从相册选择
uni.showActionSheet({
itemList: ['拍照', '从相册选择'],
success: res => {
if (res.tapIndex === 0) {
// 拍照
this.takePhoto(field)
} else if (res.tapIndex === 1) {
// 从相册选择
this.chooseImageFromAlbum(field)
}
},
fail: err => {
console.log('选择操作失败', err)
}
})
},
handleVideoUpload(field) {
// 显示操作菜单,让用户选择拍摄视频或从相册选择
uni.showActionSheet({
itemList: ['拍摄视频', '从相册选择'],
success: res => {
if (res.tapIndex === 0) {
// 拍摄视频
this.takeVideo(field)
} else if (res.tapIndex === 1) {
// 从相册选择
this.chooseVideoFromAlbum(field)
}
},
fail: err => {
console.log('选择操作失败', err)
}
})
},
takePhoto(field) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['camera'],
success: res => {
const tempFilePath = res.tempFilePaths[0]
this.handleFileSelection(field, tempFilePath, 'image')
// 这里可以添加上传文件到服务器的逻辑
},
fail: err => {
console.log('拍照失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍照失败', icon: 'none' })
}
}
})
},
chooseImageFromAlbum(field) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['album'],
success: async res => {
const tempFilePath = res.tempFilePaths[0]
this.handleFileSelection(field, tempFilePath, 'image')
// 这里可以添加上传文件到服务器的逻辑
let url = await uploadFile(tempFilePath)
},
fail: err => {
console.log('选择图片失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择图片失败', icon: 'none' })
}
}
})
},
takeVideo(field) { getDetail(evalOrderNo) {
uni.chooseVideo({ const that = this
sourceType: ['camera'], uni.$api.evaluationApi
maxDuration: 60, .evalOrderDetail({
camera: 'back', evalOrderNo
success: res => {
const tempFilePath = res.tempFilePath
this.handleFileSelection(field, tempFilePath, 'video')
// 这里可以添加上传文件到服务器的逻辑
},
fail: err => {
console.log('拍摄视频失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍摄视频失败', icon: 'none' })
}
}
})
},
chooseVideoFromAlbum(field) {
uni.chooseVideo({
sourceType: ['album'],
maxDuration: 60,
success: res => {
const tempFilePath = res.tempFilePath
this.handleFileSelection(field, tempFilePath, 'video')
// 这里可以添加上传文件到服务器的逻辑
},
fail: err => {
console.log('选择视频失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择视频失败', icon: 'none' })
}
}
}) })
}, .then(res => {
handleFileSelection(field, filePath, fileType) { console.log('res:', res)
// 存储文件信息到formData const { basic = {}, carInfo = {}, carLicense = {}, images = {} } = res
if (!this.formData.uploadedFiles) { that.formData.evalOrderBasicReqDTO = { ...basic }
this.formData.uploadedFiles = {} that.formData.carBaseReqDTO = { ...carInfo }
} that.formData.carLicenseReqDTO = { ...carLicense }
this.formData.uploadedFiles[field.key] = { that.formData.imageList = [...images]
path: filePath, that.formData.evalOrderNo = evalOrderNo
type: fileType,
name: field.label
}
// 显示选择成功的提示
uni.showToast({
title: '选择成功',
icon: 'success'
}) })
}, },
...@@ -718,9 +584,143 @@ export default { ...@@ -718,9 +584,143 @@ export default {
calendarChange(date) { calendarChange(date) {
this.selectDate = date.year + '-' + date.month + '-' + date.date this.selectDate = date.year + '-' + date.month + '-' + date.date
}, },
blurChange(value, field) {
console.log('blurChange', value, field)
if (field.key == 'licensePlate') {
uni.$api.evaluationApi
.checkRepeat({
licensePlate: value
})
.then(res => {
console.log('res:', res)
if (res.result == 1) {
this.isExistSamePlate = true
this.$refs.tipsPopup
.open()
.then(() => {
uni.navigateTo({
url: '/pages/evaluationForm/addEvaluationFrom?type=edit' + '&evalOrderNo=' + res.evalOrderNo
})
})
.catch(() => {
console.log('用户点击了取消')
})
} else if (res.result == 2) {
this.isExistSamePlate = false
this.$refs.tipsPopup.open()
}
})
}
},
confirmCalendar() { confirmCalendar() {
// this.rangeSelect(this.selectDate) // this.rangeSelect(this.selectDate)
}, },
// 拍照
takePhoto(type) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['camera'],
success: async res => {
try {
// 上传所有选择的图片
for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url)
this[type](url)
}
} catch (error) {
console.log('上传图片失败', error)
uni.showToast({ title: '上传图片失败', icon: 'none' })
}
},
fail: err => {
console.log('拍照失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍照失败', icon: 'none' })
}
}
})
},
// 从相册选择图片
chooseImageFromAlbum(type) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['album'],
success: async res => {
try {
// 上传所有选择的图片
for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url)
this[type](url)
}
} catch (error) {
console.log('上传图片失败', error)
uni.showToast({ title: '上传图片失败', icon: 'none' })
}
},
fail: err => {
console.log('选择图片失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择图片失败', icon: 'none' })
}
}
})
},
scan(type) {
uni.showActionSheet({
itemList: ['拍照', '从相册选择'],
success: res => {
if (res.tapIndex === 0) {
// 拍照
this.takePhoto(type)
} else if (res.tapIndex === 1) {
// 从相册选择图片
this.chooseImageFromAlbum(type)
}
},
fail: err => {
console.log('选择操作失败', err)
}
})
},
vinOcr(imageUrl) {
uni.$api.evaluationApi
.vinOcr({
imageUrl
})
.then(res => {
console.log('res:', res)
if (res.status == 1) {
this.formData.carBaseReqDTO.vin = res.vin
} else {
uni.showToast({ title: res.errorMessage, icon: 'none' })
}
})
},
carLicenseOcr(imageUrl) {
uni.$api.evaluationApi
.carLicenseOcr({
imageUrl
})
.then(res => {
console.log('res:', res)
if (res.status == 1) {
this.formData.carBaseReqDTO.engineNumber = res.engineNumber
this.formData.carBaseReqDTO.licensePlate = res.licensePlate
this.formData.carBaseReqDTO.vin = res.vin
this.formData.carBaseReqDTO.registrationDate = res.registrationDate
this.formData.carLicenseReqDTO.previousOwnerAddress = res.previousOwnerAddress
this.formData.carLicenseReqDTO.previousOwnerName = res.previousOwnerName
} else {
uni.showToast({ title: res.errorMessage, icon: 'none' })
}
})
},
// 上一步逻辑 // 上一步逻辑
prevStep() { prevStep() {
...@@ -742,6 +742,24 @@ export default { ...@@ -742,6 +742,24 @@ export default {
// 图像信息步骤的验证逻辑 // 图像信息步骤的验证逻辑
// 这里可以添加图片上传的验证 // 这里可以添加图片上传的验证
} }
// 处理车辆图片 - fileType: 1
this.processMediaData(this.formImagesData, 1)
// 处理证件资料 - fileType: 2
this.processMediaData(this.certificateImagesData, 2)
// 处理车辆视频 - fileType: 3
this.processMediaData(this.carVideoData, 3)
// 处理其他图片 - fileType: 4
this.processMediaData(this.otherImagesData, 4)
console.log('提交的表单数据:', this.formData)
if (this.$route.query.type === 'add') {
uni.$api.evaluationApi.evalOrderCreate(this.formData)
} else if (this.$route.query.type === 'edit') {
uni.$api.evaluationApi.evalOrderUpdate(this.formData)
}
// 模拟提交成功 // 模拟提交成功
uni.showLoading({ uni.showLoading({
...@@ -755,14 +773,47 @@ export default { ...@@ -755,14 +773,47 @@ export default {
title: '提交成功', title: '提交成功',
icon: 'success' icon: 'success'
}) })
// 提交成功后返回上一页
setTimeout(() => {
this.backPage()
}, 1500)
}, 1500) }, 1500)
}, },
// 处理媒体数据的辅助方法
processMediaData(mediaData, fileType) {
// this.formData.imageList = []
if (!mediaData || typeof mediaData !== 'object') {
return
}
// 遍历媒体数据对象中的每个key
Object.keys(mediaData).forEach(fileSubtype => {
const mediaItems = mediaData[fileSubtype]
// 确保mediaItems是数组
if (!Array.isArray(mediaItems)) {
return
}
// 遍历每个媒体项
mediaItems.forEach(item => {
// 确保item是对象且包含url属性
if (!item || typeof item !== 'object' || !item.url) {
return
}
// 从URL中提取文件名和格式
const urlParts = item.url.split('/')
const fileName = urlParts[urlParts.length - 1]
const fileFormat = fileName.split('.').pop().toLowerCase()
// 创建新的图片对象并添加到imageList
this.formData.imageList.push({
fileType: fileType,
fileSubtype: parseInt(fileSubtype, 10), // 确保是数字类型
fileUrl: item.url
})
})
})
},
// 滚动到顶部 // 滚动到顶部
scrollToTop() { scrollToTop() {
const query = uni.createSelectorQuery().in(this) const query = uni.createSelectorQuery().in(this)
...@@ -834,6 +885,35 @@ export default { ...@@ -834,6 +885,35 @@ export default {
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
// Popup样式
::v-deep .tipsPopup .uni-popup__wrapper {
width: toRpx(848);
height: toRpx(744);
border-radius: toRpx(42);
background: rgb(255, 255, 255) !important;
.tipsPopupBg {
border-radius: toRpx(42) toRpx(42) 0 0;
width: 100%;
height: toRpx(244);
}
.title {
color: #333333;
font-size: toRpx(40);
font-weight: 500;
text-align: center;
margin-top: toRpx(48);
}
.tipsConent {
color: #666666;
font-size: toRpx(32);
font-weight: 400;
padding: toRpx(16) toRpx(64);
line-height: toRpx(48);
text {
color: #347bff;
}
}
}
.add-evaluation-from { .add-evaluation-from {
position: relative; position: relative;
width: 100vw; width: 100vw;
...@@ -952,6 +1032,18 @@ export default { ...@@ -952,6 +1032,18 @@ export default {
} }
} }
} }
.scanBtn {
width: toRpx(188);
height: toRpx(64);
border-radius: toRpx(64);
background: #ffffff;
color: #333333;
font-size: toRpx(28);
font-weight: 400;
.sprite-icon {
margin-right: toRpx(8);
}
}
.fromBox { .fromBox {
width: 100%; width: 100%;
height: calc(100% - #{toRpx(268)}); height: calc(100% - #{toRpx(268)});
......
<template> <template>
<div class="button-module flex"> <div class="button-module flex">
<view class="common-btn" @click="handleClick('details')">详情</view> <view class="common-btn" @click="handleClick('details')">详情</view>
<view v-if="subStatus == '' && previousStatus != 100" class="common-btn ml-24" @click="handleClick('edit')">编辑</view> <view v-if="subStatus == '' && status != 100" class="common-btn ml-24" @click="handleClick('edit')">编辑</view>
<view v-if="previousStatus == 20 && subStatus == ''" class="common-btn ml-24" @click="handleClick('requote')">重新报价</view> <view v-if="status == 20 && !subStatus" class="common-btn ml-24" @click="handleClick('requote')">重新报价</view>
<view v-if="previousStatus == 20 && subStatus == ''" class="common-btn blue-btn ml-24" @click="handleClick('sign')">客户签约</view> <view v-if="status == 20 && !subStatus" class="common-btn blue-btn ml-24" @click="handleClick('sign')">客户签约</view>
<view v-if="previousStatus == 20 && subStatus == 1" class="common-btn gray-btn ml-24" @click="handleClick('signing')">签约中</view> <view v-if="status == 20 && subStatus == 1" class="common-btn gray-btn ml-24" @click="handleClick('signing')">签约中</view>
<view v-if="previousStatus == 30 && subStatus == ''" class="common-btn ml-24" @click="handleClick('cancelSign')">取消签约</view> <view v-if="status == 30 && !subStatus" class="common-btn ml-24" @click="handleClick('cancelSign')">取消签约</view>
<view v-if="previousStatus == 30 && subStatus == '' && paymentType == 1" class="common-btn blue-btn ml-24" @click="handleClick('payDeposit')">支付定金</view> <view v-if="status == 30 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click="handleClick('payDeposit')">支付定金</view>
<view v-if="previousStatus == 30 && subStatus == '' && paymentType == 2" class="common-btn blue-btn ml-24" @click="handleClick('payFull')">支付全款</view> <view v-if="status == 30 && !subStatus && paymentType == 2" class="common-btn blue-btn ml-24" @click="handleClick('payFull')">支付全款</view>
<view v-if="subStatus == 2 || subStatus == 3" class="common-btn gray-btn ml-24" @click="handleClick('paying')">支付中</view> <view v-if="subStatus == 2 || subStatus == 3" class="common-btn gray-btn ml-24" @click="handleClick('paying')">支付中</view>
<view v-if="previousStatus == 40 && subStatus == '' && paymentType == 1" class="common-btn blue-btn ml-24" @click="handleClick('payTail')">支付尾款</view> <view v-if="status == 40 && !subStatus && paymentType == 1" class="common-btn blue-btn ml-24" @click="handleClick('payFull')">支付尾款</view>
<view v-if="previousStatus == 50 && subStatus == ''" class="common-btn blue-btn ml-24" @click="handleClick('confirmDelivery')">确认交车</view> <view v-if="status == 50 && !subStatus" class="common-btn blue-btn ml-24" @click="handleClick('confirmDelivery')">确认交车</view>
<view v-if="previousStatus == 1" class="common-btn blue-btn ml-24" @click="handleClick('reSubmit')">重新提交</view> <view v-if="status == 1" class="common-btn blue-btn ml-24" @click="handleClick('reSubmit')">重新提交</view>
</div> </div>
</template> </template>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
export default { export default {
name: 'ButtonModule', name: 'ButtonModule',
props: { props: {
previousStatus: { status: {
type: String, type: String,
default: '10' default: '10'
}, },
......
...@@ -6,8 +6,11 @@ ...@@ -6,8 +6,11 @@
<text class="requiredLabel" v-if="field.required">*</text> <text class="requiredLabel" v-if="field.required">*</text>
</view> </view>
<template v-if="field.type === 'input'"> <template v-if="field.type === 'input'">
<input v-if="field.targetObj" type="text" :placeholder="'请输入' + field.label" v-model="formData[field.targetObj][field.targetKey]" /> <input v-if="field.targetObj" :disabled="field.disabled" type="text" :placeholder="'请输入'" v-model="formData[field.targetObj][field.targetKey]" :pattern="field.pattern || ''" @input="e => handleInput(e, field)" @blur="e => handleBlur(e, field)" />
<input v-else type="text" :placeholder="'请输入' + field.label" v-model="formData[field.targetKey]" /> <input v-else type="text" :disabled="field.disabled" :placeholder="'请输入'" v-model="formData[field.targetKey]" :pattern="field.pattern || ''" @input="e => handleInput(e, field)" />
<view v-if="field.isScan" class="flex align-center scanBtn justify-center" @click.stop="scan('vinOcr')">
<view class="sprite-icon icon-scanIconX"></view>
</view>
</template> </template>
<template v-if="field.type === 'select'"> <template v-if="field.type === 'select'">
<view class="flex align-center from-value"> <view class="flex align-center from-value">
...@@ -81,8 +84,8 @@ ...@@ -81,8 +84,8 @@
<text>二手车买卖补充协议</text> <text>二手车买卖补充协议</text>
</view> </view>
<view class="flex align-center"> <view class="flex align-center">
<view class="btn">预览</view> <view class="btn" @click="previewPdf(field)">预览</view>
<view class="btn">删除</view> <view class="btn" @click="deletePdf(field)">删除</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -137,6 +140,46 @@ export default { ...@@ -137,6 +140,46 @@ export default {
}, },
updateFormData(data) { updateFormData(data) {
this.$emit('update:formData', data) this.$emit('update:formData', data)
},
handleInput(e, field) {
const value = e.detail.value
// 如果有正则验证规则,执行验证
if (field.pattern) {
const reg = new RegExp(field.pattern)
if (!reg.test(value) && value !== '') {
// 验证失败,阻止输入
if (field.targetObj) {
// 回滚到原始值
this.$emit('inputInvalid', field, this.formData[field.targetObj][field.targetKey])
} else {
this.$emit('inputInvalid', field, this.formData[field.targetKey])
}
return
}
}
// 验证通过,触发输入事件
this.$emit('inputChange', e, field)
},
handleBlur(e, field) {
let value = e.detail.value.trim()
if (field.targetObj) {
if (this.formData[field.targetObj]) {
this.formData[field.targetObj][field.targetKey] = value
this.$emit('blurChange', value, field)
}
} else {
this.formData[field.targetKey] = value
this.$emit('blurChange', value, field)
}
},
scan(type) {
this.$emit('scan', type)
},
previewPdf(field) {
this.$emit('previewPdf', field)
},
deletePdf(field) {
this.$emit('deletePdf', field)
} }
}, },
watch: { watch: {
...@@ -256,5 +299,8 @@ export default { ...@@ -256,5 +299,8 @@ export default {
margin-left: toRpx(32); margin-left: toRpx(32);
} }
} }
.scanBtn {
margin-left: toRpx(16);
}
} }
</style> </style>
...@@ -73,6 +73,10 @@ export default { ...@@ -73,6 +73,10 @@ export default {
isShowCancel: { isShowCancel: {
type: Boolean, type: Boolean,
default: true default: true
},
autoClose: {
type: Boolean,
default: true
} }
}, },
data() { data() {
...@@ -105,7 +109,10 @@ export default { ...@@ -105,7 +109,10 @@ export default {
}, },
confirm() { confirm() {
if (this.resolve) { if (this.resolve) {
if (this.autoClose) {
this.$refs.publishPopup.close() this.$refs.publishPopup.close()
}
this.resolve() this.resolve()
} }
this.$emit('confirm') this.$emit('confirm')
......
<template> <template>
<view class="type-tab"> <view class="type-tab">
<view class="type-box"> <view class="type-box">
<view class="tab-item" :class="[tabClass(index)]" v-for="(i, index) in typeList" :key="index" @click="tabClick(index)"> <view class="tab-item" :class="[tabClass(index)]" v-for="(i, index) in typeList" :key="index" @click="tabClick(index, i)">
<view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-left icon-first-left"></view> <view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-left icon-first-left"></view>
<view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-right icon-first-right"></view> <view v-if="tabIndex == index && index == 0" class="sprite-icon tab-first-right icon-first-right"></view>
<view v-if="tabIndex == index && index != 0" class="sprite-icon tab-second-right icon-second-right"></view> <view v-if="tabIndex == index && index != 0" class="sprite-icon tab-second-right icon-second-right"></view>
...@@ -56,9 +56,9 @@ export default { ...@@ -56,9 +56,9 @@ export default {
} }
return className return className
}, },
tabClick (index) { tabClick (index,i) {
this.$emit('update:tabIndex', index) this.$emit('update:tabIndex', index)
this.$emit('tabClick',index) this.$emit('tabClick',index,i)
} }
} }
} }
......
...@@ -4,50 +4,53 @@ ...@@ -4,50 +4,53 @@
<view class="flex align-center justify-between mb-24"> <view class="flex align-center justify-between mb-24">
<view class="status-box"> <view class="status-box">
<text class="label">工单编号:</text> <text class="label">工单编号:</text>
<text class="value">2323232323232323</text> <text class="value">{{ carInfo.evalOrderNo }}</text>
</view> </view>
<view :class="['status', statusClass(carInfo.previousStatus)]">{{ statusMap[carInfo.previousStatus].name }}</view> <view :class="['status', statusClass(carInfo.status)]">{{ statusMap[carInfo.status].name }}</view>
</view> </view>
<view class="car-info-box flex align-start"> <view class="car-info-box flex align-start">
<image src="https://img.58tg.com/up/allimg/4k/s/03/2309201256325P4-0-lp.jpg" alt="" /> <image :src="carInfo.coverImage" alt="" />
<view class="ml-32 flex-1"> <view class="ml-32 flex-1">
<view class="flex align-center car-type-name mb-16"> <view class="flex align-center car-type-name mb-16">
奥迪A4L A4L 2021款 40 TFSI 豪华动感型 {{ carInfo.carSeriesName + ' ' + carInfo.carTypeName }}
<view class="common-label ml-20">李女士 13912345678</view> <view class="common-label ml-20">{{ carInfo.previousOwnerName }} {{ carInfo.previousOwnerPhone }}</view>
</view> </view>
<view class="flex mb-16"> <view class="flex mb-16">
<view class="car-number mr-12">粤B12345</view> <view class="car-number mr-12">{{ carInfo.licensePlate }}</view>
<view class="car-number mr-12">2020年上牌</view> <view class="car-number mr-12">{{ carInfo.registrationDateStr }}</view>
<view class="car-number mr-12">1.8万公里</view> <view class="car-number mr-12">{{ carInfo.mileageStr }}</view>
<view class="car-number mr-12">二手车</view> <view class="car-number mr-12">{{ carInfo.transferCountStr }}</view>
<view class="car-number">置换车</view> <view class="car-number">{{ vehicleCategoryMap[1] }}</view>
</view> </view>
<view class="info-row flex mb-30"> <view class="info-row flex mb-30">
<view class="info-item flex align-center"> <view class="info-item flex align-center">
<text class="common-label flex-shrink-0">销售顾问</text> <text class="common-label flex-shrink-0">销售顾问</text>
<view class="common-value text-ellipsis ml-16">豪华车专家豪华车专家豪华车专家豪华车专家豪华车专家豪华车专家豪华车专家豪华车专家豪华车专家 | 张经理</view> <view class="common-value text-ellipsis ml-16">{{ carInfo.sellerMerchantName }} | {{ carInfo.sellerName }}</view>
</view> </view>
<view class="info-item flex align-center"> <view class="info-item flex align-center">
<text class="common-label flex-shrink-0">转化人员</text> <text class="common-label flex-shrink-0">转化人员</text>
<view class="common-value text-ellipsis ml-16">深圳嘀嘀虎园区店 | 方可</view> <view class="common-value text-ellipsis ml-16">{{ carInfo.conversionMerchantName }} | {{ carInfo.conversionName }}</view>
</view> </view>
<view class="info-item flex align-center"> <view class="info-item flex align-center">
<text class="common-label flex-shrink-0">工单时间</text> <text class="common-label flex-shrink-0">工单时间</text>
<view class="common-value text-ellipsis ml-16">2025-07-30 16:00:00</view> <view class="common-value text-ellipsis ml-16">{{ carInfo.createdDate }}</view>
</view> </view>
<view class="info-item flex align-center"> <view class="info-item flex align-center" v-if="carInfo.status != 10 && carInfo.status != 20">
<text class="common-label flex-shrink-0">签约时间</text> <text class="common-label flex-shrink-0">签约时间</text>
<view class="common-value text-ellipsis ml-16">2025-07-30 16:00:00</view> <view class="common-value text-ellipsis ml-16">{{ carInfo.signingSaleDate }}</view>
</view> </view>
</view> </view>
<view class="flex justify-between align-center"> <view class="flex justify-between align-center">
<view class="flex"> <view class="flex">
<text class="common-label">评估价格</text> <text class="common-label">评估价格</text>
<view class="price ml-16">评估中</view> <view class="price ml-16" :class="{ 'text-blue': carInfo.evalPriceDisplay && carInfo.status != 10 }">
{{ carInfo.status == 10 ? '评估中' : carInfo.evalPriceDisplay }}
<text v-if="carInfo.evalPriceDisplay && carInfo.status != 10" class="text-gray">(定金: {{ carInfo.depositPrice }}元 | 尾款: {{ carInfo.finalPrice }}元)</text>
</view>
</view> </view>
<ButtonModule @button-click="$emit('button-click', { ...$event, ...carInfo })" :previousStatus="carInfo.previousStatus" :subStatus="carInfo.subStatus" :paymentType="carInfo.paymentType"></ButtonModule> <ButtonModule @button-click="$emit('button-click', { ...$event, ...carInfo })" :status="carInfo.status" :subStatus="carInfo.subStatus" :paymentType="carInfo.paymentType"></ButtonModule>
</view> </view>
<view v-if="carInfo.previousStatus == -1"> <view v-if="carInfo.status == -1">
<view class="tips px-20"> <view class="tips px-20">
<view class="sprite-icon icon-study-tips"></view> <view class="sprite-icon icon-study-tips"></view>
<view class="text-ellipsis">驳回原因:车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车</view> <view class="text-ellipsis">驳回原因:车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车况不符合收车标准车</view>
...@@ -59,7 +62,7 @@ ...@@ -59,7 +62,7 @@
</template> </template>
<script> <script>
import ButtonModule from './ButtonModule.vue' import ButtonModule from './ButtonModule.vue'
import { statusMap } from '../evaluationFormMap.js' import { statusMap, vehicleCategoryMap } from '../evaluationFormMap.js'
export default { export default {
components: { components: {
...@@ -73,7 +76,8 @@ export default { ...@@ -73,7 +76,8 @@ export default {
}, },
data() { data() {
return { return {
statusMap statusMap,
vehicleCategoryMap
} }
}, },
methods: { methods: {
...@@ -195,12 +199,21 @@ export default { ...@@ -195,12 +199,21 @@ export default {
.flex-shrink-0 { .flex-shrink-0 {
flex-shrink: 0; flex-shrink: 0;
} }
}
.price { .price {
color: #666666; color: #666666;
font-size: toRpx(32); font-size: toRpx(32);
font-weight: 400; font-weight: 400;
} }
.text-blue {
color: #3b73ff;
font-size: toRpx(32);
font-weight: 700;
}
.text-gray {
color: #999ea8;
font-size: toRpx(24);
font-weight: 400;
} }
.tips { .tips {
display: flex; display: flex;
......
<template>
<view class="material-detail">
<view class="nav-bar">
<view class="back" @click="back">
<uni-icons type="left" :size="20" color="#000"></uni-icons>
</view>
{{ title }}
</view>
<!-- <web-view :src="url"></web-view> -->
<view>
<lk-preview-office :url="url"></lk-preview-office>
</view>
</view>
</template>
<script type="text/ecmascript-6">
import { report } from '@/mixin/index.js'
export default {
name: '',
mixins: [report],
data () {
return {
url: '',
title: ''
}
},
onLoad (options) {
console.log(options)
this.url = options.fileUrl + '&OSSAccessKeyId'+ options.OSSAccessKeyId + '&Signature' + options.Signature
this.title = options.fileName
console.log(this.url)
// else this.setWv()
},
mounted () {
},
methods: {
back () {
uni.navigateBack({
delta: 1,
animationType: 'pop-out',
animationDuration: 100
})
},
setWebviewStyle () {
const setWebviewStyleWithRetry = () => {
const currentWebview = this.$scope.$getAppWebview()
let [wv] = currentWebview.children(),
wvFlag = false
if (wv) {
wv.setStyle({
left: '71.9%',
top: '17.18%',
height: '82.82%',
width: '28.3%'
})
wvFlag = true;
}
return wvFlag
}
const retrySetWebviewStyle = () => {
if (!setWebviewStyleWithRetry()) {
// 如果未成功,继续重试
setTimeout(retrySetWebviewStyle, 50);
} else {
// 成功设置样式,结束循环
console.log('Webview样式设置成功');
}
};
setTimeout(retrySetWebviewStyle, 100);
}
}
}
</script>
<style scoped lang="scss">
.nav-bar {
position: fixed;
width: 100%;
height: toRpx(96);
left: 0;
top: toRpx(48);
z-index: 9;
text-align: center;
font-weight: 700;
font-size: toRpx(32);
color: #1a1a1a;
line-height: toRpx(96);
.back {
position: absolute;
left: 0;
top: 0;
height: 100%;
aspect-ratio: 1/1;
display: flex;
align-items: center;
justify-content: center;
}
}
.file-box {
position: fixed;
top: 5.2vh;
height: 94.8vh;
left: 0;
width: 100vw;
}
.has-ai {
width: 71.36vw;
}
.AI-window {
width: 28.3vw;
height: 90.63vh;
position: fixed;
top: 9.37vh;
right: 0;
background: #f5f9ff;
.AI-title {
height: 5.73vh;
padding-top: 2.08vh;
font-size: toRpx(34);
font-weight: 500;
justify-content: center;
color: #333333;
}
}
</style>
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<view :class="['form-item', { active: focusIndex == index }]" :key="index"> <view :class="['form-item', { active: focusIndex == index }]" :key="index">
<view class="form-item-box"> <view class="form-item-box">
<template v-if="i.type == 'input'"> <template v-if="i.type == 'input'">
<input :type="i.inputType" :maxlength="i.maxlength" v-model="customerInfo[i.key]" class="input" :placeholder="i.placeholder" @focus="focusIndex = index" @blur="resetFocusIndex" /> <input :type="i.inputType" :maxlength="i.maxlength" v-model="customerInfo[i.popKey]" class="input" :placeholder="i.placeholder" @focus="focusIndex = index" @blur="resetFocusIndex" />
</template> </template>
<template v-else> <template v-else>
<view :class="['select flex', { placeholderStyle: !customerInfo[i.key] }]" @click="showPopup(i.popKey, index)"> <view :class="['select flex', { placeholderStyle: !customerInfo[i.key] }]" @click="showPopup(i.popKey, index)">
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
</template> </template>
<template> <template>
<view class="form-btn flex align-center"> <view class="form-btn flex align-center">
<view class="btn search mr-12">搜索</view> <view class="btn search mr-12" @click="search">搜索</view>
<view class="btn">重置</view> <view class="btn" @click="$emit('reset')">重置</view>
</view> </view>
</template> </template>
</view> </view>
...@@ -36,28 +36,33 @@ export default { ...@@ -36,28 +36,33 @@ export default {
placeholder: '车主姓名', placeholder: '车主姓名',
key: 'carModel', key: 'carModel',
type: 'input', type: 'input',
popKey: 'carBrandListVisible' popKey: 'previousOwnerName'
}, },
{ {
placeholder: '车主电话', placeholder: '车主电话',
key: 'carModel', key: 'carModel',
type: 'input', type: 'input',
popKey: 'carBrandListVisible' popKey: 'previousOwnerPhone'
}, },
{ {
placeholder: '车架号', placeholder: '车架号',
key: 'carModel', key: 'carModel',
type: 'input', type: 'input',
popKey: 'carBrandListVisible' popKey: 'vin'
}, },
{ {
placeholder: '评估单号', placeholder: '评估单号',
key: 'carModel', key: 'carModel',
type: 'input', type: 'input',
popKey: 'carBrandListVisible' popKey: 'evalOrderNo'
} }
], ],
customerInfo: {} customerInfo: {
previousOwnerName: '',
previousOwnerPhone: '',
vin: '',
evalOrderNo: ''
}
} }
}, },
methods: { methods: {
...@@ -69,6 +74,10 @@ export default { ...@@ -69,6 +74,10 @@ export default {
showPopup(e, index) { showPopup(e, index) {
this.focusIndex = index this.focusIndex = index
}, },
search() {
this.$emit('update:searchValue', this.customerInfo)
this.$emit('search')
},
resetFocusIndex() { resetFocusIndex() {
this.focusIndex = -1 this.focusIndex = -1
this.errorTip = false this.errorTip = false
......
...@@ -6,18 +6,26 @@ ...@@ -6,18 +6,26 @@
<text class="requiredLabel" v-if="field.required">*</text> <text class="requiredLabel" v-if="field.required">*</text>
</view> </view>
<view class="upload-images-wrapper"> <view class="upload-images-wrapper">
<!-- 显示已上传的图片列表 --> <!-- 显示已上传的媒体列表 -->
<view v-for="(image, index) in getImages(field)" :key="index" class="uploaded-image-container"> <view v-for="(media, index) in getMedia(field)" :key="index" class="uploaded-media-container">
<image :src="image" mode="aspectFill" class="uploaded-image"></image> <!-- 图片显示 -->
<view class="delete-icon" @click.stop="deleteImage(field.key, index)"> <image v-if="isImage(media)" :src="media.url || media" mode="aspectFill" class="uploaded-media"></image>
<!-- 视频显示 -->
<view v-else class="video-container">
<video :src="media.url || media" mode="aspectFill" controls class="uploaded-media"></video>
<view class="video-play-icon">
<uni-icons type="play" size="24" color="#fff"></uni-icons>
</view>
</view>
<view class="delete-icon" @click.stop="deleteMedia(field.key, index)">
<uni-icons type="clear" size="16" color="#fff"></uni-icons> <uni-icons type="clear" size="16" color="#fff"></uni-icons>
</view> </view>
</view> </view>
<!-- 上传按钮,当未达到最大限制时显示 --> <!-- 上传按钮,当未达到最大限制时显示 -->
<view v-if="!hasReachedMax(field)" class="upload-item" @click="handleImageUpload(field)"> <view v-if="!hasReachedMax(field)" class="upload-item" @click="handleMediaUpload(field)">
<view class="upload-placeholder"> <view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view> <view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">{{ field.maxCount > 1 ? getImages(field).length + '/' + field.maxCount : '上传图片' }}</text> <text class="upload-text">{{ field.maxCount > 1 ? getMedia(field).length + '/' + field.maxCount : getUploadText(field) }}</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -36,8 +44,8 @@ export default { ...@@ -36,8 +44,8 @@ export default {
required: true, required: true,
default: () => [] default: () => []
}, },
// 图片数据对象(统一使用一个变量) // 媒体数据对象(统一使用一个变量)
imagesData: { mediaData: {
type: Object, type: Object,
default: () => ({}) default: () => ({})
}, },
...@@ -56,18 +64,36 @@ export default { ...@@ -56,18 +64,36 @@ export default {
} }
}, },
methods: { methods: {
// 处理图片上传 // 处理媒体上传
handleImageUpload(field) { handleMediaUpload(field) {
// 显示操作菜单,让用户选择拍照或从相册选择 // 根据字段类型显示不同的操作菜单
const itemList = []
if (field.accept === 'image' || !field.accept) {
itemList.push('拍照', '从相册选择')
}
if (field.accept === 'video' || !field.accept) {
itemList.push('拍摄视频', '从相册选择视频')
}
if (itemList.length === 0) {
itemList.push('选择文件')
}
uni.showActionSheet({ uni.showActionSheet({
itemList: ['拍照', '从相册选择'], itemList,
success: res => { success: res => {
if (res.tapIndex === 0) { if (res.tapIndex === 0 && (field.accept === 'image' || !field.accept)) {
// 拍照 // 拍照
this.takePhoto(field) this.takePhoto(field)
} else if (res.tapIndex === 1) { } else if (res.tapIndex === 1 && (field.accept === 'image' || !field.accept)) {
// 从相册选择 // 从相册选择图片
this.chooseImageFromAlbum(field) this.chooseImageFromAlbum(field)
} else if ((res.tapIndex === 0 && field.accept === 'video') || (res.tapIndex === 2 && !field.accept)) {
// 拍摄视频
this.takeVideo(field)
} else if ((res.tapIndex === 1 && field.accept === 'video') || (res.tapIndex === 3 && !field.accept)) {
// 从相册选择视频
this.chooseVideoFromAlbum(field)
} }
}, },
fail: err => { fail: err => {
...@@ -88,7 +114,7 @@ export default { ...@@ -88,7 +114,7 @@ export default {
for (const tempFilePath of res.tempFilePaths) { for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath) const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url) console.log('上传图片成功', url)
this.addImage(field, url) this.addMedia(field, { url, type: 'image' })
} }
} catch (error) { } catch (error) {
console.log('上传图片失败', error) console.log('上传图片失败', error)
...@@ -104,7 +130,7 @@ export default { ...@@ -104,7 +130,7 @@ export default {
}) })
}, },
// 从相册选择 // 从相册选择图片
chooseImageFromAlbum(field) { chooseImageFromAlbum(field) {
uni.chooseImage({ uni.chooseImage({
count: this.getRemainingCount(field), count: this.getRemainingCount(field),
...@@ -116,7 +142,7 @@ export default { ...@@ -116,7 +142,7 @@ export default {
for (const tempFilePath of res.tempFilePaths) { for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath) const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url) console.log('上传图片成功', url)
this.addImage(field, url) this.addMedia(field, { url, type: 'image' })
} }
} catch (error) { } catch (error) {
console.log('上传图片失败', error) console.log('上传图片失败', error)
...@@ -132,55 +158,138 @@ export default { ...@@ -132,55 +158,138 @@ export default {
}) })
}, },
// 获取指定字段的图片数组 // 拍摄视频
getImages(field) { takeVideo(field) {
uni.chooseVideo({
sourceType: ['camera'],
maxDuration: field.maxDuration || 60,
camera: 'back',
success: async res => {
try {
const url = await uploadFile(res.tempFilePath)
console.log('上传视频成功', url)
this.addMedia(field, {
url,
type: 'video',
duration: res.duration,
size: res.size
})
} catch (error) {
console.log('上传视频失败', error)
uni.showToast({ title: '上传视频失败', icon: 'none' })
}
},
fail: err => {
console.log('拍摄视频失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍摄视频失败', icon: 'none' })
}
}
})
},
// 从相册选择视频
chooseVideoFromAlbum(field) {
uni.chooseVideo({
sourceType: ['album'],
maxDuration: field.maxDuration || 60,
success: async res => {
try {
const url = await uploadFile(res.tempFilePath)
console.log('上传视频成功', url)
this.addMedia(field, {
url,
type: 'video',
duration: res.duration,
size: res.size
})
} catch (error) {
console.log('上传视频失败', error)
uni.showToast({ title: '上传视频失败', icon: 'none' })
}
},
fail: err => {
console.log('选择视频失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择视频失败', icon: 'none' })
}
}
})
},
// 获取指定字段的媒体数组
getMedia(field) {
// 确保返回的是数组 // 确保返回的是数组
return Array.isArray(this.imagesData[field.key]) ? this.imagesData[field.key] : [] return Array.isArray(this.mediaData[field.key]) ? this.mediaData[field.key] : []
},
// 检查是否是图片
isImage(media) {
// 如果是对象且有type字段,则根据type判断
if (typeof media === 'object' && media.type) {
return media.type === 'image'
}
// 否则根据文件扩展名判断
const url = media.url || media
const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp']
const extension = url.split('.').pop().toLowerCase()
return imageExtensions.includes(extension)
}, },
// 检查是否达到最大上传数量 // 检查是否达到最大上传数量
hasReachedMax(field) { hasReachedMax(field) {
const images = this.getImages(field) const media = this.getMedia(field)
return images.length >= (field.maxCount || 1) return media.length >= (field.maxCount || 1)
}, },
// 获取剩余可上传数量 // 获取剩余可上传数量
getRemainingCount(field) { getRemainingCount(field) {
const images = this.getImages(field) const media = this.getMedia(field)
return Math.max(1, (field.maxCount || 1) - images.length) return Math.max(1, (field.maxCount || 1) - media.length)
}, },
// 添加图片到对应的数组中(确保响应式更新) // 获取上传按钮显示文本
addImage(field, url) { getUploadText(field) {
// 确保字段存在且是数组 if (field.accept === 'image') {
if (!Array.isArray(this.imagesData[field.key])) { return '上传图片'
this.$set(this.imagesData, field.key, []) } else if (field.accept === 'video') {
return '上传视频'
} else {
return '上传媒体'
} }
},
// 添加新图片 // 添加媒体到对应的数组中(确保响应式更新)
this.$set(this.imagesData[field.key], this.imagesData[field.key].length, url) addMedia(field, media) {
// 确保字段存在且是数组
if (!Array.isArray(this.mediaData[field.key])) {
this.$set(this.mediaData, field.key, [])
}
// 添加新媒体
this.$set(this.mediaData[field.key], this.mediaData[field.key].length, media)
// 触发父组件更新 // 触发父组件更新
this.$emit('update:imagesData', this.imagesData) console.log('this.mediaData', this.mediaData)
this.$emit('update:mediaData', this.mediaData)
}, },
// 删除图片 // 删除媒体
deleteImage(key, index) { deleteMedia(key, index) {
if (Array.isArray(this.imagesData[key])) { if (Array.isArray(this.mediaData[key])) {
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: '确定要删除这张图片吗?', content: '确定要删除这个媒体文件吗?',
success: res => { success: res => {
if (res.confirm) { if (res.confirm) {
// 使用splice确保响应式更新 // 使用splice确保响应式更新
this.imagesData[key].splice(index, 1) this.mediaData[key].splice(index, 1)
// 如果数组为空,可以选择删除该字段 // 如果数组为空,可以选择删除该字段
if (this.imagesData[key].length === 0) { if (this.mediaData[key].length === 0) {
this.$delete(this.imagesData, key) this.$delete(this.mediaData, key)
} }
// 触发父组件更新 // 触发父组件更新
this.$emit('update:imagesData', this.imagesData) this.$emit('update:mediaData', this.mediaData)
} }
} }
}) })
...@@ -237,14 +346,11 @@ export default { ...@@ -237,14 +346,11 @@ export default {
font-weight: 400; font-weight: 400;
margin-left: toRpx(8); margin-left: toRpx(8);
} }
// 图片包装器,使用flex布局显示多张图片
.upload-images-wrapper { .upload-images-wrapper {
display: flex; display: flex;
flex-wrap: wrap;
gap: toRpx(16); gap: toRpx(16);
flex: 1; flex: 1;
} }
// fullwidth类样式,使字段占据整行
&.fullwidth { &.fullwidth {
grid-column: 1 / -1; // 跨越所有列 grid-column: 1 / -1; // 跨越所有列
.upload-label { .upload-label {
...@@ -278,8 +384,8 @@ export default { ...@@ -278,8 +384,8 @@ export default {
font-size: toRpx(24); font-size: toRpx(24);
} }
/* 已上传图片样式 */ /* 已上传媒体样式 */
.uploaded-image-container { .uploaded-media-container {
position: relative; position: relative;
height: toRpx(240); height: toRpx(240);
border-radius: toRpx(12); border-radius: toRpx(12);
...@@ -287,11 +393,33 @@ export default { ...@@ -287,11 +393,33 @@ export default {
width: toRpx(240); width: toRpx(240);
} }
.uploaded-image { .uploaded-media {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
/* 视频容器样式 */
.video-container {
position: relative;
width: 100%;
height: 100%;
}
/* 视频播放图标 */
.video-play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: toRpx(60);
height: toRpx(60);
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.delete-icon { .delete-icon {
position: absolute; position: absolute;
top: toRpx(8); top: toRpx(8);
......
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
{{ field.label }} {{ field.label }}
<text class="requiredLabel" v-if="field.required">*</text> <text class="requiredLabel" v-if="field.required">*</text>
</view> </view>
<view>
<view class="flex align-center inputBox" :class="{ fullInput: field.fullInput }" v-if="field.key === 'carKeyUrl' || field.key === 'otherUrl'">
<input type="text" v-model="formData[field.inputKey]" placeholder="请输入" />
<text>套</text>
</view>
<view class="upload-images-wrapper"> <view class="upload-images-wrapper">
<!-- 显示已上传的图片列表 --> <!-- 显示已上传的图片列表 -->
<view v-for="(image, index) in getImages(field, 'upload')" :key="index" class="uploaded-image-container"> <view v-for="(image, index) in getImages(field, 'upload')" :key="index" class="uploaded-image-container">
...@@ -37,6 +42,7 @@ ...@@ -37,6 +42,7 @@
</view> </view>
</view> </view>
</view> </view>
</view>
<view class="upload-section"> <view class="upload-section">
<view class="section-title">交车确认照片</view> <view class="section-title">交车确认照片</view>
<view class="upload-grid"> <view class="upload-grid">
...@@ -65,7 +71,7 @@ ...@@ -65,7 +71,7 @@
</view> </view>
</view> </view>
<view class="fromBox"> <view class="fromBox">
<FormCell :formFields="formFields" :formData="formData" @handleCell="handleCell" /> <FormCell :formFields="formFields" :formData="formData" @handleCell="handleCell" @previewPdf="previewPdf" @deletePdf="deletePdf" />
</view> </view>
</view> </view>
<view class="button-module flex justify-center align-center"> <view class="button-module flex justify-center align-center">
...@@ -78,7 +84,7 @@ ...@@ -78,7 +84,7 @@
</view> </view>
<GeneralPopup ref="addAgreementPopup" popupClass="addAgreementPopup" type="center" title="补充协议条款"> <GeneralPopup ref="addAgreementPopup" popupClass="addAgreementPopup" type="center" title="补充协议条款">
<template v-slot:content> <template v-slot:content>
<textarea placeholder="请输入 (1000字以内)" v-model="formData.carCondition" maxlength="1000" /> <textarea placeholder="请输入 (1000字以内)" v-model="formData.supplementaryClauseText" maxlength="1000" />
</template> </template>
</GeneralPopup> </GeneralPopup>
<GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips"> <GeneralPopup ref="tipsPopup" popupClass="tipsPopup" type="center" :showClose="true" :showTitle="false" @confirm="confirmTips">
...@@ -93,16 +99,20 @@ ...@@ -93,16 +99,20 @@
</view> </view>
</template> </template>
</GeneralPopup> </GeneralPopup>
<order-popup ref="openDate" popupType="13" @onConfirm="confirmDate" />
</view> </view>
</template> </template>
<script> <script>
import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js' import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
import FormCell from './components/FormCell.vue' import FormCell from './components/FormCell.vue'
import GeneralPopup from './components/GeneralPopup.vue' import GeneralPopup from './components/GeneralPopup.vue'
import OrderPopup from '@/components/OrderPopup/index.vue'
import dayjs from 'dayjs'
export default { export default {
components: { components: {
FormCell, FormCell,
GeneralPopup GeneralPopup,
OrderPopup
}, },
data() { data() {
return { return {
...@@ -112,29 +122,29 @@ export default { ...@@ -112,29 +122,29 @@ export default {
index: 0, index: 0,
uploadedImages: {}, uploadedImages: {},
confirmCarImages: {}, confirmCarImages: {},
pdfUrl: '',
successDate: '',
formFields: [ formFields: [
{ {
key: 'sellerUserId', key: 'handoverTime',
label: '交车时间', label: '交车时间',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'handoverTimeName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'handoverTime',
targetObj: 'evalOrderBasicReqDTO', type: 'calendar'
type: 'select'
}, },
{ {
key: 'sellerUserId', key: 'handoverAddress',
label: '交车地点', label: '交车地点',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'handoverAddre',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'handoverAddress',
targetObj: 'evalOrderBasicReqDTO',
type: 'input' type: 'input'
}, },
{ {
...@@ -151,28 +161,47 @@ export default { ...@@ -151,28 +161,47 @@ export default {
} }
], ],
formData: { formData: {
evalOrderBasicReqDTO: { sellerUserId: '' }, motorBookUrl: '',
sellerUserId: '', motorRegistrationCertificateUrl: '',
sellerName: '', purchaseReceiptUrl: '',
carCondition: '' purchaseInvoiceUrl: '',
trafficScreenshotUrl: '',
carKeyUrl: '',
carKeyCount: 0,
trafficInsuranceUrl: '',
insuranceCardUrl: '',
transferPhotoUrl: '',
otherUrl: '',
otherText: '',
handoverPhotoFrontFourFive: '',
handoverPhotoFront: '',
handoverPhotoRightSide: '',
handoverPhotoLeftSide: '',
handoverPhotoBack: '',
handoverPhotoMore: '',
handoverTime: '',
handoverAddress: '',
supplementaryClauseText: ''
}, },
uploadFields: [ uploadFields: [
{ key: 'exterior-front-left-45', label: '机动车登记本', required: true, maxCount: 3 }, { key: 'motorBookUrl', label: '机动车登记本', required: true, maxCount: 3 },
{ key: 'exterior-front-right-45', label: '机动车行驶证', required: true, maxCount: 1 }, { key: 'motorRegistrationCertificateUrl', label: '机动车行驶证', required: true, maxCount: 1 },
{ key: 'exterior-back-left-45', label: '购置税证及收据', required: false, maxCount: 1 }, { key: 'purchaseReceiptUrl', label: '购置税证及收据', required: false, maxCount: 1 },
{ key: 'exterior-back-right-45', label: '购车发票', required: false, maxCount: 1 }, { key: 'purchaseInvoiceUrl', label: '购车发票', required: false, maxCount: 1 },
{ key: 'interior-front', label: '交管12123截图', required: true, maxCount: 1 }, { key: 'trafficScreenshotUrl', label: '交管12123截图', required: true, maxCount: 1 },
{ key: 'interior-back', label: '交强险', required: true, maxCount: 1 }, { key: 'trafficInsuranceUrl', label: '交强险', required: true, maxCount: 1 },
{ key: 'dashboard', label: '过户授权委托书照片/视频', required: true, maxCount: 1 }, { key: 'transferPhotoUrl', label: '过户授权委托书照片/视频', required: true, maxCount: 1 },
{ key: 'engine-room', label: '过户授权委托书照片/视频', required: false, maxCount: 1 } { key: 'insuranceCardUrl', label: '保险单商业保险单或卡', required: false, maxCount: 1 },
{ key: 'carKeyUrl', label: '车钥匙', required: false, maxCount: 1, inputKey: 'carKeyCount' },
{ key: 'otherUrl', label: '其他', required: false, maxCount: 1, fullInput: true, inputKey: 'otherText' }
], ],
confirmCarUploadFields: [ confirmCarUploadFields: [
{ key: 'exterior-front-left-45', label: '正面45度', required: true, maxCount: 1 }, { key: 'handoverPhotoFrontFourFive', label: '正面45度', required: true, maxCount: 1 },
{ key: 'exterior-front-right-45', label: '正面', required: false, maxCount: 1 }, { key: 'handoverPhotoFront', label: '正面', required: false, maxCount: 1 },
{ key: 'exterior-back-left-45', label: '左侧面', required: false, maxCount: 1 }, { key: 'handoverPhotoLeftSide', label: '左侧面', required: false, maxCount: 1 },
{ key: 'exterior-back-right-45', label: '后面', required: false, maxCount: 1 }, { key: 'handoverPhotoBack', label: '后面', required: false, maxCount: 1 },
{ key: 'interior-front', label: '右侧面', required: false, maxCount: 1 }, { key: 'handoverPhotoRightSide', label: '右侧面', required: false, maxCount: 1 },
{ key: 'interior-back', label: '其他', required: true, maxCount: 5, fullwidth: true } { key: 'handoverPhotoMore', label: '其他', required: true, maxCount: 5, fullwidth: true }
] ]
} }
}, },
...@@ -187,15 +216,45 @@ export default { ...@@ -187,15 +216,45 @@ export default {
console.log('handleCell', field) console.log('handleCell', field)
this.currentField = field this.currentField = field
if (field.type === 'pdf') { if (field.type === 'pdf') {
this.$refs.addAgreementPopup.open() this.$refs.addAgreementPopup.open().then(() => {
uni.$api.evaluationApi
.salesAgreementPreview({
evalOrderNo: this.$route.query.evalOrderNo,
supplementaryClauseText: this.supplementaryClauseText
})
.then(res => {
console.log('销售协议预览', res)
this.pdfUrl = res.fileDownloadUrl
console.log('this.pdfUrl', this.pdfUrl)
})
})
} else if (field.type === 'calendar') {
this.$refs.openDate.open()
} }
}, },
confirmDelivery() { confirmDelivery() {
this.$refs.tipsPopup.open() this.$refs.tipsPopup.open()
}, },
confirmTips() { confirmTips() {
uni.showToast({ title: '交车成功', icon: 'none' }) // this.uploadedImages
this.backPage() Object.keys(this.uploadedImages).forEach(key => {
if (Array.isArray(this.uploadedImages[key])) {
// 将图片URL数组转换为逗号分隔的字符串
const imagesStr = this.uploadedImages[key].join(',')
// 更新formData中对应的字段
this.formData[key] = imagesStr
}
})
uni.$api.evaluationApi
.confirmDelivery({
evalOrderNo: this.$route.query.evalOrderNo,
...this.formData
})
.then(res => {
console.log('交车成功', res)
})
// uni.showToast({ title: '交车成功', icon: 'none' })
// this.backPage()
}, },
handleImageUpload(field) { handleImageUpload(field) {
// 显示操作菜单,让用户选择拍照或从相册选择 // 显示操作菜单,让用户选择拍照或从相册选择
...@@ -270,9 +329,8 @@ export default { ...@@ -270,9 +329,8 @@ export default {
}, },
// 获取指定字段类型的图片数组 // 获取指定字段类型的图片数组
getImages(field, type) { getImages(field, type) {
const imagesObj = type === 'upload' ? this.uploadedImages : this.confirmCarImages
// 确保返回的是数组 // 确保返回的是数组
return Array.isArray(imagesObj[field.key]) ? imagesObj[field.key] : [] return Array.isArray(this.uploadedImages[field.key]) ? this.uploadedImages[field.key] : []
}, },
// 检查是否达到最大上传数量 // 检查是否达到最大上传数量
hasReachedMax(field, type) { hasReachedMax(field, type) {
...@@ -287,35 +345,44 @@ export default { ...@@ -287,35 +345,44 @@ export default {
}, },
// 添加图片到对应的数组中(确保响应式更新) // 添加图片到对应的数组中(确保响应式更新)
addImage(field, url) { addImage(field, url) {
const type = this.uploadFields.some(item => item.key === field.key) ? 'upload' : 'confirm' // 添加新图片
const imagesObj = type === 'upload' ? this.uploadedImages : this.confirmCarImages if (!Array.isArray(this.uploadedImages[field.key])) {
this.$set(this.uploadedImages, field.key, [])
// 确保字段存在且是数组
if (!Array.isArray(imagesObj[field.key])) {
this.$set(imagesObj, field.key, [])
} }
// 添加新图片 // 添加新媒体
this.$set(imagesObj[field.key], imagesObj[field.key].length, url) this.$set(this.uploadedImages[field.key], this.uploadedImages[field.key].length, url)
console.log('this.uploadedImages', this.uploadedImages)
}, },
// 删除图片 // 删除图片
deleteImage(key, index, type) { deleteImage(key, index, type) {
const imagesObj = type === 'upload' ? this.uploadedImages : this.confirmCarImages
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: '确定要删除这张图片吗?', content: '确定要删除这张图片吗?',
success: res => { success: res => {
if (res.confirm && Array.isArray(imagesObj[key])) { if (res.confirm && Array.isArray(this.uploadedImages[key])) {
// 使用splice确保响应式更新 // 使用splice确保响应式更新
imagesObj[key].splice(index, 1) this.uploadedImages[key].splice(index, 1)
// 如果数组为空,可以选择删除该字段 // 如果数组为空,可以选择删除该字段
if (imagesObj[key].length === 0) { if (this.uploadedImages[key].length === 0) {
this.$delete(imagesObj, key) this.$delete(this.uploadedImages, key)
} }
} }
} }
}) })
},
// 预览PDF
previewPdf(field) {
const url = `/pages/evaluationForm/components/pdfPreView?fileUrl=${this.pdfUrl}&title=pdf`
uni.navigateTo({
url: `${url}`
})
},
confirmDate(date) {
const { chooseContent } = date
this.successDate = dayjs(chooseContent).format('YYYY-MM-DD HH:mm:00')
console.log(this.successDate)
this.$set(this.formData, 'handoverTime', this.successDate)
} }
}, },
watch: {}, watch: {},
...@@ -441,6 +508,24 @@ export default { ...@@ -441,6 +508,24 @@ export default {
width: toRpx(180); width: toRpx(180);
margin-bottom: toRpx(16); margin-bottom: toRpx(16);
} }
.inputBox {
width: toRpx(240);
height: toRpx(64);
border-radius: toRpx(8);
background: #f4f5f7;
padding: toRpx(8) toRpx(20);
box-sizing: border-box;
margin-bottom: toRpx(16);
font-size: toRpx(28);
.uni-input-placeholder {
color: #999999;
font-size: toRpx(28);
font-weight: 400;
}
}
.fullInput {
width: 100%;
}
.requiredLabel { .requiredLabel {
color: #f24724; color: #f24724;
font-size: toRpx(28); font-size: toRpx(28);
......
...@@ -104,3 +104,44 @@ export const statusMap = { ...@@ -104,3 +104,44 @@ export const statusMap = {
type: 'primary' type: 'primary'
} }
} }
export const vehicleCategoryMap = {
1: '置换车',
2: '报废车'
}
export const usageTypeMap = {
1: '非营运',
2: '营运',
3: '营转非'
}
export const ownerTypeMap = {
1: '个人',
2: '单位'
}
export const sunroofMap = {
1: '无天窗',
2: '普通天窗',
3: '全景天窗'
}
export const emissionStandardMap = {
3: '国3',
4: '国4',
5: '国5'
}
export const buyNewCarMap = {
0: '是',
1: '否'
}
export const hasAccidentMap = {
0: '是',
1: '否'
}
export const overallRatingMap = {
1: '优',
2: '良',
3: '中',
4: '差'
}
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<view class="title">评估单管理</view> <view class="title">评估单管理</view>
</view> </view>
<view class="detail-content"> <view class="detail-content">
<searchBox /> <searchBox @search="search" @reset="reset" :searchValue.sync="searchValue" />
<view class="box-class mt-32"> <view class="box-class mt-32">
<type-tab-component :typeList="typeList" :isShowCount="true" :tabIndex.sync="tabIndex"></type-tab-component> <type-tab-component :typeList="typeList" :isShowCount="true" :tabIndex.sync="tabIndex" @tabClick="search"></type-tab-component>
<z-paging ref="paging" :fixed="false" paging-class="paging-class " :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10"> <z-paging ref="paging" :fixed="false" paging-class="paging-class " :loading-full-fixed="false" :auto-show-system-loading="true" :show-scrollbar="false" v-model="dataList" @query="queryList" :default-page-size="10">
<EvaluationCard @button-click="handleButtonClick" v-for="(item, index) in dataList" :key="index" :carInfo="item" @toggle-goods-list="handleToggleGoodsList" @jump="jump" @refresh="search()" :class="{ 'mb-40': index < dataList.length - 1 }"></EvaluationCard> <EvaluationCard @button-click="handleButtonClick" v-for="(item, index) in dataList" :key="index" :carInfo="item" @toggle-goods-list="handleToggleGoodsList" @jump="jump" @refresh="search()" :class="{ 'mb-40': index < dataList.length - 1 }"></EvaluationCard>
</z-paging> </z-paging>
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
</view> </view>
</view> </view>
</view> </view>
<view class="addBtn" @click="addEvaluationForm"> <view class="addBtn" @click="addEvaluationForm({ type: 'add' })">
<image src="@/assets/images/evaluationForm/noData.png"></image> <view class="sprite-icon icon-addEvaluationFrom"></view>
</view> </view>
<GeneralPopup ref="requotePopup" popupClass="requotePopup" title="重新报价" confirmText="重新报价" type="center" :showClose="true" :isShowCancel="false"> <GeneralPopup ref="requotePopup" popupClass="requotePopup" title="重新报价" confirmText="重新报价" type="center" :showClose="true" :isShowCancel="false">
<template #content> <template #content>
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
客户意向报价 客户意向报价
<text class="requiredLabel">*</text> <text class="requiredLabel">*</text>
</view> </view>
<input class="intention-input mb-48" type="idcard" placeholder="身份证输入键盘" /> <input class="intention-input mb-48" type="idcard" placeholder="请输入" v-model="requoteObj.customerTargetPrice" />
<view class="requote-label mb-24"> <view class="requote-label mb-24">
客户意向报价 客户意向报价
<text class="requiredLabel">*</text> <text class="requiredLabel">*</text>
</view> </view>
<textarea class="feedback-textarea" placeholder-style="color:#999999" placeholder="请输入 (200字以内)" /> <textarea class="feedback-textarea" placeholder-style="color:#999999" placeholder="请输入 (200字以内)" v-model="requoteObj.customerTargetPriceFeedback" />
</view> </view>
</template> </template>
</GeneralPopup> </GeneralPopup>
...@@ -45,40 +45,89 @@ ...@@ -45,40 +45,89 @@
取消签约原因 取消签约原因
<text class="requiredLabel">*</text> <text class="requiredLabel">*</text>
</view> </view>
<textarea class="feedback-textarea" placeholder-style="color:#999999" placeholder="请输入 (200字以内)" /> <textarea class="feedback-textarea" placeholder-style="color:#999999" v-model="cancelSignObj.cancelReason" placeholder="请输入 (100字以内)" maxlength="100" />
</view> </view>
</template> </template>
</GeneralPopup> </GeneralPopup>
<GeneralPopup ref="amountRequestedPopup" popupClass="amountRequested" title="申请尾款" confirmText="款项申请" type="center" :showClose="true" :isShowCancel="false"> <GeneralPopup ref="signAgreementPopup" popupClass="signAgreementPopup" title="代保管协议" confirmText="发送" type="center" :showClose="true" :isShowCancel="false">
<template #content>
<view class="signAgreement-content">
<view class="signAgreement-label mb-24">
选择车辆代保管人员签署《车辆保管协议》
<text class="requiredLabel">*</text>
</view>
<view class="flex align-center">
<view class="flex align-center from-value" @click="showsignAgreementPopup">
<template v-if="signAgreementObj.custodianName">
{{ signAgreementObj.custodianName + ' | ' + signAgreementObj.custodianPhone }}
</template>
<template v-else>
<span class="placeholder">请选择</span>
</template>
<view class="sprite-icon icon-icon-select"></view>
</view>
<view class="btn" @click="addSignAgreement">新增</view>
</view>
</view>
</template>
</GeneralPopup>
<GeneralPopup ref="addSignAgreementPopup" popupClass="requotePopup" title="新增保管人" confirmText="新增" type="center" :showClose="true">
<template #content>
<view class="requote-content">
<view class="requote-label mb-24">
签约保管人
<text class="requiredLabel">*</text>
</view>
<input class="intention-input mb-48" type="idcard" placeholder="请输入" v-model="addSignAgreementObj.custodianName" />
<view class="requote-label mb-24">
身份证号
<text class="requiredLabel">*</text>
</view>
<input class="intention-input mb-48" type="idcard" placeholder="请输入" v-model="addSignAgreementObj.custodianIdentityCode" />
<view class="requote-label mb-24">
手机号
<text class="requiredLabel">*</text>
</view>
<input class="intention-input mb-48" type="idcard" placeholder="请输入" v-model="addSignAgreementObj.custodianPhone" />
<view class="requote-label mb-24">
地址
<text class="requiredLabel">*</text>
</view>
<input class="intention-input mb-48" type="idcard" placeholder="请输入" v-model="addSignAgreementObj.custodianAddress" />
</view>
</template>
</GeneralPopup>
<GeneralPopup ref="amountRequestedPopup" popupClass="amountRequested" :title="amountRequestedPopupTitle" :confirmText="payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? '款项申请' : '下一步'" type="center" :showClose="true" :isShowCancel="false">
<template #content> <template #content>
<view class="amount-requested-content"> <view class="amount-requested-content">
<view class="amount-box flex align-center"> <view class="amount-box flex align-center">
<text class="amount-title">定金金额</text> <text class="amount-title">{{ payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? '定金' : payPopupObj.paymentType == 1 && payPopupObj.status == 40 ? '尾款' : '全款' }}金额</text>
<text class="amount-value">5,000.00元</text> <text class="amount-value">{{ payPopupObj.paymentType == 1 && payPopupObj.status != 40 ? payPopupObj.depositPrice : payPopupObj.paymentType == 1 && payPopupObj.status == 40 ? payPopupObj.finalPrice : payPopupObj.evalPrice }}元</text>
</view> </view>
<view class="flex align-center mt-28 mb-16"> <view class="flex align-center mt-28 mb-16">
<text class="popup-cell-title light-title">待支付尾款</text> <text class="popup-cell-title light-title">{{ payPopupObj.paymentType == 1 && payPopupObj.status == 40 ? '已支付定金' : '待支付尾款' }}</text>
<text class="popup-cell-value light-value">233,600.00元</text> <text class="popup-cell-value light-value">{{ payPopupObj.paymentType == 1 && payPopupObj.status == 40 ? payPopupObj.depositPrice : payPopupObj.finalPrice }}元</text>
</view> </view>
<view class="flex align-center mb-40"> <view class="flex align-center mb-40">
<text class="popup-cell-title">评估价</text> <text class="popup-cell-title">评估价</text>
<text class="popup-cell-value">233,600.00元</text> <text class="popup-cell-value">{{ payPopupObj.evalPrice }}元</text>
</view> </view>
<view class="flex align-center mb-16"> <view class="flex align-center mb-16">
<text class="popup-cell-title">收款人姓名</text> <text class="popup-cell-title">收款人姓名</text>
<text class="popup-cell-value">石小东</text> <text class="popup-cell-value">{{ payPopupObj.partAName }}</text>
</view> </view>
<view class="flex align-center mb-16"> <view class="flex align-center mb-16">
<text class="popup-cell-title">银行账号</text> <text class="popup-cell-title">银行账号</text>
<text class="popup-cell-value">2698 4894 7299 5675</text> <text class="popup-cell-value">{{ payPopupObj.bankCardNumber }}</text>
</view> </view>
<view class="flex align-center"> <view class="flex align-center">
<text class="popup-cell-title">开户行</text> <text class="popup-cell-title">开户行</text>
<text class="popup-cell-value">招商银行广州科学城支行</text> <text class="popup-cell-value">{{ payPopupObj.bankOfDeposit }}</text>
</view> </view>
</view> </view>
</template> </template>
</GeneralPopup> </GeneralPopup>
<OrderPopup ref="orderPopup" :data="custodyAgreementList" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="14" />
</view> </view>
</template> </template>
...@@ -89,7 +138,7 @@ import TypeTabComponent from './components/TypeTabComponent.vue' ...@@ -89,7 +138,7 @@ import TypeTabComponent from './components/TypeTabComponent.vue'
import EvaluationCard from './components/evaluationCard.vue' import EvaluationCard from './components/evaluationCard.vue'
import ZPMixin from '@/uni_modules/z-paging/components/z-paging/js/z-paging-mixin' import ZPMixin from '@/uni_modules/z-paging/components/z-paging/js/z-paging-mixin'
import GeneralPopup from './components/GeneralPopup.vue' import GeneralPopup from './components/GeneralPopup.vue'
import OrderPopup from '@/components/OrderPopup/index.vue'
export default { export default {
name: 'EvaluationFormList', name: 'EvaluationFormList',
mixins: [ZPMixin], mixins: [ZPMixin],
...@@ -98,21 +147,62 @@ export default { ...@@ -98,21 +147,62 @@ export default {
searchBox, searchBox,
TypeTabComponent, TypeTabComponent,
EvaluationCard, EvaluationCard,
GeneralPopup GeneralPopup,
OrderPopup
}, },
data() { data() {
return { return {
tabIndex: 0, tabIndex: 0,
typeList: Object.freeze([ currentPage: 1,
{ tabName: '全部', count: 1 }, amountRequestedPopupTitle: '',
{ tabName: '评估中', count: 7 }, custodyAgreementList: [],
{ tabName: '已报价', count: 5 }, requoteObj: {
{ tabName: '已签约', count: 2 }, customerTargetPrice: '',
{ tabName: '已支付-定金', count: 0 }, customerTargetPriceFeedback: '',
{ tabName: '已支付-尾款', count: 0 }, evalOrderNo: ''
{ tabName: '已完成', count: 0 }, },
{ tabName: '已驳回', count: 0 } cancelSignObj: {
]), cancelReason: '',
evalOrderNo: ''
},
payPopupObj: {
depositPrice: '',
evalOrderNo: '',
finalPrice: '',
evalPriceDisplay: '',
evalPrice: '',
paymentType: '',
status: ''
},
signAgreementObj: {
evalOrderNo: '',
custodianName: '',
custodianIdentityCode: '',
custodianAddress: '',
custodianPhone: ''
},
addSignAgreementObj: {
custodianIdentityCode: '',
custodianPhone: '',
custodianAddress: '',
custodianName: ''
},
searchValue: {
previousOwnerName: '',
previousOwnerPhone: '',
vin: '',
evalOrderNo: ''
},
typeList: [
{ tabName: '全部', count: 1, keyNum: 'allNum', key: '' },
{ tabName: '评估中', count: 7, keyNum: 'evaluatingNum', key: '10' },
{ tabName: '已报价', count: 5, keyNum: 'quotedNum', key: '20' },
{ tabName: '已签约', count: 2, keyNum: 'signedNum', key: '30' },
{ tabName: '已支付-定金', count: 0, keyNum: 'depositPaidNum', key: '40' },
{ tabName: '已支付-尾款', count: 0, keyNum: 'balancePaidNum', key: '50' },
{ tabName: '已完成', count: 0, keyNum: 'completedNum', key: '100' },
{ tabName: '已驳回', count: 0, keyNum: 'rejectedNum', key: '-1' }
],
dataList: [ dataList: [
{ name: '1', count: 1, previousStatus: '10', subStatus: '', paymentType: '1' }, { name: '1', count: 1, previousStatus: '10', subStatus: '', paymentType: '1' },
{ name: '2', count: 1, previousStatus: '20', subStatus: '', paymentType: '1' }, { name: '2', count: 1, previousStatus: '20', subStatus: '', paymentType: '1' },
...@@ -124,19 +214,7 @@ export default { ...@@ -124,19 +214,7 @@ export default {
} }
}, },
mounted() { mounted() {
uni.$api.evaluationApi.evalOrderList({ this.getStatByStatus()
t: {
conversionUserId: '',
previousOwnerName: '',
previousOwnerPhone: '',
vin: '',
evalOrderNo: '',
status: ''
},
current: 1,
size: 10
})
}, },
methods: { methods: {
jumpToDetails(type) { jumpToDetails(type) {
...@@ -145,71 +223,170 @@ export default { ...@@ -145,71 +223,170 @@ export default {
backPage() { backPage() {
uni.navigateBack() uni.navigateBack()
}, },
queryList() { search() {
console.log(this.searchValue, '32323')
this.$refs.paging.reload()
this.getStatByStatus()
},
reset() {
this.$refs.searchBox.reset()
},
async queryList(pageNo, pageSize) {
console.log('queryList出大两侧')
const res = await uni.$api.evaluationApi.evalOrderList({
t: { ...this.searchValue, status: this.typeList[this.tabIndex].key },
currentPage: pageNo,
pageSize: 10
})
console.log('res:', res)
this.dataList = res.records
this.$refs.paging.complete(this.dataList) this.$refs.paging.complete(this.dataList)
}, },
addEvaluationForm(type) { getStatByStatus() {
console.log('addEvaluationForm', type) uni.$api.evaluationApi
.evalOrderPageCount({
conversionUserId: '',
previousOwnerName: '',
previousOwnerPhone: '',
vin: '',
evalOrderNo: '',
status: ''
})
.then(res => {
console.log('res:', res)
this.typeList.forEach(item => {
item.count = res[item.keyNum] || 0
})
this.$set(this.typeList, item.count, res[item.keyNum])
console.log('this.typeList:', this.typeList)
})
},
addEvaluationForm(e) {
console.log('addEvaluationForm', e.type)
uni.navigateTo({ uni.navigateTo({
url: '/pages/evaluationForm/addEvaluationFrom?type=' + type url: '/pages/evaluationForm/addEvaluationFrom?type=' + e.type + '&evalOrderNo=' + e.evalOrderNo
}) })
}, },
handleButtonClick(e) { handleButtonClick(e) {
console.log('handleButtonClick', e)
if (e.type === 'requote') { if (e.type === 'requote') {
this.requote() this.requote(e)
} else if (e.type === 'cancelSign') { } else if (e.type === 'cancelSign') {
this.cancelSign() this.cancelSign(e)
} else if (e.type === 'sign') { } else if (e.type === 'sign') {
this.sign() this.sign(e)
} else if (e.type === 'confirmDelivery') { } else if (e.type === 'confirmDelivery') {
this.confirmDelivery() this.confirmDelivery(e)
} else if (e.type === 'edit') { } else if (e.type === 'edit') {
this.addEvaluationForm('edit') this.addEvaluationForm(e)
} else if (e.type === 'add') { } else if (e.type === 'add') {
this.addEvaluationForm('add') this.addEvaluationForm(e)
} else if (e.type === 'payDeposit') { } else if (e.type === 'payDeposit') {
this.amountRequested() this.amountRequested(e)
this.amountRequestedPopupTitle = '申请定金支付'
} else if (e.type === 'payFull') {
this.amountRequested(e)
this.amountRequestedPopupTitle = e.status == 40 && e.paymentType == 1 ? '申请尾款支付' : '申请全款支付'
} else if (e.type === 'details') {
this.jumpToDetails(e)
} }
}, },
amountRequested() { jumpToDetails(e) {
this.$refs.amountRequestedPopup uni.navigateTo({
.open() url: '/pages/evaluationForm/evaluationFormDetails?evalOrderNo=' + e.evalOrderNo
.then(() => { })
console.log('申请尾款成功') },
async amountRequested(e) {
const that = this
const contractDetail = await uni.$api.evaluationApi.getContractDetail({
contractNo: e.saleContractNo
})
console.log('res:', contractDetail)
this.payPopupObj = { ...that.payPopupObj, ...JSON.parse(contractDetail.electronicContractField), ...e }
that.$refs.amountRequestedPopup.open().then(async () => {
if (e.type == 'payDeposit') {
await uni.$api.evaluationApi.payDepositApplication({
evalOrderNo: e.evalOrderNo
})
uni.showToast({
title: '定金已申请,请等待付款审批',
icon: 'none'
})
that.currentPage = 1
that.search()
} else {
uni.$api.evaluationApi
.checkSignAgreement({
evalOrderNo: e.evalOrderNo
}) })
.catch(() => { .then(async res => {
console.log('申请尾款取消') console.log('res:', res)
if (!res.false) {
that.$refs.signAgreementPopup.open().then(() => {
uni.$api.evaluationApi.sendCustodyAgreement({ ...that.signAgreementObj, evalOrderNo: e.evalOrderNo })
})
} else {
await uni.$api.evaluationApi.signAgreement({
evalOrderNo: e.evalOrderNo
})
uni.showToast({
title: e.status == 40 && e.paymentType == 1 ? '尾款款项已申请,完成代保管协议电子签约后将安排支付尾款' : '全款款项已申请,完成代保管协议电子签约后将安排支付全款',
icon: 'none'
})
}
})
}
}) })
}, },
confirmDelivery() { confirmDelivery(e) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/evaluationForm/confirmCar' url: '/pages/evaluationForm/confirmCar?evalOrderNo=' + e.evalOrderNo
}) })
}, },
sign() { sign(e) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/evaluationForm/signInfo' url: '/pages/evaluationForm/signInfo?evalOrderNo=' + e.evalOrderNo + '&evalPrice=' + e.evalPrice
}) })
}, },
requote() { requote(e) {
this.$refs.requotePopup const that = this
.open() this.requoteObj.evalOrderNo = e.evalOrderNo
.then(() => { this.requoteObj.customerTargetPrice = e.evalPrice
console.log('重新报价成功') this.$refs.requotePopup.open().then(() => {
const res = uni.$api.evaluationApi.evalOrderOwnerReQuote(this.requoteObj)
uni.showToast({
title: '重新报价成功',
icon: 'none'
}) })
.catch(() => { this.currentPage = 1
console.log('重新报价取消') this.search()
}) })
}, },
cancelSign() { cancelSign(e) {
this.$refs.cancleSignPopup this.cancelSignObj.evalOrderNo = e.evalOrderNo
.open() this.$refs.cancleSignPopup.open().then(() => {
.then(() => { const res = uni.$api.evaluationApi.evalOrderCancelContract(this.cancelSignObj)
console.log('取消签约成功') console.log('取消签约成功')
this.currentPage = 1
this.search()
})
},
async showsignAgreementPopup() {
this.$refs.orderPopup.open()
},
async addSignAgreement() {
this.$refs.addSignAgreementPopup.open().then(() => {
uni.$api.evaluationApi.addCustodyAgreement(this.addSignAgreementObj).then(res => {
console.log('res:', res)
this.currentPage = 1
this.search()
}) })
.catch(() => {
console.log('取消签约取消')
}) })
},
onConfirm(e) {
this.signAgreementObj = { custodianName: e.chooseContent.name, custodianIdentityCode: e.chooseContent.idCard, custodianPhone: e.chooseContent.phone, custodianAddress: e.chooseContent.address }
console.log('this.signAgreementObj:', this.signAgreementObj)
} }
} }
} }
...@@ -251,6 +428,56 @@ export default { ...@@ -251,6 +428,56 @@ export default {
} }
} }
} }
.signAgreement-content {
width: 100%;
height: 100%;
.signAgreement-label {
color: #999999;
font-size: toRpx(28);
font-weight: 400;
display: flex;
align-items: flex-start;
}
.requiredLabel {
color: #f24724;
font-size: toRpx(28);
font-weight: 400;
margin-left: toRpx(8);
}
.from-value {
display: flex;
justify-content: space-between;
align-items: center;
height: toRpx(96);
border-radius: toRpx(16);
background: #f4f5f7;
padding: toRpx(28) toRpx(24);
flex: 1;
.sprite-icon {
margin-bottom: toRpx(2);
}
}
.btn {
color: #3b73ff;
font-size: toRpx(28);
font-weight: 400;
margin-left: toRpx(24);
}
.placeholder {
color: #999;
font-size: toRpx(28);
line-height: toRpx(32);
}
input {
flex: 1;
height: toRpx(40);
font-size: toRpx(28);
color: #333333;
padding: 0;
text-align: right;
}
}
.requote-content { .requote-content {
width: 100%; width: 100%;
...@@ -333,9 +560,6 @@ export default { ...@@ -333,9 +560,6 @@ export default {
width: toRpx(128); width: toRpx(128);
height: toRpx(128); height: toRpx(128);
border-radius: toRpx(24); border-radius: toRpx(24);
opacity: 1;
border: toRpx(2) solid #ffffffe6;
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
backdrop-filter: blur(toRpx(16)); backdrop-filter: blur(toRpx(16));
box-shadow: 0 toRpx(8) toRpx(32) 0 #8f9eb380; box-shadow: 0 toRpx(8) toRpx(32) 0 #8f9eb380;
position: fixed; position: fixed;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<view class="title">签约信息</view> <view class="title">签约信息</view>
</view> </view>
<view class="detail-content"> <view class="detail-content">
<view class="box-class mt-16"> <view class="box-class mt-16" v-if="!comfirmPage">
<view class="h2-title">电子合同模版</view> <view class="h2-title">电子合同模版</view>
<view class="contract-template flex align-center justify-between"> <view class="contract-template flex align-center justify-between">
<view class="flex"> <view class="flex">
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
</view> </view>
<radio-group class="radio-group flex align-center" @change="radioChange"> <radio-group class="radio-group flex align-center" @change="radioChange">
<label class="uni-list-cell uni-list-cell-pd align-center flex ml-48" v-for="(item, index) in radioList" :key="item.value"> <label class="uni-list-cell uni-list-cell-pd align-center flex ml-48" v-for="(item, index) in radioList" :key="item.value">
<radio style="transform: scale(0.7)" :value="item.value" :checked="index === current" /> <radio style="transform: scale(0.7)" :value="item.value" :checked="index + 1 === current" />
<view class="radio-name">{{ item.name }}</view> <view class="radio-name">{{ item.name }}</view>
</label> </label>
</radio-group> </radio-group>
...@@ -30,13 +29,36 @@ ...@@ -30,13 +29,36 @@
</view> </view>
<view class="h2-title mt-32">签约个人信息</view> <view class="h2-title mt-32">签约个人信息</view>
<view class="sign-info-box"> <view class="sign-info-box">
<view v-if="currentRadio" class="fromBox"> <view v-if="formData.paymentType" class="fromBox">
<FormCell :formFields="formFields" :formData="formData" @handleCell="handleCell" /> <FormCell :formFields="formFields" :formData="formData" @handleCell="handleCell" @inputChange="handleInputChange" @inputInvalid="handleInputInvalid" />
<view class="upload-container"> <view class="upload-container mb-24">
<view class="form-item flex align-center justify-between"> <view class="form-item flex align-center justify-between">
<view class="from-label">身份证正面</view> <view class="from-label">身份证正面</view>
<template> <template>
<view class="upload-item" @click="handleImageUpload()"> <!-- 判断是否已上传 -->
<view v-if="formData.idCardFrontUrl" class="uploaded-item">
<image :src="formData.idCardFrontUrl" mode="aspectFit"></image>
<view class="delete-icon" @click.stop="removeMedia('idCardFrontUrl')">
<uni-icons type="clear" size="16" color="#fff"></uni-icons>
</view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('idCardFrontUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
</view>
</view>
</template>
</view>
<view class="form-item flex align-center justify-between">
<view class="from-label">身份证背面</view>
<template>
<view v-if="formData.idCardBackUrl" class="uploaded-item">
<image :src="formData.idCardBackUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('idCardBackUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('idCardBackUrl')">
<view class="upload-placeholder"> <view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view> <view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text> <text class="upload-text">上传图片</text>
...@@ -44,10 +66,32 @@ ...@@ -44,10 +66,32 @@
</view> </view>
</template> </template>
</view> </view>
</view>
<FormCell :formFields="formFields2" :formData="formData" @handleCell="handleCell" />
<view class="upload-container">
<view class="form-item flex align-center justify-between"> <view class="form-item flex align-center justify-between">
<view class="from-label">身份证正面</view> <view class="from-label">身份证正面</view>
<template> <template>
<view class="upload-item" @click="handleImageUpload()"> <view v-if="formData.payerIdCardFrontUrl" class="uploaded-item">
<image :src="formData.payerIdCardFrontUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('payerIdCardFrontUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('payerIdCardFrontUrl')">
<view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text>
</view>
</view>
</template>
</view>
<view class="form-item flex align-center justify-between">
<view class="from-label">身份证背面</view>
<template>
<view v-if="formData.payerIdCardBackUrl" class="uploaded-item">
<image :src="formData.payerIdCardBackUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('payerIdCardBackUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('payerIdCardBackUrl')">
<view class="upload-placeholder"> <view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view> <view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text> <text class="upload-text">上传图片</text>
...@@ -60,7 +104,11 @@ ...@@ -60,7 +104,11 @@
<view class="form-item flex align-center justify-between"> <view class="form-item flex align-center justify-between">
<view class="from-label">银行卡</view> <view class="from-label">银行卡</view>
<template> <template>
<view class="upload-item" @click="handleImageUpload()"> <view v-if="formData.payerBankCardUrl" class="uploaded-item">
<image :src="formData.payerBankCardUrl" mode="aspectFit"></image>
<view class="remove-icon" @click.stop="removeMedia('payerBankCardUrl')"></view>
</view>
<view v-else class="upload-item" @click="handleImageUpload('payerBankCardUrl')">
<view class="upload-placeholder"> <view class="upload-placeholder">
<view class="sprite-icon icon-uploadAdd"></view> <view class="sprite-icon icon-uploadAdd"></view>
<text class="upload-text">上传图片</text> <text class="upload-text">上传图片</text>
...@@ -79,10 +127,10 @@ ...@@ -79,10 +127,10 @@
<checkbox-group @change="checkboxChange" class="checkbox-group flex align-center"> <checkbox-group @change="checkboxChange" class="checkbox-group flex align-center">
<label class="uni-list-cell uni-list-cell-pd align-center flex ml-48" v-for="item in checkboxList" :key="item.value"> <label class="uni-list-cell uni-list-cell-pd align-center flex ml-48" v-for="item in checkboxList" :key="item.value">
<view> <view>
<checkbox style="transform: scale(0.7)" :value="item.value" :checked="item.checked" /> <checkbox style="transform: scale(0.7)" :value="item.value" :checked="item.checked" :disabled="item.disabled" />
</view> </view>
<view class="checkbox-name">{{ item.name }}</view> <view class="checkbox-name">{{ item.name }}</view>
<input class="checkbox-input" v-if="item.isShowInput" placeholder="请输入" type="text" /> <input class="checkbox-input" v-if="item.isShowInput" v-model="formData[item.inputValue]" placeholder="请输入" type="text" />
</label> </label>
</checkbox-group> </checkbox-group>
</template> </template>
...@@ -95,208 +143,642 @@ ...@@ -95,208 +143,642 @@
<view>请先选择合同,签约个人信息自动带出</view> <view>请先选择合同,签约个人信息自动带出</view>
</view> </view>
</view> </view>
<view class="footerBtn">
<view class="btn cancle">取消</view>
<view class="btn next" @click="comfirmPage = true">下一步</view>
</view> </view>
</view> </view>
<view class="box-class1 mt-16" v-else>
<view class="gridBox mb-32">
<view class="flex align-center">
<view class="title-label-see mr-16">合同模版</view>
<view>{{ formData.paymentType == 1 ? '二手车买卖合同(定金+尾款)' : '二手车买卖合同(全款)' }}</view>
</view>
</view>
<view class="flex align-center gridBox mb-32">
<view class="flex align-center">
<view class="title-label-see mr-16">{{ formData.paymentType == 1 ? '定金金额' : '全款金额' }}</view>
<view>{{ formData.paymentType == 1 ? formData.depositPrice : formData.fullPrice }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">评估价</view>
<view>{{ formData.fullPrice }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">签约车主</view>
<view>{{ formData.partAName }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">联系方式</view>
<view>{{ formData.phone }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">身份证号</view>
<view>{{ formData.idCard }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">地址</view>
<view>{{ formData.address }}</view>
</view>
<view class="flex align-start">
<view class="title-label-see mr-16">身份证正面</view>
<image :src="formData.idCardFrontUrl"></image>
</view>
<view class="flex align-start">
<view class="title-label-see mr-16">身份证反面</view>
<image :src="formData.idCardBackUrl"></image>
</view>
</view>
<view class="flex align-center gridBox mb-32">
<view class="flex align-center">
<view class="title-label-see mr-16">收款人姓名</view>
<view>{{ formData.payeeName }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">银行账号</view>
<view>{{ formData.bankCardNumber }}</view>
</view>
<view class="flex align-center full-width">
<view class="title-label-see mr-16">开户行</view>
<view>{{ formData.bankOfDeposit }}</view>
</view>
<view class="flex align-start">
<view class="title-label-see mr-16">身份证正面</view>
<image :src="formData.payerIdCardFrontUrl"></image>
</view>
<view class="flex align-start">
<view class="title-label-see mr-16">身份证反面</view>
<image :src="formData.payerIdCardBackUrl"></image>
</view>
<view class="flex align-start">
<view class="title-label-see mr-16">银行卡</view>
<image :src="formData.payerBankCardUrl"></image>
</view>
</view>
<view class="flex align-center gridBox">
<view class="flex align-center full-width">
<view class="title-label-see mr-16">随车资料</view>
<view>机动车登记本;机动车登记本;机动车登记本;机动车登记本;机动车登记本;机动车登记本;</view>
</view>
</view>
<view class="flex align-center gridBox">
<view class="flex align-center">
<view class="title-label-see mr-16">交车时间</view>
<view>{{ formData.handoverTime }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">交车地点</view>
<view>{{ formData.handoverAddress }}</view>
</view>
</view>
<view class="tips px-20">
<view class="sprite-icon icon-study-tips"></view>
请确认签约个人信息,确认后将按照以上信息生成电子合同,并发送电子签约邀请。
</view>
<view class="footerBtn">
<view class="btn cancle" @click="comfirmPage = false">上一步</view>
<view class="btn next" @click="comfirm">确认发送</view>
</view>
</view>
</view>
<order-popup ref="openDate" popupType="13" @onConfirm="confirmDate" />
<GeneralPopup ref="calendarGeneralPopup" popupClass="calendarGeneralPopup" :showClose="false" :showTitle="false" @confirm="confirmCalendar">
<template #content>
<uni-calendar class="calendar" :showMonth="false" @change="calendarChange" />
</template>
</GeneralPopup>
</view> </view>
</template> </template>
<script> <script>
import FormCell from './components/FormCell.vue' import FormCell from './components/FormCell.vue'
import GeneralPopup from './components/GeneralPopup.vue'
import { uploadFile } from '@/utils/ossUploadFile/uploadFile.js'
import OrderPopup from '@/components/OrderPopup/index.vue'
import dayjs from 'dayjs'
export default { export default {
components: { components: {
FormCell FormCell,
GeneralPopup,
OrderPopup
}, },
data() { data() {
return { return {
comfirmPage: false,
signInfo: {}, signInfo: {},
currentRadio: null, selectDate: '',
current: 0,
noDataBg: require('@/assets/images/common/sign-no-data.png'), noDataBg: require('@/assets/images/common/sign-no-data.png'),
radioList: [ radioList: [
{ {
value: '0', value: 1,
name: '二手车买卖合同(定金+尾款)' name: '二手车买卖合同(定金+尾款)'
}, },
{ {
value: '1', value: 2,
name: '二手车买卖合同(全款)' name: '二手车买卖合同(全款)'
} }
], ],
checkboxList: [ checkboxList: [
{ {
value: 'USA', key: 'motorBook',
name: '机动车登记本' value: 'motorBook',
name: '机动车登记本',
checked: true,
disabled: true
}, },
{ {
value: 'USA', value: 'motorRegistrationCertificate',
name: '机动车行驶证' name: '机动车行驶证',
key: 'motorRegistrationCertificate',
checked: true,
disabled: true
}, },
{ {
value: 'USA', value: 'trafficScreenshot',
name: '交管12123截图' name: '交管12123截图',
key: 'trafficScreenshot',
checked: true,
disabled: true
}, },
{ {
value: 'USA', value: 'trafficInsurance',
name: '交强险' name: '交强险',
key: 'trafficInsurance',
checked: true,
disabled: true
}, },
{ {
value: 'USA', value: 'carKey',
name: '车钥匙', name: '车钥匙',
isShowInput: true key: 'carKey',
checked: true,
disabled: true,
isShowInput: true,
inputValue: 'carKeyCount'
}, },
{ {
value: 'USA', value: 'purchaseReceipt',
name: '购置税证及收据' name: '购置税证及收据',
key: 'purchaseReceipt'
}, },
{ {
value: 'USA', value: 'purchaseInvoice',
name: '购车发票' name: '购车发票',
key: 'purchaseInvoice'
}, },
{ {
value: 'USA', value: 'insuranceCard',
name: '保险单商业保险单或卡' name: '保险单商业保险单或卡',
key: 'insuranceCard'
}, },
{ {
value: 'USA', value: 'transferPhoto',
name: '过户授权委托书照片' name: '过户授权委托书照片',
key: 'transferPhoto'
}, },
{ {
value: 'USA', value: 'other',
name: '其他', name: '其他',
isShowInput: true key: 'other',
isShowInput: true,
inputValue: 'otherText'
} }
], ],
formData: { evalOrderBasicReqDTO: {} }, formData: {
evalOrderNo: '',
paymentType: 0,
depositPrice: 0,
finalPrice: 0,
fullPrice: 0,
partAName: '岑成威',
idCard: '44538119960121041X',
idCardFrontUrl: '',
idCardBackUrl: '',
contactPersonName: '',
phone: '13059281290',
address: '',
payeeName: '',
bankCardNumber: '',
bankOfDeposit: '',
payerIdCardFrontUrl: '',
payerIdCardBackUrl: '',
payerBankCardUrl: '',
motorBook: '',
motorRegistrationCertificate: '',
idCarFrontBack: '',
purchaseReceipt: '',
purchaseInvoice: '',
trafficScreenshot: '',
carKey: '',
carKeyCount: 0,
trafficInsurance: '',
insuranceCard: '',
transferPhoto: '',
other: '',
otherText: '',
handoverTime: '',
handoverAddress: '',
// 扩展字段用于复选框结果
sellerName: '',
sellerMerchantId: '',
sellerUserId: '',
evalPrice: 0
},
formFields: [ formFields: [
{ {
key: 'sellerUserId', key: 'depositPrice',
label: '定金金额', label: '定金金额',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'depositPrice',
targetObj: 'evalOrderBasicReqDTO', targetObj: '',
type: 'input', type: 'input',
showText: 'shopMerchantName' pattern: '^\\d*$' // 只允许数字输入
}, },
{ {
key: 'sellerUserId', key: 'finalPrice',
label: '尾款金额', label: '尾款金额',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'finalPrice',
targetObj: 'evalOrderBasicReqDTO', targetObj: '',
type: 'input', type: 'input',
showText: 'shopMerchantName' pattern: '^\\d*$' // 只允许数字输入
}, },
{ {
key: 'sellerUserId', key: 'evalPrice',
label: '评估价', label: '评估价',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'evalPrice',
targetObj: 'evalOrderBasicReqDTO', type: 'input',
type: 'input' disabled: true
}, },
{ {
key: 'sellerUserId', key: 'partAName',
label: '签约车主', label: '签约车主',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'partAName',
targetObj: 'evalOrderBasicReqDTO',
type: 'input' type: 'input'
}, },
{ {
key: 'sellerUserId', key: 'phone',
label: '手机号', label: '手机号',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'phone',
targetObj: 'evalOrderBasicReqDTO',
type: 'input' type: 'input'
}, },
{ {
key: 'sellerUserId', key: 'idCard',
label: '身份证号', label: '身份证号',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'idCard',
targetObj: 'evalOrderBasicReqDTO',
type: 'input' type: 'input'
}, },
{ {
key: 'sellerUserId', key: 'address',
label: '地址', label: '地址',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'address',
targetObj: 'evalOrderBasicReqDTO',
type: 'input' type: 'input'
} }
], ],
formFields1: [ formFields1: [
{ {
key: 'sellerUserId', key: 'handoverTime',
label: '交车时间', label: '交车时间',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'handoverTimeName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'handoverTime',
targetObj: 'evalOrderBasicReqDTO', type: 'calendar'
type: 'select'
}, },
{ {
key: 'sellerUserId', key: 'handoverAddress',
label: '交车地点', label: '交车地点',
required: true, required: true,
fullWidth: false, fullWidth: false,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'sellerUserId', targetKey: 'handoverAddress',
targetObj: 'evalOrderBasicReqDTO', type: 'input'
}
],
formFields2: [
{
key: 'payeeName',
label: '收款人姓名',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
targetKey: 'payeeName',
targetObj: '',
type: 'input'
},
{
key: 'bankCardNumber',
label: '银行账号',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
targetKey: 'bankCardNumber',
targetObj: '',
type: 'input'
},
{
key: 'bankOfDeposit',
label: '开户行',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
targetKey: 'bankOfDeposit',
targetObj: '',
type: 'input' type: 'input'
} }
], ],
userInfo: {} userInfo: {}
} }
}, },
watch: {
// 监听定金变化,自动计算尾款
'formData.depositPrice': {
handler(newValue) {
this.calculateFinalPrice()
},
immediate: true
},
// 监听尾款变化,自动计算定金
'formData.finalPrice': {
handler(newValue) {
this.calculateDepositPrice()
},
immediate: true
}
},
mounted() { mounted() {
this.userInfo = uni.$storage.get('userInfo') || {} this.userInfo = uni.$storage.get('userInfo') || {}
console.log('userInfo', this.userInfo) console.log('userInfo', this.userInfo)
Object.assign(this.formData.evalOrderBasicReqDTO, { // 初始化表单数据
sellerMerchantName: this.userInfo.merchantName, if (this.userInfo) {
sellerName: this.userInfo.name, this.formData.sellerMerchantName = this.userInfo.merchantName || ''
sellerMerchantId: this.userInfo.merchantId, this.formData.sellerName = this.userInfo.name || ''
sellerUserId: '' this.formData.sellerMerchantId = this.userInfo.merchantId || ''
}) this.formData.sellerUserId = ''
}
this.formData.evalPrice = this.$route.query.evalPrice
console.log('formData', this.formData) console.log('formData', this.formData)
}, },
methods: { methods: {
calendarChange(date) {
this.selectDate = date.year + '-' + date.month + '-' + date.date
},
confirmCalendar() {
// 日历确认回调
if (this.currentField && this.selectDate) {
this.$set(this.formData, this.currentField.targetKey, this.selectDate)
}
this.$refs.calendarGeneralPopup.close()
},
confirmDate(date) {
const { chooseContent } = date
this.successDate = dayjs(chooseContent).format('YYYY-MM-DD HH:mm:00')
console.log(this.successDate)
this.$set(this.formData, 'handoverTime', this.successDate)
},
handleCell(field) {
const that = this
console.log('handleCell', field)
this.currentField = field
if (field.type === 'calendar') {
this.$refs.openDate.open()
// this.$refs.calendarGeneralPopup
// .open()
// .then(() => {
// console.log('that.selectDate', that.selectDate)
// if (that.selectDate) {
// that.$set(that.formData, field.targetKey, that.selectDate)
// }
// })
// .catch(() => {
// console.log('日期选择取消')
// })
}
},
radioChange(e) { radioChange(e) {
console.log(e) console.log('radioChange', e)
this.currentRadio = e.detail.value const value = e.detail.value
this.formData.paymentType = value
if (value === 1) {
this.formData.fullPrice = this.$route.query.evalPrice
}
// 设置当前选中的索引
this.current = this.radioList.findIndex(item => item.value === value)
},
checkboxChange(e) {
console.log('checkboxChange', e.detail.value)
// 创建结果对象,将选中的key设为1,未选中的设为0
const resultObject = {}
this.checkboxList.forEach(item => {
const itemKey = item.key
const isSelected = e.detail.value.some(value => value === item.value)
resultObject[itemKey] = isSelected ? 1 : 0
})
// 更新formData
this.formData = { ...this.formData, ...resultObject }
console.log('checkbox结果对象:', this.formData)
},
handleImageUpload(field) {
uni.showActionSheet({
itemList: ['拍照', '从相册选择'],
success: res => {
if (res.tapIndex === 0) {
// 拍照
this.takePhoto(field)
} else if (res.tapIndex === 1) {
// 从相册选择图片
this.chooseImageFromAlbum(field)
}
},
fail: err => {
console.log('选择操作失败', err)
}
})
},
// 拍照
takePhoto(field) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['camera'],
success: async res => {
try {
// 上传所有选择的图片
for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url)
this.addMedia(field, { url, type: 'image' })
}
} catch (error) {
console.log('上传图片失败', error)
uni.showToast({ title: '上传图片失败', icon: 'none' })
}
},
fail: err => {
console.log('拍照失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '拍照失败', icon: 'none' })
}
}
})
},
// 从相册选择图片
chooseImageFromAlbum(field) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['album'],
success: async res => {
try {
// 上传所有选择的图片
for (const tempFilePath of res.tempFilePaths) {
const url = await uploadFile(tempFilePath)
console.log('上传图片成功', url)
this.addMedia(field, { url, type: 'image' })
}
} catch (error) {
console.log('上传图片失败', error)
uni.showToast({ title: '上传图片失败', icon: 'none' })
}
},
fail: err => {
console.log('选择图片失败', err)
if (err.errMsg.indexOf('cancel') === -1) {
uni.showToast({ title: '选择图片失败', icon: 'none' })
}
}
})
},
addMedia(field, media) {
this.$set(this.formData, field, media.url)
},
removeMedia(field) {
// 显示确认对话框
uni.showModal({
title: '确认删除',
content: '确定要删除此图片吗?',
success: res => {
if (res.confirm) {
// 用户确认删除
this.$set(this.formData, field, '')
}
}
})
},
backPage() {
// 返回上一页
uni.navigateBack()
},
comfirm() {
uni.$api.evaluationApi.evalOrderSignContract({ ...this.formData, evalOrderNo: this.$route.query.evalOrderNo })
uni.showToast({
title: '电子签约已发送,请注意查收短信',
icon: 'none'
})
uni.navigateBack()
},
// 计算尾款:尾款 = 评估价 - 定金
calculateFinalPrice() {
const depositPrice = parseFloat(this.formData.depositPrice) || 0
const evalPrice = parseFloat(this.formData.evalPrice) || 0
const finalPrice = evalPrice - depositPrice
// 确保尾款不为负数
if (finalPrice >= 0) {
this.formData.finalPrice = finalPrice
} else {
// 定金不能大于评估价
this.formData.depositPrice = evalPrice
this.formData.finalPrice = 0
uni.showToast({
title: '定金不能大于评估价',
icon: 'none'
})
}
},
// 计算定金:定金 = 评估价 - 尾款
calculateDepositPrice() {
const finalPrice = parseFloat(this.formData.finalPrice) || 0
const evalPrice = parseFloat(this.formData.evalPrice) || 0
const depositPrice = evalPrice - finalPrice
// 确保定金不为负数
if (depositPrice >= 0) {
this.formData.depositPrice = depositPrice
} else {
// 尾款不能大于评估价
this.formData.finalPrice = evalPrice
this.formData.depositPrice = 0
uni.showToast({
title: '尾款不能大于评估价',
icon: 'none'
})
}
},
// 处理输入事件
handleInputChange(e, field) {
const value = e.detail.value
// 确保输入为数字
if (['depositPrice', 'finalPrice', 'evalPrice'].includes(field.targetKey)) {
const numValue = parseFloat(value) || 0
this.$set(this.formData, field.targetKey, numValue)
}
},
// 处理无效输入
handleInputInvalid(field, originalValue) {
// 输入无效时,恢复原始值
this.$set(this.formData, field.targetKey, originalValue)
uni.showToast({
title: field.label + '只能输入数字',
icon: 'none'
})
} }
} }
} }
...@@ -315,14 +797,14 @@ export default { ...@@ -315,14 +797,14 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; overflow: auto;
.box-class { .box-class {
height: calc(100% - #{toRpx(110)}); height: calc(100% - #{toRpx(110)});
background: #ffffff59; background: #ffffff59;
backdrop-filter: blur(toRpx(16)); backdrop-filter: blur(toRpx(16));
box-shadow: inset 0 0 toRpx(16) 0 #ffffff; box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border-radius: toRpx(48); border-radius: toRpx(48);
overflow: hidden; overflow: auto;
padding: toRpx(32) toRpx(48) toRpx(42); padding: toRpx(32) toRpx(48) toRpx(42);
box-sizing: border-box; box-sizing: border-box;
.h2-title { .h2-title {
...@@ -358,10 +840,9 @@ export default { ...@@ -358,10 +840,9 @@ export default {
} }
.sign-info-box { .sign-info-box {
border-radius: toRpx(16); border-radius: toRpx(16);
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
height: calc(100% - #{toRpx(248)}); height: calc(100% - #{toRpx(334)});
.no-data { .no-data {
background: #ffffff; background: #ffffff;
.no-data-bg { .no-data-bg {
...@@ -472,7 +953,155 @@ export default { ...@@ -472,7 +953,155 @@ export default {
font-weight: 400; font-weight: 400;
} }
} }
// 已上传图片样式
.uploaded-item {
position: relative;
width: toRpx(240);
height: toRpx(240);
border-radius: toRpx(12);
overflow: hidden;
background: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
} }
.uploaded-item image {
width: 100%;
height: 100%;
object-fit: contain;
}
.delete-icon {
position: absolute;
top: toRpx(8);
right: toRpx(8);
width: toRpx(32);
height: toRpx(32);
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
.footerBtn {
position: absolute;
bottom: toRpx(24);
left: toRpx(0);
right: toRpx(0);
display: flex;
justify-content: center;
align-items: center;
.btn {
width: toRpx(724);
height: toRpx(80);
border-radius: toRpx(48);
background: #3b73ff1a;
text-align: center;
line-height: toRpx(80);
}
.cancle {
color: #3b73ff;
font-size: toRpx(28);
font-weight: 500;
}
.next {
color: #ffffff;
font-size: toRpx(28);
font-weight: 500;
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
margin-left: toRpx(32);
}
}
}
.box-class1 {
background: #ffffff59;
backdrop-filter: blur(toRpx(16));
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border-radius: toRpx(48);
padding: toRpx(32) toRpx(48) toRpx(42);
box-sizing: border-box;
//确认签约信息样式
.gridBox {
display: grid;
grid-template-columns: 1fr 1fr;
gap: toRpx(24);
border-radius: toRpx(16);
background: #ffffff;
padding: toRpx(28) toRpx(32);
box-sizing: border-box;
.title-label-see {
width: toRpx(168);
color: #999999;
font-size: toRpx(28);
font-weight: 400;
}
image {
width: toRpx(240);
height: toRpx(240);
border-radius: toRpx(12);
background: #f4f5f7;
}
.full-width {
grid-column: 1 / -1;
}
}
.tips {
display: flex;
align-items: center;
font-size: toRpx(28);
width: 100%;
height: toRpx(56);
border-radius: toRpx(16);
opacity: 1;
background: #fef5ea;
margin-top: toRpx(16);
color: #ff9d0a;
&-text {
margin-top: toRpx(4);
}
.icon-study-tips {
margin-right: toRpx(8);
}
.waitinputorder-btn {
width: toRpx(136);
height: toRpx(50);
border-radius: toRpx(48);
opacity: 1;
background: #ffffff;
color: #4673ff;
font-size: toRpx(24);
font-weight: 500;
text-align: center;
line-height: toRpx(50);
}
}
.footerBtn {
display: flex;
justify-content: center;
align-items: center;
margin-top: toRpx(24);
.btn {
width: toRpx(724);
height: toRpx(80);
border-radius: toRpx(48);
background: #3b73ff1a;
text-align: center;
line-height: toRpx(80);
}
.cancle {
color: #3b73ff;
font-size: toRpx(28);
font-weight: 500;
}
.next {
color: #ffffff;
font-size: toRpx(28);
font-weight: 500;
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
margin-left: toRpx(32);
} }
} }
} }
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</view> </view>
</template> </template>
</view> </view>
<template v-if="!isDateWithin7Days && !isFilled"> <template v-if="!isDateWithin7Days && !orderObj.id">
<view class="nothing flex"> <view class="nothing flex">
<image <image
src="../../../../assets/images/common/report-no-data.webp" src="../../../../assets/images/common/report-no-data.webp"
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
:endDate="endDate" :endDate="endDate"
:showMonth="false" :showMonth="false"
@monthSwitch="currentMonth = `${$event.year}-${$event.month}`" @monthSwitch="currentMonth = `${$event.year}-${$event.month}`"
@change="changeDate" openBeforeChange
@beforeChange="changeDate"
@change="currentDate = $event.fulldate"
backgroundColor="transparent" backgroundColor="transparent"
:selected="selectedDays" :selected="selectedDays"
:date="currentDate" :date="currentDate"
...@@ -119,7 +121,7 @@ export default { ...@@ -119,7 +121,7 @@ export default {
this.openNotice(selectedItem) this.openNotice(selectedItem)
}, },
openNotice (selectedItem) { openNotice (selectedItem, back = true, callBack) {
// 配置弹窗按钮 // 配置弹窗按钮
this.$refs.notice.buttonsList = [ this.$refs.notice.buttonsList = [
{ {
...@@ -132,7 +134,8 @@ export default { ...@@ -132,7 +134,8 @@ export default {
this.transmissionOfData = null this.transmissionOfData = null
} }
this.$refs.notice.close() this.$refs.notice.close()
uni.navigateBack() if (back) uni.navigateBack()
if (callBack && typeof callBack === 'function') callBack()
} }
}, },
{ {
...@@ -157,8 +160,10 @@ export default { ...@@ -157,8 +160,10 @@ export default {
this.transmissionOfData = val this.transmissionOfData = val
} }
}, },
changeDate(e){ changeDate (e) {
this.currentDate = e.fulldate this.openNotice(null, false, _ => {
this.$refs.calendar.manualChangeDate(e)
})
} }
} }
} }
......
...@@ -201,6 +201,10 @@ export default { ...@@ -201,6 +201,10 @@ export default {
hideTodayBtn: { hideTodayBtn: {
type: Boolean, type: Boolean,
default: true default: true
},
openBeforeChange: {
type: Boolean,
default: false
} }
}, },
data () { data () {
...@@ -248,7 +252,7 @@ export default { ...@@ -248,7 +252,7 @@ export default {
return t("uni-calender.SUN") return t("uni-calender.SUN")
}, },
showNextBtn () { showNextBtn () {
let { cale, endDate, nowDate} = this, let { cale, endDate, nowDate } = this,
maxDate = cale.getDate(endDate, -1, 'month') maxDate = cale.getDate(endDate, -1, 'month')
return cale.dateCompare(`${nowDate.year}/${nowDate.month}`, `${maxDate.year}/${maxDate.month}`) return cale.dateCompare(`${nowDate.year}/${nowDate.month}`, `${maxDate.year}/${maxDate.month}`)
} }
...@@ -416,12 +420,24 @@ export default { ...@@ -416,12 +420,24 @@ export default {
*/ */
choiceDate (weeks) { choiceDate (weeks) {
if (weeks.disable) return if (weeks.disable) return
if (this.openBeforeChange) {
// return this.setEmit('beforeChange', weeks)
return this.$emit('beforeChange', weeks)
}
this.calendar = weeks this.calendar = weeks
// 设置多选 // 设置多选
this.cale.setMultiple(this.calendar.fullDate) this.cale.setMultiple(this.calendar.fullDate)
this.weeks = this.cale.weeks this.weeks = this.cale.weeks
this.change() this.change()
}, },
/**手动触发选择天 */
manualChangeDate (weeks) {
this.calendar = weeks
this.cale.setMultiple(this.calendar.fullDate)
this.weeks = this.cale.weeks
this.change()
},
/** /**
* 回到今天 * 回到今天
*/ */
...@@ -451,8 +467,8 @@ export default { ...@@ -451,8 +467,8 @@ export default {
* 下个月 * 下个月
*/ */
next () { next () {
let {showNextBtn} = this let { showNextBtn } = this
if(!showNextBtn) return if (!showNextBtn) return
const nextDate = this.cale.getDate(this.nowDate.fullDate, +1, 'month').fullDate const nextDate = this.cale.getDate(this.nowDate.fullDate, +1, 'month').fullDate
this.setDate(nextDate) this.setDate(nextDate)
this.monthSwitch() this.monthSwitch()
...@@ -593,10 +609,10 @@ $uni-text-color-grey: #999; ...@@ -593,10 +609,10 @@ $uni-text-color-grey: #999;
width: 50px; width: 50px;
height: 50px; height: 50px;
} }
.next-btn{ .next-btn {
opacity: 0; opacity: 0;
} }
.show-next-btn{ .show-next-btn {
opacity: 1; opacity: 1;
} }
.uni-calendar__header-btn { .uni-calendar__header-btn {
......
import { getTime } from './util' import { getTime } from './util'
import { serializeIfObject } from '../utils' import { serializeIfObject } from '../utils'
class LogCat { class LogCat {
main = plus.android.runtimeMainActivity() // main = plus.android.runtimeMainActivity()
File = plus.android.importClass('java.io.File') // File = plus.android.importClass('java.io.File')
Environment = plus.android.importClass('android.os.Environment') // Environment = plus.android.importClass('android.os.Environment')
BufferedWriter = plus.android.importClass('java.io.BufferedWriter') // BufferedWriter = plus.android.importClass('java.io.BufferedWriter')
FileOutputStream = plus.android.importClass('java.io.FileOutputStream') // FileOutputStream = plus.android.importClass('java.io.FileOutputStream')
OutputStreamWriter = plus.android.importClass('java.io.OutputStreamWriter') // OutputStreamWriter = plus.android.importClass('java.io.OutputStreamWriter')
// BufferedReader = plus.android.importClass('java.io.BufferedReader') // // BufferedReader = plus.android.importClass('java.io.BufferedReader')
// FileInputStream = plus.android.importClass('java.io.FileInputStream') // FileInputStream = plus.android.importClass('java.io.FileInputStream')
// InputStreamReader = plus.android.importClass('java.io.InputStreamReader') // InputStreamReader = plus.android.importClass('java.io.InputStreamReader')
LogPath = '' LogPath = ''
constructor(folderName = '_zyzs_log') { constructor(folderName = '_zyzs_log') {
if (this.Environment.MEDIA_MOUNTED || !this.Environment.isExternalStorageRemovable()) { // if (this.Environment.MEDIA_MOUNTED || !this.Environment.isExternalStorageRemovable()) {
this.LogPath = this.main.getExternalFilesDir(null).getPath() + folderName // this.LogPath = this.main.getExternalFilesDir(null).getPath() + folderName
} else { // } else {
this.LogPath = this.main.getFilesDir().getPath() + folderName // this.LogPath = this.main.getFilesDir().getPath() + folderName
} // }
console.log('日志文件存放路径->', this.LogPath) console.log('日志文件存放路径->', this.LogPath)
} }
writeLog(tag, messages) { writeLog(tag, messages) {
...@@ -28,10 +28,10 @@ class LogCat { ...@@ -28,10 +28,10 @@ class LogCat {
//写入的内容 //写入的内容
let content = `${datetime} [${tag}] : ${msg}\n` let content = `${datetime} [${tag}] : ${msg}\n`
console.log(content.replace(/\n/g, '')) console.log(content.replace(/\n/g, ''))
let path = new this.File(this.LogPath) // let path = new this.File(this.LogPath)
if (!path.exists()) { // if (!path.exists()) {
path.mkdirs() //创建父路径 // path.mkdirs() //创建父路径
} // }
let fos = null let fos = null
let bw = null let bw = null
try { try {
......
...@@ -412,10 +412,10 @@ globule@^1.0.0: ...@@ -412,10 +412,10 @@ globule@^1.0.0:
lodash "^4.17.21" lodash "^4.17.21"
minimatch "~3.0.2" minimatch "~3.0.2"
glsk-toolkit@^1.0.3: glsk-toolkit@1.0.4:
version "1.0.3" version "1.0.4"
resolved "https://registry.npmmirror.com/glsk-toolkit/-/glsk-toolkit-1.0.3.tgz#df102884275e01633f6d7a80efef8c59e7237277" resolved "https://registry.npmmirror.com/glsk-toolkit/-/glsk-toolkit-1.0.4.tgz#59627499c1a500f8a0ddfcfe51f5359cd3040991"
integrity sha512-h1rRmLIIFvVh/CNcF5KqAbhCLStPgUAKS4Jx2awAYnURS1l2e1MAhzk9OSbL4hKyn5Tvz6vdLhT5CwWQASu+HA== integrity sha512-43g3qaYtSfxzSG4dVjr0gDmD/tvVnCZuQ+ONK2mkmuqzhclsTsuSLfn6enjQZELmvWQGj45YhEU7XdQ8sTKroA==
dependencies: dependencies:
"@sentry/browser" "^7.101.1" "@sentry/browser" "^7.101.1"
crypto-js "^4.2.0" crypto-js "^4.2.0"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!