Commit 11ed422e by 胡悦

Merge branch 'SAAS+V4.55.0' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.55.0

2 parents 06036178 ac747446
Showing 34 changed files with 1810 additions and 1588 deletions
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: calc(100vmin * (1173 / 768) * 0.6564364876385337) calc(100vmin * (1173 / 768) * 0.6483375959079284);}
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: calc(100vmin * (1173 / 768) * 0.680306905370844) calc(100vmin * (1173 / 768) * 0.644927536231884);}
.icon-addr { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4863597612958227) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-ai-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.3878942881500426) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-ai-bazaar { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929);
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.35805626598465473);}
background-position: calc(100vmin * (1173 / 768) * -0.2237851662404092) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-ai { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.43861892583120204) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-appeal-record { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.10869565217391304);}
background-position: calc(100vmin * (1173 / 768) * -0.6197783461210571) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-arrow-bottom { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.3030690537084399) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.6121057118499573) calc(100vmin * (1173 / 768) * -0.3797953964194373);}
.icon-arrow-next { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.5924978687127025) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.4982949701619778) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-arrow-right { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4863597612958227) calc(100vmin * (1173 / 768) * -0.22762148337595908);}
.icon-avatar { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.5677749360613811) calc(100vmin * (1173 / 768) * -0.35805626598465473);}
background-position: calc(100vmin * (1173 / 768) * -0.5907928388746803) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-back { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.021312872975277068);
background-position: calc(100vmin * (1173 / 768) * -0.2144075021312873) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-bao { width: calc(100vmin * (1173 / 768) * 0.08354646206308611); height: calc(100vmin * (1173 / 768) * 0.0937766410912191);
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.10869565217391304);}
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.2050298380221654);}
.icon-boutique-config-0 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.4641943734015345) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.329923273657289) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-boutique-config-1 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.1867007672634271) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.35507246376811596) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-boutique-config-2 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.21184995737425405) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.38022165387894286) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-btn-tips { width: calc(100vmin * (1173 / 768) * 0.0988917306052856); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.329923273657289) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.3797953964194373);}
.icon-bydyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5907928388746803) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.09633418584825235);}
.icon-calendar { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4863597612958227) calc(100vmin * (1173 / 768) * -0.24765558397271953);}
.icon-certificate { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.4420289855072464);}
.icon-change-account { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4117647058823529) calc(100vmin * (1173 / 768) * -0.28218243819266836);}
.icon-clone { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.48934356351236147) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.5997442455242967) calc(100vmin * (1173 / 768) * -0.3627450980392157);}
.icon-coupon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4317988064791134) calc(100vmin * (1173 / 768) * -0.28218243819266836);}
.icon-course { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
......@@ -47,245 +47,247 @@
background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * 0);}
.icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654);
background-position: calc(100vmin * (1173 / 768) * -0.329923273657289) calc(100vmin * (1173 / 768) * 0);}
.icon-customer-add { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.09121909633418585);}
.icon-customer-add { width: calc(100vmin * (1173 / 768) * 0.0068201193520886615); height: calc(100vmin * (1173 / 768) * 0.0068201193520886615);
background-position: calc(100vmin * (1173 / 768) * -0.6730605285592498) calc(100vmin * (1173 / 768) * -0.456308610400682);}
.icon-customer-detail { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5907928388746803) calc(100vmin * (1173 / 768) * -0.44501278772378516);}
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.11977834612105712);}
.icon-customer-file-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.48934356351236147) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-customer-file { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.5400682011935208) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-day-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5161977834612106);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.47570332480818417);}
.icon-detail-btn { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.236999147485081) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.1432225063938619);}
.icon-dress-code { width: calc(100vmin * (1173 / 768) * 0.007246376811594203); height: calc(100vmin * (1173 / 768) * 0.007885763000852515);
background-position: calc(100vmin * (1173 / 768) * -0.6491901108269394) calc(100vmin * (1173 / 768) * -0.4825234441602728);}
background-position: calc(100vmin * (1173 / 768) * -0.6730605285592498) calc(100vmin * (1173 / 768) * -0.4420289855072464);}
.icon-eye-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4718670076726343) calc(100vmin * (1173 / 768) * -0.28218243819266836);}
.icon-eyes-off { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.0886615515771526) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.6069906223358909) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-eyes-on { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.10869565217391304) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.6270247229326513) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.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.2536231884057971) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.30434782608695654) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-face-error { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.3009377664109122) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.3516624040920716) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-face-success-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.34825234441602726) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.3989769820971867) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-face-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.3955669224211424) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.4462915601023018) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-feedback { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5498721227621484);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.5093776641091219);}
.icon-ffdyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.26044330775788577) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.16666666666666666);}
.icon-finish-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.28388746803069054) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.47058823529411764) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
background-position: calc(100vmin * (1173 / 768) * -0.21099744245524296) calc(100vmin * (1173 / 768) * -0.340153452685422);}
.icon-home-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.5417732310315431) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-home { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.3793691389599318) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.45737425404944587) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-icon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.1287297527706735) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.6470588235294118) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-icon-close { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.37468030690537085);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.33418584825234443);}
.icon-icon-copy { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.14876385336743392) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-icon-instructions { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.16879795396419436) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.020034100596760442) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-icon-navigation { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.1888320545609548) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.040068201193520885) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-icon-notice { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.20886615515771526) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.06010230179028133) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.2289002557544757) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.08013640238704177) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-icon-store { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.24893435635123615) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.10017050298380221) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-icon-upload { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929);
background-position: calc(100vmin * (1173 / 768) * -0.14919011082693948) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.2847399829497016) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-icon-weixin { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.2689684569479966) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.12020460358056266) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-income-card { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.5924978687127025) calc(100vmin * (1173 / 768) * -0.4940323955669224);}
background-position: calc(100vmin * (1173 / 768) * -0.5200341005967605) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-income-count { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.13171355498721227);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.09121909633418585);}
.icon-income-icon { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.17220801364023872);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.13171355498721227);}
.icon-info_shield { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3073316283034953) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.4053708439897698) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-info-icon { width: calc(100vmin * (1173 / 768) * 0.03751065643648764); height: calc(100vmin * (1173 / 768) * 0.03751065643648764);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.04731457800511509);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.04731457800511509);}
.icon-invisible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3307757885763001) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.4288150042625746) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-jbgz-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.35421994884910485) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.45225916453537934) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-js-icon { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.23273657289002558) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
background-position: calc(100vmin * (1173 / 768) * -0.4096334185848252) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-level { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.20886615515771526);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.5430520034100597);}
.icon-locker-icon { width: calc(100vmin * (1173 / 768) * 0.1466325660699062); height: calc(100vmin * (1173 / 768) * 0.20119352088661552);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * 0);}
.icon-logo { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.20886615515771526);}
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.3052003410059676);}
.icon-lssl-icon { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.12702472293265132);}
background-position: calc(100vmin * (1173 / 768) * -0.6197783461210571) calc(100vmin * (1173 / 768) * -0.4906223358908781);}
.icon-mask-del { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.21270247229326514);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.17220801364023872);}
.icon-mask-edit { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.2531969309462916);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.21270247229326514);}
.icon-medal { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.24254049445865303);}
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.2050298380221654);}
.icon-my-level { width: calc(100vmin * (1173 / 768) * 0.058823529411764705); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.4352088661551577) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-my-store { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.293691389599318);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.2531969309462916);}
.icon-no-insurance-data { width: calc(100vmin * (1173 / 768) * 0.20801364023870417); height: calc(100vmin * (1173 / 768) * 0.12617220801364024);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-no-picture { width: calc(100vmin * (1173 / 768) * 0.021312872975277068); height: calc(100vmin * (1173 / 768) * 0.021312872975277068);
background-position: calc(100vmin * (1173 / 768) * -0.2753623188405797) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-pause { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3776641091219096) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.47570332480818417) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-payType-1 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.283461210571185);}
.icon-payType-2 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.4117647058823529) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-payType-3 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
.icon-payType-2 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.4151747655583973) calc(100vmin * (1173 / 768) * -0.340153452685422);}
.icon-payType-4 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
.icon-payType-3 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-payType-5 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
.icon-payType-4 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.07459505541346974) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-payType-5 { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.14919011082693948) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-pbjd-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.4011082693947144) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.21696504688832055) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-pen-active { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.21014492753623187) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.3052003410059676);}
.icon-pen { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.26768968456947995) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.345694799658994) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-play { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.42455242966751916) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.24040920716112532) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-point-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04859335038363171);
background-position: calc(100vmin * (1173 / 768) * -0.3252344416027281) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.4032395566922421) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-point { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.43350383631713557) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.5115089514066496) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.283461210571185);}
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.23870417732310314);}
.icon-promotion { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.329923273657289) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.21824381926683717) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-prompt { width: calc(100vmin * (1173 / 768) * 0.10230179028132992); height: calc(100vmin * (1173 / 768) * 0.10230179028132992);
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * 0);}
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.09633418584825235);}
.icon-qg-tips { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.023444160272804774) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.5417732310315431) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-qgtc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.44799658994032393) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.2638533674339301) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-qr-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.44288150042625746) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.4936061381074169) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-qt-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.47144075021312876) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.2872975277067349) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-quality-no-data { width: calc(100vmin * (1173 / 768) * 0.19096334185848252); height: calc(100vmin * (1173 / 768) * 0.0886615515771526);
background-position: calc(100vmin * (1173 / 768) * -0.2144075021312873) calc(100vmin * (1173 / 768) * -0.20758738277919864);}
.icon-qw { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.3567774936061381) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.24509803921568626) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-qytc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.4948849104859335) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.31074168797953966) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-ranking { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.3171355498721228);}
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-rbkk-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5183290707587382) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.33418584825234443) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-reception-1 { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.3836317135549872) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.27195225916453536) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-reception-2 { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.41048593350383633) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.2988064791133845) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-reception-pause { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815);
background-position: calc(100vmin * (1173 / 768) * -0.5848252344416027) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.13128729752770674) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-reception-play { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815);
background-position: calc(100vmin * (1173 / 768) * -0.12958226768968456) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.159846547314578) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-reception-share { width: calc(100vmin * (1173 / 768) * 0.02216538789428815); height: calc(100vmin * (1173 / 768) * 0.02216538789428815);
background-position: calc(100vmin * (1173 / 768) * -0.15814151747655583) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.18840579710144928) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-record-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.4876385336743393) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
background-position: calc(100vmin * (1173 / 768) * -0.5656436487638533) calc(100vmin * (1173 / 768) * -0.4722932651321398);}
.icon-record { 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.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.050724637681159424) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-role-1 { width: calc(100vmin * (1173 / 768) * 0.028985507246376812); height: calc(100vmin * (1173 / 768) * 0.028985507246376812);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.4117647058823529);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.3712702472293265);}
.icon-role-2 { width: calc(100vmin * (1173 / 768) * 0.028985507246376812); height: calc(100vmin * (1173 / 768) * 0.028985507246376812);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.44714407502131287);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.40664961636828645);}
.icon-rule { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.1453537936913896);}
background-position: calc(100vmin * (1173 / 768) * -0.6670929241261722) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-scan { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.289002557544757) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.1402387041773231) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-scene-0 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.49019607843137253) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.540920716112532) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-scene-1 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.5375106564364877) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.5882352941176471) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-scene-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.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.10144927536231885) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-scene-change { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3090366581415175) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.16027280477408354) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-scene { 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.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.15217391304347827) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-search { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5417732310315431) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.3576300085251492) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-second-nav { width: calc(100vmin * (1173 / 768) * 0.20460358056265984); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.340153452685422);}
.icon-setting { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.033674339300937765) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-short-first-nav { width: calc(100vmin * (1173 / 768) * 0.1773231031543052); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.2041773231031543) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-short-second-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.icon-start-text { width: calc(100vmin * (1173 / 768) * 0.0733162830349531); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
background-position: calc(100vmin * (1173 / 768) * -0.329923273657289) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
.icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3290707587382779) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.18030690537084398) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-store { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * 0);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * 0);}
.icon-study-active { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.15217391304347827) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.2028985507246377) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-study-tips { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.1636828644501279);}
background-position: calc(100vmin * (1173 / 768) * -0.34057971014492755) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-study { width: calc(100vmin * (1173 / 768) * 0.0443307757885763); height: calc(100vmin * (1173 / 768) * 0.0443307757885763);
background-position: calc(100vmin * (1173 / 768) * -0.2028985507246377) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
background-position: calc(100vmin * (1173 / 768) * -0.2536231884057971) calc(100vmin * (1173 / 768) * -0.5468883205456095);}
.icon-submit { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5652173913043478) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.38107416879795397) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-suggestions-arrow { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.045183290707587385) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.5635123614663257) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-suggestions-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3491048593350384) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.20034100596760443) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-tag-checked { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.293691389599318) calc(100vmin * (1173 / 768) * -0.17689684569479966);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.5767263427109974);}
.icon-tdcj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.5886615515771526) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.40451832907075874) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-time-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3691389599317988) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.22037510656436488) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-time { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6121057118499573) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.4279624893435635) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-tips-b { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.38917306052855927) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.24040920716112532) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-tips-g { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.4373401534526854) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
background-position: calc(100vmin * (1173 / 768) * -0.3030690537084399) calc(100vmin * (1173 / 768) * -0.30264279624893436);}
.icon-tips { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.33418584825234443);}
background-position: calc(100vmin * (1173 / 768) * -0.639386189258312) calc(100vmin * (1173 / 768) * -0.293691389599318);}
.icon-tool-file { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.033674339300937765) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.27237851662404094);}
.icon-tool-finish { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.06564364876385337) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.06734867860187553) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-tool-pay { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.09761295822676896) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.09931798806479114) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-total { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4092071611253197) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.26044330775788577) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-two-arrow { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.18201193520886616);}
background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.3627450980392157);}
.icon-visible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6355498721227621) calc(100vmin * (1173 / 768) * -0.597612958226769);}
background-position: calc(100vmin * (1173 / 768) * -0.4514066496163683) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-warning-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.42924126172208016) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.2804774083546462) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4492753623188406) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.30051150895140666) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-ybtc_icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.47485080988917305) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-yw-icon { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.06692242114236999) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
background-position: calc(100vmin * (1173 / 768) * -0.5852514919011083) calc(100vmin * (1173 / 768) * -0.597612958226769);}
.icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.46930946291560105) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
\ No newline at end of file
background-position: calc(100vmin * (1173 / 768) * -0.3205456095481671) calc(100vmin * (1173 / 768) * -0.6312872975277067);}
.icon-customer-flow { width: calc(100vmin * (1173 / 768) * 0.12617220801364024); height: calc(100vmin * (1173 / 768) * 0.08994032395566923);
background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * 0);}
\ No newline at end of file
No preview for this file type

