Commit 519bf1f3 by 李伟康

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

2 parents e3510914 e6ce6076
Showing 47 changed files with 2321 additions and 163 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-19 11:02:01 * @Date: 2024-12-19 11:02:01
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-12-19 11:02:25 * @LastEditTime: 2025-01-08 15:20:30
* @FilePath: \gl-tape\api\module\point.js * @FilePath: \gl-tape\api\module\point.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -44,12 +44,20 @@ module.exports = { ...@@ -44,12 +44,20 @@ module.exports = {
projectName: 'boutique', projectName: 'boutique',
...data ...data
}) })
} /**积分首页 */, },
getPoint(data) { /**积分首页 */ getPoint(data) {
return http.post({ return http.post({
method: 'dj.api.car.boutique.resident.point.home.page', method: 'dj.api.car.boutique.resident.point.home.page',
projectName: 'boutique', projectName: 'boutique',
...data ...data
}) })
},
/**积分奖励规则 */
rewardRule(data) {
return http.post({
method: 'dj.api.car.boutique.resident.point.reward.rule',
projectName: 'boutique',
...data
})
} }
} }
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: calc(100vmin * (1173 / 768) * 0.5583972719522592) calc(100vmin * (1173 / 768) * 0.44501278772378516);} .sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: calc(100vmin * (1173 / 768) * 1.5) calc(100vmin * (1173 / 768) * 1.289855072463768);}
.icon-addr { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-addr { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.49658994032395565) calc(100vmin * (1173 / 768) * -0.263000852514919);} background-position: calc(100vmin * (1173 / 768) * -0.9808184143222506) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-aito { width: calc(100vmin * (1173 / 768) * 0.13640238704177324); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-aito { width: calc(100vmin * (1173 / 768) * 0.13640238704177324); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.3537936913895993) calc(100vmin * (1173 / 768) * -0.263000852514919);} background-position: calc(100vmin * (1173 / 768) * -0.7212276214833759) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-arrow-bottom { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-arrow-bottom { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.32608695652173914) calc(100vmin * (1173 / 768) * -0.23785166240409208);} background-position: calc(100vmin * (1173 / 768) * -1.2331628303495312) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-arrow-right { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-arrow-right { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5166240409207161) calc(100vmin * (1173 / 768) * -0.263000852514919);} background-position: calc(100vmin * (1173 / 768) * -1.000852514919011) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-avatar { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-avatar { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.37894288150042627) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.41474850809889174) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-back { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.021312872975277068); .icon-back { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.021312872975277068);
background-position: calc(100vmin * (1173 / 768) * -0.28388746803069054) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.7212276214833759) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-bao { width: calc(100vmin * (1173 / 768) * 0.08354646206308611); height: calc(100vmin * (1173 / 768) * 0.0937766410912191); .icon-bao { width: calc(100vmin * (1173 / 768) * 0.08354646206308611); height: calc(100vmin * (1173 / 768) * 0.0937766410912191);
background-position: calc(100vmin * (1173 / 768) * -0.3537936913895993) calc(100vmin * (1173 / 768) * -0.1628303495311168);} background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-bg { width: calc(100vmin * (1173 / 768) * 1.5); height: calc(100vmin * (1173 / 768) * 0.9820971867007673);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * 0);}
.icon-boutique-config-0 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382); .icon-boutique-config-0 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.34484228473998296) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.3137254901960784) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-boutique-config-1 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382); .icon-boutique-config-1 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.3699914748508099) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.3388746803069054) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-boutique-config-2 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382); .icon-boutique-config-2 { width: calc(100vmin * (1173 / 768) * 0.01875532821824382); height: calc(100vmin * (1173 / 768) * 0.01875532821824382);
background-position: calc(100vmin * (1173 / 768) * -0.39514066496163686) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.3640238704177323) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-byd { width: calc(100vmin * (1173 / 768) * 0.0784313725490196); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-byd { width: calc(100vmin * (1173 / 768) * 0.0784313725490196); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.4437340153452685) calc(100vmin * (1173 / 768) * -0.23742540494458653);} background-position: calc(100vmin * (1173 / 768) * -0.8640238704177323) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-bydyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.8431372549019608) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-certificate { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-certificate { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.5183290707587382) calc(100vmin * (1173 / 768) * -0.20332480818414322);} background-position: calc(100vmin * (1173 / 768) * -0.8678601875532822) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-change-account { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-change-account { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5366581415174766) calc(100vmin * (1173 / 768) * -0.263000852514919);} background-position: calc(100vmin * (1173 / 768) * -1.0208866155157714) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-clone { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993); .icon-clone { width: calc(100vmin * (1173 / 768) * 0.010230179028132993); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.3329070758738278) calc(100vmin * (1173 / 768) * -0.21696504688832055);} background-position: calc(100vmin * (1173 / 768) * -1.4381926683716966) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-customer-1 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654); .icon-customer-1 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654); .icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654);
background-position: calc(100vmin * (1173 / 768) * -0.17689684569479966) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.329923273657289) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-customer-add { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-customer-add { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.5183290707587382) calc(100vmin * (1173 / 768) * -0.1628303495311168);} background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-customer-detail { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-customer-detail { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3537936913895993) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -0.8665814151747656) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-customer-file-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-customer-file-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.27195225916453536) calc(100vmin * (1173 / 768) * -0.23785166240409208);} background-position: calc(100vmin * (1173 / 768) * -1.3870417732310316) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-customer-file { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-customer-file { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -1.4411764705882353) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-day-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-day-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.11807331628303495) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -0.90153452685422) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-detail-start { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-detail-start { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.5208866155157715) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.5473145780051151) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-eye-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.040920716112532) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-face-error-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-error-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.42625745950554134) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.4620630861040068) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-face-error { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-error { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.47357203751065646) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.5093776641091219) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-face-success-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-success-active { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.556692242114237) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-face-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-face-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.04731457800511509) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.6040068201193521) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-feedback { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-feedback { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.1517476555839727) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -0.9352088661551577) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-ffdyj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.8900255754475703) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528); .icon-first-nav { width: calc(100vmin * (1173 / 768) * 0.1977834612105712); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
background-position: calc(100vmin * (1173 / 768) * -0.3537936913895993) calc(100vmin * (1173 / 768) * -0.0814151747655584);} background-position: calc(100vmin * (1173 / 768) * -0.9322250639386189) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-home-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-home-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.05413469735720375) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.08994032395566923) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-home { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-home { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.1082693947144075) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.14407502131287298) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-icon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5179028132992327) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -1.0609548167092924) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-icon-close { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978); .icon-icon-close { width: calc(100vmin * (1173 / 768) * 0.030690537084398978); height: calc(100vmin * (1173 / 768) * 0.030690537084398978);
background-position: calc(100vmin * (1173 / 768) * -0.08098891730605286) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -0.8307757885763001) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-icon-female { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-female { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5379369138959932) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -1.080988917306053) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-icon-male { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-male { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3329070758738278) calc(100vmin * (1173 / 768) * -0.17689684569479966);} background-position: calc(100vmin * (1173 / 768) * -1.1010230179028133) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3329070758738278) calc(100vmin * (1173 / 768) * -0.1969309462915601);} background-position: calc(100vmin * (1173 / 768) * -1.1210571184995737) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-icon-upload { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929); .icon-icon-upload { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.05456095481670929);
background-position: calc(100vmin * (1173 / 768) * -0.2144075021312873) calc(100vmin * (1173 / 768) * -0.17689684569479966);} background-position: calc(100vmin * (1173 / 768) * -1.210997442455243) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-icon-weixin { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-weixin { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.42028985507246375) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.1410912190963343) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-income-card { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -1.241687979539642) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-income-icon { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.5878090366581415) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-info_shield { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-info_shield { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.3772378516624041) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -0.9134697357203752) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-invisible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-invisible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.40068201193520886) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -0.9369138959931799) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-jbgz-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.9603580562659847) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-js-icon { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.7821824381926684) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-kf-0 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-kf-0 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4403239556692242) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.1611253196930946) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-kf-1 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-kf-1 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.46035805626598464) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.181159420289855) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-kf-2 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-kf-2 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4803921568627451) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.2011935208866156) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-kf-3 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-kf-3 { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5004262574595055) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.221227621483376) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-level { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-level { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.18542199488491048) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -0.9688832054560955) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-logo { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662); .icon-logo { width: calc(100vmin * (1173 / 768) * 0.06820119352088662); height: calc(100vmin * (1173 / 768) * 0.06820119352088662);
background-position: calc(100vmin * (1173 / 768) * -0.4437340153452685) calc(100vmin * (1173 / 768) * -0.1628303495311168);} background-position: calc(100vmin * (1173 / 768) * -1.1364023870417732) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-lssl-icon { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -1.4015345268542199) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-mask-del { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-mask-del { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -0.6283034953111679) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-mask-edit { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-mask-edit { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.04049445865302643) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -0.6687979539641944) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-medal { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-medal { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.21909633418584826) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.0025575447570332) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-my-store { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.7092924126172208) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-no-insurance-data { width: calc(100vmin * (1173 / 768) * 0.20801364023870417); height: calc(100vmin * (1173 / 768) * 0.12617220801364024); .icon-no-insurance-data { width: calc(100vmin * (1173 / 768) * 0.20801364023870417); height: calc(100vmin * (1173 / 768) * 0.12617220801364024);
background-position: calc(100vmin * (1173 / 768) * 0) calc(100vmin * (1173 / 768) * -0.17689684569479966);} background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-pause { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-pause { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.42412617220801363) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -0.9838022165387894) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-pbjd-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.0072463768115942) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-pen-active { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496); .icon-pen-active { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.2753623188405797) calc(100vmin * (1173 / 768) * -0.17689684569479966);} background-position: calc(100vmin * (1173 / 768) * -1.2719522591645354) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-pen { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496); .icon-pen { width: calc(100vmin * (1173 / 768) * 0.05115089514066496); height: calc(100vmin * (1173 / 768) * 0.05115089514066496);
background-position: calc(100vmin * (1173 / 768) * -0.2144075021312873) calc(100vmin * (1173 / 768) * -0.23785166240409208);} background-position: calc(100vmin * (1173 / 768) * -1.3294970161977835) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-play { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-play { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.4475703324808184) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -1.030690537084399) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-point-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-point-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.16240409207161124) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.19820971867007672) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-point { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-point { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.216538789428815) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.25234441602728047) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-points { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.252770673486786) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.036231884057971) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-qgtc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.0541346973572037) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-qr-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-qr-success { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.09462915601023018) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.6513213981244672) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-qt-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.0775788576300085) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-qw { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-qw { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.32608695652173914) calc(100vmin * (1173 / 768) * -0.2647058823529412);} background-position: calc(100vmin * (1173 / 768) * -1.2600170502983803) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-qytc-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.1010230179028133) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-ranking { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-ranking { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.2864450127877238) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.0699062233589087) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-rbkk-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.1244671781756181) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-record-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-record-active { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.27067348678601877) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.30647911338448425) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-record { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063); .icon-record { width: calc(100vmin * (1173 / 768) * 0.04774083546462063); height: calc(100vmin * (1173 / 768) * 0.04774083546462063);
background-position: calc(100vmin * (1173 / 768) * -0.3248081841432225) calc(100vmin * (1173 / 768) * -0.309462915601023);} background-position: calc(100vmin * (1173 / 768) * -0.36061381074168797) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-rule { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157); .icon-rule { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.011935208866155157);
background-position: calc(100vmin * (1173 / 768) * -0.28388746803069054) calc(100vmin * (1173 / 768) * -0.391304347826087);} background-position: calc(100vmin * (1173 / 768) * -1.4198635976129583) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-scan { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-scan { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.520460358056266) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.2412617220801363) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-scene-0 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-scene-0 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.14194373401534527) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.6986359761295823) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-scene-1 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-scene-1 { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.18925831202046037) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.7459505541346974) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-search { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-search { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.47101449275362317) calc(100vmin * (1173 / 768) * -0.2847399829497016);} background-position: calc(100vmin * (1173 / 768) * -1.1479113384484227) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-second-nav { width: calc(100vmin * (1173 / 768) * 0.20460358056265984); height: calc(100vmin * (1173 / 768) * 0.07502131287297528); .icon-second-nav { width: calc(100vmin * (1173 / 768) * 0.20460358056265984); height: calc(100vmin * (1173 / 768) * 0.07502131287297528);
background-position: calc(100vmin * (1173 / 768) * -0.3537936913895993) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.7212276214833759) calc(100vmin * (1173 / 768) * -0.9884910485933504);}
.icon-setting { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646); .icon-setting { width: calc(100vmin * (1173 / 768) * 0.027280477408354646); height: calc(100vmin * (1173 / 768) * 0.027280477408354646);
background-position: calc(100vmin * (1173 / 768) * -0.32011935208866155) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.1035805626598465) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.2612958226768969) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-store { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197); .icon-store { width: calc(100vmin * (1173 / 768) * 0.04092071611253197); height: calc(100vmin * (1173 / 768) * 0.04092071611253197);
background-position: calc(100vmin * (1173 / 768) * -0.23657289002557544) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -0.7932651321398124) calc(100vmin * (1173 / 768) * -1.196078431372549);}
.icon-tag-checked { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-tag-checked { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5285592497868713) calc(100vmin * (1173 / 768) * -0.23742540494458653);} background-position: calc(100vmin * (1173 / 768) * -0.948849104859335) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-tdcj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.1713554987212276) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-tips-b { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.2813299232736572) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-tips-g { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -1.2868712702472294) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-tips { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.7497868712702472) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-tool-file { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248); .icon-tool-file { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.3537936913895993) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.1372549019607843) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-tool-finish { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248); .icon-tool-finish { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.3857630008525149) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.1692242114237) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-tool-pay { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248); .icon-tool-pay { width: calc(100vmin * (1173 / 768) * 0.02557544757033248); height: calc(100vmin * (1173 / 768) * 0.02557544757033248);
background-position: calc(100vmin * (1173 / 768) * -0.4177323103154305) calc(100vmin * (1173 / 768) * -0.41091219096334186);} background-position: calc(100vmin * (1173 / 768) * -1.2011935208866156) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
.icon-total { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-total { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5404944586530265) calc(100vmin * (1173 / 768) * -0.3635976129582268);} background-position: calc(100vmin * (1173 / 768) * -1.3013640238704178) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-visible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-visible { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.49445865302642794) calc(100vmin * (1173 / 768) * -0.2847399829497016);}
\ No newline at end of file \ No newline at end of file
background-position: calc(100vmin * (1173 / 768) * -1.1947996589940324) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.3213981244671782) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-ybtc_icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -1.2182438192668372) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-yw-icon { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -1.2634271099744245) calc(100vmin * (1173 / 768) * -1.0916453537936914);}
.icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.3414322250639386) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-eyes-off { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.3614663256606991) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.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.9884910485933504);}
.icon-eyes-on { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -1.3815004262574595) calc(100vmin * (1173 / 768) * -1.0699062233589087);}
.icon-income-count { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
background-position: calc(100vmin * (1173 / 768) * -0.7902813299232737) calc(100vmin * (1173 / 768) * -1.1210571184995737);}
\ No newline at end of file \ No newline at end of file

