Commit c519e27a by cen

fix: j校验调整

1 parent 0061e546
...@@ -8,9 +8,8 @@ const HOST = { ...@@ -8,9 +8,8 @@ const HOST = {
merchant: merchantDomain, merchant: merchantDomain,
ip: 'http://192.168.1.169:8292' ip: 'http://192.168.1.169:8292'
} }
const request = new Request({ const request = new Request({
baseURL: `${HOST['eva']}`, baseURL: `${HOST['eva']}${pathEnum.evaluation}`,
timeout: 300000, timeout: 300000,
appId: signSecretKey.appKey, appId: signSecretKey.appKey,
appSecret: signSecretKey.secret, appSecret: signSecretKey.secret,
...@@ -43,6 +42,7 @@ const request = new Request({ ...@@ -43,6 +42,7 @@ const request = new Request({
}, },
error: (error, config) => { error: (error, config) => {
console.log('error事件触发', error, config) console.log('error事件触发', error, config)
return Promise.reject(error)
}, },
logout: config => { logout: config => {
console.log('logout事件触发', config) console.log('logout事件触发', config)
......
...@@ -197,6 +197,9 @@ ...@@ -197,6 +197,9 @@
.py-40 { .py-40 {
padding: toRpx(40) 0; padding: toRpx(40) 0;
} }
.px-16 {
padding: 0 toRpx(16);
}
.px-20 { .px-20 {
padding: 0 toRpx(20); padding: 0 toRpx(20);
} }
......
...@@ -96,9 +96,9 @@ ...@@ -96,9 +96,9 @@
.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.5439045183290707) calc(100vmin * (1173 / 768) * -0.45865302642796246);} 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.40451832907075874) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.4279624893435635) 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.42455242966751916) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.44799658994032393) 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.4360613810741688) calc(100vmin * (1173 / 768) * -0.5400682011935208);} 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);
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
.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.6952259164535379) calc(100vmin * (1173 / 768) * -0.3034953111679454);} 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.44458653026427963) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.4680306905370844) 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.6952259164535379) calc(100vmin * (1173 / 768) * -0.3269394714407502);} 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);
...@@ -122,37 +122,37 @@ ...@@ -122,37 +122,37 @@
.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.46462063086104005) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.4880647911338448) 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.4846547314578005) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.5080988917306053) 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.47698209718670076) 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.11167945439045183) 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.5046888320545609) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.5281329923273658) 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.283461210571185);} 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.5247229326513214) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.5481670929241261) 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.5447570332480819) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.5682011935208866) 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.5647911338448423) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.5882352941176471) 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.5848252344416027) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.6082693947144076) 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.6048593350383632) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.6283034953111679) 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.6248934356351236) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.6483375959079284) 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.644927536231884) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * -0.6683716965046889) 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.6649616368286445) calc(100vmin * (1173 / 768) * -0.6381074168797954);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.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.4151747655583973) calc(100vmin * (1173 / 768) * -0.35038363171355497);} 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) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.020034100596760442) 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.45694799658994034) calc(100vmin * (1173 / 768) * -0.45865302642796246);} 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);
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
.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.38064791133844844) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.40068201193520886) 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.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); .icon-mask-edit { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
.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.04731457800511509) calc(100vmin * (1173 / 768) * -0.5907928388746803);} 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.020034100596760442) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.040068201193520885) 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.09462915601023018) calc(100vmin * (1173 / 768) * -0.5907928388746803);} 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);
...@@ -256,9 +256,9 @@ ...@@ -256,9 +256,9 @@
.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.6952259164535379) calc(100vmin * (1173 / 768) * -0.5613810741687979);} 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.040068201193520885) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-rear-window { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.06010230179028133) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.06010230179028133) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-rear-window { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.08013640238704177) 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.6952259164535379) calc(100vmin * (1173 / 768) * 0);} 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);
...@@ -278,17 +278,17 @@ ...@@ -278,17 +278,17 @@
.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.1010230179028133) calc(100vmin * (1173 / 768) * -0.6381074168797954);} 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.08013640238704177) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.10017050298380221) 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.3205456095481671);} 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.355924978687127);} 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.3989769820971867) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.41901108269394716) 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.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);} background-position: calc(100vmin * (1173 / 768) * -0.12020460358056266) 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.1402387041773231) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-scanIconX { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .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);} 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);
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
.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.5784313725490197) 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.1402387041773231) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.16027280477408354) 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) calc(100vmin * (1173 / 768) * -0.5400682011935208);} 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);
...@@ -322,17 +322,17 @@ ...@@ -322,17 +322,17 @@
.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.16027280477408354) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-stick-top { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.18030690537084398) calc(100vmin * (1173 / 768) * -0.6717817561807332);} 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-stick-top { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.22037510656436488) 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.4731457800511509) calc(100vmin * (1173 / 768) * -0.5907928388746803);} 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.050724637681159424) calc(100vmin * (1173 / 768) * -0.5400682011935208);} 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.417306052855925) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.4373401534526854) 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.10144927536231885) calc(100vmin * (1173 / 768) * -0.5400682011935208);} 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);
...@@ -342,21 +342,21 @@ ...@@ -342,21 +342,21 @@
.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.5004262574595055) calc(100vmin * (1173 / 768) * -0.45865302642796246);} 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.22037510656436488) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-sun-roof { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.24040920716112532) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.24040920716112532) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-sun-roof { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.26044330775788577) 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.4151747655583973) calc(100vmin * (1173 / 768) * -0.4113384484228474);} 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.4356351236146633) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.4556692242114237) 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.6952259164535379) calc(100vmin * (1173 / 768) * -0.6317135549872123);} 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.26044330775788577) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.2804774083546462) 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.629156010230179) calc(100vmin * (1173 / 768) * -0.4825234441602728);} 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.2804774083546462) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.30051150895140666) 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.6952259164535379) calc(100vmin * (1173 / 768) * -0.08056265984654731);} 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);
...@@ -370,7 +370,7 @@ ...@@ -370,7 +370,7 @@
.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.30051150895140666) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.3205456095481671) 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.6551577152600171);} 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);
...@@ -378,12 +378,14 @@ ...@@ -378,12 +378,14 @@
.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.629156010230179) calc(100vmin * (1173 / 768) * -0.5059676044330775);} 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.3205456095481671) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.34057971014492755) calc(100vmin * (1173 / 768) * -0.6717817561807332);} background-position: calc(100vmin * (1173 / 768) * -0.34057971014492755) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.36061381074168797) 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.38107416879795397) calc(100vmin * (1173 / 768) * -0.6381074168797954);} 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.5221653878942881) calc(100vmin * (1173 / 768) * -0.45865302642796246);} 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.36061381074168797) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
\ No newline at end of file \ No newline at end of file
background-position: calc(100vmin * (1173 / 768) * -0.38064791133844844) calc(100vmin * (1173 / 768) * -0.6717817561807332);}
.icon-pdf { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.40451832907075874) calc(100vmin * (1173 / 768) * -0.6381074168797954);}
\ No newline at end of file \ No newline at end of file