2.51 MB | W: | H:

2.53 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin

15.8 KB | W: | H:

223 Bytes | W: | H:

assets/spritesmith/customer-add.png
assets/spritesmith/customer-add.png
assets/spritesmith/customer-add.png
assets/spritesmith/customer-add.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -48,9 +48,12 @@
v-if="messageTotal > 0"
></view>
</view> -->
<view class="btn">
<view class="sprite-icon icon-scene-change"></view>
</view>
<template v-if="showSceneChange">
<view class="btn">
<view class="sprite-icon icon-scene-change"></view>
</view>
</template>
<view
class="btn"
@click="handleSetting"
......@@ -94,9 +97,9 @@ export default {
name: 'HomeSlot'
},
{
label: "接待记录",
label: "接待中心",
icon: "record",
name: 'RecordList'
name: 'ReceptionCenter'
},
{
label: "学习中心",
......@@ -107,7 +110,7 @@ export default {
{
label: "场景集市",
icon: "scene",
name: 'AIBazaar'
name: 'SceneMarket'
}
],
messageData: {
......@@ -138,6 +141,16 @@ export default {
computed: {
perRecordNumber () {
return this.$store.state.audio.perRecordNumber
},
showSceneChange () {
const { openSceneArr } = uni.$storage.get("userInfo")
let result = []
if (openSceneArr && openSceneArr.length > 1) {
openSceneArr.map(e => {
if (e == 1 || e == 0) result.push(e)
})
}
return result.length > 1
}
},
created () {
......@@ -237,9 +250,14 @@ export default {
this.leaveTrack()
this.trackId = 0
clearInterval(this.trackInterval)
this.trackInterval = null
}
this.$emit('update:tabIndex', index)
this.$emit("changeTab", item, jumpUrl)
this.$emit("changeTab", {
item,
jumpUrl,
index
})
this.getMessageInfo()
},
async haveCustomerAccess (val) {
......@@ -248,11 +266,11 @@ export default {
// merchantId: shopMerchantId
// })
// if (res)
this.tabs.push({
label: "客户档案",
icon: "customer-file",
name: 'CustomerFile'
})
// this.tabs.push({
// label: "客户档案",
// icon: "customer-file",
// name: 'CustomerFile'
// })
// this.$store.state.user.haveCustomerAccess = res
uni.$api.customerApi.saleOpen({
merchantId: shopMerchantId,
......@@ -534,7 +552,7 @@ export default {
margin: toRpx(48) auto 0;
box-sizing: border-box;
padding-left: toRpx(60);
.icon-scene-change{
.icon-scene-change {
zoom: 2;
}
.message-number {
......
......@@ -70,7 +70,7 @@
</view>
</template>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
......
<template>
<view class="record-box">
<view :class="['record-content',`${showInfo?'hide-record':'show-record'}`]">
<view
class="add-btn flex"
@click="editItem(false)"
>
<view class="sprite-icon icon-customer-add"></view>
新增档案
</view>
<view class="data-container">
<view :class="['type-box']">
<view
class="tab-item"
v-for="(i, index) in typeList"
:key="index"
@click="changeType(index)"
>
<view
class="sprite-icon"
:class="[
firstIndex == index ? `icon-${firstClass[index]} active` : '',
firstLeft[index]
]"
></view>
<view
class="text"
:class="[firstIndex == index ? `active` : '']"
>{{ i.tabName}}</view>
</view>
</view>
<view class="tabs-bottom"></view>
<view
v-if="firstIndex == 0"
class="data-tabs-box"
>
<view class="data-tabs">
<template v-for="(i, index) in dateList">
<view class="control-box flex">
<view class="tabs flex">
<template>
<view
v-for="(i, index) in dateList"
:class="['tab flex', { active: dateIndex == index }]"
:key="index"
@click="changeIndex(index)"
>{{ i.text }}</view>
</template>
<view
:class="['active-btn', `active-btn-${dateIndex}`]"
:style="activeBtnStyle"
></view>
</view>
</view>
<view
class="scene-box flex"
v-if="firstIndex == 2"
>
<view class="scene-tabs flex">
<template v-for="(i, index) in sceneList">
<view
:class="['tab flex', { active: caseParams.scene == i.id }]"
:key="index"
@click="changeScene(i.id)"
>{{ i.text }}</view>
>
{{ i.text }}
</view>
</template>
<view :class="['active-btn', `active-btn-${dateIndex}`]"></view>
</view>
<view class="btn-list flex">
<view class="select-box-list select-component flex">
<view
class="merchant-btn flex"
@click="allMerchantSwitch"
class="add-btn flex"
@click="editItem(false)"
>
<view :class="['check-box flex',{'checked':!allMerchantStatus}]">
<uni-icons
type="checkmarkempty"
:size="12"
color="#fff"
></uni-icons>
</view>
仅展示本店方案
<view class="sprite-icon icon-customer-add"></view>
预录信息
</view>
<view
class="search-btn flex"
@click="$refs.customerTagstVisible.open()"
>标签筛选</view>
</view>
</view>
<scroll-view
:class="['record-list', recordClass]"
:class="['record-list']"
scroll-y
@scrolltolower="pageonReachBottom"
>
......@@ -93,102 +37,75 @@
<template v-if="list.length && list[0] && list[0].length">
<template v-for="(i,index) in list">
<template v-for="(item,cindex) in i">
<template v-if="firstIndex == 2">
<view
class="case-item"
:key="item.id"
>
<case-item
:item="item"
:source="2"
imgStyle="height:calc(100vw * (290 / 2346))"
/>
<view
class="item"
:key="item.id"
@longpress="longPress(item,index,cindex)"
@click="jumpDetail(item.id)"
>
<view class="name">
{{ item.ownerName }}
</view>
</template>
<template v-else>
<view
class="item"
:key="item.id"
@longpress="longPress(item,index,cindex)"
@click="jumpDetail(item.id)"
>
<template v-for="(k, ind) in itemObject">
<view
v-if="firstIndex == 1"
:class="[
'status flex',
{ deal: item.receptionResult == 1 },
]"
>{{
{
1: "成交",
0: "战败",
}[item.receptionResult]
}}</view>
<view class="name">
{{ item.ownerName }}
class="info flex"
:key="`${item.id}-${ind}`"
v-if="showItem(k.key)"
>
<view class="label">{{ k.label }}</view>
<view class="value text-hide">{{ item[k.key] || "-" }}</view>
</view>
<template v-for="(k, ind) in itemObject">
<view
class="info flex"
:key="`${item.id}-${ind}`"
v-if="showItem(k.key)"
>
<view class="label">{{ k.label }}</view>
<view class="value text-hide">{{ item[k.key] || "-" }}</view>
</view>
</template>
</template>
<view
:class="['mask',{'show-mask':item.maskStatus}]"
@click.stop
>
<view
:class="['mask',{'show-mask':item.maskStatus}]"
@click.stop
class="mask-close"
@click.stop="closeMask(index,cindex)"
>
<view
class="mask-close"
@click.stop="closeMask(index,cindex)"
>
<uni-icons
type="closeempty"
:size="16"
color="#fff"
></uni-icons>
</view>
<template v-if="item.showDel">
<view class="mask-del-box flex">
是否删除该客户档案
<view class="btns flex">
<view
class="btn cancel"
@click.stop="switchDel(index,cindex)"
>取消</view>
<view
class="btn"
@click.stop="delItem(item.id,index,cindex)"
>确定</view>
</view>
</view>
</template>
<template v-else>
<view class="mask-box flex">
<uni-icons
type="closeempty"
:size="16"
color="#fff"
></uni-icons>
</view>
<template v-if="item.showDel">
<view class="mask-del-box flex">
是否删除该客户档案
<view class="btns flex">
<view
class="mask-item"
@click="editItem(item)"
>
<view class="sprite-icon icon-mask-edit"></view>
编辑
</view>
class="btn cancel"
@click.stop="switchDel(index,cindex)"
>取消</view>
<view
class="mask-item"
@click.stop="switchDel(index,cindex, true)"
>
<view class="sprite-icon icon-mask-del"></view>
删除
</view>
class="btn"
@click.stop="delItem(item.id,index,cindex)"
>确定</view>
</view>
</template>
</view>
</view>
</template>
<template v-else>
<view class="mask-box flex">
<view
class="mask-item"
@click="editItem(item)"
>
<view class="sprite-icon icon-mask-edit"></view>
编辑
</view>
<view
class="mask-item"
@click.stop="switchDel(index,cindex, true)"
>
<view class="sprite-icon icon-mask-del"></view>
删除
</view>
</view>
</template>
</view>
</template>
</view>
</template>
</template>
</template>
......@@ -196,15 +113,15 @@
<view class="nothing flex">
<image
class="icon"
src="../../../assets/images/home/nothing.webp"
src="../../../../assets/images/home/nothing.webp"
/>
{{firstIndex == 2 ? '暂无推荐话术' : '暂无接待记录'}}
暂无接待记录
</view>
</template>
</template>
</view>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
......@@ -240,12 +157,10 @@
<script type="text/ecmascript-6">
import dayjs from 'dayjs'
import CustomerInfo from './CustomerInfo.vue'
import CaseItem from './CaseItem.vue'
import CustomerTags from '../../CustomerTags.vue'
import CustomerTags from './CustomerTags.vue'
export default {
components: {
CustomerInfo,
CaseItem,
CustomerTags
},
name: '',
......@@ -257,14 +172,11 @@ export default {
{ tabName: '已接待' },
{ tabName: '客户案例广场' },
],
firstIndex: 0,
firstLeft: ['first', 'second', 'three'],
firstClass: ['first-nav', 'second-nav', 'second-nav'],
dateList: [
{ text: '今日' },
{ text: '本周' },
{ text: '本月' },
{ text: '全部' }
{ text: '今日到店' },
{ text: '全部客户' }
],
sceneList: [
{ text: '会员权益/升级', id: 0 },
......@@ -284,7 +196,7 @@ export default {
list: [],
flag: false,
nothing: false,
pageSize: 12,
pageSize: 10,
customerId: '',
showInfo: false,
caseParams: {
......@@ -304,12 +216,6 @@ export default {
transform: `translate(toRpx(${val}), -50%)`
}
},
recordClass () {
return {
1: 'type-1',
2: 'type-2'
}[this.firstIndex]
}
},
mounted () {
this.init();
......@@ -320,17 +226,11 @@ export default {
this.list = []
this.pageNum = 1;
this.nothing = false
if (this.firstIndex == 2) this.getMaterialResponsePage()
else this.getReceptionList()
},
changeType (index) {
if (this.firstIndex == index) return // 点击同一个
this.firstIndex = index
this.refresh()
this.getReceptionList()
},
init () {
this.dateList.map((e, index) => {
const tatget = ['day', 'week', 'month', 'all'][index]
const tatget = ['day', 'all'][index]
const {
startTime,
endTime
......@@ -345,17 +245,17 @@ export default {
uni.showLoading({
mask: true
})
let { dateList, dateIndex, pageNum, pageSize, firstIndex } = this,
let { dateList, dateIndex, pageNum, pageSize } = this,
{ shopMerchantId, sceneType } = uni.$storage.get("userInfo"),
{ startTime, endTime } = dateList[dateIndex],
params = {
pageNum,
pageSize,
receptionStatus: firstIndex == 0 ? 1 : 2,
receptionStatus: 1,
merchantId: shopMerchantId,
bussinessScene: sceneType == 0 ? 1 : 2 // 1.延保 2.轻改
}
if (firstIndex == 0 && startTime && endTime) {
if (startTime && endTime) {
params.startTime = startTime
params.endTime = endTime
}
......@@ -402,8 +302,7 @@ export default {
if (!nothing) nothing = 'nothing'
if (Math.ceil(total / pageSize) > pageNum) {
this.pageNum += 1
if (this.firstIndex == 2) this.getMaterialResponsePage()
else this.getReceptionList()
this.getReceptionList()
} else this.nothing = true
},
getDateRange (type) {
......@@ -412,14 +311,6 @@ export default {
if (type === 'day') {
startTime = new Date(now.getFullYear(), now.getMonth(), now.getDate());
endTime = new Date(now.getFullYear(), now.getMonth(), now.getDate());
} else if (type === 'week') {
let dayOfWeek = now.getDay();
if (dayOfWeek == 0) dayOfWeek = 7
startTime = new Date(now.getFullYear(), now.getMonth(), now.getDate() - dayOfWeek + 1);
endTime = new Date(now.getFullYear(), now.getMonth(), now.getDate() + (7 - dayOfWeek));
} else if (type === 'month') {
startTime = new Date(now.getFullYear(), now.getMonth(), 1);
endTime = new Date(now.getFullYear(), now.getMonth() + 1, 0);
} else {
startTime = null
endTime = null
......@@ -431,11 +322,11 @@ export default {
},
showItem (key) {
let flag = true
if (this.firstIndex == 0 && ['receptionTime', 'receptionist'].includes(key)) flag = false
if (['receptionTime', 'receptionist'].includes(key)) flag = false
return flag
},
longPress (item, index, ind) {
if (this.firstIndex == 1 || item.maskStatus) return
if (item.maskStatus) return
this.list[index][ind].maskStatus = true
this.$forceUpdate()
},
......@@ -467,54 +358,12 @@ export default {
}
},
jumpDetail (id) {
if (this.firstIndex == 1) return
uni.navigateTo({
url: `/pages/common/customerDetail?id=${id}`,
animationType: 'pop-in',
animationDuration: 100
})
},
async getMaterialResponsePage () {
try {
uni.showLoading({
mask: true
})
let { shopMerchantId } = uni.$storage.get("userInfo"),
{ pageSize, pageNum, caseParams, tagsList, allMerchantStatus } = this,
customerLabelList = []
tagsList.map(e => customerLabelList.push({
labelId: e.labelId
}))
let params = {
currentPage: pageNum,
pageSize,
customerLabelList,
...caseParams
}
if (!allMerchantStatus) params.merchantId = shopMerchantId
const { list, total } = await uni.$api.customerApi.getMaterialResponsePage(params)
uni.hideLoading()
list.map(e => {
let tags = [],
goods = []
e.customerLabelInfoList?.map(item => {
tags.push(item.labelName)
})
e.productPackageInfoList?.map(item => {
goods.push(item.upgradeGoodsName)
})
e.tags = tags.join('、')
e.goods = goods.join('、')
})
this.list[pageNum - 1] = list
this.flag = true
this.total = total
this.$forceUpdate()
} catch (error) {
uni.hideLoading()
this.flag = true
}
},
handleSelect (list) {
this.tagsList = list
this.refresh()
......@@ -533,67 +382,73 @@ export default {
.record-content {
height: 100%;
box-sizing: border-box;
padding-top: toRpx(96);
.data-container {
background: #ffffff;
border-radius: toRpx(48);
margin-top: toRpx(48);
height: 72.39vh;
margin-right: toRpx(66);
height: 100%;
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border: toRpx(2) solid #fff;
box-sizing: border-box;
position: relative;
overflow: hidden;
.type-box {
position: relative;
display: flex;
width: 100%;
background-color: #eef4fe;
height: toRpx(176);
line-height: toRpx(128);
border-radius: toRpx(48) toRpx(48) 0 0;
z-index: 0;
.tab-item {
width: toRpx(400);
text-align: center;
font-weight: 500;
font-size: toRpx(40);
color: #1f2133;
.first{
.control-box {
height: 164rpx;
.tabs {
display: flex;
justify-content: space-between;
width: toRpx(392);
height: toRpx(84);
background-color: #f2f2f2;
border-radius: toRpx(16);
margin-left: toRpx(44);
position: relative;
&::after {
position: absolute;
z-index: -2;
background: #ffffff;
width: 100%;
height: 100%;
left: 0;
top: 0;
content: '';
}
.second{
left:toRpx(352);
}
.three{
left:toRpx(756);
}
.text {
.tab {
width: toRpx(192);
height: toRpx(76);
justify-content: center;
color: #666666;
font-size: 28rpx;
z-index: 10;
position: relative;
text-align: center;
width: toRpx(400);
}
.active {
color: #333333;
}
.active-btn {
position: absolute;
top: 0;
z-index: -1;
font-weight: 700;
font-size: toRpx(40);
color: #2c66f7;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: toRpx(48);
height: toRpx(8);
background-color: #2c66f7;
border-radius: toRpx(16);
}
width: toRpx(192);
height: toRpx(76);
background: #ffffff;
top: 50%;
transform: translateY(-50%);
transition: all 0.15s;
border-radius: toRpx(16);
}
.active-btn-0 {
left: toRpx(4);
}
.active-btn-1 {
left: toRpx(196);
}
}
.select-box-list {
margin-left: auto;
gap: 0 40rpx;
}
.select-component {
margin-right: 44rpx;
}
}
}
}
......@@ -614,41 +469,18 @@ export default {
}
}
.record-list {
height: calc(100% - #{toRpx(242)});
height: calc(100% - #{toRpx(164)});
box-sizing: border-box;
position: relative;
z-index: 4;
}
.type-1 {
height: calc(100% - #{toRpx(128)});
margin-top: toMinusRpx(48);
.list {
padding-top: toRpx(48);
.item {
.name {
max-width: toRpx(416);
}
}
}
}
.type-2 {
height: calc(100% - #{toRpx(248)});
.list {
padding-top: toRpx(48);
.item {
.name {
max-width: toRpx(416);
}
}
}
}
.list {
display: flex;
flex-wrap: wrap;
gap: toRpx(40) toRpx(44);
padding: toRpx(40) 0 toRpx(20) toRpx(64);
gap: toRpx(40) toRpx(46);
padding: 2rpx toRpx(44) 0;
.item {
width: 30.8%;
width: toRpx(608);
// width: 608rpx;
background: #ffffff;
box-sizing: border-box;
......@@ -768,16 +600,16 @@ export default {
}
}
.add-btn {
width: calc(100% - #{toRpx(60)});
height: toRpx(200);
background-image: url('@/assets/images/common/customer-btn.webp');
background-size: 100%;
font-weight: 700;
font-size: toRpx(48);
width: toRpx(244);
height: 72rpx;
border-radius: 16rpx;
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
font-size: 30rpx;
color: #ffffff;
justify-content: center;
.sprite-icon {
margin-right: toRpx(32);
margin-right: toRpx(8);
zoom: 2;
}
}
.tabs-bottom {
......@@ -846,7 +678,7 @@ export default {
.active-btn-2 {
left: toRpx(372);
}
.active-btn-3 {
.active-btn-3 {
left: toRpx(556);
}
}
......
<template>
<view class="customer-flow-box">
<view class="customer-flow-title">门店客流情况</view>
<view class="sprite-icon icon-customer-flow"></view>
</view>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.customer-flow-box {
position: relative;
height: 422rpx;
.customer-flow-title {
color: #333333;
font-size: 28rpx;
font-weight: 500;
padding: 24rpx 32rpx 0;
}
.sprite-icon{
position: absolute;
top: 0;
left: 0;
zoom: 2;
}
}
</style>
\ No newline at end of file
......@@ -121,8 +121,8 @@
<script type='text/ecmascript-6'>
import CarBrands from '@/components/CarBrands.vue'
import dayjs from 'dayjs'
import CustomerTags from '../../CustomerTags.vue'
import ReceptionSence from '../../ReceptionSence.vue'
import CustomerTags from './CustomerTags.vue'
import ReceptionSence from './ReceptionSence.vue'
const phoneRex = /^[1]([3-9])[0-9]{9}$/,
default_customerForm = [{
label: '车主姓名',
......@@ -374,7 +374,7 @@ export default {
border-radius: toRpx(48);
backdrop-filter: blur(toRpx(8));
pointer-events: auto;
animation: show-info-box 0.25s forwards;
animation: left-in 0.25s forwards;
.nav-bar {
width: 100%;
height: toRpx(96);
......@@ -476,27 +476,11 @@ export default {
}
}
.backClass {
animation: back 0.25s forwards;
animation: left-out 0.25s forwards;
}
.popup {
pointer-events: auto;
}
@keyframes show-info-box {
0% {
left: 100%;
}
100% {
left: toRpx(240);
}
}
@keyframes back {
0% {
left: toRpx(240);
}
100% {
left: 100%;
}
}
}
.show-box {
......
<template>
<view class="line-bar-box">
</view>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.line-bar-box{
height: 388rpx;
box-sizing: border-box;
padding: 24rpx;
}
</style>
\ No newline at end of file
<template>
<view class="output-value-box"></view>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.output-value-box{
height: 366rpx;
}
</style>
\ No newline at end of file
<template>
<view class="record-box">
<view class="data-container">
<view class="control-box flex">
<view class="tabs flex">
<template>
<view
v-for="(i, index) in tabList"
:class="['tab flex', { active: tabIndex == index }]"
:key="index"
@click="changeTab(index)"
>
{{ i.text }}
<template v-if="index == 1 && preRecordFailList.length">
<view class="dot"></view>
</template>
</view>
</template>
<view :class="['active-btn', `active-btn-${tabIndex}`]"></view>
</view>
<view class="select-box-list select-component flex">
<template v-if="tabIndex == 0">
<select-component :selectList="orderTypeList" />
<select-component :selectList="receptionTypeList" />
</template>
</view>
<template v-if="tabIndex == 1">
<select-component
class="select-component"
:selectList="uploadTypeList"
@chooseType="changeUploadType"
/>
</template>
</view>
<scroll-view
class="record-list"
scroll-y
@scrolltolower="pageonReachBottom"
>
<view class="list">
<template v-if="flag">
<template v-if="list.length && list[0] && list[0].length">
<template v-for="i in list">
<template>
<view
v-for="item in i"
class="item"
:key="item.id"
@click="jumpDetail(item)"
>
<view :class="['status flex', { deal: item.orderFinishFlag }]">
{{item.orderFinishFlag? '成交': '战败'}}
</view>
<view class="name">
{{ item.customerName ? item.customerName : '未填写姓名' }}
</view>
<view class="goods-name">{{ item.carModel ? item.carModel : '未选择车型' }}</view>
<template>
<view
v-for="(k, ind) in itemObject"
class="info flex"
:key="ind"
>
<view class="label">{{ k.label }}</view>
<view class="value">{{ formatValue(item[k.key], k.key) || '-' }}</view>
</view>
</template>
</view>
</template>
</template>
</template>
<template v-else>
<view class="nothing flex">
<image
class="icon"
src="../../../../assets/images/home/nothing.webp"
/>
暂无接待记录
</view>
</template>
</template>
</view>
<template v-if="nothing">
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
</view>
</template>
<script type="text/ecmascript-6">
import dayjs from 'dayjs'
import SelectComponent from '@/components/SelectComponent.vue'
export default {
inject: ['getRecorder'],
name: '',
components: { SelectComponent },
inject: ['getRecorder'],
data () {
return {
tabList: Object.freeze([
{ text: '已提交' },
{ text: '未提交' },
]),
orderTypeList: Object.freeze([
{ label: '战败' },
{ label: '成交' },
]),
receptionTypeList: Object.freeze([
{ label: '未复盘' },
{ label: '已复盘' },
]),
uploadTypeList: Object.freeze([
{ label: '待上传' },
{ label: '待提交' },
]),
itemObject: Object.freeze([
{ label: '客户电话', key: 'phoneNumber' },
{ label: '销售姓名', key: 'salesName' },
{ label: '接待时长', key: 'duration' },
{ label: '开始接待', key: 'startTime' },
{ label: '结束接待', key: 'endTime' },
]),
recordFailList: [],
preRecordFailList: [],
tabIndex: 0,
pageNum: 1,
total: 0,
list: [],
flag: false,
nothing: false,
pageSize: 10,
isPrePage: false
}
},
mounted () {
this.init();
this.getRecordNum()
this.getPreRecordNum()
},
methods: {
resetData () {
this.flag = false
this.nothing = false
this.total = 0
this.list = []
this.pageNum = 1
},
changeTab (index) {
if (this.tabIndex == index) return
this.resetData()
this.tabIndex = index
if (index == 0) this.getReceptionList()
else this.getRecordFail()
},
formatValue (val, k) {
if (!val) return
if (k == 'phoneNumber') {
val = val.toString()
return val.slice(0, 3) + " " + val.slice(3, 7) + " " + val.slice(7)
}
return val
},
jumpDetail (item) {
if (this.tabIndex == 0) { // 已上传 && 新质检
const { sceneType } = uni.$storage.get("userInfo");
if (sceneType == 1 || item.checkHistoryFlag != 0) return uni.showToast({
title: '该接待尚不支持复盘',
icon: "none"
})
uni.navigateTo({
url: `/pages/common/receptionDetail/index`,
success (res) {
res.eventChannel.emit('getData', item)
}
})
return
}
if (this.isPrePage) {
this.$emit('openRecordPage', item)
}
},
async getRecordNum () {
let recordFailListAll = await uni.$dbManager.getRecords();
if (typeof recordFailListAll == 'string') {
recordFailListAll = JSON.parse(recordFailListAll || '[]')
}
const { shopMerchantId, sceneType, phone } = uni.$storage.get("userInfo");
let recordFailList = recordFailListAll.filter(i => {
return i.merchantId == shopMerchantId && i.bussinessType == (sceneType == 0 ? 1 : 2) && i.loginPhone == phone
})
this.recordFailList = recordFailList.reverse();
},
async getPreRecordFail () {
await this.getPreRecordNum()
this.list[0] = this.preRecordFailList.map(i => {
return Object.assign(i, {
duration: 0,
startTime: i.receptionStartTime && i.receptionStartTime.replace(/\//g, '.')
})
})
this.isPrePage = true
this.flag = true
this.nothing = this.preRecordFailList.length ? true : false
},
async getPreRecordNum () {
const preRecordList = await this.recorder.getRecords()
this.preRecordFailList = preRecordList.reverse()
},
getRecordFail () {
this.getRecordNum()
this.list[0] = this.recordFailList.map(i => {
return {
receptionStatus: i.receptionStatus,
phoneNumber: i.phoneNumber,
salesName: i.salesName,
customerName: i.customerName,
carModel: i.carModel,
duration: this.formatSeconds(new Date(i.receptionEndTime).getTime() - new Date(i.receptionStartTime).getTime()),
startTime: i.receptionStartTime.replace(/\//g, '.'),
endTime: i.receptionEndTime.replace(/\//g, '.')
}
})
this.flag = true
this.isPrePage = false
this.nothing = this.recordFailList.length ? true : false
},
init () {
this.getReceptionList()
this.recorder = this.getRecorder()
},
async getReceptionList () {
try {
await uni.$isNetWork()
} catch (error) {
const recordSuccessList = JSON.parse(uni.$storage.get("recordSuccessList") || "{}")
this.list[0] = recordSuccessList[this.tabIndex] || []
this.flag = true
return
}
try {
uni.showLoading({
mask: true
})
const { tabIndex, pageNum, pageSize } = this,
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId, sceneType } = userInfo,
{ list, total } = await uni.$api.commonApi.getReceptionList({
merchantId: shopMerchantId,
pageNum,
pageSize,
startTime: '2024-01-01 00:00:00',
endTime: '2025-07-31 23:59:59',
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
uni.hideLoading()
list?.length && list.map(e => {
e.duration = this.formatSeconds(e.receptionEndTime - e.receptionStartTime)
e.startTime = dayjs(e.receptionStartTime).format("YYYY.MM.DD HH:mm:ss")
e.endTime = dayjs(e.receptionEndTime).format("YYYY.MM.DD HH:mm:ss")
})
if (pageNum == 1) {
const record = {
[tabIndex]: list
}
const recordSuccessList = JSON.parse(uni.$storage.get("recordSuccessList") || "{}")
const mergeRecord = Object.assign(recordSuccessList, record)
uni.$storage.set("recordSuccessList", JSON.stringify(mergeRecord))
}
this.$set(this.list, pageNum - 1, list)
// this.list[pageNum - 1] = list
this.flag = true
this.total = total
} catch (error) {
this.flag = true
}
},
formatTime (num) {
let minutes = Math.floor(num / 60) || '0',
seconds = num % 60 || '0'
seconds = seconds < 10 ? `0${seconds}` : seconds
return {
minutes,
seconds
}
},
formatSeconds (seconds) {
seconds = Math.floor(seconds / 1000)
let formattedTime = ''
if (seconds < 60) return seconds + '秒'
else {
let hours = Math.floor(seconds / 3600),
minutes = Math.floor((seconds % 3600) / 60),
remainingSeconds = seconds % 60
if (hours > 0) formattedTime += hours + '小时'
if (minutes > 0 || hours > 0) formattedTime += minutes + '分'
if (remainingSeconds > 0) formattedTime += remainingSeconds + '秒'
return formattedTime
}
},
pageonReachBottom () {
let { pageNum, total, nothing, pageSize } = this
if (this.firstIndex == 1) {
return
}
if (!nothing) nothing = 'nothing'
if (Math.ceil(total / pageSize) > pageNum) {
this.pageNum += 1
this.getReceptionList()
} else this.nothing = true
},
changeUploadType ({ index }) {
this.resetData()
if (index == 0) this.getRecordFail()
else this.getPreRecordFail()
},
async submitRecord (val) {
delete val.duration
delete val.startTime
const { maxUploadNum = 10 } = uni.$storage.get('mock_data')
if (val.recordUrlList.length > maxUploadNum) {
const userInfo = uni.$storage.get('userInfo')
const { customerName, phoneNumber, carModel, salesName } = val || {}
const { name } = userInfo || {}
uni.$logger.error({
msg: `员工: ${name}, 客户: ${customerName}`,
extra: {
'手机号: ': phoneNumber,
'姓名: ': customerName,
'销售: ': salesName,
'车型: ': carModel,
'原因: ': '录音文件过长,数量' + val.recordUrlList.length
}
})
}
val.recordUrlList = val.recordUrlList.slice(0, maxUploadNum)
await this.recorder.save(val)
this.getRecordNum()
await this.getPreRecordFail()
}
}
}
</script>
<style scoped lang="scss">
.record-box {
box-sizing: border-box;
height: 100%;
overflow: hidden;
.data-container {
background: #ffffff;
border-radius: toRpx(48);
height: 100%;
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border: toRpx(2) solid #fff;
box-sizing: border-box;
position: relative;
.control-box {
height: 164rpx;
.tabs {
display: flex;
justify-content: space-between;
width: toRpx(336);
height: toRpx(84);
background-color: #f2f2f2;
border-radius: toRpx(16);
margin-left: toRpx(44);
position: relative;
&::after {
position: absolute;
z-index: -2;
background: #ffffff;
width: 100%;
height: 100%;
left: 0;
top: 0;
content: '';
}
.tab {
width: toRpx(164);
height: toRpx(76);
justify-content: center;
color: #666666;
font-size: 28rpx;
z-index: 10;
position: relative;
.dot {
position: absolute;
top: 8rpx;
right: 28rpx;
width: 12rpx;
height: 12rpx;
background: #f24724;
border-radius: 100%;
}
}
.active {
color: #333333;
}
.active-btn {
position: absolute;
width: toRpx(164);
height: toRpx(76);
background: #ffffff;
top: 50%;
transform: translateY(-50%);
transition: all 0.15s;
border-radius: toRpx(16);
}
.active-btn-0 {
left: toRpx(4);
}
.active-btn-1 {
left: toRpx(168);
}
}
.select-box-list {
margin-left: auto;
gap: 0 40rpx;
}
.select-component {
margin-right: 44rpx;
}
}
}
.record-list {
box-sizing: border-box;
height: calc(100% - #{toRpx(164)});
position: relative;
z-index: 4;
}
.list {
display: flex;
flex-wrap: wrap;
gap: toRpx(40) toRpx(46);
padding: 2rpx toRpx(44) 0;
.item {
width: toRpx(608);
background: #ffffff;
box-sizing: border-box;
padding: toRpx(24) toRpx(32);
position: relative;
box-shadow: 0 toRpx(8) toRpx(24) 0 #2c66f71a;
border-radius: toRpx(16);
.status {
position: absolute;
top: toRpx(24);
right: toRpx(32);
width: toRpx(88);
height: toRpx(44);
background: #fdece9;
color: #f24724;
border-radius: toRpx(4);
font-weight: 500;
font-size: toRpx(24);
justify-content: center;
&.disabled {
background: #f2f2f2;
color: #999999;
}
}
.deal {
background: #eaf9f1;
color: #35c376;
}
.name {
font-weight: 500;
font-size: toRpx(32);
color: #292d33;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 70%;
}
.goods-name {
font-weight: 500;
font-size: toRpx(32);
color: #2c66f7;
margin-top: toRpx(16);
}
.info {
margin-top: toRpx(16);
font-size: toRpx(24);
color: #999ea8;
.value {
margin-left: auto;
color: #666666;
}
}
}
}
}
.nothing {
width: 100%;
flex-direction: column;
margin-top: toRpx(260);
font-size: toRpx(28);
color: #999999;
.icon {
width: toRpx(678);
height: toRpx(284);
margin-bottom: toRpx(24);
}
}
.end-text {
color: #999;
text-align: center;
padding: toRpx(50) 0;
font-size: toRpx(24);
}
</style>
<template>
<view class="reception-box">
<view :class="['record-box-content',{'hide-record':!showRecord}]">
<view class="left box-class">
<view class="common-title">
业绩看板
<view
:class="['sprite-icon',`icon-eyes-${dataShow?'on':'off'}`]"
@click="dataShow = !dataShow"
></view>
<view class="time-box flex">
时间进度
<view class="time-bar">
<view
class="time-line"
:style="{ width: timeProgress + '%' }"
></view>
</view>
<view class="progress">
{{timeProgress }}%
</view>
</view>
</view>
<view class="customer-box box">
<customer-flow />
</view>
<view class="linebar-box box">
<line-bar />
</view>
<view class="box">
<output-value />
</view>
</view>
<view class="right box-class">
<view class="type-box">
<view
class="tab-item"
v-for="(i, index) in typeList"
:key="index"
@click="tabIndex = index"
>
<view :class="['sprite-icon',tabIndex == index ? `icon-${firstClass[index]} active` : '', firstLeft[index]]"></view>
<view
class="text"
:class="[tabIndex == index ? `active` : '']"
>
{{ i.tabName }}
</view>
</view>
</view>
<view :class="['right-content']">
<customer-file />
</view>
<!-- <view class="right-content">
<record-list
@openRecordPage="openRecordPage"
ref="recordListRef"
/>
</view> -->
</view>
</view>
<template v-if="!showRecord">
<view :class="['save-record-box',backClass]">
<save-record
@cancel="handleCancel"
@submit="handleSubmit"
:customerInfoVal="customerInfo"
></save-record>
</view>
</template>
</view>
</template>
<script type='text/ecmascript-6'>
import dayjs from 'dayjs'
import CustomerFlow from './CustomerFlow.vue'
import LineBar from './LineBar.vue'
import OutputValue from './OutputValue.vue'
import RecordList from './RecordList.vue'
import saveRecord from './saveRecord.vue'
import CustomerFile from './CustomerFile.vue'
export default {
components: {
CustomerFlow,
LineBar,
OutputValue,
RecordList,
saveRecord,
CustomerFile
},
name: '',
data () {
return {
backClass: '',
showRecord: true,
customerInfo: {},
dataShow: true,
timeProgress: '',
tabIndex: 0,
typeList: Object.freeze([
{ tabName: '客户预录' },
{ tabName: '接待复盘' },
]),
firstLeft: Object.freeze(['first', 'second']),
firstClass: Object.freeze(['first-nav', 'second-nav']),
}
},
mounted () {
this.setTimeProgress()
},
methods: {
setTimeProgress () {
let nowNum = dayjs().date(),
monthDayNum = dayjs().daysInMonth()
this.timeProgress = parseInt(nowNum / monthDayNum * 100)
},
changeType (index, name) {
if (this[name] == index) return // 点击同一个
},
openRecordPage (item) {
this.showRecord = false
this.customerInfo = item
},
handleCancel () {
this.backClass = 'backClass'
setTimeout(() => {
this.showRecord = true;
this.backClass = ''
}, 300)
},
handleSubmit (val) {
this.handleCancel()
this.$refs.recordListRef.submitRecord(val)
},
}
}
</script>
<style scoped lang='scss'>
.reception-box {
.record-box-content {
position: relative;
height: 100vh;
box-sizing: border-box;
padding: 64rpx 0 80rpx;
display: flex;
gap: 0 48rpx;
visibility: visible;
transition: all .15s;
opacity: 1;
}
.hide-record {
opacity: 0;
z-index: -1;
visibility: hidden;
}
.box-class {
height: 100%;
background: #ffffff59;
backdrop-filter: blur(toRpx(16));
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border-radius: toRpx(48);
overflow: hidden;
}
.left {
width: 656rpx;
.common-title {
.sprite-icon {
margin-left: 16rpx;
zoom: 1.5;
}
.time-box {
position: absolute;
left: 48rpx;
bottom: 8rpx;
color: #999999;
font-size: 20rpx;
.time-bar {
width: 200rpx;
height: 16rpx;
border-radius: 8rpx;
background: #ffffff;
overflow: hidden;
margin: 0 12rpx;
.time-line {
height: 100%;
border-radius: 8rpx;
background: linear-gradient(90deg, #75bcff 0%, #2c66f7 100%);
}
}
.progress {
color: #4673ff;
font-weight: 500;
}
}
}
.box {
border-radius: 32rpx;
background: #ffffff;
backdrop-filter: blur(16rpx);
box-shadow: inset 0 0 16rpx 0 #ffffff;
margin: 20rpx 32rpx 0;
}
.customer-box {
margin: 24rpx 32rpx 20rpx;
}
}
.right {
width: 1354rpx;
&-content {
border-radius: 48rpx;
background: #ffffff;
height: calc(100% - 128rpx);
transform: translateY(-32rpx);
}
.type-box {
position: relative;
display: flex;
width: 100%;
background-color: #eef4fe;
height: toRpx(160);
line-height: toRpx(128);
border-radius: toRpx(48) toRpx(48) 0 0;
overflow: hidden;
z-index: 0;
.tab-item {
width: toRpx(400);
text-align: center;
font-weight: 500;
font-size: toRpx(40);
color: #1f2133;
.first {
left: 0;
}
.second {
left: toRpx(352);
}
.three {
left: toRpx(756);
}
.text {
position: relative;
text-align: center;
width: toRpx(400);
}
.active {
position: absolute;
top: 0;
z-index: -1;
font-weight: 700;
font-size: toRpx(40);
color: #2c66f7;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: toRpx(48);
height: toRpx(8);
background-color: #2c66f7;
border-radius: toRpx(16);
}
}
}
}
}
.save-record-box {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
animation: left-in 0.25s forwards;
}
.backClass {
animation: left-out 0.25s forwards;
}
@keyframes left-in {
0% {
left: 100%;
}
100% {
left: 0;
}
}
@keyframes left-out {
0% {
left:0;
}
100% {
left: 100%;
}
}
}
</style>
<template>
<view class="record-box">
<view
class="record-content"
v-if="showRecord"
>
<view class="data-box">
<template>
<view
v-for="(i, index) in dataList"
:class="['data-item', i.type]"
:key="index"
>
<image
:src="i.icon"
class="data-item-bg"
/>
<view class="title">{{ dateList[index].text }}</view>
<view class="content">
<view class="total">
<view class="label">{{ i.label }}</view>
<view class="num-box">
<view class="num">{{ i.count == null ? '-' : i.count }}</view>
</view>
</view>
<view class="duration">
<view class="label">平均接待时长</view>
<view class="num-box">
<view class="num">{{ i.minutes || '-' }}</view>
<view class="unit">分</view>
<view class="num">{{ i.seconds || '-' }}</view>
<view class="unit">秒</view>
</view>
</view>
</view>
</view>
</template>
</view>
<view class="data-container">
<view :class="['type-box']">
<view
class="tab-item"
v-for="(i, index) in typeList"
:key="index"
@click="changeType(index, 'firstIndex')"
>
<view :class="['sprite-icon',firstIndex == index ? `icon-${firstClass[index]} active` : '', firstLeft[index]]"></view>
<view
class="text"
:class="[firstIndex == index ? `active` : '']"
>
{{ i.tabName }}
<template>{{ i.num() }}</template>
<!-- <template>({{ preRecordFailList.length }})</template> -->
<div
class="dot"
:style="{ right: '86rpx' }"
v-if="i.dot && i.dot()"
></div>
</view>
</view>
</view>
<view class="tabs-bottom"></view>
<view
v-if="firstIndex == 0"
class="data-tabs-box"
>
<view class="data-tabs">
<template>
<view
v-for="(i, index) in dateList"
:class="['tab flex', { active: dateIndex == index }]"
:key="index"
@click="changeIndex(index)"
>{{ i.text }}</view>
</template>
<view :class="['active-btn', `active-btn-${dateIndex}`]"></view>
</view>
</view>
<scroll-view
:class="['record-list', { 'type-1': firstIndex == 1 }]"
scroll-y
@scrolltolower="pageonReachBottom"
@scroll="scroll"
>
<div
class="record-tips"
v-if="firstIndex == 2 && list.length && list[0] && list[0].length"
>以下非正常结束的接待记录,需要进行信息确认后才能提交到系统。</div>
<view class="list">
<template v-if="flag">
<template v-if="list.length && list[0] && list[0].length">
<template v-for="i in list">
<template>
<view
v-for="item in i"
class="item"
:key="item.id"
@click="jumpDetail(item)"
>
<view
class="status flex disabled"
v-if="item.receptionStatus === '' || item.receptionStatus === undefined"
>未知</view>
<view
:class="['status flex', { deal: item.receptionStatus == 1 }]"
v-else
>
{{
{
1: '成交',
0: '战败'
}[item.receptionStatus]
}}
</view>
<view class="name">
{{ item.customerName ? item.customerName : '未填写姓名' }}
</view>
<view class="goods-name">{{ item.carModel ? item.carModel : '未选择车型' }}</view>
<template>
<view
v-for="(k, ind) in itemObject"
class="info flex"
:key="ind"
>
<view class="label">{{ k.label }}</view>
<view class="value">{{ formatValue(item[k.key], k.key) || '-' }}</view>
</view>
</template>
</view>
</template>
</template>
</template>
<template v-else>
<view class="nothing flex">
<image
class="icon"
src="../../../assets/images/home/nothing.webp"
/>
暂无接待记录
</view>
</template>
</template>
</view>
<template v-if="nothing">
<view class="end-text">到底了!</view>
</template>
</scroll-view>
</view>
</view>
<save-record
v-else
@cancel="handleCancel"
@submit="handleSubmit"
:customerInfoVal="customerInfo"
></save-record>
</view>
</template>
<script type="text/ecmascript-6">
import dayjs from 'dayjs'
const dayImgUrl = require('@/assets/images/common/day.webp')
const weekImgUrl = require('@/assets/images/common/week.webp')
const monthImgUrl = require('@/assets/images/common/month.webp')
// import { STORAGE_OBJECTKEY } from '@/utils/cache/constantData'
// import {TempRecord} from '@/utils/recordManager/index'
// const _record = new TempRecord()
// import interruptRecord from '@/utils/recordManager/interruptRecord'
import saveRecord from './saveRecord.vue'
export default {
name: '',
components: { saveRecord },
inject: ['getRecorder'],
data () {
return {
dataList: Object.freeze([
{
label: '客户接待数',
type: 'day',
icon: dayImgUrl
},
{
label: '客户接待数',
type: 'week',
icon: weekImgUrl
},
{
label: '客户接待数',
type: 'month',
icon: monthImgUrl
}
]),
typeList: Object.freeze([
{ tabName: '已上传', num: () => '' },
{ tabName: '待上传', num: this.getTabCount('recordFailList') },
{ tabName: '待提交', num: this.getTabCount('preRecordFailList'), dot: () => this.preRecordFailList.length },
]),
firstIndex: 0,
firstLeft: Object.freeze(['first', 'second', 'three']),
firstClass: Object.freeze(['first-nav', 'second-nav', 'second-nav']),
dateList: Object.freeze([
{ text: '今日' },
{ text: '本周' },
{ text: '本月' },
]),
itemObject: Object.freeze([
{ label: '客户电话', key: 'phoneNumber' },
{ label: '销售姓名', key: 'salesName' },
{ label: '接待时长', key: 'duration' },
{ label: '开始接待', key: 'startTime' },
{ label: '结束接待', key: 'endTime' },
]),
showRecord: true,
recordFailList: [],
preRecordFailList: [],
customerInfo: {},
dateIndex: 0,
pageNum: 1,
total: 0,
list: [],
flag: false,
nothing: false,
pageSize: 18,
sticky: false
}
},
mounted () {
this.init();
this.getRecordNum()
this.getPreRecordNum()
},
methods: {
getTabCount (listName) {
return () => {
if (this[listName].length) {
return `(${this[listName].length})`;
}
return '';
};
},
formatValue (val, k) {
if (!val) return
if (k == 'phoneNumber') {
val = val.toString()
return val.slice(0, 3) + " " + val.slice(3, 7) + " " + val.slice(7)
}
return val
},
handleCancel () {
this.showRecord = true;
},
async handleSubmit (val) {
this.showRecord = true;
delete val.duration
delete val.startTime
const { maxUploadNum = 10 } = uni.$storage.get('mock_data')
if (val.recordUrlList.length > maxUploadNum) {
const userInfo = uni.$storage.get('userInfo')
const { customerName, phoneNumber, carModel, salesName } = val || {}
const { name } = userInfo || {}
uni.$logger.error({
msg: `员工: ${name}, 客户: ${customerName}`,
extra: {
'手机号: ': phoneNumber,
'姓名: ': customerName,
'销售: ': salesName,
'车型: ': carModel,
'原因: ': '录音文件过长,数量' + val.recordUrlList.length
}
})
}
val.recordUrlList = val.recordUrlList.slice(0, maxUploadNum)
await this.recorder.save(val)
this.getRecordNum()
await this.getPreRecordFail()
},
jumpDetail (item) {
if (this.firstIndex == 0) { // 已上传 && 新质检
const { sceneType } = uni.$storage.get("userInfo");
if (sceneType == 1 || item.checkHistoryFlag != 0) return uni.showToast({
title: '该接待尚不支持复盘',
icon: "none"
})
uni.navigateTo({
url: `/pages/common/receptionDetail/index`,
success (res) {
res.eventChannel.emit('getData', item)
}
})
return
}
if (this.firstIndex != 2) return
this.showRecord = false;
this.customerInfo = item
},
changeType (index, name) {
if (this[name] == index) return // 点击同一个
this.direction = ''
if (this[name] < index) {
this.direction = 'right'
} else {
this.direction = 'left'
}
this[name] = index
this.list = []
this.pageNum = 1;
this.nothing = false
switch (index) {
case 0:
this.changeIndex(this.dateIndex, true)
this.getRecordNum()
break;
case 1:
this.getRecordFail()
break;
default:
this.getPreRecordFail()
break;
}
},
scroll (e) {
this.sticky = e.detail.scrollTop >= 148
},
async getRecordNum () {
let recordFailListAll = await uni.$dbManager.getRecords();
if (typeof recordFailListAll == 'string') {
recordFailListAll = JSON.parse(recordFailListAll || '[]')
}
const { shopMerchantId, sceneType, phone } = uni.$storage.get("userInfo");
let recordFailList = recordFailListAll.filter(i => {
return i.merchantId == shopMerchantId && i.bussinessType == (sceneType == 0 ? 1 : 2) && i.loginPhone == phone
})
this.recordFailList = recordFailList.reverse();
},
async getPreRecordFail () {
await this.getPreRecordNum()
this.list[0] = this.preRecordFailList.map(i => {
return Object.assign(i, {
duration: 0,
startTime: i.receptionStartTime && i.receptionStartTime.replace(/\//g, '.')
})
})
this.nothing = this.preRecordFailList.length ? true : false
},
async getPreRecordNum () {
const preRecordList = await this.recorder.getRecords()
this.preRecordFailList = preRecordList.reverse()
},
getRecordFail () {
this.getRecordNum()
this.list[0] = this.recordFailList.map(i => {
return {
receptionStatus: i.receptionStatus,
phoneNumber: i.phoneNumber,
salesName: i.salesName,
customerName: i.customerName,
carModel: i.carModel,
duration: this.formatSeconds(new Date(i.receptionEndTime).getTime() - new Date(i.receptionStartTime).getTime()),
startTime: i.receptionStartTime.replace(/\//g, '.'),
endTime: i.receptionEndTime.replace(/\//g, '.')
}
})
this.nothing = this.recordFailList.length ? true : false
},
init () {
this.dateList.map((e, index) => {
const tatget = ['day', 'week', 'month'][index]
const {
startTime,
endTime
} = this.getDateRange(tatget)
e.startTime = startTime
e.endTime = endTime
})
this.getReceptionList()
this.getReceptionStatistics(0)
this.recorder = this.getRecorder()
},
async getReceptionStatistics (index) {
try {
const { dateList } = this,
{ startTime, endTime } = dateList[index],
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId, sceneType } = userInfo,
data = await uni.$api.commonApi.getReceptionStatistics({
merchantId: shopMerchantId,
startTime,
endTime,
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
if (data.avgTime) {
const { minutes, seconds } = this.formatTime(data.avgTime)
data.minutes = minutes
data.seconds = seconds
}
this.$set(this.dataList, index, { ...this.dataList[index], ...data })
if (index < 2) this.getReceptionStatistics(++index)
} catch (error) {
}
},
async getReceptionList () {
try {
await uni.$isNetWork()
} catch (error) {
const recordSuccessList = JSON.parse(uni.$storage.get("recordSuccessList") || "{}")
this.list[0] = recordSuccessList[this.dateIndex] || []
this.flag = true
return
}
try {
uni.showLoading({
mask: true
})
const { dateList, dateIndex, pageNum, pageSize } = this,
{ startTime, endTime } = dateList[dateIndex],
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId, sceneType } = userInfo,
{ list, total } = await uni.$api.commonApi.getReceptionList({
merchantId: shopMerchantId,
pageNum,
pageSize,
startTime,
endTime,
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
uni.hideLoading()
list?.length && list.map(e => {
e.duration = this.formatSeconds(e.receptionEndTime - e.receptionStartTime)
e.startTime = dayjs(e.receptionStartTime).format("YYYY.MM.DD HH:mm:ss")
e.endTime = dayjs(e.receptionEndTime).format("YYYY.MM.DD HH:mm:ss")
})
if (pageNum == 1) {
const record = {
[dateIndex]: list
}
const recordSuccessList = JSON.parse(uni.$storage.get("recordSuccessList") || "{}")
const mergeRecord = Object.assign(recordSuccessList, record)
uni.$storage.set("recordSuccessList", JSON.stringify(mergeRecord))
}
this.$set(this.list, pageNum - 1, list)
// this.list[pageNum - 1] = list
this.flag = true
this.total = total
} catch (error) {
this.flag = true
}
},
formatTime (num) {
let minutes = Math.floor(num / 60) || '0',
seconds = num % 60 || '0'
seconds = seconds < 10 ? `0${seconds}` : seconds
return {
minutes,
seconds
}
},
formatSeconds (seconds) {
seconds = Math.floor(seconds / 1000)
let formattedTime = ''
if (seconds < 60) return seconds + '秒'
else {
let hours = Math.floor(seconds / 3600),
minutes = Math.floor((seconds % 3600) / 60),
remainingSeconds = seconds % 60
if (hours > 0) formattedTime += hours + '小时'
if (minutes > 0 || hours > 0) formattedTime += minutes + '分'
if (remainingSeconds > 0) formattedTime += remainingSeconds + '秒'
return formattedTime
}
},
changeIndex (index, isType = false) {
if (this.dateIndex == index && !isType) return
this.flag = false
this.nothing = false
this.total = 0
this.list = []
this.pageNum = 1
this.dateIndex = index
this.getReceptionList()
this.getReceptionStatistics(0)
},
pageonReachBottom () {
let { pageNum, total, nothing, pageSize } = this
if (this.firstIndex == 1) {
return
}
if (!nothing) nothing = 'nothing'
if (Math.ceil(total / pageSize) > pageNum) {
this.pageNum += 1
this.getReceptionList()
} else this.nothing = true
},
getDateRange (type) {
let now = new Date();
let startTime, endTime;
if (type === 'day') {
startTime = new Date(now.getFullYear(), now.getMonth(), now.getDate());
endTime = new Date(now.getFullYear(), now.getMonth(), now.getDate());
} else if (type === 'week') {
let dayOfWeek = now.getDay();
if (dayOfWeek == 0) dayOfWeek = 7
startTime = new Date(now.getFullYear(), now.getMonth(), now.getDate() - dayOfWeek + 1);
endTime = new Date(now.getFullYear(), now.getMonth(), now.getDate() + (7 - dayOfWeek));
} else if (type === 'month') {
startTime = new Date(now.getFullYear(), now.getMonth(), 1);
endTime = new Date(now.getFullYear(), now.getMonth() + 1, 0);
} else {
return 'Invalid type';
}
return {
startTime: dayjs(startTime).format("YYYY-MM-DD") + ' 00:00:00',
endTime: dayjs(endTime).format("YYYY-MM-DD") + ' 23:59:59'
};
}
}
}
</script>
<style scoped lang="scss">
.record-box {
box-sizing: border-box;
height: 100%;
overflow: hidden;
.record-content {
padding: toRpx(96) 0;
.data-container {
background: #ffffff;
border-radius: toRpx(48);
margin-top: toRpx(48);
height: 72.39vh;
margin-right: toRpx(66);
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border: toRpx(2) solid #fff;
box-sizing: border-box;
position: relative;
overflow: hidden;
.type-box {
position: relative;
display: flex;
width: 100%;
background-color: #eef4fe;
height: toRpx(176);
line-height: toRpx(128);
border-radius: toRpx(48) toRpx(48) 0 0;
z-index: 0;
.tab-item {
width: toRpx(400);
text-align: center;
font-weight: 500;
font-size: toRpx(40);
color: #1f2133;
.first {
left: 0;
}
.second {
left: toRpx(352);
}
.three {
left: toRpx(756);
}
.text {
position: relative;
text-align: center;
width: toRpx(400);
.dot {
width: toRpx(16);
height: toRpx(16);
background: #f24724;
position: absolute;
top: toRpx(40);
border-radius: 50%;
right: toRpx(86);
}
}
.active {
position: absolute;
top: 0;
z-index: -1;
font-weight: 700;
font-size: toRpx(40);
color: #2c66f7;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: toRpx(48);
height: toRpx(8);
background-color: #2c66f7;
border-radius: toRpx(16);
}
}
}
}
}
}
.record-list {
height: calc(100% - #{toRpx(286)});
position: relative;
z-index: 4;
}
.type-1 {
height: calc(100% - #{toRpx(128)});
margin-top: toMinusRpx(48);
.list {
padding-top: toRpx(48);
}
}
.record-tips {
height: toRpx(76);
background: #f58e341a;
border-radius: toRpx(16);
text-align: center;
line-height: toRpx(76);
font-size: toRpx(28);
color: #f58e34;
margin-left: toRpx(60);
width: calc(100% - #{toRpx(120)});
}
.list {
display: flex;
flex-wrap: wrap;
gap: toRpx(40) toRpx(44);
padding: toRpx(40) 0 toRpx(20) toRpx(64);
.item {
width: toRpx(608);
background: #ffffff;
box-sizing: border-box;
padding: toRpx(24) toRpx(32);
position: relative;
box-shadow: 0 toRpx(8) toRpx(24) 0 #2c66f71a;
border-radius: toRpx(16);
.status {
position: absolute;
top: toRpx(24);
right: toRpx(32);
width: toRpx(88);
height: toRpx(44);
background: #fdece9;
color: #f24724;
border-radius: toRpx(4);
font-weight: 500;
font-size: toRpx(24);
justify-content: center;
&.disabled {
background: #f2f2f2;
color: #999999;
}
}
.deal {
background: #eaf9f1;
color: #35c376;
}
.name {
font-weight: 500;
font-size: toRpx(32);
color: #292d33;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 70%;
}
.goods-name {
font-weight: 500;
font-size: toRpx(32);
color: #2c66f7;
margin-top: toRpx(16);
}
.info {
margin-top: toRpx(16);
font-size: toRpx(24);
color: #999ea8;
.value {
margin-left: auto;
color: #666666;
}
}
}
}
}
.data-box {
display: flex;
gap: 0 toRpx(60);
// justify-content: space-between;
.data-item {
// width: toRpx(640);
width: 30.38%;
height: toRpx(200);
position: relative;
font-weight: 500;
font-size: toRpx(28);
.title {
position: absolute;
left: toRpx(28);
top: toRpx(8);
z-index: 5;
font-weight: 500;
font-size: toRpx(24);
color: #ffffff;
}
&::after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: toRpx(32);
content: '';
z-index: -1;
}
.data-item-bg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
width: 100%;
height: 100%;
vertical-align: top;
}
.content {
width: 100%;
height: 100%;
display: flex;
align-items: center;
.total,
.duration {
padding-top: toRpx(10);
flex: 1;
.label {
margin-bottom: toRpx(16);
}
.num-box {
.num {
font-family: 'number-700';
font-size: toRpx(48);
font-weight: 700;
margin: 0 toRpx(4);
}
.unit {
font-weight: 500;
font-size: toRpx(24);
}
}
}
.total {
padding-left: toRpx(96);
}
.duration {
.num-box {
display: flex;
align-items: baseline;
}
}
}
}
.day {
color: #3b73ff;
&::after {
box-shadow: 0 toRpx(12) toRpx(24) 0 #3b73ff26;
}
}
.week {
color: #7c5afd;
&::after {
box-shadow: 0 toRpx(12) toRpx(24) 0 #8258ff26;
}
}
.month {
color: #ff8e43;
&::after {
box-shadow: 0 toRpx(12) toRpx(24) 0 #ff8e4326;
}
}
}
.tabs-bottom {
background: #fff;
height: toRpx(48);
position: relative;
border-radius: 24px 24px 0 0;
position: absolute;
width: 100%;
top: toRpx(128);
}
.data-tabs-box {
position: relative;
top: 0;
margin-top: toMinusRpx(8);
.data-tabs {
display: flex;
justify-content: space-between;
width: toRpx(552);
height: toRpx(76);
background-color: #f2f2f2;
border-radius: toRpx(16);
margin-left: toRpx(60);
position: relative;
&::after {
position: absolute;
z-index: -2;
background: #ffffff;
width: 100%;
height: 100%;
left: 0;
top: 0;
content: '';
}
.tab {
width: toRpx(184);
height: toRpx(76);
justify-content: center;
font-weight: 500;
font-size: toRpx(32);
color: #1f2133;
z-index: 10;
opacity: 0.7;
}
.active {
opacity: 1;
font-weight: 500;
}
.active-btn {
position: absolute;
width: toRpx(180);
height: toRpx(68);
background: #ffffff;
top: toRpx(4);
transition: all 0.15s;
border-radius: toRpx(16);
}
.active-btn-0 {
left: toRpx(4);
}
.active-btn-1 {
left: toRpx(184);
}
.active-btn-2 {
left: toRpx(368);
}
}
}
.sticky {
position: sticky;
top: 0;
background-image: url('../../../assets/images/home/tab-bg.webp');
background-size: 100% toRpx(240);
background-attachment: fixed !important;
padding: toRpx(80) 0 toRpx(90);
}
.nothing {
width: 100%;
flex-direction: column;
margin-top: toRpx(112);
font-size: toRpx(28);
color: #999999;
.icon {
width: toRpx(678);
height: toRpx(284);
margin-bottom: toRpx(24);
}
}
.end-text {
color: #999;
text-align: center;
padding: toRpx(50) 0;
font-size: toRpx(24);
}
.bottom-mask {
position: fixed;
left: toRpx(220);
bottom: 0;
width: calc(100vw - #{toRpx(220)});
height: toRpx(80);
background-image: linear-gradient(180deg, #e9f1fe00 0%, #e9f1fe 50%, #e9f1fe 100%);
}
</style>
<template>
<div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
......@@ -91,7 +91,7 @@
</view>
</template>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
......
......@@ -19,46 +19,48 @@
@click.stop="closeTips"
>{{tipsObject.text}}</view>
<view class="right-side">
<template v-if="tabIndex == 0">
<view class="right-content">
<view
class="start"
@click="$emit('start')"
>
<view class="sprite-icon icon-start-text"></view>
</view>
<view class="right-content-box flex">
<view class="content-left">
<view class="module-box box-class">
<view class="common-title">产品介绍</view>
<view class="content-box">
<slot name="module" />
</view>
</view>
<view class="tool-box box-class">
<view class="common-title">展业工具</view>
<view class="content-box">
</view>
<view :class="['app-content-box right-content',{'show-content-box':tabIndex == 0}]">
<view
class="start"
@click="$emit('start')"
>
<view class="sprite-icon icon-start-text"></view>
</view>
<view class="right-content-box flex">
<view class="content-left">
<view class="module-box box-class">
<view class="common-title">产品介绍</view>
<view class="content-box">
<swiper-component
:moduleList="moduleList"
@click="swiperClick"
:stopAutoPlay="previewOff"
></swiper-component>
</view>
</view>
<view class="content-right box-class">
<view class="common-title">服务中心</view>
<view class="tool-box box-class">
<view class="common-title">展业工具</view>
<view class="content-box">
</view>
</view>
</view>
<view class="content-right box-class">
<view class="common-title">服务中心</view>
<view class="content-box">
</view>
</view>
</view>
</template>
<template v-else-if="tabIndex == 99">
</view>
<view :class="['app-content-box right-content',{'show-content-box':tabIndex == 99}]">
<component
:is="'Point'"
ref="pointRef"
:userInfo="userInfo"
@showPage="handleShowPage"
/>
</template>
<template v-else>
</view>
<template v-if="tabIndex != 0 && tabIndex != 99">
<component
:is="componentName"
ref="pointRef"
......@@ -67,13 +69,13 @@
:isPermissionFunction="isPermission"
/>
</template>
<view
class="store-addr"
v-if="footerBox"
>
<view class="icon-addr sprite-icon icon-addr"></view>
<view class="addr-text">{{ userInfo.shopMerchantName }}</view>
</view>
</view>
<view
class="store-addr"
v-if="footerBox"
>
<view class="icon-addr sprite-icon icon-addr"></view>
<view class="addr-text">{{ userInfo.shopMerchantName }}</view>
</view>
</view>
<view :class="['detail', { show: id }]">
......@@ -93,12 +95,12 @@
<!-- 未点击开始接待,弹窗 -->
<MessageBox
ref="previewRef"
@confirm="$emit('preview')"
@confirm="previewHandler('preview',true)"
:popupW="704"
content="直接点击素材可进行预览,若面向车主展示,请点击「开始接待」"
confirmBtnText="预览素材"
@cancel="$emit('previewCancel')"
@close="$emit('previewClose')"
@cancel="previewHandler('previewCancel')"
@close="previewHandler('previewClose')"
></MessageBox>
<!-- 停留弹框 -->
<!-- <MessageBox ref="tipBox" @cancel="tipCancel" @confirm="tipConfirm" content="系统检测到您在当前页面停留较久,是否仍在客户接待中?" cancelBtnText="否" confirmBtnText="是"></MessageBox> -->
......@@ -147,14 +149,13 @@
</view>
</template>
<script>
import RecordList from './components/RecordList.vue'
import AIBazaar from './components/AIBazaar.vue'
import ReceptionCenter from './components/ReceptionCenter/index.vue'
import SceneMarket from './components/SceneMarket/index.vue'
// import myClick from '@/mixin/click'
import timeout from '@/mixin/timeout'
import recorder from '@/mixin/record/recorder'
import uploader from '@/mixin/record/uploader.js'
import versionCheck from '@/mixin/versionCheck.js'
import CustomerFile from './components/CustomerFile.vue'
import LeftSide from './components/LeftSide.vue'
import Point from './components/Point.vue'
import dayPoint from './components/Point/DayPoint.vue'
......@@ -169,15 +170,20 @@ import History from './components/Income/History.vue'
import merge from '@/mixin/record/merge.js'
import MessageDetail from './components/Message/MessageDetail.vue'
import StudyCenter from './components/StudyCenter.vue'
import SwiperComponent from '../SwiperComponent.vue'
export default {
mixins: [recorder, uploader, timeout, versionCheck, merge],
components: { RecordList, StudyCenter, AIBazaar, CustomerFile, LeftSide, Point, dayPoint, rulePoint, Course, Ranking, LevelPoint, Calendar, Promotion, History, LevelMedal, MessageDetail },
components: { ReceptionCenter, StudyCenter, SceneMarket, LeftSide, Point, dayPoint, rulePoint, Course, Ranking, LevelPoint, Calendar, Promotion, History, LevelMedal, MessageDetail, SwiperComponent },
props: {
id: [String, Number],
finishDoneText: String,
finishContene: {
type: String,
default: '当前操作视为强制退出接待,若需正常流程完成接待请点击「完成接待」'
},
moduleList: {
type: Array,
default: () => []
}
},
data () {
......@@ -191,7 +197,9 @@ export default {
userInfo: {},
tabIndex: 0,
showBeisen: false,
tipsObject: {}
tipsObject: {},
autoplay: true,
previewOff: false,
}
},
mounted () {
......@@ -213,15 +221,16 @@ export default {
return this.$refs.finish
},
componentName () {
console.log(this.$refs.leftBox.tabs, this.tabIndex, this.$refs.leftBox.tabs[this.tabIndex].name)
return this.$refs.leftBox.tabs[this.tabIndex].name
let tabs = this.$refs.leftBox?.tabs
return tabs ? tabs[this.tabIndex].name : ''
}
},
methods: {
async changeTab ($event, jumpUrl) {
this.$emit('changeTab', $event)
async changeTab ({ item, jumpUrl, index }) {
this.previewOff = index != 0
this.$emit('changeTab', index)
this.showBeisen = false
if ($event.isTrack) {
if (item.isTrack) {
this.jumpUrl = jumpUrl
if (!this.jumpUrl) {
uni.showToast({
......@@ -347,8 +356,15 @@ export default {
style: '',
text: ''
}
}
},
swiperClick (e) {
this.previewOff = true
this.$emit('swiperClick', e)
},
previewHandler (name, off = false) {
this.previewOff = off
this.$emit(name)
},
}
}
</script>
......@@ -401,6 +417,43 @@ export default {
.home {
display: flex;
height: 100vh;
position: relative;
.store-addr {
position: absolute;
left: 50%;
bottom: toRpx(24);
transform: translateX(-50%);
display: flex;
align-items: center;
.icon-addr {
width: toRpx(32);
height: toRpx(32);
flex-shrink: 0;
}
.addr-text {
font-size: toRpx(24);
color: #999999;
word-wrap: break-word;
white-space: normal;
line-height: toRpx(32);
margin-left: toRpx(4);
flex-shrink: 0;
}
&::before,
&::after {
content: '';
width: toRpx(600);
height: toRpx(2);
margin: 0 toRpx(40);
}
&::before {
background-image: linear-gradient(270deg, #eeeeee 0%, #d8d8d800 100%);
}
&::after {
background-image: linear-gradient(90deg, #eeeeee 0%, #d8d8d800 100%);
}
}
}
.show {
position: absolute;
......@@ -464,6 +517,7 @@ export default {
overflow: hidden;
}
.content-box {
position: relative;
width: 100%;
height: calc(100% - #{toRpx(120)});
}
......@@ -477,7 +531,7 @@ export default {
height: toRpx(664);
margin-bottom: toRpx(48);
}
.tool-box{
.tool-box {
height: calc(100% - #{toRpx(712)});
}
}
......@@ -485,43 +539,16 @@ export default {
width: toRpx(800);
}
}
.store-addr {
.app-content-box {
position: absolute;
left: 50%;
bottom: toRpx(24);
transform: translateX(-50%);
display: flex;
align-items: center;
margin-top: toRpx(38);
.icon-addr {
width: toRpx(32);
height: toRpx(32);
flex-shrink: 0;
}
.addr-text {
font-size: toRpx(24);
color: #999999;
word-wrap: break-word;
white-space: normal;
line-height: toRpx(32);
margin-left: toRpx(4);
flex-shrink: 0;
}
&::before,
&::after {
content: '';
width: toRpx(600);
height: toRpx(2);
margin: 0 toRpx(40);
}
&::before {
background-image: linear-gradient(270deg, #eeeeee 0%, #d8d8d800 100%);
}
&::after {
background-image: linear-gradient(90deg, #eeeeee 0%, #d8d8d800 100%);
}
left: 0;
top: 0;
opacity: 0;
z-index: -999;
}
.show-content-box {
opacity: 1;
z-index: 1;
}
}
.footer {
......
<template>
<view class="select-box">
<view
class="select"
@click.stop="isSelect = !isSelect"
>
{{selectList[selectIndex].label}}
<view class="sprite-icon icon-arrow-bottom"></view>
</view>
<view
class="pop-box"
v-if="isSelect"
>
<view
v-for="(i,index) in selectList"
:key="index"
class="type-item"
:class="index == selectIndex ? 'active' : ''"
@click="chooseType(index, i)"
>{{i[labelKey]}}</view>
</view>
</view>
</template>
<script type='text/ecmascript-6'>
export default {
props: {
selectList: Array,
labelKey: {
type: String,
default: 'label'
}
},
name: '',
data () {
return {
selectIndex: 0,
isSelect: false
}
},
mounted () {
},
methods: {
hideSelect () {
this.isSelect = false
},
chooseType (index, item) {
this.selectIndex = index
this.isSelect = false
this.$emit('chooseType', { item, index })
},
}
}
</script>
<style scoped lang='scss'>
.select-box {
position: relative;
z-index: 5;
.select {
display: flex;
align-items: center;
justify-content: flex-end;
height: 84rpx;
border-radius: 16rpx;
opacity: 1;
background: #f2f2f2;
padding: 0 24rpx 0 40rpx;
}
.arrow-bottom {
width: toRpx(48);
height: toRpx(48);
}
.pop-box {
position: absolute;
top: 100rpx;
left: 0;
width: 100%;
background: #ffffff;
box-shadow: 0 0 16rpx 0 #99999933;
border-radius: toRpx(16);
padding: toRpx(16) 0;
text-align: center;
animation: show-view-opacity 0.15s forwards;
.type-item {
padding: 0 toRpx(24);
margin-bottom: toRpx(8);
height: toRpx(48);
line-height: toRpx(48);
&:last-child {
margin-bottom: 0;
}
&.active {
background-color: #ecf1ff;
}
}
}
}
</style>
\ No newline at end of file
<template>
<view class="swiper-box">
<view
class="swiper-carousel"
@touchstart="starts"
@touchend="ends"
>
<template v-for="(item,index) in imagelist">
<view
:key="index"
class="carousel-block"
@click.stop="changeBlock(item)"
:style="{
left:item.left,
top:item.top,
zIndex:item.zIndex,
width:item.width,
height:item.height,
transition:item.transition+'s all',
}"
>
<image
class="image-block"
:src="item.imgKey"
@load="item.hide = true"
/>
<view :class="['error-block',{hide:item.hide}]">
<uni-icons
:type="icon"
:size="size"
color="#909399"
></uni-icons>
</view>
</view>
</template>
</view>
<view class="module-title flex">
{{moduleTitle}}
<view class="module-dots flex">
<template v-for="(i,index) in moduleList">
<div
:class="['dot', {'active': index == currentIndex}]"
:key="index"
>
</div>
</template>
</view>
</view>
</view>
</template>
<script>
export default {
name: 'SwiperComponent',
props: {
moduleList: {
type: Array,
default: () => []
},
imgKey: {
type: String,
default: 'thumbnail'
},
icon: {
type: String,
default: 'image'
},
size: {
type: [Number, String],
default: '40'
},
interval: {
type: [Number, String],
default: 3000
},
autoplay: {
type: Boolean,
default: true
},
stopAutoPlay: {
type: Boolean,
default: false
},
},
watch: {
moduleList: {
handler (val) {
if (val.length && !this.imagelist.length) this.getDatalist()
},
deep: true
},
stopAutoPlay: {
handler (val) {
if (this.autoplay && !val) this.autoPlayFunction()
},
deep: true
}
},
computed: {
moduleTitle () {
return this.moduleList[this.currentIndex]?.detailTitle
}
},
created () {
// this.getDatalist()
},
data () {
return {
datalist: [],
imagelist: [],
ismove: 0,
currentIndex: 0,
autoPlayTimer: null,
endTimer: null,
playStatus: true,
style_object: Object.freeze([
{ index: 0, left: '150rpx', top: '68rpx', height: '306rpx', width: '468rpx', zIndex: 15, transition: 0.1 },
{ index: 1, left: '294rpx', top: '16rpx', height: '408rpx', width: '624rpx', zIndex: 20, transition: 0.3 },
{ index: 2, left: '592rpx', top: '68rpx', height: '306rpx', width: '468rpx', zIndex: 15, transition: 0.1 }
])
}
},
beforeDestroy () {
// 组件销毁时清理自动播放定时器
if (this.autoPlayTimer) {
clearTimeout(this.autoPlayTimer);
this.autoPlayTimer = null;
}
},
methods: {
getDatalist () {
if (this.moduleList) {
this.datalist = JSON.parse(JSON.stringify(this.moduleList))
let num = 3
let diff = num - this.moduleList.length
if (diff > 0) {
for (let i = 0; i < diff; i++) {
let obj = {}
obj[this.imgKey] = ''
this.datalist.push(obj)
}
}
this.getImagelist()
}
},
getImagelist () {
let { datalist, autoplay } = this
this.imagelist = JSON.parse(JSON.stringify(this.style_object))
this.imagelist.forEach((item, index) => {
const dataIndex = index - 1 < 0 ? datalist.length - 1 : index - 1
item.isIndex = dataIndex
item.isToor = index
item.imgKey = datalist[dataIndex]?.[this.imgKey] || ''
item.scale = 1
item.translateX = 0
})
if (autoplay) this.autoPlayFunction()
},
autoPlayFunction () {
if (this.stopAutoPlay || !this.playStatus) {
if (this.autoPlayTimer) {
clearTimeout(this.autoPlayTimer);
this.autoPlayTimer = null;
}
return;
}
// 设置新的自动播放定时器
this.autoPlayTimer = setTimeout(() => {
// 再次检查是否需要停止播放
if (this.stopAutoPlay || !this.playStatus) {
clearTimeout(this.autoPlayTimer);
this.autoPlayTimer = null;
return;
}
// 执行轮播动画并递归调用自身
this.updateCarouselPositions();
this.autoPlayFunction();
}, this.interval);
},
updateCarouselPositions (direction = 'left') {
let { imagelist, datalist } = this,
len = datalist.length - 1,
index = direction == 'left' ? 0 : 2,
list = JSON.parse(JSON.stringify(this.style_object))
this.imagelist.forEach(item => {
let toor = direction == 'left' ?
(item.isToor - 1) < 0 ? imagelist.length - 1 : item.isToor - 1
: (item.isToor + 1) > imagelist.length - 1 ? 0 : item.isToor + 1
item.isToor = toor
const style = list[toor]
Object.assign(item, {
transition: style.transition,
left: style.left,
top: style.top,
width: style.width,
height: style.height,
zIndex: style.zIndex,
scale: 1,
translateX: 0
})
if (item.index == index) {
let isIndex = item.isIndex + 3
if (isIndex == len + 3) isIndex = 2
if (isIndex == len + 1) isIndex = 0
if (isIndex > len) isIndex = 1
item.isIndex = isIndex
item.imgKey = datalist[isIndex][this.imgKey] || ''
}
item.index = list[toor].index
})
let currentIndex = this.imagelist.findIndex(item => item.index == 1)
this.currentIndex = this.imagelist[currentIndex].isIndex
},
changeBlock (item) {
let toor = item.isToor
if (toor === 0) this.updateCarouselPositions('right')
if (toor == 2) this.updateCarouselPositions()
this.$emit('click', item.isIndex)
},
starts (e) {
this.ismove = e.touches[0].pageX
this.playStatus = false
if (this.endTimer) {
clearInterval(this.endTimer)
this.endTimer = null
}
},
ends (e) {
let pageX = e.changedTouches[0].pageX
let nums = this.ismove - pageX
if (nums > 50) this.updateCarouselPositions()
if (nums < -50) this.updateCarouselPositions('right')
if (this.endTimer) {
clearInterval(this.endTimer)
this.endTimer = null
return
}
this.endTimer = setTimeout(() => {
this.playStatus = true
this.autoPlayFunction()
}, this.interval)
},
}
}
</script>
<style lang="scss" scoped>
.swiper-carousel {
width: 100%;
height: 428rpx;
position: relative;
overflow: hidden;
.carousel-block {
position: absolute;
border-radius: 10upx;
overflow: hidden;
box-shadow: 0 0 5px #0000001a;
transition: all 0.2s ease; /* 添加过渡 */
border: 1.5rpx solid #ffffffb3;
box-shadow: 0 3rpx 12rpx 0 #5294ff33;
border-radius: 24rpx;
.image-block {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-size: 100% 100%;
z-index: 5;
}
.error-block {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: #f5f7fa;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
.hide {
opacity: 0;
}
}
}
.module-title {
color: #333333;
font-size: 24rpx;
margin-top: 24rpx;
justify-content: center;
position: relative;
.module-dots {
position: absolute;
top: 50%;
right: 48rpx;
transform: translateY(-50%);
gap: 12rpx;
.dot {
width: 12rpx;
height: 12rpx;
opacity: 1;
background: #0007400d;
}
.active {
background: #fff;
}
}
}
</style>
......@@ -108,7 +108,7 @@
</template>
</view>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
......
......@@ -9,110 +9,10 @@
finishDoneText="下一步"
finishContene="当前操作是为强制退出接待,若完成客户接待请点击「下一步」。"
@previewCancel="cancel"
@previewClose="previewOff = false"
class="container"
:moduleList="moduleList"
@swiperClick="toDetail"
>
<template slot="module">
<view class="module-box">
<view class="module-flex flex">
<template v-for="(i, index) in moduleList">
<view
class="item flex"
:key="index"
v-if="!i.hide"
@click="toDetail(i)"
>
<image
:src="i.thumbnail"
class="icon"
/>
{{ i.title }}
<template v-if="i.count">
<div class="count">
{{i.count}}
</div>
</template>
</view>
</template>
</view>
<view class="center-bg"></view>
<view class="banner-tab-scroll">
<scroll-view
class="banner-tab-box-content"
scroll-x
:scroll-into-view="bannerTabId"
scroll-with-animation
>
<view class="banner-tab-box flex">
<template v-for="(item, index) in carBannerList">
<view
:class="['banner-item',{'has-title':showCarBrand(item,index)},{'is-first':index == 0}]"
:key="index"
:id="`car-banner-${index}`"
>
<view class="banner-title">{{item.title}}</view>
<view
:class="['banner-tab', `${currentIndex == index ? 'active' : ''}`]"
@click="changeIndex(index)"
>
{{ item.name }}
</view>
</view>
</template>
<view class="block"></view>
</view>
</scroll-view>
<view class="banner-tab-mask"></view>
</view>
<swiper
class="swiper"
circular
interval="3000"
previous-margin="380rpx"
next-margin="448rpx"
@change="swiperChange"
:current="currentIndex"
:autoplay="bannerAutoplay && !previewOff"
>
<!-- :autoplay="bannerAutoplay && !previewOff" -->
<template v-for="(item, index) in carBannerList">
<swiper-item
:key="index"
:class="['swiper-item flex', carClass(index)]"
@click.prevent="clickCar(item, index)"
>
<image
:src="item.url"
class="car-item"
/>
<template v-if="currentIndex == index">
<view class="config-box">
<template v-for="(i, ind) in item.configList">
<view
:class="['config-item', i.class]"
:key="ind"
@click.stop="toDetail({ id: 1, tabId: i.tabId })"
>
<view class="config-dots"></view>
<view class="config-name flex">
<view :class="['sprite-icon', `icon-${i.icon}`]"></view>
{{ i.name }}
</view>
</view>
</template>
</view>
</template>
</swiper-item>
</template>
</swiper>
<view class="tips">
窗膜精品,更有整车搭配套餐火爆售卖。
<view>点击了解更多&gt;</view>
</view>
</view>
</template>
<template slot="detail">
<detail
:id.sync="id"
......@@ -308,16 +208,15 @@ export default {
this.moduleList = moduleList
this.toolList = toolList
this.defaultCarId = defaultCarId
this.getInviteRecordCount()
// this.getInviteRecordCount()
},
toDetail (item) {
toDetail (index) {
let item = this.moduleList[index]
this.chooseItem = item
this.$refs.home.previewRef.open();
this.previewOff = true
},
cancel () {
this.$refs.home.previewRef.close();
this.previewOff = false
},
preview () {
let { id, tabId } = this.chooseItem;
......@@ -325,6 +224,8 @@ export default {
this.id = id;
this.tabId = tabId
this.currentCarId = this.carBannerList[this.currentIndex].carModelId
console.log(id)
},
back () {
if (!this.id) return uni.navigateBack();
......@@ -346,7 +247,6 @@ export default {
this.type = "";
this.currentCarId = ''
this.bannerAutoplay = true
this.previewOff = false
this.customerType = -1
this.clearHistory();
this.recording = false
......
......@@ -93,7 +93,7 @@
</template>
</view>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
......
......@@ -158,7 +158,7 @@
</view>
</template>
<view class="content-end">到底了!</view>
<view class="content-end">-已经到底了-</view>
</scroll-view>
</view>
</view>
......
<template>
<view class="box">
<template v-for="(item, index) in sceneList">
<view :key="index" :class="['items', `${item.actived ? 'active' : ''}`]" @click="selectScene(item, index)">
<view
:key="index"
:class="['items', `${item.actived ? 'active' : ''}`]"
@click="selectScene(item, index)"
>
<view class="left">
<view :class="['sprite-icon', `icon-scene-${item.sceneType}`]"></view>
</view>
......@@ -63,7 +67,9 @@ export default {
merchantId: userInfo?.shopMerchantId
}).then(result => {
uni.hideLoading()
this.openSceneArr = result.map(val => { if (val.sceneOpenFlag == 0) return val.scene }) || []
result.map(val => {
if (val.sceneOpenFlag == 0) this.openSceneArr.push(val.scene)
})
}).catch(() => {
uni.hideLoading()
})
......@@ -71,7 +77,7 @@ export default {
// 选择场景
async selectScene ({ sceneType }, index) {
uni.$logger.local.info(`选择场景${sceneType}!`)
let { sceneList, openSceneArr, userInfo } = this
let { sceneList, openSceneArr, userInfo } = this
try {
if (!openSceneArr.includes(sceneType) && !userInfo?.isSuper) return uni.showToast({
title: '暂未开通此场景',
......@@ -81,6 +87,7 @@ export default {
sceneList[index].actived = true
this.sceneList = sceneList
userInfo.sceneType = sceneType
userInfo.openSceneArr = openSceneArr
uni.showLoading({
mask: true
})
......@@ -106,7 +113,7 @@ export default {
uni.$logger.local.error(`选择场景异常:merchantId:${userInfo?.shopMerchantId},merchantName:${userInfo?.shopMerchantName},sceneType:${sceneType},失败原因:${typeof error == "string" ? error : error.toString()}`)
}
},
jump:utils.throttle( async function (userInfo, data) {
jump: utils.throttle(async function (userInfo, data) {
uni.$logger.local.info(`跳转进入首页!`)
try {
uni.hideLoading()
......@@ -138,7 +145,7 @@ export default {
icon: 'none'
})
}
},3000)
}, 3000)
}
}
</script>
......
......@@ -78,7 +78,7 @@
</template>
</template>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</view>
</scroll-view>
......@@ -95,7 +95,7 @@
<script type="text/ecmascript-6">
import dayjs from 'dayjs'
import PackagePopup from './components/PackagePopup.vue'
import CaseItem from '@/components/HomeFrame/components/CaseItem.vue'
import CaseItem from '@/components/HomeFrame/components/ReceptionCenter/CaseItem.vue'
export default {
components: {
PackagePopup,
......
......@@ -82,7 +82,7 @@
</view>
</template>
<template v-if="nothing">
<view class="end-text">到底了!</view>
<view class="end-text">-已经到底了-</view>
</template>
</scroll-view>
</view>
......
......@@ -65,7 +65,7 @@
</template>
</block>
</block>
<view class="safeAreaInset">到底了!</view>
<view class="safeAreaInset">-已经到底了-</view>
</template>
<template v-else>
<view class="nothing flex">
......
......@@ -8,32 +8,9 @@
@openStep="openStep"
@backHome="backHome"
@changeTab="changeTab"
:moduleList="moduleList"
@swiperClick="toDetail"
>
<view
class="module-box"
slot="module"
>
<!-- <template v-for="(i, index) in moduleList">
<view
:key="index"
:class="['item']"
@click="toDetail(i)"
v-if="!i.hide"
>
<template v-if="!i.thumbnail">
<view class="item-text flex">{{ i.title || i.detailTitle }}</view>
</template>
<template v-else>
<image
class="item-img"
:src="i.thumbnail"
mode="scaleToFill"
@error="errorImg(index)"
/>
</template>
</view>
</template> -->
</view>
<template slot="detail">
<detail
:id.sync="id"
......@@ -72,7 +49,6 @@ export default {
id: '',
type: '',
chooseItem: {},
tabIndex: 0,
recording: false,
aitoCarModelIds: [],
mediaId: '',
......@@ -196,7 +172,8 @@ export default {
uni.hideLoading()
}, 1e3)
},
toDetail (item) {
toDetail (index) {
let item = this.moduleList[index]
this.chooseItem = item
this.$refs.home.previewRef.open()
},
......@@ -281,7 +258,6 @@ export default {
this.$store.dispatch('setPaymentType', paymentType)
},
changeTab (index) {
this.tabIndex = index
if (index == 0) this.init()
},
......
......@@ -162,4 +162,20 @@ $margin: 0 calc((100vmax - #{$detailVW}) / 2);
filter: blur(toRpx(24));
}
}
@keyframes left-in {
0% {
left: 100%;
}
100% {
left: toRpx(240);
}
}
@keyframes left-out {
0% {
left: toRpx(240);
}
100% {
left: 100%;
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!