1.27 MB | W: | H:

7.47 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 10:31:49
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-09 18:26:55
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Dailog.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<view class="dailog-panel">
<view class="dailog-box" :style="{ width: width }">
<view class="dailog-header flex">
<view :class="`sprite-icon icon-${icon}`" v-if="icon"></view>
<view class="sprite-icon icon-income-count" v-else></view>
<view class="dailog-title">{{ title }}</view>
<view class="dailog-close" @click="close"><uni-icons type="closeempty" size="20"></uni-icons></view>
</view>
<slot name="content" />
<slot name="footer" />
</view>
</view>
</template>
<script>
export default {
props: {
width: {
type: String,
default: '1040rpx'
},
icon: String,
title: String
},
data() {
return {
show: '',
selectItem: {
title: '权益提成',
content: '权益提成 = 权益产值 × 提成系数 × 提成比例',
desc: '提成比例'
}
}
},
methods: {
close() {
this.$emit('close')
}
}
}
</script>
<style scoped lang="scss">
.dailog-panel {
position: fixed;
width: 100vw;
height: 100vh;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
.dailog-box {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: #fff;
background-image: linear-gradient(179deg, #d6e9ff 12%, #ffffff 100%); /* 顶部渐变和底部白色 */
background-size:
100% 110rpx,
100% calc(100% - 110rpx); /* 分别设置渐变和白色的背景大小 */
background-repeat: no-repeat, no-repeat; /* 确保背景不重复 */
background-position: top, bottom; /* 分别设置渐变和白色的位置 */
border-radius: 48rpx;
padding-bottom: 96rpx;
.dailog-header {
padding: 40rpx 48rpx;
.dailog-title {
font-size: 40rpx;
color: #1a1a1a;
font-weight: 600;
margin-top: -4rpx;
}
.dailog-close {
margin-left: auto;
text-align: right;
.uni-icons {
color: #808291 !important;
font-size: 40rpx;
}
}
}
.dailog-logo {
text-align: center;
image {
width: 228rpx;
height: 228rpx;
}
}
}
}
</style>
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 09:51:43
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-09 17:47:49
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Tips.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<view class="tips-container">
<view class="tips-header flex">
<view class="sprite-icon icon-tips"></view>
<text>今日TIPS</text>
</view>
<view class="tips-body">
<view class="tips-item" v-for="(item, index) in tipsList" :key="index">
<view class="item-header flex">
<view class="sprite-icon icon-store-icon"></view>
<text>{{ item.company }}</text>
</view>
<view class="item-logo">
<text>{{ item.title }}</text>
</view>
<view class="item-content">{{ item.content }}</view>
<view class="item-footer flex-between">
<text>{{ item.time }}</text>
<text>{{ item.tips }}</text>
</view>
</view>
</view>
<view class="tips-footer">
<view class="tips-btn" @click="calDaliog = true">
<text>收入测算</text>
<view class="tip-img">职级晋升、渗透率提升</view>
</view>
</view>
<Dailog @close="calDaliog = false" v-if="calDaliog" width="1600rpx" title="职级晋升、渗透率提升后收入测算">
<view class="dailog-body" slot="content">
<view class="input-box select-container">
<view class="input-item">
<view class="input-label">职级</view>
<view :class="['select flex', { placeholderStyle: !form.level }]" @click="showPopup('level')">
<view class="text-hide">{{ form.level || '请选择' }}</view>
<uni-icons class="arrow" type="right" :size="16"></uni-icons>
</view>
</view>
<view class="input-item">
<view class="input-label">业务类型</view>
<view :class="['select flex', { placeholderStyle: !form.level }]" @click="showPopup('level')">
<view class="text-hide">{{ form.level || '请选择' }}</view>
<uni-icons class="arrow" type="right" :size="16"></uni-icons>
</view>
</view>
<view class="input-item">
<view class="input-label">门店</view>
<view :class="['select flex', { placeholderStyle: !form.level }]" @click="showPopup('level')">
<view class="text-hide">{{ form.level || '请选择' }}</view>
<uni-icons class="arrow" type="right" :size="16"></uni-icons>
</view>
</view>
</view>
<view class="input-box">
<view class="input-item">
<view class="input-label width-320">应触客台数</view>
<input type="text" class="input" placeholder="请输入" />
</view>
</view>
<view class="input-box num-second">
<view class="input-item" v-for="(item, index) in formList" :key="index">
<view class="input-label width-320">{{ item.label }}</view>
<input type="text" class="input" placeholder="请输入" />
</view>
</view>
</view>
<template slot="footer">
<view class="dailog-footer">
<view class="dailog-btn" @click="startCount">开始测算</view>
</view>
</template>
</Dailog>
<Dailog @close="show = false" v-if="show" width="1360rpx" title="收入测算结果">
<view class="dailog-body flex" slot="content">
<view>
<view class="month-box">
<view class="month-mark">轻改</view>
<view class="value-box">
<view class="value-desc">
<view class="value-title">本月产值</view>
<view class="value-price">
<text>¥</text>
217,200
</view>
</view>
<view class="value-desc">
<view class="value-title">成交</view>
<view class="value-price">
17
<text>单</text>
</view>
</view>
</view>
<view class="value-detail">
<view class="detail-item" v-for="(item, index) in 3">
<view class="detail-label">渗透率</view>
<view class="detail-num">54</view>
</view>
</view>
</view>
</view>
<view class="month-mid"><uni-icons type="right" :size="14" color="#fff"></uni-icons></view>
<view class="month-result">
<view class="result-title">测算结果仅供参考</view>
<view class="result-main">
<view class="result-item" v-for="(item, index) in 5">
<view class="result-label">基本工资</view>
<view class="result-price">2,961.50</view>
</view>
</view>
<view class="result-footer">
<view class="result-label">收入合计(估算)</view>
<view class="result-price">
<text>¥</text>
23,746.60
</view>
</view>
</view>
</view>
<template slot="footer">
<view class="dailog-footer">
<view class="dailog-btn">再测一次</view>
<view class="dailog-btn disabled">关闭</view>
</view>
</template>
</Dailog>
<MessageBox ref="drawVisible" position="bottom" :isFooter="false" title="请选择业务类型" :maxHeight="1000">
<view class="select-box">
<view class="select-item" :class="{ checked: form.type == item.label }" @click="select(item.label)" v-for="(item, index) in list" :key="index">
{{ item.label }}
</view>
</view>
</MessageBox>
</view>
</template>
<script>
import Dailog from './Dailog'
export default {
components: {
Dailog
},
data() {
return {
form: {},
formList: [
{
label: '单延保成交订单量'
},
{
label: '产值'
},
{
label: '安心包Max成交订单量'
},
{
label: '产值'
}
],
tipsList: [
{
company: '榆林华睿通汽车销售服务有限公司',
title: '安心包Max渗透率提醒',
content: '本月安心包Max 渗透率为25%,超过20%。如果达到30%,延保提成系数将按照1.1执行,加油!',
time: '2025-01-07 09:30:00',
tips: '延保提成'
},
{
company: '榆林华睿通汽车销售服务有限公司',
title: '安心包Max渗透率提醒',
content: '本月安心包Max 渗透率为25%,超过20%。如果达到30%,延保提成系数将按照1.1执行,加油!',
time: '2025-01-07 09:30:00',
tips: '延保提成'
},
{
company: '榆林华睿通汽车销售服务有限公司',
title: '安心包Max渗透率提醒',
content: '本月安心包Max 渗透率为25%,超过20%。如果达到30%,延保提成系数将按照1.1执行,加油!',
time: '2025-01-07 09:30:00',
tips: '延保提成'
}
],
list: [
{
label: '业务类型1'
},
{
label: '业务类型2'
},
{
label: '业务类型3'
},
{
label: '业务类型4'
},
{
label: '业务类型5'
}
],
show: false,
calDaliog: false,
caseList: []
}
},
methods: {
startCount() {
this.calDaliog = false
this.show = true
},
showPopup() {
this.$refs.drawVisible.open()
}
}
}
</script>
<style scoped lang="scss">
.tips-container {
padding: 32rpx 36rpx;
.tips-header {
text {
font-size: 32rpx;
margin-top: -6rpx;
color: #1a1a1a;
}
}
.tips-body {
max-height: calc(100vh - 540rpx);
overflow-y: auto;
.tips-item {
padding: 30rpx 32rpx;
width: 100%;
height: 384rpx;
background: #ffffffb3;
border-radius: 24rpx;
margin-top: 32rpx;
.item-header {
text {
font-size: 24rpx;
color: #808291;
}
}
.item-logo {
width: 100%;
height: 88rpx;
background-image: linear-gradient(81deg, #f0f6ff 0%, #f7faff 4%, #ecf4fe 9%, #f8f9ff 11%, #e8f2ff 43%, #f0f2ff 66%, #dbedff 100%);
font-size: 32rpx;
text-align: center;
line-height: 88rpx;
font-weight: 700;
margin: 10rpx 0;
text {
background: linear-gradient(129deg, #0eabf9 13%, #2f80ea 50%, #7d6ee6 91%);
color: transparent;
background-clip: text;
-webkit-background-clip: text;
}
}
.item-content {
font-size: 26rpx;
color: #181a1f;
line-height: 40rpx;
}
.item-footer {
margin-top: 16rpx;
text {
font-size: 24rpx;
color: #adb0b8;
}
}
}
}
.tips-footer {
margin-top: 40rpx;
.tips-btn {
width: 100%;
height: 80rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 32rpx 0 #ffffff80;
border-radius: 16rpx;
line-height: 80rpx;
font-size: 28rpx;
color: #ffffff;
text-align: center;
position: relative;
.tip-img {
position: absolute;
right: 0;
top: 0;
width: 232rpx;
height: 48rpx;
background-image: linear-gradient(94deg, #febc58 0%, #ffc86f 41%, #ff9e7a 88%);
border-radius: 24rpx 20rpx 0 0 24rpx;
font-size: 20rpx;
color: #ffffff;
}
}
}
}
.dailog-body {
padding: 64rpx;
.input-box {
width: 100%;
display: flex;
padding: 0 64rpx;
justify-content: space-between;
margin-bottom: 40rpx;
&.select-container {
margin-bottom: 128rpx;
display: grid;
grid-template-columns: 31% 38% 31%;
gap: 40rpx;
}
&.num-second {
flex-wrap: wrap;
.input-item {
width: 50%;
margin-bottom: 40rpx;
}
}
.input-item {
display: flex;
align-items: center;
.input-label {
font-size: 32rpx;
color: #808291;
text-align: right;
margin-right: 24rpx;
&.width-320 {
min-width: 320rpx;
}
}
}
.input,
.select {
width: 320rpx;
height: 80rpx;
background: #ffffff;
border: 2rpx solid #e8e8e8;
border-radius: 12rpx;
outline: none;
padding: 0 20rpx;
font-size: toRpx(30);
color: #333;
&:focus {
border: 2rpx solid #2f6af7;
}
&::placeholder {
color: #c9c9c9;
}
}
.placeholderStyle {
color: #999999;
}
.arrow {
color: #999 !important;
margin-left: auto;
flex-shrink: 0;
}
}
.month-box {
width: 552rpx;
height: 308rpx;
background-image: linear-gradient(180deg, #e6f1ff 0%, #f5f8ff 100%);
border-radius: 24rpx;
.month-mark {
width: 112rpx;
height: 44rpx;
background-image: linear-gradient(115deg, #3874f8 0%, #6fb5fe 100%), linear-gradient(106deg, #7b86f5 0%, #9886f0 82%);
border-radius: 24rpx 0 24rpx 0;
font-size: 24rpx;
color: #ffffff;
height: 44rpx;
text-align: center;
}
.value-box {
display: flex;
margin: 0 30rpx;
.value-desc {
flex: 1;
text-align: center;
.value-title {
font-size: 24rpx;
color: #181a1f;
line-height: 36rpx;
}
.value-price {
font-weight: 600;
font-size: 40rpx;
color: #2c66f7;
line-height: 60rpx;
text {
font-size: 22rpx;
}
}
}
}
.value-detail {
width: 488rpx;
height: 116rpx;
background: #ffffff;
border-radius: 16rpx;
margin: 10rpx auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 16rpx 32rpx;
.detail-item {
.detail-label {
font-size: 24rpx;
color: #999ea8;
line-height: 36rpx;
}
.detail-num {
font-size: 36rpx;
color: #292d33;
line-height: 48rpx;
}
}
}
}
.month-mid {
width: 48rpx;
border-radius: 50%;
margin: 28rpx;
height: 48rpx;
text-align: center;
line-height: 48rpx;
background-image: linear-gradient(140deg, #3874f8 0%, #6fb5fe 100%), linear-gradient(126deg, #7b86f5 0%, #9886f0 82%);
}
.month-result {
width: 572rpx;
background: #ffffff;
border: 8rpx solid #dbe8ff;
border: 2rpx solid #5b8dfc;
border-radius: 48rpx;
padding: 40rpx 48rpx;
.result-title {
font-size: 24rpx;
color: #808291;
line-height: 32rpx;
margin-bottom: 30rpx;
}
.result-item {
font-size: 26rpx;
color: #181a1f;
display: flex;
padding: 10rpx;
justify-content: space-between;
}
.result-footer {
margin-top: 30rpx;
font-size: 26rpx;
color: #181a1f;
display: flex;
justify-content: space-between;
}
}
}
.dailog-footer {
display: flex;
justify-content: center;
margin-top: 40rpx;
.dailog-btn {
width: 400rpx;
height: 96rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 32rpx 0 #ffffff80;
border-radius: 16rpx;
text-align: center;
font-size: 36rpx;
color: #ffffff;
line-height: 96rpx;
&.disabled {
background-color: #f0f1f5;
background-image: none;
color: #1a1a1a;
margin-left: 48rpx;
}
}
}
.select-box {
margin: toRpx(40) 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: toRpx(20);
overflow-y: scroll;
max-height: 50vh;
padding-bottom: toRpx(60);
.select-item {
text-align: center;
height: toRpx(68);
line-height: toRpx(68);
opacity: 1;
border: toRpx(2) solid #dce0e6;
color: #292d33;
font-size: toRpx(28);
border-radius: toRpx(8);
&.checked {
border: toRpx(2) solid #292d33;
}
}
}
</style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-07 13:49:15 * @Date: 2025-01-07 13:49:15
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-07 13:57:40 * @LastEditTime: 2025-01-08 10:44:53
* @FilePath: \gl-tape\components\HomeFrame\components\Income\History.vue * @FilePath: \gl-tape\components\HomeFrame\components\Income\History.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -15,22 +15,226 @@ ...@@ -15,22 +15,226 @@
<view class="title"><text>历史收入记录</text></view> <view class="title"><text>历史收入记录</text></view>
</view> </view>
<view class="history-box"> <view class="history-box">
<view class="chart-box"></view> <view class="chart-box">
<view class="income-box"></view> <view class="chart-header">
<text class="year-text">2025年</text>
<view class="sprite-icon icon-tips-g"></view>
<text>点击柱形图切换月份</text>
</view>
<view id="mycan">
<canvas canvas-id="DataCanvas" class="canvas-box" @touchstart="handleCanvasClick"></canvas>
</view>
</view>
<view class="income-box">
<view class="income-header">
<text>2024年8月收入</text>
</view>
<view class="income-tips">
<view class="sprite-icon icon-tips-b"></view>
<text>以下未包括 个人所得税、社保等事项</text>
</view>
<view class="income-list">
<view class="income-item" v-for="(item, index) in caseList" :key="index">
<view class="item-label" @click="handleShow(item)">{{ item.title }}</view>
<uni-icons type="help" size="18" color="#A2A2A8"></uni-icons>
<view class="item-price">{{ item.price }}</view>
<view class="item-expand"></view>
</view>
</view>
<view class="income-footer">
<view class="footer-label">当月收入</view>
<view class="footer-price">
<text>¥</text>
23,746.60
</view>
</view>
</view>
</view> </view>
<Tips @close="show = false" v-if="show">
<view class="dailog-body" slot="content">
<view class="dailog-content">6</view>
<view class="dailog-desc">6</view>
</view>
<template slot="footer">
<view class="dailog-footer">
<view class="dailog-btn">再测一次</view>
<view class="dailog-btn disabled">关闭</view>
</view>
</template>
</Tips>
</view> </view>
</template> </template>
<script> <script>
import Tips from './Dailog.vue'
export default { export default {
components: {
Tips
},
data() { data() {
return {} return {
title: '学习数据',
show: false,
canvasList: [
{ date: '1月', num: 0 },
{ date: '2月', num: 24 },
{ date: '3月', num: 100 },
{ date: '4月', num: 45 },
{ date: '5月', num: 15 },
{ date: '6月', num: 54 },
{ date: '7月', num: 10 },
{ date: '8月', num: 10 },
{ date: '9月', num: 10 },
{ date: '10月', num: 10 },
{ date: '11月', num: 10 },
{ date: '12月', num: 10 }
],
caseList: [
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
},
{
title: '基本工资',
price: 100
}
],
width: 600,
height: 420,
canPersent: [], //百分比数组
listIndex: 0,
navList: ['最近七天', '最近七个月']
}
}, },
methods: {} mounted() {
const query = uni.createSelectorQuery().in(this)
query
.select('.canvas-box')
.boundingClientRect(data => {
this.width = data.width
this.height = data.height - 60
this.showChart()
})
.exec()
},
methods: {
handleShow(item) {
this.selectItem = item
this.show = true
},
back() {},
handleCanvasClick(e) {
// 获取点击位置
},
// 坐标图
showChart() {
const ctx = uni.createCanvasContext('DataCanvas')
ctx.lineWidth = 1
// 横坐标
ctx.beginPath() //新建一条path
ctx.setStrokeStyle('#c6c6c6')
ctx.moveTo(20, this.height) //把画笔移动到指定的坐标
// ctx.lineTo(this.width, this.height) //绘制一条从当前位置到指定坐标(200, 50)的直线.
ctx.closePath() //闭合路径。会拉一条从当前点到path起始点的直线。如果当前点与起始点重合,则什么都不做
ctx.stroke() //绘制路径。
// 纵坐标
ctx.beginPath()
ctx.moveTo(20, 0)
// ctx.lineTo(20, this.height)
ctx.closePath()
ctx.stroke()
var max = 0 //最大值
// 找到最大的数
for (var i = 0; i < this.canvasList.length; i++) {
if (this.canvasList[i].num >= max) {
max = this.canvasList[i].num
}
}
console.log('max---->', max)
// 计算百分比: 以数组中最大的为100%,来计算其他的百分比
for (var i = 0; i < this.canvasList.length; i++) {
this.canPersent[i] = (this.canvasList[i].num / max) * (this.height - 40) // -10 ,防止太高溢出头
}
console.log(this.canPersent)
// 柱状图之间的间隔
// 绘制7个粗线条 (300-20)/7 = 40,所以 i 每次要加上40 20为左右间隔
var gap = this.width / this.canPersent.length
console.log('--gap----->', gap)
for (var i = 0; i < this.canPersent.length; i++) {
// 横坐标的数据
ctx.fillText(this.canvasList[i].date, 30 + gap * i, this.height + 10)
// 柱状图上的数据
this.canvasList[i].num && ctx.fillText(this.canvasList[i].num, 33 + gap * i, this.height - this.canPersent[i] - 15)
if (this.canPersent[i] == 0) {
i++
ctx.fillText(this.canvasList[i].date, 30 + gap * i, this.height + 10)
this.canvasList[i].num && ctx.fillText(this.canvasList[i].num, 33 + gap * i, this.height - this.canPersent[i] - 15)
}
ctx.beginPath()
ctx.setStrokeStyle(i == 1 ? 'rgba(44, 102, 247, 1)' : 'rgba(44, 102, 247, 0.2)') //设置柱状图颜色
ctx.moveTo(40 + gap * i, this.height - this.canPersent[i] - 6)
ctx.lineTo(40 + gap * i, this.height - 6)
ctx.lineWidth = 10
ctx.lineCap = 'round' //设置线条样式
ctx.stroke()
}
ctx.draw()
}
}
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
#mycan {
margin: 20px;
}
.canvas-box {
height: calc(100vh - 520rpx);
width: 100%;
}
.navTab {
display: flex;
justify-content: space-evenly;
margin: 3px 0;
}
.activite {
color: #fc722d;
padding: 3px 0;
border-bottom: 3px #fc722d solid;
}
.nav-bar { .nav-bar {
width: 100%; width: 100%;
height: 96rpx; height: 96rpx;
...@@ -66,6 +270,19 @@ export default { ...@@ -66,6 +270,19 @@ export default {
background: #ffffff; background: #ffffff;
border-radius: 48rpx; border-radius: 48rpx;
flex: 1; flex: 1;
padding: 64rpx;
.chart-header {
font-size: 24rpx;
color: #808291;
display: flex;
align-items: center;
.year-text {
font-weight: 600;
color: rgb(26, 26, 26);
font-size: 64rpx;
margin-right: 36rpx;
}
}
} }
.income-box { .income-box {
background-image: linear-gradient(180deg, #faf9f7 0%, #ffffff 28%); background-image: linear-gradient(180deg, #faf9f7 0%, #ffffff 28%);
...@@ -74,6 +291,79 @@ export default { ...@@ -74,6 +291,79 @@ export default {
border-radius: 48rpx; border-radius: 48rpx;
width: 648rpx; width: 648rpx;
margin-left: 48rpx; margin-left: 48rpx;
padding: 56rpx 64rpx;
box-sizing: border-box;
.income-header {
font-size: 36rpx;
color: #1a1a1a;
font-weight: 600;
display: flex;
align-items: center;
}
.income-tips {
font-size: 24rpx;
color: #2c66f7;
display: flex;
align-items: center;
margin: 44rpx 0 74rpx;
}
.income-list {
height: calc(100% - 254rpx);
.income-item {
height: 80rpx;
display: flex;
align-items: center;
padding: 0 20rpx 0rpx 32rpx;
.item-label {
font-size: 26rpx;
color: #181a1f;
margin-right: 6rpx;
}
.item-price {
font-size: 30rpx;
color: #181a1f;
margin-left: auto;
}
.item-expand {
margin-left: 24rpx;
width: 0;
height: 0;
border-left: 14rpx solid transparent;
border-right: 14rpx solid transparent;
border-top: 14rpx solid #808291; /* 箭头颜色 */
}
}
}
.income-footer {
display: flex;
justify-content: space-between;
padding: 0 20rpx;
.footer-label {
font-size: 26rpx;
color: #181a1f;
}
.footer-price {
font-size: 40rpx;
color: #181a1f;
text {
font-size: 28rpx;
}
}
}
} }
} }
.dailog-content {
font-size: 32rpx;
color: #1a1a1a;
line-height: 52rpx;
padding: 0 120rpx 0 152rpx;
margin-top: 32rpx;
}
.dailog-desc {
font-size: 32rpx;
color: #808291;
padding: 0 120rpx 0 152rpx;
margin-top: 32rpx;
line-height: 48rpx;
}
</style> </style>
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 09:51:43
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-09 18:21:34
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Tips.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<view class="store-container">
<view class="store-header flex">
<view class="sprite-icon icon-my-store"></view>
<text>我的门店</text>
<view class="tab-box">
<view @click="selectTab(index)" :class="{ 'tab-item': true, active: activeIndex == index }" v-for="(i, index) in tabList" :key="index">{{ i.name }}</view>
</view>
<view class="select-store flex">
<view class="store-name text-hide">榆林华睿通汽车销榆林华睿通汽车销售…</view>
<view class="up-icon"></view>
</view>
</view>
<view class="store-body flex">
<view class="total-box">
<view class="total-title">
<text>应触客台数</text>
<uni-icons type="help" size="18" color="#A2A2A8"></uni-icons>
</view>
<view class="total-num">
45
<text>台</text>
</view>
<view class="total-time">截至2025-1-5</view>
</view>
<view class="total-detail flex">
<view class="month-box">
<view class="month-header flex">
<view class="sprite-icon icon-yw-icon"></view>
<text>单延保</text>
</view>
<view class="value-box flex">
<view class="value-desc flex">
<view class="value-title">产值</view>
<view class="value-price">
<text>¥</text>
217,200
</view>
</view>
<view class="value-desc flex">
<view class="value-title">成交</view>
<view class="value-price">
17
<text>单</text>
</view>
</view>
</view>
<view class="value-detail">
<view class="detail-item" v-for="(item, index) in 3">
<view class="detail-label">
<text>渗透率</text>
<uni-icons type="help" size="15" color="#A2A2A8"></uni-icons>
</view>
<view class="detail-num">54</view>
</view>
</view>
</view>
<view class="month-box">
<view class="month-header flex">
<view class="sprite-icon icon-yw-icon"></view>
<text>单延保</text>
</view>
<view class="value-box flex">
<view class="value-desc flex">
<view class="value-title">产值</view>
<view class="value-price">
<text>¥</text>
217,200
</view>
</view>
<view class="value-desc flex">
<view class="value-title">成交</view>
<view class="value-price">
17
<text>单</text>
</view>
</view>
</view>
<view class="value-detail">
<view class="detail-item" v-for="(item, index) in 3">
<view class="detail-label">渗透率</view>
<view class="detail-num">54</view>
</view>
</view>
</view>
</view>
</view>
<view class="income-body">
<view class="income-header flex">
<view class="sprite-icon icon-income-icon"></view>
<text>本月收入测算</text>
<view class="history-box flex-center">
<view class="sprite-icon icon-lssl-icon"></view>
<text>历史收入</text>
</view>
</view>
<view class="income-panel">
<view class="panel-up flex">
<view class="sprite-icon icon-income-card"></view>
<text>本月预估收入</text>
<view class="sprite-icon icon-eyes-on"></view>
<view class="time">截至2025-1-5</view>
</view>
<view class="panel-bottom">
<text>¥</text>
23,746.60
</view>
</view>
<view class="income-detail">
<view class="income-detail-item flex" v-for="(item, index) in IncomeList" :key="index">
<view :class="`sprite-icon icon-${item.icon}`"></view>
<view class="item-label">{{ item.label }}</view>
<uni-icons type="help" size="15" color="#A2A2A8"></uni-icons>
<view class="item-value">{{ item.value }}</view>
<view class="item-next" @click="showDetail(item)"></view>
</view>
</view>
<view class="income-footer">个人所得税、社保、迟到、早退等月初统一核算,不包括在收入测算中。实际发放工资以工资核算为准。</view>
</view>
<Dailog @close="show = false" v-if="show" width="1288rpx" :title="detail.label" :icon="detail.icon">
<view class="dailog-body" slot="content">
<table class="table-box">
<tr class="th">
<th v-for="(item, index) in tabelTh" :key="index" :style="{ width: item.width + '%' }">{{ item.title }}</th>
</tr>
<tr class="tr">
<td v-for="(item, index) in tabelTr" :key="index">
<ul v-if="item.list">
<li v-for="(l, i) in item.list">{{ l }}</li>
</ul>
<template v-else>
{{ item.content }}
</template>
</td>
</tr>
</table>
<view class="table-footer flex">
<text>延保提成合计:</text>
<text class="price">¥ 15465.0</text>
</view>
</view>
</Dailog>
<MessageBox ref="drawVisible" position="bottom" :isFooter="false" title="请选择业务类型" :maxHeight="1000">
<view class="select-box">
<view class="select-item" :class="{ checked: form.type == item.label }" @click="select(item.label)" v-for="(item, index) in list" :key="index">
{{ item.label }}
</view>
</view>
</MessageBox>
</view>
</template>
<script>
import Dailog from './Dailog'
export default {
components: {
Dailog
},
data() {
return {
show: false,
activeIndex: 0,
tabelTh: [
{
title: '序号',
width: 10
},
{
title: '门店名称'
},
{
title: '提成',
width: 10
}
],
tabelTr: [],
tabList: [
{
name: '问界'
},
{
name: '其他'
}
],
detail: {},
form: {},
IncomeList: [
{
label: '基本工资',
icon: 'jbgz-icon',
value: '1000'
},
{
label: '退单冲减',
icon: 'tdcj-icon',
value: '1000'
},
{
label: '会员权益/升级',
icon: 'qytc-icon',
value: '1000'
},
{
label: '日报扣款',
icon: 'rbkk-icon',
value: '1000'
},
{
label: '轻改提成',
icon: 'qgtc-icon',
value: '1000'
},
{
label: '平板接待扣款',
icon: 'pbjd-icon',
value: '1000'
},
{
label: '本月递延金',
icon: 'bydyj-icon',
value: '1000'
},
{
label: '返还递延金',
icon: 'ffdyj-icon',
value: '1000'
},
{
label: '其他',
icon: 'qt-icon',
value: '1000'
}
],
tipsList: [
{
company: '榆林华睿通汽车销售服务有限公司',
title: '安心包Max渗透率提醒',
content: '本月安心包Max 渗透率为25%,超过20%。如果达到30%,延保提成系数将按照1.1执行,加油!',
time: '2025-01-07 09:30:00',
tips: '延保提成'
},
{
company: '榆林华睿通汽车销售服务有限公司',
title: '安心包Max渗透率提醒',
content: '本月安心包Max 渗透率为25%,超过20%。如果达到30%,延保提成系数将按照1.1执行,加油!',
time: '2025-01-07 09:30:00',
tips: '延保提成'
},
{
company: '榆林华睿通汽车销售服务有限公司',
title: '安心包Max渗透率提醒',
content: '本月安心包Max 渗透率为25%,超过20%。如果达到30%,延保提成系数将按照1.1执行,加油!',
time: '2025-01-07 09:30:00',
tips: '延保提成'
}
],
list: [
{
label: '业务类型1'
},
{
label: '业务类型2'
},
{
label: '业务类型3'
},
{
label: '业务类型4'
},
{
label: '业务类型5'
}
],
show: false,
calDaliog: false,
caseList: []
}
},
methods: {
showDetail(item) {
this.detail = item
this.show = true
},
selectTab(index) {
this.activeIndex = index
},
showPopup() {
this.$refs.drawVisible.open()
}
}
}
</script>
<style scoped lang="scss">
.store-container {
padding-top: 32rpx;
.store-header {
padding: 0 36rpx;
text {
font-size: 32rpx;
margin-top: -6rpx;
color: #1a1a1a;
}
.tab-box {
margin-left: auto;
width: 212rpx;
height: 60rpx;
background: #f0f6ff00;
border: 2rpx solid #e9ecf2;
border-radius: 430rpx;
display: flex;
align-items: center;
justify-content: center;
.tab-item {
font-size: 26rpx;
color: #666666;
text-align: center;
width: 50%;
&.active {
width: 100rpx;
height: 48rpx;
line-height: 48rpx;
background: #ffffff;
border-radius: 462rpx;
color: #2d66f7;
}
}
}
.select-store {
margin-left: 38rpx;
width: 336rpx;
height: 60rpx;
background: #f0f6ff00;
border: 2rpx solid #dde9fb;
border-radius: 12rpx;
padding: 0 20rpx;
.store-name {
width: 260rpx;
}
.up-icon {
border-right: 10rpx solid transparent;
border-left: 10rpx solid transparent;
border-top: 10rpx solid #000000; /* 箭头颜色 */
}
}
}
.store-body {
padding: 0 36rpx;
margin-top: 40rpx;
.total-box {
width: 20%;
padding-left: 30rpx;
.total-title {
font-size: 28rpx;
color: #181a1f;
line-height: 36rpx;
}
.total-num {
font-size: 48rpx;
color: #3773f8;
font-weight: 600;
margin-top: 16rpx;
text {
font-size: 22rpx;
}
}
.total-time {
margin-top: 64rpx;
font-size: 24rpx;
color: #808291;
}
}
.total-detail {
flex: 1;
.month-box {
margin-left: 40rpx;
flex: 1;
padding: 32rpx;
background: #ffffff;
border-radius: 24rpx;
.month-header {
text {
font-size: 24rpx;
color: #808291;
margin-left: 16rpx;
}
}
.value-box {
.value-desc {
min-width: 50%;
&:last-child {
margin-left: 30rpx;
}
.value-title {
font-size: 24rpx;
color: #adb0b8;
line-height: 36rpx;
}
.value-price {
font-size: 32rpx;
color: #181a1f;
line-height: 60rpx;
margin-left: 4rpx;
text {
font-size: 24rpx;
}
}
}
}
.value-detail {
background: #ffffff;
border-radius: 16rpx;
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 16rpx 0rpx;
.detail-item {
.detail-label {
font-size: 24rpx;
color: #adb0b8;
line-height: 36rpx;
}
.detail-num {
font-size: 32rpx;
color: #292d33;
line-height: 48rpx;
}
}
}
}
}
}
.income-body {
margin-top: 48rpx;
background: #ffffff;
border: 4rpx solid #ffffff;
box-shadow:
0 0 40rpx -8rpx #5182cc33,
inset 0 4rpx 8rpx 0 #ffffff80;
border-radius: 48rpx;
padding: 32rpx 36rpx;
.income-header {
text {
font-size: 32rpx;
margin-top: -6rpx;
color: #1a1a1a;
}
.history-box {
margin-left: auto;
width: 184rpx;
height: 60rpx;
background: #ffffff;
border: 2rpx solid #edeff2;
border-radius: 30rpx;
text {
font-size: 26rpx;
color: #808291;
margin-left: 8rpx;
}
}
}
.income-panel {
height: 152rpx;
width: 100%;
padding: 24rpx 48rpx;
background-image: linear-gradient(180deg, #e6f1ff 0%, #f9fcff 100%);
border: 2rpx solid #ffffff;
box-shadow: inset 0 4rpx 8rpx 0 #ffffff80;
border-radius: 24rpx;
box-sizing: border-box;
.panel-up {
font-size: 28rpx;
color: #808291;
.time {
margin-left: auto;
font-size: 24rpx;
color: #808291;
}
text {
margin: 0 16rpx;
}
}
.panel-bottom {
font-weight: 600;
font-size: 40rpx;
color: #181a1f;
margin-top: 10rpx;
text {
font-size: 28rpx;
}
}
}
.income-detail {
display: flex;
flex-wrap: wrap;
gap: 40rpx 96rpx;
padding: 30rpx;
.income-detail-item {
width: calc(50% - 96rpx);
.item-label {
font-weight: 300;
font-size: 26rpx;
color: #181a1f;
margin: 0 10rpx 0 16rpx;
}
.item-value {
font-size: 30rpx;
color: #181a1f;
margin-left: auto;
}
.item-next {
margin-left: 24rpx;
width: 0;
height: 0;
border-left: 10rpx solid #808291;
border-bottom: 10rpx solid transparent;
border-top: 10rpx solid transparent; /* 箭头颜色 */
}
}
}
.income-footer {
font-size: 24rpx;
color: #808291;
padding-left: 40rpx;
padding-bottom: 60rpx;
}
}
.store-footer {
margin-top: 40rpx;
.store-btn {
width: 100%;
height: 80rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 32rpx 0 #ffffff80;
border-radius: 16rpx;
line-height: 80rpx;
font-size: 28rpx;
color: #ffffff;
text-align: center;
}
}
}
.select-box {
margin: toRpx(40) 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: toRpx(20);
overflow-y: scroll;
max-height: 50vh;
padding-bottom: toRpx(60);
.select-item {
text-align: center;
height: toRpx(68);
line-height: toRpx(68);
opacity: 1;
border: toRpx(2) solid #dce0e6;
color: #292d33;
font-size: toRpx(28);
border-radius: toRpx(8);
&.checked {
border: toRpx(2) solid #292d33;
}
}
}
.table-box {
width: 100%;
padding: 0 64rpx;
border-collapse: separate;
/* 防止边框合并 */
border-spacing: 0;
border: none;
.th {
position: sticky;
top: 0;
}
/* 单元格之间没有间距 */
tr {
border: none;
text-align: center;
&.line {
td {
border-top: 16rpx solid rgba($color: #fff, $alpha: 0.9);
}
}
th {
border: 4rpx solid #fff;
/* 所有单元格都有边框 */
border-top: none;
/* 除了首行外,所有行的上方无边框 */
background: #edf2ff;
height: 88rpx;
font-size: 26rpx;
color: #333333;
&:first-child {
border-left: none;
border-radius: 16rpx 0 0 16rpx;
}
&:last-child {
border-radius: 0 16rpx 16rpx 0;
}
}
td {
border: 4rpx solid #fff;
/* 所有单元格都有边框 */
border-top: none;
/* 除了首行外,所有行的上方无边框 */
background: #f7f8fa;
height: 88rpx;
font-size: 26rpx;
color: #333333;
text-align: left;
padding: 20rpx 40rpx;
text {
color: #c8c8cc;
}
ul {
width: 100%;
padding: 0;
li {
list-style: none; /* 移除默认的列表样式 */
font-size: 26rpx;
color: #333333;
line-height: 46rpx;
&::before {
content: '•'; /* 使用Unicode字符作为点 */
color: #a2a2a8; /* 设置点的颜色 */
margin-right: 12rpx; /* 设置点与文字的间距 */
}
}
}
&.line {
border-bottom: 16rpx solid #fff;
}
&:first-child {
border-left: none;
}
&:last-child {
border-right: none;
}
}
}
}
.table-footer {
margin: 0 64rpx;
height: 88rpx;
padding: 0 48rpx;
background: #edf3ff;
border-radius: 0 0 16rpx 16rpx;
font-size: 26rpx;
color: #333333;
font-weight: 600;
.price {
margin-left: auto;
}
}
</style>
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 10:31:49
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-09 11:40:02
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Dailog.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<view class="dailog-panel">
<view class="dailog-box">
<view class="dailog-left flex-center">
<view class="sprite-icon icon-locker-icon"></view>
</view>
<view class="dailog-right">
<view class="dailog-close" @click="close"><uni-icons type="closeempty" size="20"></uni-icons></view>
<view class="password-title flex">
<text>{{ passwordInfo.title }}</text>
<view :class="`sprite-icon icon-${passwordInfo.icon}`"></view>
</view>
<view class="password-tips">{{ passwordInfo.tips }}</view>
<view class="verify-box" v-if="passwordInfo.type == 'reset'">
<view class="verify-title flex-between">
<text>接收验证码手机号码:{{ phone | formatPhone }}</text>
<view :class="['verify-btn', `${count ? 'code-disabled' : ''}`]" @click="getSmsCode">{{ count ? `重新发送(${count}s)` : '发送验证码' }}</view>
</view>
<view class="verify-input flex">
<text>验证码:</text>
<input type="number" maxlength="6" />
</view>
</view>
<view class="password-warn" v-if="passwordInfo.warn">{{ passwordInfo.warn }}</view>
<view class="password-body flex">
<view class="password-input" v-for="(input, index) in passwords" :key="index">
<input type="number" :ref="'input' + index" v-model="passwords[index]" @input="handleInput(index)" @keydown="handleKeyUp($event, index)" maxlength="1" :focus="focusedIndex === index" class="password-input-single" />
</view>
</view>
<template v-if="passwordInfo.type == 'set'">
<view class="password-sure">{{ passwordInfo.sure }}</view>
<view class="password-body flex">
<view class="password-input" v-for="(input, index) in passwords" :key="index">
<input type="number" :ref="'input' + index" v-model="passwords[index]" @input="handleInput(index)" @keydown="handleKeyUp($event, index)" maxlength="1" :focus="focusedIndex === index" class="password-input-single" />
</view>
</view>
</template>
<view class="password-change" v-if="passwordInfo.type == 'input'">
<text>忘记密码?</text>
<text class="password-btn">找回密码</text>
</view>
<view class="password-complete" v-if="passwordInfo.complete">{{ passwordInfo.complete }}</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
passwordInfo: '',
phone: '',
count: 0,
typeList: [
{
type: 'input',
title: '输入隐私密码',
icon: 'eyes-off',
tips: '即将访问个人收入计算模块,请输入隐私密码'
},
{
type: 'set',
title: '设置隐私密码',
icon: 'eyes-off',
tips: '首次访问收入计算模块需要设置6位数字隐私密码。',
warn: '收入计算涉及个人隐私,请勿将密码告知他人。',
sure: '请再次输入以确认',
complete: '完成密码设置'
},
{
type: 'reset',
title: '重置密码',
icon: 'eyes-on',
tips: '通过短信验证码方式重置隐私密码',
complete: '确认重置密码'
}
],
passwords: ['', '', '', '', '', ''], // 初始化6个密码输入框的值为空数组
focusedIndex: 0, // 当前聚焦的输入框索引
stepList: [{ title: '设置隐私密码', content: '首次访问收入计算模块需要设置6位数字隐私密码。', warn: '收入计算涉及个人隐私,请勿将密码告知他人。' }, { title: '请再次输入以确认' }]
}
},
mounted() {
this.passwordInfo = this.typeList[2]
const { phone } = uni.$storage.get('userInfo')
this.phone = phone
},
filters: {
formatPhone(phone) {
return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
}
},
methods: {
/**获取验证码 */
async getSmsCode() {
this.countDown(60)
return
const { phone, count } = this
try {
if (count) throw '验证码发送过于频繁,请稍后再试'
uni.showLoading({
mask: true
})
const { code, message } = await uni.$api.userApi.getSmsCode({ phone })
uni.hideLoading()
if (code == '0') {
uni.$logger.local.info(`${phone}发送验证码成功`)
uni.showToast({
title: '验证码已发送',
icon: 'none'
})
this.countDown(60)
} else throw message || '发送验证码失败'
} catch (error) {
uni.$logger.local.info(`${phone}发送验证码失败,失败原因:${error}`)
uni.hideLoading()
uni.showToast({
title: error,
icon: 'none'
})
}
},
/**验证码倒计时 */
countDown(countDown) {
if (countDown) this.count = countDown
setTimeout(() => {
let { count } = this
this.count = --count
if (count > 0) this.countDown()
else this.count = null
}, 1e3)
},
handleInput(index) {
// 当输入框有值时,移动焦点到下一个输入框
if (this.passwords[index]) {
// 如果不是最后一个输入框,则聚焦到下一个输入框
if (index < this.passwords.length - 1) {
this.focusedIndex = index + 1
}
}
},
handleKeyUp(event, index) {
console.log(event, index)
// 检查按下的键是否是删除键(Backspace)
if (event.keyCode === 8) {
// 如果当前输入框为空,并且不是第一个输入框,则将焦点移动到前一个输入框
if (this.passwords[index] === '' && index > 0) {
this.focusedIndex = index - 1
// 清空前一个输入框的内容
this.passwords[index - 1] = ''
}
}
},
close() {
this.$emit('close')
}
}
}
</script>
<style scoped lang="scss">
.dailog-panel {
position: fixed;
width: 100vw;
height: 100vh;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
.dailog-box {
position: fixed;
left: 50%;
top: 50%;
background: #fff;
transform: translate(-50%, -50%);
border-radius: 48rpx;
display: flex;
.dailog-right {
position: relative;
padding: 128rpx 112rpx;
.dailog-close {
position: absolute;
top: 64rpx;
right: 64rpx;
.uni-icons {
color: #808291 !important;
font-size: 40rpx;
}
}
.password-title {
font-size: 40rpx;
color: #1a1a1a;
line-height: 56rpx;
text {
margin-right: 10rpx;
}
}
.verify-box {
.verify-title {
font-size: 32rpx;
color: #808291;
margin-top: 10rpx;
.verify-btn {
width: 208rpx;
height: 64rpx;
background: #ffffff;
border: 2rpx solid #2c66f7;
box-shadow: inset 0 0 32rpx 0 #ffffff80;
border-radius: 12rpx;
font-size: 28rpx;
color: #2c66f7;
text-align: center;
line-height: 60rpx;
&.code-disabled {
color: #9b9b9e;
border: 2rpx solid #9b9b9e;
}
}
}
.verify-input {
font-size: 32rpx;
color: #808291;
margin-top: 40rpx;
input {
width: 392rpx;
height: 104rpx;
background: #f2f4f7;
border-radius: 16rpx;
line-height: 104rpx;
padding-left: 20rpx;
}
}
}
.password-tips {
font-size: 32rpx;
color: #808291;
margin-top: 16rpx;
}
.password-warn {
font-size: 32rpx;
color: #f47f13;
line-height: 46rpx;
}
.password-sure {
font-size: 32rpx;
color: #f47f13;
line-height: 46rpx;
font-size: 32rpx;
color: #1a1a1a;
}
.password-body {
margin: 96rpx 0;
.password-input {
margin-right: 24rpx;
input {
width: 112rpx;
height: 136rpx;
text-align: center;
line-height: 136rpx;
background: #f2f4f7;
border-radius: 20rpx;
}
}
}
.password-change {
font-size: 32rpx;
color: #808291;
.password-btn {
color: #2c66f7;
}
}
.password-complete {
width: 376rpx;
height: 96rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 32rpx 0 #ffffff80;
border-radius: 16rpx;
font-size: 36rpx;
color: #ffffff;
line-height: 96rpx;
text-align: center;
}
}
}
}
</style>
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-08 09:51:43
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-08 10:31:05
* @FilePath: \gl-tape\components\HomeFrame\components\Income\Tips.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<view class="dailog-panel">
<view class="dailog-box">
<view class="dailog-header">
<view class="dailog-title">{{ selectItem.title }}</view>
<view class="dailog-close" @click="close"><uni-icons type="closeempty" size="20"></uni-icons></view>
</view>
<view class="dailog-content">{{ selectItem.content }}</view>
<view class="dailog-desc">{{ selectItem.desc }}</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
show: '',
selectItem: {
title: '权益提成',
content: '权益提成 = 权益产值 × 提成系数 × 提成比例',
desc: '提成比例'
}
}
},
methods: {
close() {
this.$emit('close')
}
}
}
</script>
<style scoped lang="scss">
.dailog-panel {
position: fixed;
width: 100vw;
height: 100vh;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
.dailog-box {
position: fixed;
left: 50%;
top: 50%;
width: 1040rpx;
transform: translate(-50%, -50%);
background: #fff;
background-image: linear-gradient(179deg, #d6e9ff 12%, #ffffff 100%); /* 顶部渐变和底部白色 */
background-size:
100% 110rpx,
100% calc(100% - 110rpx); /* 分别设置渐变和白色的背景大小 */
background-repeat: no-repeat, no-repeat; /* 确保背景不重复 */
background-position: top, bottom; /* 分别设置渐变和白色的位置 */
border-radius: 48rpx;
padding-bottom: 96rpx;
.dailog-header {
display: flex;
padding: 40rpx 48rpx;
.dailog-title {
font-size: 40rpx;
color: #1a1a1a;
font-weight: 600;
}
.dailog-close {
margin-left: auto;
text-align: right;
.uni-icons {
color: #808291 !important;
font-size: 40rpx;
}
}
}
.dailog-content {
font-size: 32rpx;
color: #1a1a1a;
line-height: 52rpx;
padding: 0 120rpx 0 152rpx;
margin-top: 32rpx;
}
.dailog-desc {
font-size: 32rpx;
color: #808291;
padding: 0 120rpx 0 152rpx;
margin-top: 32rpx;
line-height: 48rpx;
}
.dailog-logo {
text-align: center;
image {
width: 228rpx;
height: 228rpx;
}
}
}
}
</style>
<template> <template>
<view class="income-container"> <view class="income-container">
<view class="income-header">
<view class="level-box">
<view class="sprite-icon icon-zj-icon"></view>
<view class="level-label">职级</view>
<view class="level-desc">初级驻店</view>
<view class="sprite-icon icon-js-icon"></view>
</view>
<view class="time-box">
<view class="sprite-icon icon-work-icon"></view>
<view class="level-label">本月出勤</view>
<view class="time-day">22/27</view>
<view class="time-go"></view>
</view>
</view>
<view class="footer-box flex-center">
<view class="sprite-icon icon-tips-b"></view>
最终的交付数以厂家提供的交付数为准,个人填写的交付数仅为工资测算参考。
</view>
<view class="income-body"> <view class="income-body">
<view class="income-store"> <view class="income-store">
<view class="store-header"></view> <My-Store></My-Store>
<view class="my-store"></view> </view>
<view class="income-item">
<Day-Tips></Day-Tips>
</view> </view>
<view class="income-item"></view>
<view class="income-item"></view>
</view> </view>
<Password v-if="showPassword" @close="showPassword = false"></Password>
</view> </view>
</template> </template>
<script> <script>
import DayTips from './DayTips'
import Password from './Password.vue'
import MyStore from './MyStore'
export default { export default {
components: { DayTips, Password, MyStore },
data() { data() {
return {} return {
showPassword: false
}
},
inject: ['hideFooter'],
mounted() {
this.hideFooter(false)
},
destroyed() {
this.hideFooter(true)
}, },
methods: {} methods: {}
} }
...@@ -22,28 +54,85 @@ export default { ...@@ -22,28 +54,85 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.income-container { .income-container {
padding-right: 66rpx; position: relative;
.income-header {
position: absolute;
top: -120rpx;
right: 64rpx;
display: flex;
.level-box {
width: 464rpx;
height: 84rpx;
background: #f0f6ff00;
border: 2rpx solid #c0d8fb;
border-radius: 42rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32rpx;
.level-desc {
font-size: 28rpx;
color: #181a1f;
margin-left: 38rpx;
}
}
.time-box {
display: flex;
align-items: center;
justify-content: space-between;
width: 398rpx;
height: 84rpx;
background: #f0f6ff00;
border: 2rpx solid #b0ccf5;
border-radius: 42rpx;
margin-left: 32rpx;
padding: 0 32rpx;
.level-label {
font-size: 28rpx;
color: #181a1f;
}
.time-day {
font-size: 36rpx;
color: #2d66f7;
margin-left: 48rpx;
}
.time-go {
border-bottom: 10rpx solid transparent;
border-left: 14rpx solid #2d66f7;
border-top: 10rpx solid transparent; /* 箭头颜色 */
}
}
}
.footer-box {
color: #3773f8;
font-size: 24rpx;
width: 100%;
font-weight: 600;
position: absolute;
bottom: -50rpx;
left: 0;
text-align: center;
}
} }
.income-body { .income-body {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: 66% 34%;
column-gap: 48rpx; column-gap: 48rpx;
height: calc(100vh - 260rpx); height: calc(100vh - 260rpx);
width: calc(100% - 110rpx);
margin-top: 32rpx; margin-top: 32rpx;
.income-store { .income-store {
.my-store { background: #f2f7ff;
background-image: linear-gradient(180deg, #f4fbfe 0%, #ffffff 50%); border: 4rpx solid #ffffff;
border: 4rpx solid #ffffff; box-shadow: inset 0 4rpx 8rpx 0 #ffffff80;
box-shadow: inset 0 4rpx 8rpx 0 rgba(255, 255, 255, 0.5); border-radius: 48rpx;
border-radius: 48rpx; overflow: hidden;
height: 50vh;
}
} }
.income-item { .income-item {
height: 100%; height: 100%;
background-image: linear-gradient(180deg, #faf9f7 0%, #ffffff 28%); background: #f0f5ff;
border: 4rpx solid #ffffff; border: 4rpx solid #ffffff;
box-shadow: inset 0 4rpx 8rpx 0 rgba(255, 255, 255, 0.5); box-shadow: inset 0 4rpx 8rpx 0 #ffffff80;
border-radius: 48rpx; border-radius: 48rpx;
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-31 16:53:31 * @Date: 2024-12-31 16:53:31
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-07 10:22:28 * @LastEditTime: 2025-01-09 16:23:06
* @FilePath: \gl-tape\components\HomeFrame\components\Point.vue * @FilePath: \gl-tape\components\HomeFrame\components\Point.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -30,9 +30,9 @@ export default { ...@@ -30,9 +30,9 @@ export default {
componentList:['Point','Income'], componentList:['Point','Income'],
tabName: 'Point', tabName: 'Point',
tabList:[{ tabList:[{
name:'积分权益', name:'我的积分',
},{ },{
name:'收入计算', name:'我的收入',
}] }]
} }
}, },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-04-08 11:30:30 * @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-03 14:32:15 * @LastEditTime: 2025-01-08 15:15:41
--> -->
<template> <template>
<view class="point-box"> <view class="point-box">
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
mixins: [point], mixins: [point],
data() { data() {
return { return {
pointClassification: ['C001', 'C002', 'C003'], pointClassification: ['C001', 'C003', 'C002'],
pointClassName: ['能力类', '日常行为类', '学习类'], pointClassName: ['能力类', '日常行为类', '学习类'],
statistics: {}, statistics: {},
levelImg: [require('@/assets/images/point/bronze.png'), require('@/assets/images/point/silver.png'), require('@/assets/images/point/gold.png'), require('@/assets/images/point/masonry.png')], levelImg: [require('@/assets/images/point/bronze.png'), require('@/assets/images/point/silver.png'), require('@/assets/images/point/gold.png'), require('@/assets/images/point/masonry.png')],
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-04-08 11:30:30 * @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-06 14:32:00 * @LastEditTime: 2025-01-08 16:17:34
--> -->
<template> <template>
<view class="point-box"> <view class="point-box">
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
</template> </template>
<script> <script>
import point from '@/mixin/point' import point from '@/mixin/point'
import { rules } from 'eslint-config-prettier'
export default { export default {
mixins: [point], mixins: [point],
data() { data() {
...@@ -57,13 +56,14 @@ export default { ...@@ -57,13 +56,14 @@ export default {
timer: null, timer: null,
selectItem: {}, selectItem: {},
list: [ list: [
{ title: '考勤打卡', typeCode: 'T005', content: '完成日常打卡', rules: '请打开嘀加智慧云企业微信进行上下班打卡', logo: require('@/assets/images/point/day-time.png') }, { title: '考勤打卡', typeCode: 'T006', content: '完成日常打卡', rules: '请打开嘀加智慧云企业微信进行上下班打卡', logo: require('@/assets/images/point/day-time.png') },
{ title: '日报填写', typeCode: 'T004', content: '完成日报填写', rules: '请打开嘀加智慧云企业微信生意助手员工版填写日报', logo: require('@/assets/images/point/day-report.png') }, { title: '日报填写', typeCode: 'T005', content: '完成日报填写', rules: '请打开嘀加智慧云企业微信生意助手员工版填写日报', logo: require('@/assets/images/point/day-report.png') },
{ title: '平板接待', typeCode: 'T006', content: '完成平板接待', rules: '即将跳转至展业助手开始接待', logo: require('@/assets/images/point/day-ipad.png'), jump: true }, { title: '平板接待', typeCode: 'T007', content: '完成平板接待', rules: '即将跳转至展业助手开始接待', logo: require('@/assets/images/point/day-ipad.png'), jump: true },
{ title: '飞行督导带教', typeCode: 'T003', content: '带教课程学习', rules: '请联系督导了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-training.png') }, { title: '飞行督导带教', typeCode: 'T001', content: '带教课程学习', rules: '请联系督导了解最近培训计划并参与培训', logo: require('@/assets/images/point/day-training.png') },
{ title: '总部集中培训', typeCode: 'T002', content: '总部集中培训', rules: '请打开嘀加智慧云企业微信生意助手员工版,进行AI趣练学习', logo: require('@/assets/images/point/day-train.png') }, { title: '总部集中培训', typeCode: 'T002', content: '总部集中培训', rules: '请打开嘀加智慧云企业微信生意助手员工版,进行AI趣练学习', logo: require('@/assets/images/point/day-train.png') },
{ title: '学习类', typeCode: 'T007', content: '完成学习课程', rules: '请联系运营同事,将您的优秀的经验进行开课分享', logo: require('@/assets/images/point/day-course.png') }, { title: '学习类', typeCode: 'T004', content: '完成学习课程', rules: '请联系运营同事,将您的优秀的经验进行开课分享', logo: require('@/assets/images/point/day-course.png') },
{ title: '预学习', typeCode: 'T001', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术', logo: require('@/assets/images/point/day-study.png') } { title: '预学习', typeCode: 'T003', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术', logo: require('@/assets/images/point/day-study.png') },
{ title: '行为异常', typeCode: 'T008', content: '完成预学习', rules: '即将跳转至客户档案通过录入预交车客户学习推荐套餐方案话术或客户案例广场学习更多套餐方案话术', logo: require('@/assets/images/point/day-study.png') }
], ],
dayList: [], dayList: [],
completed: 0, completed: 0,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-04-08 11:30:30 * @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2025-01-06 14:13:58 * @LastEditTime: 2025-01-09 10:38:48
--> -->
<template> <template>
<view class="point-box"> <view class="point-box">
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
<view class="level-desc"> <view class="level-desc">
<view class="level-item" :style="badgeList.includes(item.medalType) || isHigh ? item.style : ''" v-for="(item, index) in groupList" :key="index"> <view class="level-item" :style="badgeList.includes(item.medalType) || isHigh ? item.style : ''" v-for="(item, index) in groupList" :key="index">
<view class="star-logo"><image :src="badgeList.includes(item.medalType) || isHigh ? item.logo : item.logo_grey"></image></view> <view class="star-logo"><image :src="badgeList.includes(item.medalType) || isHigh ? item.logo : item.logo_grey"></image></view>
<view :class="{ 'star-name': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.title }}</view> <view :class="{ 'star-name': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.levelName }}</view>
<view :class="{ 'star-desc': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.content }}</view> <view :class="{ 'star-desc': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.levelDesc }}</view>
<view class="star-coupon"> <view class="star-coupon">
<view class="coupon-box"> <view class="coupon-box">
<image :src="require('@/assets/images/point/coupon_bg.png')" v-if="badgeList.includes(item.medalType) || isHigh"></image> <image :src="require('@/assets/images/point/coupon_bg.png')" v-if="badgeList.includes(item.medalType) || isHigh"></image>
...@@ -91,18 +91,11 @@ export default { ...@@ -91,18 +91,11 @@ export default {
groupList: [ groupList: [
{ title: '学习之星', style: 'background: #FFFAED;', medalType: 1, logo: require('@/assets/images/point/study_star.png'), logo_grey: require('@/assets/images/point/study_grey.png'), content: '月度学习类积分排名前10名', couponName: '50元话费券', couponNum: '1张' }, { title: '学习之星', style: 'background: #FFFAED;', medalType: 1, logo: require('@/assets/images/point/study_star.png'), logo_grey: require('@/assets/images/point/study_grey.png'), content: '月度学习类积分排名前10名', couponName: '50元话费券', couponNum: '1张' },
{ title: '全勤之星', style: 'background: #FFFAED;', medalType: 2, logo: require('@/assets/images/point/time_star.png'), logo_grey: require('@/assets/images/point/time_grey.png'), content: '当月全勤准时打卡,不包含请假特批', couponName: '50元饮品券', couponNum: '1张' }, { title: '全勤之星', style: 'background: #FFFAED;', medalType: 2, logo: require('@/assets/images/point/time_star.png'), logo_grey: require('@/assets/images/point/time_grey.png'), content: '当月全勤准时打卡,不包含请假特批', couponName: '50元饮品券', couponNum: '1张' },
{ title: '平板接待精英', style: 'background: #FFFAED;', medalType: 4, logo: require('@/assets/images/point/elite_star.png'), logo_grey: require('@/assets/images/point/elite_grey.png'), content: '平板接待月度无扣分记录', couponName: '50元水果券', couponNum: '1张' } { title: '平板接待精英', style: 'background: #FFFAED;', medalType: 3, logo: require('@/assets/images/point/elite_star.png'), logo_grey: require('@/assets/images/point/elite_grey.png'), content: '平板接待月度无扣分记录', couponName: '50元水果券', couponNum: '1张' }
], ],
badgeList: [], badgeList: [],
tabelTh: [ tabelTh: [{ title: '积分区间', width: 7 }],
{ title: '积分区间', width: 7 }, tabelTr: [{ content: '奖惩规则(每月)' }, { list: ['咖啡奶茶券 6 张', '生日当月专享哈根达斯券 1 张', '美团外卖直兑券 6 张', '闭门课分享活动参加资格', '定制公司公仔礼包'] }, { list: ['咖啡奶茶券 4 张', '生日当月专享哈根达斯券 1 张', '美团外卖直兑券 4 张', '定制公司公仔礼包'] }, { list: ['咖啡奶茶券 1 张', '美团外卖直兑券 1 张'] }, { list: ['咖啡奶茶券 1 张', '美团外卖直兑券 1 张'] }, { list: ['专项培训与辅导'] }]
{ title: '80-100', width: 18 },
{ title: '60-79', width: 18 },
{ title: '50-59', width: 17 },
{ title: '40-49', width: 17 },
{ title: '39及以下', width: 17 }
],
tabelTr: [{ content: '奖惩规则(每月)' }, { list: ['咖啡奶茶券 6 张', '生日当月专享哈根达斯券 1 张', '美团外卖直兑券 6 张', '闭门课分享活动参加资格', '定制公司公仔礼包'] }, { list: ['奖惩规则(每月)'] }, { list: ['奖惩规则(每月)'] }, { list: ['奖惩规则(每月)'] }, { list: ['奖惩规则(每月)'] }]
} }
}, },
props: { props: {
...@@ -116,11 +109,25 @@ export default { ...@@ -116,11 +109,25 @@ export default {
this.isHigh = isHigh this.isHigh = isHigh
}, },
methods: { methods: {
getDetail(countDate) { getDetail() {
uni.$api.pointApi.getPoint({ countDate }).then(res => { this.getRule(1)
const { levelCode, badgeList } = res || {} this.getRule(2)
this.badgeList = badgeList.map(i => i.medalType) },
this.levelIndex = levelCode - 1 getRule(levelType) {
uni.$api.pointApi.rewardRule({ levelType }).then(res => {
if (levelType == 2) {
this.groupList = this.groupList.map(item => {
const findData = res.find(i => i.medalType == item.medalType)
return { ...item, ...findData }
})
console.log(this.groupList)
}
if (levelType == 1) {
const th = res.map(item => {
return { title: item.levelName, width: Math.floor(93 / res.length) }
})
this.tabelTh = [...this.tabelTh, ...th]
}
}) })
}, },
updateDetail(countDate) { updateDetail(countDate) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-04-08 11:30:30 * @Date: 2024-04-08 11:30:30
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-12-26 15:55:10 * @LastEditTime: 2025-01-08 15:14:37
--> -->
<template> <template>
<view class="point-box"> <view class="point-box">
...@@ -62,8 +62,8 @@ export default { ...@@ -62,8 +62,8 @@ export default {
selectItem: {}, selectItem: {},
detail: [], detail: [],
currentIndex: 0, currentIndex: 0,
pointImg: [require('@/assets/images/point/bronze_ranking.png'), require('@/assets/images/point/silver_ranking.png'), require('@/assets/images/point/gold_ranking.png'), require('@/assets/images/point/masonry_ranking.png')], pointImg: [require('@/assets/images/point/bronze_ranking.png'), require('@/assets/images/point/silver_ranking.png'), require('@/assets/images/point/masonry_ranking.png')],
starImg: [require('@/assets/images/point/study_star.png'), require('@/assets/images/point/time_star.png'), require('@/assets/images/point/teacher_star.png'), require('@/assets/images/point/elite_star.png')], starImg: [require('@/assets/images/point/study_star.png'), require('@/assets/images/point/time_star.png'), require('@/assets/images/point/elite_star.png')],
pointList: [ pointList: [
{ {
src: require('@/assets/images/point/point_bg.png'), src: require('@/assets/images/point/point_bg.png'),
...@@ -79,10 +79,6 @@ export default { ...@@ -79,10 +79,6 @@ export default {
style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);' style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);'
}, },
{ {
src: require('@/assets/images/point/teacher_bg.png'),
style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);'
},
{
src: require('@/assets/images/point/ipad_bg.png'), src: require('@/assets/images/point/ipad_bg.png'),
style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);' style: 'background-image: linear-gradient(270deg, #c2d8fc59 0%, #d1e9ff59 100%);'
} }
...@@ -92,7 +88,7 @@ export default { ...@@ -92,7 +88,7 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
getDetail(countDate) { getDetail(countDate) {
for (let i = 0; i < 4; i++) { for (let i = 0; i < 3; i++) {
this.getList(countDate, i + 1) this.getList(countDate, i + 1)
} }
this.getList(countDate) this.getList(countDate)
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<template v-if="item.pointValue">{{ item.pointValue }}</template> <template v-if="item.pointValue">{{ item.pointValue }}</template>
<text v-else>导入</text> <text v-else>导入</text>
</td> </td>
<td>{{ item.pointsValueMax }}</td>
<td>{{ item.detail }}</td> <td>{{ item.detail }}</td>
</tr> </tr>
</table> </table>
...@@ -35,10 +36,11 @@ export default { ...@@ -35,10 +36,11 @@ export default {
return { return {
selectItem: {}, selectItem: {},
tabelTh: [ tabelTh: [
{ title: '分类', width: 7 }, { title: '分类', width: 6 },
{ title: '积分类型', width: 8 }, { title: '积分类型', width: 7 },
{ title: '积分描述', width: 14 }, { title: '积分描述', width: 13 },
{ title: '积分值', width: 6 }, { title: '积分值', width: 5 },
{ title: '月满积分值', width: 8 },
{ title: '说明', width: 50 } { title: '说明', width: 50 }
], ],
tabelTr: [], tabelTr: [],
......
...@@ -141,6 +141,7 @@ export default { ...@@ -141,6 +141,7 @@ export default {
recordList:[{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10}], recordList:[{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10},{title:'签到',time:'2021-09-09',num:10}],
} }
}, },
inject: ['showPage'],
mounted () { mounted () {
const year = new Date().getFullYear() const year = new Date().getFullYear()
this.month = ((new Date().getMonth() + 1) + '').padStart(2, '0') this.month = ((new Date().getMonth() + 1) + '').padStart(2, '0')
...@@ -166,7 +167,7 @@ export default { ...@@ -166,7 +167,7 @@ export default {
}, },
jump(name,val) { jump(name,val) {
console.log(name,99) console.log(name,99)
this.$emit('showPage',name,val) this.showPage(name,val)
} }
} }
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<template v-else> <template v-else>
<component :is="componentName" :userInfo="userInfo" @showPage="handleShowPage" /> <component :is="componentName" :userInfo="userInfo" @showPage="handleShowPage" />
</template> </template>
<view class="store-addr"> <view class="store-addr" v-if="footerBox">
<view class="icon-addr sprite-icon icon-addr"></view> <view class="icon-addr sprite-icon icon-addr"></view>
<view class="addr-text">{{ userInfo.shopMerchantName }}</view> <view class="addr-text">{{ userInfo.shopMerchantName }}</view>
</view> </view>
...@@ -86,8 +86,9 @@ export default { ...@@ -86,8 +86,9 @@ export default {
data() { data() {
return { return {
transfer: '', transfer: '',
showHome: false, footerBox: true,
pointComponentName: 'History', showHome: true,
pointComponentName: 'Point',
userInfo: {}, userInfo: {},
tabIndex: 0 tabIndex: 0
} }
...@@ -96,7 +97,12 @@ export default { ...@@ -96,7 +97,12 @@ export default {
const userInfo = uni.$storage.get('userInfo') || {} const userInfo = uni.$storage.get('userInfo') || {}
this.userInfo = userInfo this.userInfo = userInfo
}, },
provide() {
return {
showPage: this.handleShowPage,
hideFooter: this.handleFooter
}
},
computed: { computed: {
previewRef() { previewRef() {
return this.$refs.previewRef return this.$refs.previewRef
...@@ -113,6 +119,10 @@ export default { ...@@ -113,6 +119,10 @@ export default {
} }
}, },
methods: { methods: {
handleFooter(val) {
console.log(val, 88)
this.footerBox = val
},
backHome() { backHome() {
this.showHome = true this.showHome = true
}, },
......
...@@ -2,29 +2,29 @@ ...@@ -2,29 +2,29 @@
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量 * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/ */
$fixedWidth:2346; $fixedWidth: 2346;
$detailVW:100vmin * (1173 / 768); $detailVW: 100vmin * (1173 / 768);
@function toRpx($val) { @function toRpx($val) {
@return $detailVW * ($val / $fixedWidth) @return $detailVW * ($val / $fixedWidth);
} }
@function toMinusRpx($val) { @function toMinusRpx($val) {
@return $detailVW * ($val / $fixedWidth) * -1 @return $detailVW * ($val / $fixedWidth) * -1;
} }
$margin:0 calc((100vmax - #{$detailVW}) / 2); $margin: 0 calc((100vmax - #{$detailVW}) / 2);
@import './assets/css/sprite.scss'; @import "./assets/css/sprite.scss";
@font-face { @font-face {
font-family: 'number-700'; font-family: "number-700";
src: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-700-Bold.ttf'); src: url("https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-700-Bold.ttf");
} }
@font-face { @font-face {
font-family: 'number-400'; font-family: "number-400";
src: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-400-Regular.ttf'); src: url("https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-400-Regular.ttf");
} }
@keyframes show-view { @keyframes show-view {
...@@ -67,7 +67,16 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2); ...@@ -67,7 +67,16 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2);
display: flex; display: flex;
align-items: center; align-items: center;
} }
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
.flex-between {
display: flex;
align-items: center;
justify-content: space-between;
}
.text-hide { .text-hide {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
...@@ -84,10 +93,9 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2); ...@@ -84,10 +93,9 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2);
} }
.byd-layout { .byd-layout {
background-image: url('@/assets/images/media/byd-media-bg.webp'); background-image: url("@/assets/images/media/byd-media-bg.webp");
} }
@media screen and (min-width: 500px) { @media screen and (min-width: 500px) {
.fixforpc-width { .fixforpc-width {
min-width: auto !important; min-width: auto !important;
...@@ -104,7 +112,6 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2); ...@@ -104,7 +112,6 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2);
} }
} }
@keyframes show-view-opacity { @keyframes show-view-opacity {
0% { 0% {
opacity: 0; opacity: 0;
...@@ -113,4 +120,4 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2); ...@@ -113,4 +120,4 @@ $margin:0 calc((100vmax - #{$detailVW}) / 2);
100% { 100% {
opacity: 1; opacity: 1;
} }
}
\ No newline at end of file \ 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!