2.78 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
const target = ['ip', 'dev', 'uat', 'prod', 'beta'] const target = ['ip', 'dev', 'uat', 'prod', 'beta']
const index = 0 const index = 1
/** /**
* *
0本地 0本地
...@@ -148,7 +148,7 @@ const pathEnum = { ...@@ -148,7 +148,7 @@ const pathEnum = {
merchants: '/rop-merchants/', merchants: '/rop-merchants/',
pad: '/rop-dj-pad/', pad: '/rop-dj-pad/',
clue: '/rop-scrm-clue/', clue: '/rop-scrm-clue/',
evaluation: '/gsc-vcp-pad-facade/' evaluation: '/gsc-vcp-pad-facade'
} }
const CONFIG_ENV_MAP = { const CONFIG_ENV_MAP = {
1: 'develop', 1: 'develop',
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<view class="tab-panel" :class="{ 'no-bac': activeTab === 2 }"> <view class="tab-panel" :class="{ 'no-bac': activeTab != 1 || activeTab != 0 }">
<!-- 动态标题 --> <!-- 动态标题 -->
<view class="tab-panel-title" v-if="activeTab !== 2">{{ tabs[activeTab].name }}</view> <view class="tab-panel-title" v-if="activeTab == 0 || activeTab == 1">{{ tabs[activeTab].name }}</view>
<!-- 动态内容区域 --> <!-- 动态内容区域 -->
<view v-if="activeTab === 0" class="gridBox mb-32"> <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 v-for="(item, index) in carInfoItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
...@@ -115,6 +115,209 @@ ...@@ -115,6 +115,209 @@
</view> </view>
</view> </view>
</view> </view>
<view v-else-if="activeTab === 3">
<StepperNavigation :currentStep="currentStep" :steps="detailsInfo.priceHistory" direction="vertical">
<template v-slot="{ step, indexContent }">
<view class="gridBox mb-48">
<view v-for="(item, index) in priceItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view>{{ detailsInfo.priceHistory[indexContent][item.key] || '-' }}</view>
</view>
</view>
</template>
</StepperNavigation>
</view>
<view v-else-if="activeTab === 4">
<view class="mb-32 upload-box">
<view class="tab-panel-title">车辆买卖协议</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in vehicleItems" :key="index" :class="['flex align-start', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view v-if="item.type == 'image'">
<image :src="formatValue(item, detailsInfo)"></image>
</view>
<view v-else-if="item.type == 'link'" class="flex-1">
<view class="pdf-box flex align-center justify-between">
<view class="flex align-center">
<view class="sprite-icon icon-pdf"></view>
<text>二手车买卖补充协议</text>
</view>
</view>
</view>
<view v-else>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
</view>
<view class="mb-32 upload-box">
<view class="tab-panel-title">收款人信息</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in payeeItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view v-if="item.type == 'image'">
<image :src="formatValue(item, detailsInfo)"></image>
</view>
<view v-else-if="item.type == 'link'" class="flex-1">
<view class="pdf-box flex align-center justify-between">
<view class="flex align-center">
<view class="sprite-icon icon-icon-select"></view>
<text>二手车买卖补充协议</text>
</view>
</view>
</view>
<view v-else>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
</view>
<view class="mb-32 upload-box">
<view class="tab-panel-title">车辆代管协议</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in vehicleManagementItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view v-if="item.type == 'image'">
<image :src="formatValue(item, detailsInfo)"></image>
</view>
<view v-else-if="item.type == 'link'" class="flex-1">
<view class="pdf-box flex align-center justify-between">
<view class="flex align-center">
<view class="sprite-icon icon-pdf"></view>
<text>代管协议</text>
</view>
</view>
</view>
<view v-else>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
</view>
</view>
<view v-else-if="activeTab === 5">
<view class="mb-32 upload-box">
<view class="tab-panel-title">支付记录</view>
<view class="tableBox">
<view class="tableHeader">
<view>支付方式</view>
<view>支付状态</view>
<view>支付时间</view>
<view>支付金额</view>
</view>
<view v-for="(item, index) in detailsInfo.paymentList || []" :key="index" class="tableRow">
<view class="tableCell">{{ item.paymentType == 1 ? '定金' : item.paymentType == 2 ? '尾款' : '全款' }}</view>
<view class="tableCell">{{ item.paymentStatus == 1 ? '已支付' : '未支付' }}</view>
<view class="tableCell">{{ item.payTime || '-' }}</view>
<view class="tableCell">{{ item.paymentAmount ? '¥' + item.paymentAmount : '-' }}</view>
</view>
<!-- 当没有数据时显示空状态 -->
<view v-if="!detailsInfo.paymentList || detailsInfo.paymentList.length === 0" class="empty-table">
<text>暂无支付记录</text>
</view>
</view>
</view>
</view>
<view v-else-if="activeTab === 6">
<view class="mb-32 upload-box">
<view class="tab-panel-title">基础信息</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in baseInfoItems" :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>
<view class="mb-32 upload-box">
<view class="tab-panel-title">车辆图片</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in uploadFieldsItems" :key="index" :class="['flex align-start', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view v-if="item.type == 'image'">
<image :src="formatValue(item, detailsInfo)"></image>
</view>
<view v-else-if="item.type == 'link'" class="flex-1">
<view class="pdf-box flex align-center justify-between">
<view class="flex align-center">
<view class="sprite-icon icon-pdf"></view>
<text>二手车买卖补充协议</text>
</view>
</view>
</view>
<view v-else>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
</view>
<view class="mb-32 upload-box">
<view class="tab-panel-title">证件资料</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in documentationItems" :key="index" :class="['flex align-start', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view v-if="item.type == 'image'">
<image :src="formatValue(item, detailsInfo)"></image>
</view>
<view v-else-if="item.type == 'link'" class="flex-1">
<view class="pdf-box flex align-center justify-between">
<view class="flex align-center">
<view class="sprite-icon icon-pdf"></view>
<text>二手车买卖补充协议</text>
</view>
</view>
</view>
<view v-else>{{ formatValue(item, detailsInfo) }}</view>
</view>
</view>
</view>
<view class="mb-32 upload-box">
<view class="tab-panel-title">合同预览</view>
<view class="gridBoxNoPadding">
<view v-for="(item, index) in contractItems" :key="index" :class="['flex align-start', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view class="flex-1">
<view class="pdf-box flex align-center justify-between">
<view class="flex align-center">
<view class="sprite-icon icon-pdf"></view>
<text>{{ item.contractName }}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view v-else-if="activeTab === 7">
<StepperNavigation :currentStep="currentStep" :steps="detailsInfo.editLogList" direction="vertical">
<template v-slot="{ step, indexContent }">
<view class="tableContent">
<view class="gridBoxNoPadding mb-16">
<view v-for="(item, index) in editItems" :key="index" :class="['flex align-center', { 'full-width': item.fullWidth }]">
<view class="title-label-see mr-16">{{ item.label }}</view>
<view>{{ detailsInfo.editLogList[indexContent][item.key] || '-' }}</view>
</view>
<view>
<view class="title-label-see mr-16">变更内容</view>
<view></view>
</view>
</view>
<view>
<view class="tableBox">
<view class="tableHeader">
<view>变更项</view>
<view>变更类型</view>
<view>原内容</view>
<view>变更后内容</view>
</view>
<view v-for="(item, index) in detailsInfo.editLogList.changeList || []" :key="index" class="tableRow">
<view class="tableCell">{{ item.fieldName }}</view>
<view class="tableCell">{{ item.fieldType == 'text' ? '文本' : item.fieldType == 'image' ? '图片' : '视频' }}变更</view>
<view class="tableCell">{{ item.fieldBeforeValue || '-' }}</view>
<view class="tableCell">{{ item.fieldAfterValue || '-' }}</view>
</view>
<!-- 当没有数据时显示空状态 -->
<view v-if="!detailsInfo.editLogList.changeList || detailsInfo.editLogList.changeList.length === 0" class="empty-table">
<text>暂无变更记录</text>
</view>
</view>
</view>
</view>
</template>
</StepperNavigation>
</view>
<!-- 其他标签页可以在这里添加 --> <!-- 其他标签页可以在这里添加 -->
<view v-else class="empty-content"> <view v-else class="empty-content">
<text>暂无{{ tabs[activeTab].name }}信息</text> <text>暂无{{ tabs[activeTab].name }}信息</text>
...@@ -128,10 +331,12 @@ ...@@ -128,10 +331,12 @@
<script> <script>
import MediaInfo from './components/MediaInfo' import MediaInfo from './components/MediaInfo'
import { fileSuibtype } from './evaluationFormMap' import { fileSuibtype } from './evaluationFormMap'
import StepperNavigation from './components/StepperNavigation'
import { statusMap, usageTypeMap, ownerTypeMap, sunroofMap, vehicleCategoryMap, buyNewCarMap, hasAccidentMap, overallRatingMap, emissionStandardMap } from './evaluationFormMap.js' import { statusMap, usageTypeMap, ownerTypeMap, sunroofMap, vehicleCategoryMap, buyNewCarMap, hasAccidentMap, overallRatingMap, emissionStandardMap } from './evaluationFormMap.js'
export default { export default {
components: { components: {
MediaInfo MediaInfo,
StepperNavigation
}, },
data() { data() {
return { return {
...@@ -162,6 +367,7 @@ export default { ...@@ -162,6 +367,7 @@ export default {
] ]
}, },
detailsInfo: {}, detailsInfo: {},
currentStep: 1,
statusMap, statusMap,
usageTypeMap, usageTypeMap,
ownerTypeMap, ownerTypeMap,
...@@ -216,6 +422,81 @@ export default { ...@@ -216,6 +422,81 @@ export default {
{ label: '原车主电话', key: 'carLicense.previousOwnerPhone', fullWidth: true }, { label: '原车主电话', key: 'carLicense.previousOwnerPhone', fullWidth: true },
{ label: '原车主住址', key: 'carLicense.previousOwnerAddress', fullWidth: true } { label: '原车主住址', key: 'carLicense.previousOwnerAddress', fullWidth: true }
], ],
priceItems: [
{ label: '评估价格', key: 'evalPrice' },
{ label: '客户意向报价', key: 'customerTargetPrice' },
{ label: '报价反馈', key: 'customerTargetPriceFeedback', fullWidth: true },
{ label: '评估意见', key: 'evalOpinion', fullWidth: true }
],
editItems: [
{ label: '订单状态', key: 'status' },
{ label: '编辑人员', key: 'editor' }
],
vehicleItems: [
{ label: '合同编号', key: 'signingInfo.saleContract.contractNo' },
{ label: '签约时间', key: 'signingInfo.saleContract.signingTime' },
{ label: '定金金额', key: 'signingInfo.saleContract.depositPrice' },
{ label: '尾款金额', key: 'signingInfo.saleContract.finalPrice' },
{ label: '签约车主', key: 'signingInfo.saleContract.partAName' },
{ label: '手机号码', key: 'signingInfo.saleContract.partAPhone' },
{ label: '身份证号', key: 'signingInfo.saleContract.idCard' },
{ label: '合同模版名称', key: 'signingInfo.saleContract.docTemplateName' },
{ label: '交车时间', key: 'signingInfo.saleContract.handoverTime' },
{ label: '交车地点', key: 'signingInfo.saleContract.handoverAddress' },
{ label: '身份证正面', key: 'signingInfo.saleContract.idCardFrontUrl', type: 'image' },
{ label: '身份证反面', key: 'signingInfo.saleContract.idCardBackUrl', type: 'image' },
{ label: '查阅合同', key: 'signingInfo.saleContract.contractUrl', type: 'link' }
],
payeeItems: [
{ label: '收款人姓名', key: 'signingInfo.saleContract.payeeName' },
{ label: '银行卡账号', key: 'signingInfo.saleContract.bankCardNumber' },
{ label: '开户行', key: 'signingInfo.saleContract.bankOfDeposit', fullWidth: true },
{ label: '身份证正面', key: 'signingInfo.saleContract.payerIdCarFrontUrl', type: 'image' },
{ label: '身份证反面', key: 'signingInfo.saleContract.payerIdCarBackUrl', type: 'image' },
{ label: '银行卡', key: 'signingInfo.saleContract.payerBankCardUrl', type: 'image' }
],
vehicleManagementItems: [
{ label: '合同编号', key: 'signingInfo.custodyContract.contractNo' },
{ label: '签约时间', key: 'signingInfo.custodyContract.signTime' },
{ label: '保管人姓名', key: 'signingInfo.custodyContract.custodianName' },
{ label: '手机号码', key: 'signingInfo.custodyContract.custodianPhone' },
{ label: '查阅合同', key: 'signingInfo.custodyContract.docTemplateName', type: 'link' }
],
baseInfoItems: [
{ label: '确认人', key: 'carHandoverInfo.confirmName' },
{ label: '确认时间', key: 'carHandoverInfo.confirmTime' },
{ label: '车钥匙数', key: 'carHandoverInfo.carKeyCount' }
],
contractItems: [
{ label: '车辆交车单', key: 'carHandoverInfo.confirmName', contractName: '车辆交车单' },
{ label: '补充协议', key: 'carHandoverInfo.confirmName', contractName: '二手车买卖补充协议' }
],
uploadFieldsItems: [
// {
// key: 11,
// label: '正面45度',
// required: true,
// maxCount: 1,
// type: 'image'
// },
// { key: 12, label: '正面', type: 'image' },
// { key: 13, label: '后面', maxCount: 1, type: 'image' },
// { key: 14, label: '左侧面', maxCount: 1, type: 'image' },
// { key: 15, label: '右侧面', maxCount: 1, type: 'image' },
// { key: 16, label: '其他', maxCount: 1, type: 'image' }
],
documentationItems: [
{ label: '交强险', key: 'carHandoverInfo.trafficInsuranceUrl', type: 'image' },
{ label: '机动车行驶证', key: 'carHandoverInfo.motorBookUrl1', type: 'image' },
{ label: '交管12123截图', key: 'carHandoverInfo.trafficScreenshotUrl', type: 'image' },
{ label: '机动车登记本', key: 'carHandoverInfo.motorBookUrl', type: 'image' },
{ label: '购置税证及收据', key: 'carHandoverInfo.purchaseReceiptUrl', type: 'image' },
{ label: '购车发票', key: 'carHandoverInfo.purchaseInvoiceUrl', type: 'image' },
{ label: '车钥匙', key: 'carHandoverInfo.carKeyUrl', type: 'image' },
{ label: '过户授权委托书', key: 'carHandoverInfo.transferPhotoUrl', type: 'image' },
{ label: '保险单商业保险单或卡', key: 'carHandoverInfo.insuranceCardUrl', type: 'image' },
{ label: '自定义字段名称', key: 'carHandoverInfo.centerConsole', type: 'image' }
],
uploadFields: [ uploadFields: [
{ {
key: 11, key: 11,
...@@ -357,7 +638,8 @@ export default { ...@@ -357,7 +638,8 @@ export default {
background: #ffffff; background: #ffffff;
backdrop-filter: blur(12px); backdrop-filter: blur(12px);
display: inline-block; display: inline-block;
padding: toRpx(16) toRpx(32); text-align: center;
line-height: toRpx(72);
color: #666666; color: #666666;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
...@@ -396,6 +678,47 @@ export default { ...@@ -396,6 +678,47 @@ export default {
color: #333333; color: #333333;
margin-bottom: toRpx(24); margin-bottom: toRpx(24);
} }
.gridBoxNoPadding {
display: grid;
grid-template-columns: 1fr 1fr;
gap: toRpx(24);
border-radius: toRpx(16);
background: #ffffff;
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;
}
.pdf-box {
padding: toRpx(12) toRpx(20);
box-sizing: border-box;
height: toRpx(64);
border-radius: toRpx(8);
background: #f4f5f7;
color: #333333;
font-size: toRpx(28);
font-weight: 400;
.sprite-icon {
margin-right: toRpx(16);
}
.btn {
color: #4673ff;
margin-left: toRpx(32);
}
}
}
.gridBox { .gridBox {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
...@@ -419,6 +742,23 @@ export default { ...@@ -419,6 +742,23 @@ export default {
.full-width { .full-width {
grid-column: 1 / -1; grid-column: 1 / -1;
} }
.pdf-box {
padding: toRpx(12) toRpx(20);
box-sizing: border-box;
height: toRpx(64);
border-radius: toRpx(8);
background: #f4f5f7;
color: #333333;
font-size: toRpx(28);
font-weight: 400;
.sprite-icon {
margin-right: toRpx(16);
}
.btn {
color: #4673ff;
margin-left: toRpx(32);
}
}
} }
.empty-content { .empty-content {
...@@ -588,5 +928,77 @@ export default { ...@@ -588,5 +928,77 @@ export default {
color: #eb4e4e; color: #eb4e4e;
background: #fdeded; background: #fdeded;
} }
.tableBox {
width: 100%;
border-radius: toRpx(16);
overflow: hidden;
box-sizing: border-box;
}
.tableHeader {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4rpx;
background: #edf3ff;
font-weight: bold;
font-size: toRpx(28);
color: #333333;
}
.tableHeader > view {
font-size: toRpx(28);
font-weight: 600;
color: #333333;
text-align: center;
height: toRpx(88);
line-height: toRpx(88);
}
.tableItem {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: toRpx(4);
padding: toRpx(16) toRpx(20);
box-sizing: border-box;
border-bottom: 1px solid #f0f0f0;
}
.tableItem > view {
font-size: toRpx(26);
color: #666666;
text-align: left;
}
.tableRow {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 4rpx;
margin-top: 4rpx; /* 添加行与行之间的间隔 */
}
.tableCell {
padding: toRpx(20) toRpx(16);
font-size: toRpx(28);
color: #666666;
text-align: left;
background: #f9fafc;
text-align: center;
}
// 表格空状态样式
.empty-table {
padding: toRpx(60) 0;
text-align: center;
color: #999999;
font-size: toRpx(28);
background: #f9fafc;
}
.tableContent {
border-radius: toRpx(16);
opacity: 1;
background: #ffffff;
padding: toRpx(32);
box-sizing: border-box;
}
} }
</style> </style>
...@@ -79,8 +79,9 @@ ...@@ -79,8 +79,9 @@
<!-- 弹窗 --> <!-- 弹窗 -->
<OrderPopup ref="orderPopup" :data="displayData" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="0" /> <OrderPopup ref="orderPopup" :data="displayData" :isDefeatOrder="true" :externalData="[]" @onConfirm="onConfirm" :popupType="0" />
<SelectCar ref="selectCar" title="选择车型" /> <SelectCar ref="selectCar" title="选择车型" @car-selected="handleCarSelected" />
<SelectCity ref="selectCity" title="选择城市" /> <SelectCity ref="selectCity" title="选择城市" @city-selected="handleCitySelected" />
<SelectCity ref="selectCarCity" title="选择城市" @city-selected="handleCarCitySelected" />
<GeneralPopup ref="calendarGeneralPopup" popupClass="calendarGeneralPopup" :showClose="false" :showTitle="false" @confirm="confirmCalendar"> <GeneralPopup ref="calendarGeneralPopup" popupClass="calendarGeneralPopup" :showClose="false" :showTitle="false" @confirm="confirmCalendar">
<template #content> <template #content>
<uni-calendar class="calendar" :showMonth="false" @change="calendarChange" /> <uni-calendar class="calendar" :showMonth="false" @change="calendarChange" />
...@@ -201,14 +202,14 @@ export default { ...@@ -201,14 +202,14 @@ export default {
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: 'carBrand', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'carBrandId', targetObj: 'carBaseReqDTO', type: 'select', isCar: true },
{ key: 'vin', label: '车架号', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'vin', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName', isScan: true }, { key: 'vin', label: '车架号', required: true, maxlength: 17, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'vin', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName', isScan: true, pattern: '^[A-Z0-9]{17}$' },
{ 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, maxlength: 10, 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, maxlength: 20, 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: 'registrationCity', label: '上牌城市', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'registrationCityId', targetObj: 'carBaseReqDTO', type: 'select', showText: 'shopMerchantName', isCity: true },
{ key: 'registrationDate', label: '上牌时间', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'registrationDate', targetObj: 'carBaseReqDTO', type: 'calendar', showText: 'shopMerchantName' }, { key: 'registrationDate', label: '上牌时间', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'registrationDate', targetObj: 'carBaseReqDTO', type: 'calendar', showText: 'shopMerchantName' },
{ key: 'carCityId', label: '车辆所在地', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'carCityId', targetObj: 'carBaseReqDTO', type: 'select', showText: 'shopMerchantName' }, { key: 'carCity', label: '车辆所在地', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'carCityId', targetObj: 'carBaseReqDTO', type: 'select', isCarCity: true },
{ key: 'mileage', label: '表显里程', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'mileage', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' }, { key: 'mileage', label: '表显里程', inputType: 'number', min: 0, max: 999999, required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'mileage', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName', pattern: '^[0-9]{0,6}$' },
{ {
key: 'usageType', key: 'usageType',
label: '使用性质', label: '使用性质',
...@@ -357,7 +358,7 @@ export default { ...@@ -357,7 +358,7 @@ export default {
] ]
}, },
{ key: 'productionDate', label: '生产日期', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'productionDate', targetObj: 'carBaseReqDTO', type: 'calendar' }, { key: 'productionDate', label: '生产日期', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'productionDate', targetObj: 'carBaseReqDTO', type: 'calendar' },
{ key: 'guidePrice', label: '指导价', required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'guidePrice', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName' }, { key: 'guidePrice', label: '指导价', inputType: 'number', min: 0, max: 999999, required: true, fullWidth: false, targetNameKey: 'sellerName', sourceNameKey: 'staffName', sourceKey: 'uuid', targetKey: 'guidePrice', targetObj: 'carBaseReqDTO', type: 'input', showText: 'shopMerchantName', pattern: '^[0-9]{0,6}$' },
{ {
key: 'buyNewCar', key: 'buyNewCar',
label: '是否购买新车', label: '是否购买新车',
...@@ -433,28 +434,30 @@ export default { ...@@ -433,28 +434,30 @@ export default {
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'conditionDescription', targetKey: 'conditionDescription',
targetObj: 'carBaseReqDTO', targetObj: 'carBaseReqDTO',
type: 'textarea' type: 'textarea',
maxlength: 1000
} }
], ],
licenseFormFields: [ licenseFormFields: [
{ key: 'keyCount', label: '钥匙数', required: true, fullWidth: false, targetKey: 'keyCount', targetObj: 'carLicenseReqDTO', type: 'input' }, { key: 'keyCount', label: '钥匙数', required: true, fullWidth: false, targetKey: 'keyCount', targetObj: 'carLicenseReqDTO', type: 'input', inputType: 'number', min: 0, max: 9, pattern: '^[0-9]{1}$' },
{ key: 'transferCount', label: '过户次数', required: true, fullWidth: false, targetKey: 'transferCount', targetObj: 'carLicenseReqDTO', type: 'input' }, { key: 'transferCount', label: '过户次数', required: true, fullWidth: false, targetKey: 'transferCount', targetObj: 'carLicenseReqDTO', type: 'input', inputType: 'number', min: 0, max: 9, pattern: '^[0-9]{1}$' },
{ key: 'compulsoryInsuranceExpiry', label: '交强险到期', required: true, fullWidth: false, type: 'calendar', targetKey: 'compulsoryInsuranceExpiry', targetObj: 'carLicenseReqDTO' }, { key: 'compulsoryInsuranceExpiry', label: '交强险到期', required: true, fullWidth: false, type: 'calendar', targetKey: 'compulsoryInsuranceExpiry', targetObj: 'carLicenseReqDTO' },
{ key: 'annualInspectionExpiry', label: '年审到期', required: true, fullWidth: false, type: 'calendar', targetKey: 'annualInspectionExpiry', targetObj: 'carLicenseReqDTO' }, { key: 'annualInspectionExpiry', label: '年审到期', required: true, fullWidth: false, type: 'calendar', targetKey: 'annualInspectionExpiry', targetObj: 'carLicenseReqDTO' },
{ key: 'commercialInsuranceExpiry', label: '商业险到期', required: true, fullWidth: false, type: 'calendar', targetKey: 'commercialInsuranceExpiry', targetObj: 'carLicenseReqDTO' }, { key: 'commercialInsuranceExpiry', label: '商业险到期', required: true, fullWidth: false, type: 'calendar', targetKey: 'commercialInsuranceExpiry', targetObj: 'carLicenseReqDTO' },
{ key: 'previousOwnerName', label: '原车主名称', required: true, fullWidth: false, targetKey: 'previousOwnerName', targetObj: 'carLicenseReqDTO', type: 'input' }, { key: 'previousOwnerName', label: '原车主名称', required: true, fullWidth: false, targetKey: 'previousOwnerName', targetObj: 'carLicenseReqDTO', type: 'input' },
{ key: 'previousOwnerPhone', label: '原车主电话', required: true, fullWidth: true, targetKey: 'previousOwnerPhone', targetObj: 'carLicenseReqDTO', type: 'input' }, { key: 'previousOwnerPhone', label: '原车主电话', required: true, fullWidth: true, targetKey: 'previousOwnerPhone', targetObj: 'carLicenseReqDTO', type: 'input', inputType: 'number', pattern: '^[0-9]{11}$' },
{ {
key: 'previousOwnerAddress', key: 'previousOwnerAddress',
label: '原车主住址', label: '原车主住址',
required: true, required: false,
fullWidth: true, fullWidth: true,
targetNameKey: 'sellerName', targetNameKey: 'sellerName',
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'previousOwnerAddress', targetKey: 'previousOwnerAddress',
targetObj: 'carLicenseReqDTO', targetObj: 'carLicenseReqDTO',
type: 'textarea' type: 'textarea',
maxlength: 200
} }
], ],
uploadFields: [ uploadFields: [
...@@ -478,17 +481,21 @@ export default { ...@@ -478,17 +481,21 @@ export default {
{ key: 22, label: '登记证', maxCount: 3, accept: 'image' } { key: 22, label: '登记证', maxCount: 3, accept: 'image' }
], ],
uploadVideoFields: [ uploadVideoFields: [
{ key: 31, label: '发动机工况', required: true, accept: 'video' }, { key: 31, label: '发动机工况', required: false, accept: 'video' },
{ key: 32, label: '车况解说', required: true, accept: 'video' } { key: 32, label: '车况解说', required: false, accept: 'video' }
], ],
uploadOtherFields: [{ key: 41, label: '其他图片', required: true, accept: 'image' }], uploadOtherFields: [{ key: 41, label: '其他图片', required: false, accept: 'image' }],
currentField: null currentField: null,
query: {}
} }
}, },
onLoad(options) {
this.init(options)
},
mounted() { mounted() {
console.log(this.$route.query) console.log(this.query)
if (this.$route.query.type == 'edit') { if (this.query.type == 'edit') {
this.getDetail(this.$route.query.evalOrderNo) this.getDetail(this.query.evalOrderNo)
} }
this.userInfo = uni.$storage.get('userInfo') || {} this.userInfo = uni.$storage.get('userInfo') || {}
console.log('userInfo', this.userInfo) console.log('userInfo', this.userInfo)
...@@ -500,6 +507,11 @@ export default { ...@@ -500,6 +507,11 @@ export default {
}) })
}, },
methods: { methods: {
init(options) {
console.log('options:', options)
this.query = options
console.log('query:', this.query)
},
backPage() { backPage() {
uni.navigateBack({ uni.navigateBack({
delta: 1 delta: 1
...@@ -525,21 +537,125 @@ export default { ...@@ -525,21 +537,125 @@ export default {
// 下一步逻辑 // 下一步逻辑
nextStep() { nextStep() {
console.log('nextStep', this.formData)
// 验证当前步骤的必填项 // 验证当前步骤的必填项
if (this.currentStep === 1) { if (this.currentStep === 1) {
const requiredFields = this.formFields.filter(field => field.required) const requiredFields = this.formFields.filter(field => field.required)
const hasEmptyRequired = requiredFields.some(field => !this.formData[field.key])
if (hasEmptyRequired) { // 检查必填项是否为空
const emptyFields = requiredFields.filter(field => {
if (field.targetObj && this.formData[field.targetObj]) {
return this.formData[field.targetObj][field.targetKey] === undefined || this.formData[field.targetObj][field.targetKey] === null || this.formData[field.targetObj][field.targetKey] === ''
}
return this.formData[field.key] === undefined || this.formData[field.key] === null || this.formData[field.key] === ''
})
if (emptyFields.length > 0) {
const firstEmptyField = emptyFields[0]
uni.showToast({
title: `${firstEmptyField.label}为必填项`,
icon: 'none'
})
return
}
// 车架号验证 - 长度17且只能包含数字和大写字母
const vin = this.formData.carBaseReqDTO.vin
const vinRegex = /^[A-Z0-9]{17}$/
if (vin.length !== 17) {
uni.showToast({
title: '车架号长度必须为17位',
icon: 'none'
})
return
}
if (!vinRegex.test(vin)) {
uni.showToast({
title: '车架号只能包含数字和大写字母',
icon: 'none'
})
return
}
// 表显里程验证 - 数字,0-999999
const mileage = this.formData.carBaseReqDTO.mileage
const mileageRegex = /^[0-9]{1,6}$/
if (!mileageRegex.test(mileage) || mileage < 0 || mileage > 999999) {
uni.showToast({
title: '表显里程必须为0-999999之间的数字',
icon: 'none'
})
return
}
// 指导价验证 - 数字,0-999999
const guidePrice = this.formData.carBaseReqDTO.guidePrice
const priceRegex = /^[0-9]{1,6}$/
if (!priceRegex.test(guidePrice) || guidePrice < 0 || guidePrice > 999999) {
uni.showToast({ uni.showToast({
title: '请填写所有必填项', title: '指导价必须为0-999999之间的数字',
icon: 'none' icon: 'none'
}) })
// return return
} }
} else if (this.currentStep === 2) { } else if (this.currentStep === 2) {
// 牌证信息步骤的验证逻辑 // 牌证信息步骤的验证逻辑
// 这里可以添加上传文件的验证 const requiredFields = this.licenseFormFields.filter(field => field.required)
const emptyFields = requiredFields.filter(field => {
if (field.targetObj && this.formData[field.targetObj]) {
return this.formData[field.targetObj][field.targetKey] === undefined || this.formData[field.targetObj][field.targetKey] === null || this.formData[field.targetObj][field.targetKey] === ''
}
return this.formData[field.key] === undefined || this.formData[field.key] === null || this.formData[field.key] === ''
})
if (emptyFields.length > 0) {
const firstEmptyField = emptyFields[0]
uni.showToast({
title: `${firstEmptyField.label}为必填项`,
icon: 'none'
})
return
}
const keyCount = this.formData.carLicenseReqDTO.keyCount
const keyCountRegex = /^[0-9]{1}$/
if (!keyCountRegex.test(keyCount) || keyCount < 0 || keyCount > 9) {
uni.showToast({
title: '钥匙数必须为0-9之间的整数',
icon: 'none'
})
return
}
// 过户次数验证 - 数字,整数,0-9
const transferCount = this.formData.carLicenseReqDTO.transferCount
const transferCountRegex = /^[0-9]{1}$/
if (!transferCountRegex.test(transferCount) || transferCount < 0 || transferCount > 9) {
uni.showToast({
title: '过户次数必须为0-9之间的整数',
icon: 'none'
})
return
}
// 原车主电话验证 - 11位数字
const previousOwnerPhone = this.formData.carLicenseReqDTO.previousOwnerPhone
const phoneRegex = /^[0-9]{11}$/
if (!phoneRegex.test(previousOwnerPhone)) {
uni.showToast({
title: '原车主电话必须为11位数字',
icon: 'none'
})
return
}
} else if (this.currentStep === 3) {
const leftFront45Image = this.formImagesData['11'] // key为11的是左前45度图片
if (!leftFront45Image || !leftFront45Image.length) {
uni.showToast({
title: '左前45度图片为必填项',
icon: 'none'
})
return
}
} }
// 验证通过,进入下一步 // 验证通过,进入下一步
...@@ -559,6 +675,8 @@ export default { ...@@ -559,6 +675,8 @@ export default {
this.$refs.orderPopup.open() this.$refs.orderPopup.open()
} else if (field.key === 'registrationCity') { } else if (field.key === 'registrationCity') {
this.$refs.selectCity.open() this.$refs.selectCity.open()
} else if (field.key === 'carCity') {
this.$refs.selectCarCity.open()
} else if (field.type === 'calendar') { } else if (field.type === 'calendar') {
this.$refs.calendarGeneralPopup this.$refs.calendarGeneralPopup
.open() .open()
...@@ -571,6 +689,30 @@ export default { ...@@ -571,6 +689,30 @@ export default {
}) })
} }
}, },
handleCarSelected(date) {
console.log('handleCarSelected', date)
this.$set(this.formData.carBaseReqDTO, 'carBrandId', date.brand.id)
this.$set(this.formData.carBaseReqDTO, 'carBrand', date.brand.name)
this.$set(this.formData.carBaseReqDTO, 'carChildsBrandId', date.model.id)
this.$set(this.formData.carBaseReqDTO, 'carChildsBrandName', date.model.name)
this.$set(this.formData.carBaseReqDTO, 'carSeriesId', date.series.id)
this.$set(this.formData.carBaseReqDTO, 'carSeriesName', date.series.name)
this.$set(this.formData.carBaseReqDTO, 'carTypeId', date.year.id)
this.$set(this.formData.carBaseReqDTO, 'carTypeName', date.year.name)
},
handleCitySelected(date) {
this.$set(this.formData.carBaseReqDTO, 'registrationProvinceId', date.province.id)
this.$set(this.formData.carBaseReqDTO, 'registrationProvinceName', date.province.name)
this.$set(this.formData.carBaseReqDTO, 'registrationCityId', date.city.name)
this.$set(this.formData.carBaseReqDTO, 'registrationCityName', date.city.name)
},
handleCarCitySelected(date) {
this.$set(this.formData.carBaseReqDTO, 'carProvinceId', date.province.id)
this.$set(this.formData.carBaseReqDTO, 'carProvinceName', date.province.name)
this.$set(this.formData.carBaseReqDTO, 'carCityId', date.city.id)
this.$set(this.formData.carBaseReqDTO, 'carCityName', date.city.name)
console.log('handleCarCitySelected', this.formData.carBaseReqDTO)
},
pickerChange(index, field) { pickerChange(index, field) {
console.log('pickerChange', index, field) console.log('pickerChange', index, field)
this.$set(this.formData[field.targetObj], field.targetKey, field.fieldPickerArray[index].value) this.$set(this.formData[field.targetObj], field.targetKey, field.fieldPickerArray[index].value)
...@@ -611,6 +753,57 @@ export default { ...@@ -611,6 +753,57 @@ export default {
} }
}) })
} }
// 车架号自动转大写
if (field.key === 'vin') {
const upperValue = value.toUpperCase()
if (upperValue !== value) {
this.$set(this.formData.carBaseReqDTO, 'vin', upperValue)
}
}
if (field.key === 'mileage' || field.key === 'guidePrice') {
let numValue = Number(value)
if (isNaN(numValue)) {
numValue = 0
}
if (numValue < 0) numValue = 0
if (numValue > 999999) numValue = 999999
const limitedValue = String(numValue)
if (limitedValue !== value) {
this.$set(this.formData.carBaseReqDTO, field.key, limitedValue)
if (Number(value) > 999999) {
uni.showToast({
title: `${field.label}不能超过999999`,
icon: 'none'
})
}
}
}
if (field.key === 'keyCount' || field.key === 'transferCount') {
let numValue = Number(value)
if (isNaN(numValue)) {
numValue = field.key === 'keyCount' ? 2 : 1
}
if (numValue < 0) numValue = 0
if (numValue > 9) numValue = 9
const limitedValue = String(Math.floor(numValue))
if (limitedValue !== value) {
this.$set(this.formData.carLicenseReqDTO, field.key, limitedValue)
if (Number(value) > 9) {
uni.showToast({
title: `${field.label}不能超过9`,
icon: 'none'
})
}
}
}
}, },
confirmCalendar() { confirmCalendar() {
// this.rangeSelect(this.selectDate) // this.rangeSelect(this.selectDate)
...@@ -689,6 +882,10 @@ export default { ...@@ -689,6 +882,10 @@ export default {
}) })
}, },
vinOcr(imageUrl) { vinOcr(imageUrl) {
uni.showLoading({
title: '识别中',
mask: true
})
uni.$api.evaluationApi uni.$api.evaluationApi
.vinOcr({ .vinOcr({
imageUrl imageUrl
...@@ -697,18 +894,25 @@ export default { ...@@ -697,18 +894,25 @@ export default {
console.log('res:', res) console.log('res:', res)
if (res.status == 1) { if (res.status == 1) {
this.formData.carBaseReqDTO.vin = res.vin this.formData.carBaseReqDTO.vin = res.vin
uni.hideLoading()
} else { } else {
uni.showToast({ title: res.errorMessage, icon: 'none' }) uni.showToast({ title: res.errorMessage, icon: 'none' })
uni.hideLoading()
} }
}) })
}, },
carLicenseOcr(imageUrl) { carLicenseOcr(imageUrl) {
uni.showLoading({
title: '识别中',
mask: true
})
uni.$api.evaluationApi uni.$api.evaluationApi
.carLicenseOcr({ .carLicenseOcr({
imageUrl imageUrl
}) })
.then(res => { .then(res => {
console.log('res:', res) console.log('res:', res)
uni.hideLoading()
if (res.status == 1) { if (res.status == 1) {
this.formData.carBaseReqDTO.engineNumber = res.engineNumber this.formData.carBaseReqDTO.engineNumber = res.engineNumber
this.formData.carBaseReqDTO.licensePlate = res.licensePlate this.formData.carBaseReqDTO.licensePlate = res.licensePlate
...@@ -717,6 +921,7 @@ export default { ...@@ -717,6 +921,7 @@ export default {
this.formData.carLicenseReqDTO.previousOwnerAddress = res.previousOwnerAddress this.formData.carLicenseReqDTO.previousOwnerAddress = res.previousOwnerAddress
this.formData.carLicenseReqDTO.previousOwnerName = res.previousOwnerName this.formData.carLicenseReqDTO.previousOwnerName = res.previousOwnerName
} else { } else {
uni.hideLoading()
uni.showToast({ title: res.errorMessage, icon: 'none' }) uni.showToast({ title: res.errorMessage, icon: 'none' })
} }
}) })
...@@ -736,12 +941,19 @@ export default { ...@@ -736,12 +941,19 @@ export default {
}, },
// 提交表单逻辑 // 提交表单逻辑
submitForm() { async submitForm() {
// 表单提交验证 // 表单提交验证
if (this.currentStep === 3) { if (this.currentStep === 3) {
// 图像信息步骤的验证逻辑 const leftFront45Image = this.formImagesData['11'] // key为11的是左前45度图片
// 这里可以添加图片上传的验证 if (!leftFront45Image || !leftFront45Image.length) {
uni.showToast({
title: '左前45度图片为必填项',
icon: 'none'
})
return
}
} }
this.formData.imageList = []
// 处理车辆图片 - fileType: 1 // 处理车辆图片 - fileType: 1
this.processMediaData(this.formImagesData, 1) this.processMediaData(this.formImagesData, 1)
...@@ -753,27 +965,25 @@ export default { ...@@ -753,27 +965,25 @@ export default {
// 处理其他图片 - fileType: 4 // 处理其他图片 - fileType: 4
this.processMediaData(this.otherImagesData, 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({
title: '提交中...' title: '提交中...'
}) })
console.log('提交的表单数据:', this.formData)
// 模拟网络请求延迟 if (this.query.type === 'add') {
setTimeout(() => { await uni.$api.evaluationApi.evalOrderCreate(this.formData)
uni.hideLoading()
uni.showToast({
title: '新增成功',
icon: 'success'
})
} else if (this.query.type === 'edit') {
await uni.$api.evaluationApi.evalOrderUpdate(this.formData)
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showToast({
title: '提交成功', title: '编辑成功',
icon: 'success' icon: 'success'
}) })
}, 1500) }
}, },
// 处理媒体数据的辅助方法 // 处理媒体数据的辅助方法
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<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" :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 class="formInput" :min="field.min" :max="field.max" v-if="field.targetObj" :type="field.inputType || 'text'" :disabled="field.disabled" type="text" :placeholder="'请输入'" :maxlength="field.maxlength || 100" 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" :disabled="field.disabled" :placeholder="'请输入'" v-model="formData[field.targetKey]" :pattern="field.pattern || ''" @input="e => handleInput(e, field)" /> <input class="formInput" :min="field.min" :max="field.max" v-else type="text" :type="field.inputType || 'text'" :disabled="field.disabled" :placeholder="'请输入'" v-model="formData[field.targetKey]" :maxlength="field.maxlength || 100" :pattern="field.pattern || ''" @input="e => handleInput(e, field)" @blur="e => handleBlur(e, field)" />
<view v-if="field.isScan" class="flex align-center scanBtn justify-center" @click.stop="scan('vinOcr')"> <view v-if="field.isScan" class="flex align-center scanBtn justify-center" @click.stop="scan('vinOcr')">
<view class="sprite-icon icon-scanIconX"></view> <view class="sprite-icon icon-scanIconX"></view>
</view> </view>
...@@ -15,11 +15,22 @@ ...@@ -15,11 +15,22 @@
<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">
<template v-if="field.targetObj ? formData[field.targetObj][field.targetKey] : formData[field.targetKey]"> <template v-if="field.targetObj ? formData[field.targetObj][field.targetKey] : formData[field.targetKey]">
<view v-if="!field.isCar && !field.isCity && !field.isCarCity">
<template v-if="field.showText && userInfo && userInfo[field.showText]"> <template v-if="field.showText && userInfo && userInfo[field.showText]">
{{ userInfo[field.showText] }} {{ userInfo[field.showText] }}
<text>|</text> <text>|</text>
</template> </template>
{{ field.targetObj ? formData[field.targetObj][field.targetNameKey] : formData[field.targetNameKey] }} {{ field.targetObj ? formData[field.targetObj][field.targetNameKey] : formData[field.targetNameKey] }}
</view>
<view v-else-if="field.isCar">
{{ formData.carBaseReqDTO.carSeriesName + ' ' + formData.carBaseReqDTO.carTypeName }}
</view>
<view v-else-if="field.isCity">
{{ formData.carBaseReqDTO.registrationProvinceName + ' ' + formData.carBaseReqDTO.registrationCityName }}
</view>
<view v-else-if="field.isCarCity">
{{ formData.carBaseReqDTO.carProvinceName + ' ' + formData.carBaseReqDTO.carCityName }}
</view>
</template> </template>
<template v-else> <template v-else>
<span class="placeholder">请选择</span> <span class="placeholder">请选择</span>
...@@ -79,8 +90,8 @@ ...@@ -79,8 +90,8 @@
</view> </view>
</view> </view>
<view class="pdf-box flex align-center justify-between"> <view class="pdf-box flex align-center justify-between">
<view> <view class="flex align-center">
<!-- <view class="sprite-icon icon-icon-select"></view> --> <view class="sprite-icon icon-pdf"></view>
<text>二手车买卖补充协议</text> <text>二手车买卖补充协议</text>
</view> </view>
<view class="flex align-center"> <view class="flex align-center">
...@@ -161,7 +172,8 @@ export default { ...@@ -161,7 +172,8 @@ export default {
this.$emit('inputChange', e, field) this.$emit('inputChange', e, field)
}, },
handleBlur(e, field) { handleBlur(e, field) {
let value = e.detail.value.trim() console.log('handleBlur', e, field)
let value = e.target._value.trim() || e.detail.value.trim()
if (field.targetObj) { if (field.targetObj) {
if (this.formData[field.targetObj]) { if (this.formData[field.targetObj]) {
this.formData[field.targetObj][field.targetKey] = value this.formData[field.targetObj][field.targetKey] = value
...@@ -249,13 +261,15 @@ export default { ...@@ -249,13 +261,15 @@ export default {
color: #333333; color: #333333;
font-size: toRpx(28); font-size: toRpx(28);
} }
input { .formInput {
border: 0;
flex: 1; flex: 1;
height: toRpx(40); height: toRpx(40);
font-size: toRpx(28); font-size: toRpx(28);
color: #333333; color: #333333;
padding: 0; padding: 0;
text-align: right; text-align: right;
outline: none;
} }
.form-item-textarea { .form-item-textarea {
flex-direction: column; flex-direction: column;
......
<template> <template>
<GeneralPopup ref="carPopup" popupClass="carPopup" :list="list" :title="title"> <GeneralPopup ref="carPopup" popupClass="carPopup" :list="list" :title="title" @confirm="confirm">
<template v-slot:content> <template v-slot:content>
<StepTab :steps="steps" :currentStep="currentStep" :clickable="true" @step-change="onStepChange" :isShowStepNumber="false"></StepTab> <StepTab :steps="steps" :currentStep="currentStep" :clickable="true" @step-change="onStepChange" :isShowStepNumber="false"></StepTab>
<view class="list-component"> <view class="list-component">
...@@ -45,7 +45,8 @@ export default { ...@@ -45,7 +45,8 @@ export default {
selectedSeries: null, selectedSeries: null,
selectedModel: null, selectedModel: null,
selectedYear: null, selectedYear: null,
loadingYearData: false // 添加加载状态标记 loadingYearData: false, // 添加加载状态标记
selectionResult: null
} }
}, },
created() { created() {
...@@ -134,7 +135,6 @@ export default { ...@@ -134,7 +135,6 @@ export default {
} }
const secret = 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b' const secret = 'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
const signature = sign(params, secret) const signature = sign(params, secret)
console.log('签名结果:', signature)
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
uni.request({ uni.request({
url: 'http://qcdidicb.glsx.com.cn/router?method=glsx.accounts.base.car.types', url: 'http://qcdidicb.glsx.com.cn/router?method=glsx.accounts.base.car.types',
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
success(result) { success(result) {
console.log('请求结果:', result) console.log('请求结果:', result)
if (result.data && result.data.code === '0' && result.data.data && result.data.data.carinfos) { if (result.data && result.data.code === '0' && result.data.data && result.data.data.carinfos) {
model.childs = result.data.data.carinfos model.childs = result.data.data.carinfos || []
this.loadingYearData = false this.loadingYearData = false
resolve(model.childs) resolve(model.childs)
} else { } else {
...@@ -165,6 +165,14 @@ export default { ...@@ -165,6 +165,14 @@ export default {
open() { open() {
console.log('Opening car selector popup') console.log('Opening car selector popup')
this.$refs.carPopup.open() this.$refs.carPopup.open()
return new Promise((resolve, reject) => {
this.resolve = resolve
this.reject = reject
})
},
confirm() {
console.log(this.selectionResult)
this.$emit('car-selected', this.selectionResult)
}, },
onStepChange(index) { onStepChange(index) {
...@@ -223,13 +231,13 @@ export default { ...@@ -223,13 +231,13 @@ export default {
} else if (this.currentStep === 3) { } else if (this.currentStep === 3) {
this.selectedYear = item this.selectedYear = item
const selectionResult = { this.selectionResult = {
brand: this.selectedBrand, brand: this.selectedBrand,
series: this.selectedSeries, series: this.selectedSeries,
model: this.selectedModel, model: this.selectedModel,
year: this.selectedYear year: this.selectedYear
} }
this.$emit('car-selected', selectionResult)
// 可选:关闭弹窗 // 可选:关闭弹窗
// this.$refs.carPopup.close(); // this.$refs.carPopup.close();
} }
......
<template> <template>
<GeneralPopup ref="carPopup" popupClass="carPopup" :list="list" :title="title"> <GeneralPopup ref="carPopup" popupClass="carPopup" :list="list" :title="title" @confirm="handleConfirm">
<template v-slot:content> <template v-slot:content>
<StepTab :steps="steps" :currentStep="currentStep" :clickable="true" @step-change="onStepChange" :isShowStepNumber="false"></StepTab> <StepTab :steps="steps" :currentStep="currentStep" :clickable="true" @step-change="onStepChange" :isShowStepNumber="false"></StepTab>
<view class="list-component"> <view class="list-component">
...@@ -37,15 +37,15 @@ export default { ...@@ -37,15 +37,15 @@ export default {
currentSelectedId: null, currentSelectedId: null,
steps: [ steps: [
{ label: '选择省份', number: 1 }, { label: '选择省份', number: 1 },
{ label: '选择市', number: 2 }, { label: '选择市', number: 2 }
{ label: '选择区', number: 3 }
], ],
carBrandData: [], carBrandData: [],
selectedBrand: null, selectedBrand: null,
selectedSeries: null, selectedSeries: null,
selectedModel: null, selectedModel: null,
selectedYear: null, selectedYear: null,
loadingYearData: false // 添加加载状态标记 loadingYearData: false, // 添加加载状态标记
selectionResult: null
} }
}, },
...@@ -59,12 +59,12 @@ export default { ...@@ -59,12 +59,12 @@ export default {
case 1: case 1:
data = (this.selectedBrand?.districts || []).map(item => this.addLetterToItem(item)) data = (this.selectedBrand?.districts || []).map(item => this.addLetterToItem(item))
break break
case 2: // case 2:
data = (this.selectedSeries?.districts || []).map(item => this.addLetterToItem(item)) // data = (this.selectedSeries?.districts || []).map(item => this.addLetterToItem(item))
break // break
case 3: // case 3:
data = (this.selectedModel?.districts || []).map(item => this.addLetterToItem(item)) // data = (this.selectedModel?.districts || []).map(item => this.addLetterToItem(item))
break // break
default: default:
data = [] data = []
} }
...@@ -155,17 +155,6 @@ export default { ...@@ -155,17 +155,6 @@ export default {
this.currentStep = 0 this.currentStep = 0
} else if (index === 1 && this.selectedBrand) { } else if (index === 1 && this.selectedBrand) {
this.currentStep = 1 this.currentStep = 1
} else if (index === 2 && this.selectedSeries) {
this.currentStep = 2
} else if (index === 3 && this.selectedModel) {
// 如果还没有年份数据,则加载
if (!this.selectedModel.districts || this.selectedModel.districts.length === 0) {
this.loadYearDataForModel(this.selectedModel).then(() => {
this.currentStep = 3
})
} else {
this.currentStep = 3
}
} }
// 重置当前步骤的选中ID // 重置当前步骤的选中ID
...@@ -188,19 +177,12 @@ export default { ...@@ -188,19 +177,12 @@ export default {
this.selectedSeries = item this.selectedSeries = item
this.selectedModel = null this.selectedModel = null
this.selectedYear = null this.selectedYear = null
this.currentStep = 2
this.$emit('series-selected', item) this.$emit('series-selected', item)
} else if (this.currentStep === 2) { }
this.selectedModel = item this.selectionResult = {
this.selectedYear = null province: this.selectedBrand,
this.$emit('model-selected', item) city: this.selectedSeries
// 当点击第三层车型选择时,才去请求第四级数据
// this.loadYearDataForModel(item).then(years => {
// if (years && years.length > 0) {
// this.currentStep = 3
// }
// this.$emit('model-selected', item)
// })
} }
}, },
...@@ -298,6 +280,11 @@ export default { ...@@ -298,6 +280,11 @@ export default {
console.error('获取首字母失败:', error) console.error('获取首字母失败:', error)
return { ...item, letter: '#' } return { ...item, letter: '#' }
} }
},
handleConfirm() {
console.log(this.selectionResult)
this.$emit('city-selected', this.selectionResult)
} }
} }
} }
......
<template>
<view class="stepper-navigation" :class="direction">
<view class="stepper-container">
<view v-for="(step, index) in steps" :key="index" class="step-item">
<!-- 左侧点线区域 -->
<view class="step-left-area">
<view class="step-number-circle" :class="{ active: currentStep >= index + 1 }">
<!-- 激活状态下显示三个圆圈 -->
<view v-if="currentStep >= index + 1" class="circle-group">
<view class="circle circle-1"></view>
<view class="circle circle-2"></view>
<view class="circle circle-3"></view>
</view>
</view>
<!-- 连接线 - 动态适应距离 -->
<view v-if="index < steps.length - 1" class="dash-line-wrapper">
<view class="dash-line" :class="{ active: currentStep >= index + 2 }"></view>
</view>
</view>
<!-- 右侧名称和内容区域 -->
<view class="step-right-area">
<view class="step-name" :class="{ active: currentStep >= index + 1 }">
{{ step.roundNo ? `第${step.roundNo}轮报价` : '编辑记录' }}
</view>
<!-- 可自定义添加其他内容 -->
<slot :step="step" :indexContent="index"></slot>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
name: 'StepperNavigation',
props: {
// 当前步骤,从1开始
currentStep: {
type: Number,
default: 1
},
// 步骤数据数组,每项可以包含name属性
steps: {
type: Array,
default: () => [{ name: '步骤1' }, { name: '步骤2' }, { name: '步骤3' }]
},
// 显示方向:'horizontal'(水平) 或 'vertical'(垂直)
direction: {
type: String,
default: 'horizontal',
validator: value => {
return ['horizontal', 'vertical'].includes(value)
}
}
}
}
</script>
<style scoped lang="scss">
// 基础样式
.stepper-navigation {
/* 基础样式 */
}
/* 步骤容器 */
.stepper-container {
padding: toRpx(32) 0;
}
/* 步骤项 */
.step-item {
display: flex;
margin-bottom: toRpx(16);
}
/* 左侧点线区域 */
.step-left-area {
display: flex;
flex-direction: column;
align-items: center;
margin-right: toRpx(16);
position: relative;
}
/* 步骤数字圆圈 */
.step-number-circle {
width: toRpx(40);
height: toRpx(40);
display: flex;
align-items: center;
justify-content: center;
position: relative;
flex-shrink: 0;
}
/* 不激活状态 - 一个圆圈 */
.step-number-circle::before {
content: '';
width: toRpx(20);
height: toRpx(20);
border-radius: 50%;
background: #8eb2fb;
position: absolute;
z-index: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* 激活状态 - 三个圆圈组 */
.step-number-circle.active {
background: transparent;
}
.step-number-circle.active::before {
display: none;
}
/* 三个圆圈的样式 */
.circle-group {
position: relative;
width: toRpx(40);
height: toRpx(40);
display: flex;
align-items: center;
justify-content: center;
}
.circle {
position: absolute;
border-radius: 50%;
}
/* 三个圆圈的定位和大小 */
.circle-1 {
width: toRpx(14);
height: toRpx(14);
z-index: 3;
background: #ffffff;
border: 2rpx solid #4673ff;
}
.circle-2 {
width: toRpx(20);
height: toRpx(20);
z-index: 2;
background: #4673ff;
}
.circle-3 {
width: toRpx(36);
height: toRpx(36);
z-index: 1;
background: #d6e4ff;
}
/* 右侧名称和内容区域 */
.step-right-area {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
}
.step-name {
color: #333333;
font-size: toRpx(32);
font-weight: 500;
word-wrap: break-word;
white-space: normal;
margin-bottom: toRpx(20);
}
/* 连接线容器 */
.dash-line-wrapper {
flex: 1;
display: flex;
align-items: center;
min-height: toRpx(48);
}
/* 连接线样式 */
.dash-line {
width: toRpx(4);
background: #d7e7fe;
flex: 1;
height: 100%;
}
.dash-line.active {
background: #4673ff;
}
/* 水平方向特定样式 */
.horizontal .stepper-container {
display: flex;
flex-wrap: wrap;
}
.horizontal .step-item {
flex-direction: column;
align-items: center;
margin-right: toRpx(32);
margin-bottom: toRpx(0);
}
.horizontal .step-left-area {
flex-direction: row;
margin-right: 0;
margin-bottom: toRpx(16);
}
.horizontal .step-right-area {
align-items: center;
}
.horizontal .dash-line-wrapper {
min-width: toRpx(64);
min-height: 0;
margin: 0 toRpx(16);
}
.horizontal .dash-line {
height: toRpx(4);
width: 100%;
}
</style>
<!-- evaluationCard.vue --> <!-- evaluationCard.vue -->
<template> <template>
<view class="card-box"> <view class="card-box" v-if="carInfo.evalOrderNo">
<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>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +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 + 1 === current" /> <radio style="transform: scale(0.7)" :value="item.value" :checked="current === index" />
<view class="radio-name">{{ item.name }}</view> <view class="radio-name">{{ item.name }}</view>
</label> </label>
</radio-group> </radio-group>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<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="formData.paymentType" class="fromBox"> <view v-if="formData.paymentType" class="fromBox">
<FormCell :formFields="formFields" :formData="formData" @handleCell="handleCell" @inputChange="handleInputChange" @inputInvalid="handleInputInvalid" /> <FormCell :formFields="formFields" :formData="formData" @handleCell="handleCell" @inputChange="handleInputChange" @inputInvalid="handleInputInvalid" @blurChange="blurChange" />
<view class="upload-container mb-24"> <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>
...@@ -267,7 +267,7 @@ export default { ...@@ -267,7 +267,7 @@ export default {
comfirmPage: false, comfirmPage: false,
signInfo: {}, signInfo: {},
selectDate: '', selectDate: '',
current: 0, current: null,
noDataBg: require('@/assets/images/common/sign-no-data.png'), noDataBg: require('@/assets/images/common/sign-no-data.png'),
radioList: [ radioList: [
{ {
...@@ -387,6 +387,7 @@ export default { ...@@ -387,6 +387,7 @@ export default {
}, },
formFields: [ formFields: [
{ {
// 定金字段 - 仅在paymentType=1时显示
key: 'depositPrice', key: 'depositPrice',
label: '定金金额', label: '定金金额',
required: true, required: true,
...@@ -397,9 +398,11 @@ export default { ...@@ -397,9 +398,11 @@ export default {
targetKey: 'depositPrice', targetKey: 'depositPrice',
targetObj: '', targetObj: '',
type: 'input', type: 'input',
pattern: '^\\d*$' // 只允许数字输入 pattern: '^\\d*$', // 只允许数字输入
disabled: true
}, },
{ {
// 尾款字段 - 仅在paymentType=1时显示
key: 'finalPrice', key: 'finalPrice',
label: '尾款金额', label: '尾款金额',
required: true, required: true,
...@@ -410,8 +413,30 @@ export default { ...@@ -410,8 +413,30 @@ export default {
targetKey: 'finalPrice', targetKey: 'finalPrice',
targetObj: '', targetObj: '',
type: 'input', type: 'input',
pattern: '^\\d*$' // 只允许数字输入 pattern: '^\\d*$', // 只允许数字输入
visible: function () {
// 添加visible属性控制显示
return this.formData.paymentType === 1
}
}, },
// {
// // 全款字段 - 仅在paymentType=2时显示
// key: 'fullPrice',
// label: '全款金额',
// required: true,
// fullWidth: false,
// targetNameKey: 'sellerName',
// sourceNameKey: 'staffName',
// sourceKey: 'uuid',
// targetKey: 'fullPrice',
// targetObj: '',
// type: 'input',
// pattern: '^\\d*$', // 只允许数字输入
// visible: function () {
// // 添加visible属性控制显示
// return this.formData.paymentType === 2
// }
// },
{ {
key: 'evalPrice', key: 'evalPrice',
label: '评估价', label: '评估价',
...@@ -444,7 +469,9 @@ export default { ...@@ -444,7 +469,9 @@ export default {
sourceNameKey: 'staffName', sourceNameKey: 'staffName',
sourceKey: 'uuid', sourceKey: 'uuid',
targetKey: 'phone', targetKey: 'phone',
type: 'input' type: 'input',
inputType: 'number',
pattern: '^[0-9]{11}$'
}, },
{ {
key: 'idCard', key: 'idCard',
...@@ -604,12 +631,34 @@ export default { ...@@ -604,12 +631,34 @@ export default {
console.log('radioChange', e) console.log('radioChange', e)
const value = e.detail.value const value = e.detail.value
this.formData.paymentType = value this.formData.paymentType = value
if (value === 1) { if (value === 1) {
// 定金+尾款模式
// 如果之前有填写全款金额,则将其分配给定金和尾款
if (this.formData.fullPrice > 0) {
this.formData.depositPrice = Math.round(this.formData.fullPrice * 0.3) // 例如30%作为定金
this.formData.finalPrice = this.formData.fullPrice - this.formData.depositPrice
}
// 确保评估价已设置
if (this.$route.query.evalPrice && !this.formData.fullPrice) {
this.formData.fullPrice = this.$route.query.evalPrice this.formData.fullPrice = this.$route.query.evalPrice
} }
} else if (value === 2) {
// 全款模式
// 如果之前有填写定金和尾款,则计算总和作为全款金额
if (this.formData.depositPrice > 0 || this.formData.finalPrice > 0) {
this.formData.fullPrice = parseInt(this.formData.depositPrice || 0) + parseInt(this.formData.finalPrice || 0)
}
// 确保评估价已设置
if (this.$route.query.evalPrice && !this.formData.fullPrice) {
this.formData.fullPrice = this.$route.query.evalPrice
}
}
// 设置当前选中的索引 // 设置当前选中的索引
this.current = this.radioList.findIndex(item => item.value === value) this.current = this.radioList.findIndex(item => item.value === value)
}, },
blurChange(value, field) {},
checkboxChange(e) { checkboxChange(e) {
console.log('checkboxChange', e.detail.value) console.log('checkboxChange', e.detail.value)
// 创建结果对象,将选中的key设为1,未选中的设为0 // 创建结果对象,将选中的key设为1,未选中的设为0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!