Commit e0fb8d86 by huyue

提交兑换券

1 parent d829d7c5
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
background-position: calc(100vmin * (1173 / 768) * -0.5852514919011083) calc(100vmin * (1173 / 768) * -0.4484228473998295);} background-position: calc(100vmin * (1173 / 768) * -0.5852514919011083) calc(100vmin * (1173 / 768) * -0.4484228473998295);}
.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.5967604433077579) calc(100vmin * (1173 / 768) * -0.16197783461210571);} background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.16197783461210571);}
.icon-coupon-arrow { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.17220801364023872) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.15302642796248933) calc(100vmin * (1173 / 768) * 0);} background-position: calc(100vmin * (1173 / 768) * -0.15302642796248933) calc(100vmin * (1173 / 768) * 0);}
.icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654); .icon-customer-2 { width: calc(100vmin * (1173 / 768) * 0.17050298380221654); height: calc(100vmin * (1173 / 768) * 0.17050298380221654);
...@@ -48,11 +50,11 @@ ...@@ -48,11 +50,11 @@
.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.04049445865302643) calc(100vmin * (1173 / 768) * -0.5507246376811594);} background-position: calc(100vmin * (1173 / 768) * -0.04049445865302643) calc(100vmin * (1173 / 768) * -0.5507246376811594);}
.icon-eye-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-eye-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.17220801364023872) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-eyes-off { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.19224211423699913) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.19224211423699913) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-eyes-on { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-eyes-off { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.21227621483375958) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.21227621483375958) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-eyes-on { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.23231031543052003) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.2144075021312873) calc(100vmin * (1173 / 768) * -0.289002557544757);} background-position: calc(100vmin * (1173 / 768) * -0.2144075021312873) calc(100vmin * (1173 / 768) * -0.289002557544757);}
.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);
...@@ -72,19 +74,27 @@ ...@@ -72,19 +74,27 @@
.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.27408354646206307) calc(100vmin * (1173 / 768) * -0.4215686274509804);} background-position: calc(100vmin * (1173 / 768) * -0.27408354646206307) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.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.23231031543052003) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.25234441602728047) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.32395566922421143) calc(100vmin * (1173 / 768) * -0.5507246376811594);} background-position: calc(100vmin * (1173 / 768) * -0.32395566922421143) calc(100vmin * (1173 / 768) * -0.5507246376811594);}
.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.25234441602728047) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-male { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.27237851662404094) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.27237851662404094) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-icon-instructions { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.29241261722080136) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.29241261722080136) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-male { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3124467178175618) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-navigation { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.33248081841432225) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-notice { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.3525149190110827) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-shop { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.37254901960784315) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-icon-store { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.39258312020460356) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.5068201193520887) calc(100vmin * (1173 / 768) * -0.35805626598465473);} background-position: calc(100vmin * (1173 / 768) * -0.5068201193520887) calc(100vmin * (1173 / 768) * -0.35805626598465473);}
.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.3124467178175618) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.41261722080136404) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-income-card { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-income-card { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5545609548167093);} background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5545609548167093);}
.icon-income-count { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-income-count { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
...@@ -102,13 +112,13 @@ ...@@ -102,13 +112,13 @@
.icon-js-icon { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-js-icon { width: calc(100vmin * (1173 / 768) * 0.05456095481670929); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.06095481670929241) calc(100vmin * (1173 / 768) * -0.5230179028132992);} background-position: calc(100vmin * (1173 / 768) * -0.06095481670929241) calc(100vmin * (1173 / 768) * -0.5230179028132992);}
.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.33248081841432225) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.43265132139812446) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.3525149190110827) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.45268542199488493) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.37254901960784315) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.47271952259164535) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.39258312020460356) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.4927536231884058) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.5814151747655584) calc(100vmin * (1173 / 768) * -0.3171355498721228);} background-position: calc(100vmin * (1173 / 768) * -0.5814151747655584) calc(100vmin * (1173 / 768) * -0.3171355498721228);}
.icon-locker-icon { width: calc(100vmin * (1173 / 768) * 0.1466325660699062); height: calc(100vmin * (1173 / 768) * 0.20119352088661552); .icon-locker-icon { width: calc(100vmin * (1173 / 768) * 0.1466325660699062); height: calc(100vmin * (1173 / 768) * 0.20119352088661552);
...@@ -182,7 +192,7 @@ ...@@ -182,7 +192,7 @@
.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.5967604433077579) calc(100vmin * (1173 / 768) * -0.12702472293265132);} background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.12702472293265132);}
.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.41261722080136404) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.5127877237851662) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.45098039215686275) calc(100vmin * (1173 / 768) * -0.289002557544757);} background-position: calc(100vmin * (1173 / 768) * -0.45098039215686275) calc(100vmin * (1173 / 768) * -0.289002557544757);}
.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);
...@@ -194,7 +204,7 @@ ...@@ -194,7 +204,7 @@
.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.4620630861040068) calc(100vmin * (1173 / 768) * -0.5507246376811594);} background-position: calc(100vmin * (1173 / 768) * -0.4620630861040068) calc(100vmin * (1173 / 768) * -0.5507246376811594);}
.icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-store-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.43265132139812446) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.5328218243819267) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.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.5379369138959932) calc(100vmin * (1173 / 768) * -0.4215686274509804);} background-position: calc(100vmin * (1173 / 768) * -0.5379369138959932) calc(100vmin * (1173 / 768) * -0.4215686274509804);}
.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);
...@@ -202,7 +212,7 @@ ...@@ -202,7 +212,7 @@
.icon-tdcj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-tdcj-icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.484228473998295);} background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.484228473998295);}
.icon-tips-b { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-tips-b { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.45268542199488493) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.5528559249786871) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-tips-g { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986); .icon-tips-g { width: calc(100vmin * (1173 / 768) * 0.020460358056265986); height: calc(100vmin * (1173 / 768) * 0.020460358056265986);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.05370843989769821);} background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.05370843989769821);}
.icon-tips { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331); .icon-tips { width: calc(100vmin * (1173 / 768) * 0.03410059676044331); height: calc(100vmin * (1173 / 768) * 0.03410059676044331);
...@@ -214,16 +224,16 @@ ...@@ -214,16 +224,16 @@
.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.5596760443307758) calc(100vmin * (1173 / 768) * -0.5507246376811594);} background-position: calc(100vmin * (1173 / 768) * -0.5596760443307758) calc(100vmin * (1173 / 768) * -0.5507246376811594);}
.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.47271952259164535) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.5728900255754475) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-two-arrow { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.010230179028132993); .icon-two-arrow { width: calc(100vmin * (1173 / 768) * 0.011935208866155157); height: calc(100vmin * (1173 / 768) * 0.010230179028132993);
background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.1453537936913896);} background-position: calc(100vmin * (1173 / 768) * -0.5967604433077579) calc(100vmin * (1173 / 768) * -0.1453537936913896);}
.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.6155157715260017) calc(100vmin * (1173 / 768) * -0.5076726342710998);} background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5076726342710998);}
.icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-work-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.4927536231884058) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.592924126172208) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-ybtc_icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655); .icon-ybtc_icon { width: calc(100vmin * (1173 / 768) * 0.017050298380221655); height: calc(100vmin * (1173 / 768) * 0.017050298380221655);
background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5311167945439045);} background-position: calc(100vmin * (1173 / 768) * -0.6155157715260017) calc(100vmin * (1173 / 768) * -0.5311167945439045);}
.icon-yw-icon { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489); .icon-yw-icon { width: calc(100vmin * (1173 / 768) * 0.015345268542199489); height: calc(100vmin * (1173 / 768) * 0.015345268542199489);
background-position: calc(100vmin * (1173 / 768) * -0.1504688832054561) calc(100vmin * (1173 / 768) * -0.47911338448422847);} background-position: calc(100vmin * (1173 / 768) * -0.1504688832054561) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
.icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323); .icon-zj-icon { width: calc(100vmin * (1173 / 768) * 0.013640238704177323); height: calc(100vmin * (1173 / 768) * 0.013640238704177323);
background-position: calc(100vmin * (1173 / 768) * -0.5127877237851662) calc(100vmin * (1173 / 768) * -0.47911338448422847);}
\ No newline at end of file \ No newline at end of file
background-position: calc(100vmin * (1173 / 768) * -0.04390451832907076) calc(100vmin * (1173 / 768) * -0.5008525149190111);}
\ No newline at end of file \ No newline at end of file

131 KB | W: | H:

189 KB | W: | H:

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

2.3 MB | W: | H:

2.31 MB | W: | H:

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

6.42 KB | W: | H:

6.89 KB | W: | H:

assets/spritesmith/certificate.png
assets/spritesmith/certificate.png
assets/spritesmith/certificate.png
assets/spritesmith/certificate.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -103,6 +103,7 @@ export default { ...@@ -103,6 +103,7 @@ export default {
}) })
}, },
handleGo(val) { handleGo(val) {
console.log(val);
this.selectItem = val this.selectItem = val
if (val.jump) { if (val.jump) {
this.timer = setInterval(() => { this.timer = setInterval(() => {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<view class="back" @click="back"> <view class="back" @click="back">
<uni-icons type="left" :size="20" color="#000"></uni-icons> <uni-icons type="left" :size="20" color="#000"></uni-icons>
</view> </view>
<view v-if="isHigh" class="title"><text>兑换券介绍</text></view> <view v-if="isHigh" class="title"><text>我的兑换券</text></view>
<view class="month-box" v-else> <view class="month-box" v-else>
<view class="month-tabs"> <view class="month-tabs">
<view class="tab-prev" v-if="month <= currentMonth && month > 1" @click="prevTab"> <view class="tab-prev" v-if="month <= currentMonth && month > 1" @click="prevTab">
...@@ -29,47 +29,126 @@ ...@@ -29,47 +29,126 @@
</view> </view>
</view> </view>
<view class="point-body"> <view class="point-body">
<view class="level-box"> <view class="data-container">
<view class="level-logo"> <view :class="['type-box']">
<view class="sprite-icon icon-medal"></view> <view class="tab-item" v-for="(i, index) in typeList" :key="index" @click="changeType(index, 'firstIndex')">
<view class="level-title">成长勋章</view> <view
:class="['sprite-icon', firstIndex == index ? `icon-${firstClass[index]} active` : '', firstLeft[index]]">
</view> </view>
<view class="level-desc"> <view class="text" :class="[firstIndex == index ? `active` : '']">
<view class="level-item" :style="badgeList.includes(item.medalType) || isHigh ? item.style : ''" v-for="(item, index) in groupList" :key="index"> {{ i.tabName }}
<view class="star-logo"><image :src="badgeList.includes(item.medalType) || isHigh ? item.logo : item.logo_grey"></image></view> <template>{{ i.num() }}</template>
<view :class="{ 'star-name': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.levelName }}</view> <!-- <template>({{ preRecordFailList.length }})</template> -->
<view :class="{ 'star-desc': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.levelDesc }}</view> <div class="dot" :style="{ right: '86rpx' }" v-if="i.dot && i.dot()"></div>
<view class="star-coupon">
<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_grey.png')" v-else></image>
<view :class="{ 'coupon-title': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.couponName }}</view>
<view :class="{ 'coupon-num': true, grey: !badgeList.includes(item.medalType) && !isHigh }">{{ item.couponNum }}</view>
</view> </view>
</view> </view>
</view> </view>
<view class="tabs-bottom"></view>
<scroll-view :class="['record-list']" scroll-y @scrolltolower="pageonReachBottom" @scroll="scroll">
<template v-if="list.length">
<view class="coupon-list">
<template v-for="item in list">
<view :class="['coupon-bg', `${item.type}-bg`]">
<view class="coupon-img">
<img class="img" src="../../../../assets/images/point/study_star.png" alt="">
</view>
<view class="coupon-info">
<view :class="['coupon-name', { 'gray-name': item.type == 'expired' }]">{{ item.name }}星巴克中杯全国通兑券
</view>
<view :class="['coupon-price', { 'gray-text': item.type == 'expired' }]">官方价:¥{{ item.price }}
</view>
<view :class="['coupon-time', { 'gray-text': item.type == 'expired' }]">有效期:{{ item.time }}</view>
</view>
<view @click="openCoupon(item)"
:class="['coupon-btn', item.type == 'claimed' ? 'blue' : item.type == 'expired' ? 'gray gray-name' : 'red']">
{{ item.type == 'claimed' ? '查看券码' : item.type == 'expired' ? '已过期' : '使用领取' }}</view>
</view>
</template>
</view>
</template>
<template v-else>
<view class="nothing flex">
<image class="icon" src="../../../../assets/images/home/nothing.webp" />
暂无兑换券
</view>
</template>
</scroll-view>
</view>
</view>
<!-- 弹窗 -->
<view class="coupon-pop" v-if="showCouponPon">
<view class="pop-box">
<view class="coupon-card">
<view :class="['coupon-header', couponDetailInfo.type == 'claimed' ? 'detail-header' : '']">
<view class="header-img">
<img src="../../../../assets/images/point/teacher_star.png" alt="">
</view>
<view class="coupon-base-info">
<h3>星巴克中杯全国通兑券</h3>
<p>官方价:¥45</p>
<p>有效期:2025-3-31 00:00</p>
</view>
</view>
<view class="coupon-line"></view>
<view class="coupon-body">
<view class="coupon-qr" v-if="couponDetailInfo.type == 'claimed'">
<view class="coupon-tips">
<view class="sprite-icon icon-icon-instructions"></view>
<view>请截屏发送至手机或手机拍摄保存,按「使用须知」使用卡券</view>
</view>
<view class="coupon-qrcode">
<img class="qr-img" src="../../../../assets/images/point/teacher_star.png" alt="">
</view>
</view>
<view class="store-info">
<view class="sprite-icon icon-icon-store"></view>
<p class="store-label">附近门店</p>
<p class="store-address">深圳市南山区留仙大道1024号</p>
</view>
<view :class="['usage-notice', couponDetailInfo.type == 'claimed' ? 'claimed-usage':'']">
<view :class="[couponDetailInfo.type == 'claimed' ? 'claimed-notice':'']">
<view class="notice-title">
<view class="sprite-icon icon-icon-notice"></view>
<view class="m-l-8">使用须知</view>
</view>
<ol>
<li class="first-li">本产品有效期为购买后24小时内,请于24小时内到店使用。</li>
<li>如有质量问题,请于购买后24小时内联系客服,过期作废,非质量问题无法退换货,不同意勿拍。</li>
<li>到店出示本券由门店扫描验证即可兑换。星巴克全国指定直营门店可用(臻选店,机场店,火车站等交通枢纽和景区门店除外)。</li>
<li>请在本产品使用后再确认收货,一旦收货无法提供售后服务。如有售后,请妥善保管好您的星巴克小票以备使用。</li>
</ol>
</view>
</view>
<view class="coupon-footer" v-if="couponDetailInfo.type == 'unclaimed'">
<button class="claim-button" @click="handleUse">领取使用</button>
</view>
</view>
</view>
<view class="close-box" @click="closePop">
<view class="close-btn">×</view>
</view> </view>
</view> </view>
<view class="level-box">
<view class="level-logo">
<view class="sprite-icon icon-level"></view>
<view class="level-title">积分奖励</view>
</view> </view>
<view class="table-box"> <!-- 确认弹窗 -->
<table class="score-table"> <view class="dailog-panel" v-if="show">
<tr class="th"> <view class="dailog-box">
<th v-for="(item, index) in tabelTh" :key="index" :style="{ width: item.width + 'vw' }">{{ item.title }}</th> <view class="dailog-close" @click="show = false"><uni-icons type="closeempty" size="20"></uni-icons></view>
</tr> <view class="dailog-logo">
<tr class="tr"> <image src="../../../../assets/images/point/tips.png"></image>
<td v-for="(item, index) in tabelTr" :key="index"> </view>
<!-- <ul v-if="item.list"> <view class="dailog-title">领取提醒</view>
<li v-for="(l, i) in item.list">{{ l }}</li> <view class="dailog-content">
</ul> --> <view>卡券领取后需要在<view class="highlight">「24小时」</view>内按使用须知使用,</view>
<view v-html="getHtml(item.content || item.otherRewards)"></view> <view>如24小时内未使用则将失效,请合理规划使用时间进行领取。</view>
</td> <view> 请确认是否领取卡券?</view>
</tr> </view>
</table>
<view class="dailog-footer">
<template>
<view class="dailog-btn disabled" @click="show = false">暂不领取</view>
<view class="dailog-btn" @click="handleConfirm">确认领取</view>
</template>
</view> </view>
</view> </view>
</view> </view>
...@@ -81,25 +160,62 @@ export default { ...@@ -81,25 +160,62 @@ export default {
mixins: [point], mixins: [point],
data() { data() {
return { return {
selectItem: {},
detail: [],
isHigh: false, isHigh: false,
currentIndex: 0, typeList: Object.freeze([
levelIndex: 100, { tabName: '全部', num: () => '' },
groupList: [ { tabName: '未领取', num: () => '' },
{ 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张' }, { tabName: '已领取', num: () => '' },
{ 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张' }, { tabName: '已过期', num: () => '' }
{ 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张' } ]),
firstIndex: 0,
firstLeft: ['first', 'second', 'three'],
firstClass: ['first-nav', 'second-nav', 'second-nav'],
list: [
{
id: 1,
name: '星巴克中杯全国通兑券',
price: 45,
time: '2025-3-31 00:00',
type: 'claimed'
},
{
id: 2,
name: '星巴克中杯全国通兑券',
price: 45,
time: '2025-3-31 00:00',
type: 'unclaimed'
},
{
id: 3,
name: '星巴克中杯全国通兑券',
price: 45,
time: '2025-3-31 00:00',
type: 'expired'
},
{
id: 4,
name: '星巴克中杯全国通兑券',
price: 45,
time: '2025-3-31 00:00',
type: 'unclaimed'
},
{
id: 4,
name: '星巴克中杯全国通兑券',
price: 45,
time: '2025-3-31 00:00',
type: 'unclaimed'
}
], ],
badgeList: [], showCouponPon: false,
tabelTh: [{ title: '积分区间', width: 8 }], show: false,
tabelTr: [{ content: '奖惩规则(每月)' }] couponDetailInfo: {}
} }
}, },
props: { props: {
transfer: { transfer: {
type: Object, type: Object,
default: () => {} default: () => { }
} }
}, },
mounted() { mounted() {
...@@ -107,39 +223,47 @@ export default { ...@@ -107,39 +223,47 @@ export default {
this.isHigh = isHigh this.isHigh = isHigh
}, },
methods: { methods: {
getHtml(val) { changeType(index, name) {
return val.replace(/\n/g, '<br/>') console.log(index, name);
if (this[name] == index) return // 点击同一个
this.direction = ''
if (this[name] < index) {
this.direction = 'right'
} else {
this.direction = 'left'
}
this[name] = index
}, },
getDetail(countDate) { openCoupon(row) {
this.getRule(1) console.log(row);
this.getRule(2) const { type } = row
this.getBadgeList(countDate) switch (type) {
case 'unclaimed':
// 使用优惠券
this.showCouponPon = true
this.couponDetailInfo = row
break
case 'claimed':
this.showCouponPon = true
this.couponDetailInfo = row
break
default:
return
}
}, },
getBadgeList(countDate) { closePop() {
uni.$api.pointApi.badgeList({ countDate }).then(res => { this.showCouponPon = false
this.badgeList = res.map(item => item.medalType)
})
}, },
getRule(levelType) { // 领取使用按钮
uni.$api.pointApi.rewardRule({ levelType }).then(res => { handleUse() {
if (levelType == 2) { console.log(111);
this.groupList = this.groupList.map(item => { this.show = true
const findData = res.find(i => i.medalType == item.medalType) this.showCouponPon = false
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]
this.tabelTr = [...this.tabelTr, ...res]
}
})
}, },
updateDetail(countDate) { // 确认领取
this.getBadgeList(countDate) handleConfirm() {
console.log('确认领取');
this.show = false
} }
} }
} }
...@@ -148,6 +272,7 @@ export default { ...@@ -148,6 +272,7 @@ export default {
.point-box { .point-box {
position: relative; position: relative;
} }
.nav-bar { .nav-bar {
width: 100%; width: 100%;
height: toRpx(96); height: toRpx(96);
...@@ -155,6 +280,7 @@ export default { ...@@ -155,6 +280,7 @@ export default {
margin-bottom: toRpx(12); margin-bottom: toRpx(12);
display: flex; display: flex;
align-items: center; align-items: center;
.back { .back {
height: 100%; height: 100%;
aspect-ratio: 1/1; aspect-ratio: 1/1;
...@@ -170,22 +296,27 @@ export default { ...@@ -170,22 +296,27 @@ export default {
color: #1a1a1a; color: #1a1a1a;
flex: 1; flex: 1;
text-align: center; text-align: center;
text { text {
margin-left: -96rpx; margin-left: -96rpx;
} }
} }
.month-box { .month-box {
flex: 1; flex: 1;
.month-tabs { .month-tabs {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.tab-mid { .tab-mid {
font-size: toRpx(32); font-size: toRpx(32);
color: #1a1a1a; color: #1a1a1a;
margin: 0 toRpx(120); margin: 0 toRpx(120);
} }
} }
.tab-prev, .tab-prev,
.tab-next { .tab-next {
display: flex; display: flex;
...@@ -198,9 +329,211 @@ export default { ...@@ -198,9 +329,211 @@ export default {
} }
} }
} }
.point-body { .point-body {
padding: 0 toRpx(64); padding: 0 toRpx(64);
margin-top: toRpx(30); margin-top: toRpx(30);
.data-container {
background: #ffffff;
border-radius: toRpx(48);
margin-top: toRpx(48);
height: 72.39vh;
margin-right: toRpx(66);
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border: toRpx(2) solid #fff;
box-sizing: border-box;
position: relative;
overflow: hidden;
.type-box {
position: relative;
display: flex;
width: 100%;
background-color: #eef4fe;
height: toRpx(176);
line-height: toRpx(128);
border-radius: toRpx(48) toRpx(48) 0 0;
z-index: 0;
.tab-item {
width: toRpx(400);
text-align: center;
font-weight: 500;
font-size: toRpx(40);
color: #1f2133;
.first {
left: 0;
}
.second {
left: toRpx(352);
}
.three {
left: toRpx(756);
}
.text {
position: relative;
text-align: center;
width: toRpx(400);
.dot {
width: toRpx(16);
height: toRpx(16);
background: #f24724;
position: absolute;
top: toRpx(40);
border-radius: 50%;
right: toRpx(86);
}
}
.active {
position: absolute;
top: 0;
z-index: -1;
font-weight: 700;
font-size: toRpx(40);
color: #2c66f7;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: toRpx(48);
height: toRpx(8);
background-color: #2c66f7;
border-radius: toRpx(16);
}
}
}
}
}
.record-list {
height: calc(100% - #{toRpx(248)});
position: relative;
z-index: 4;
.coupon-list {
display: flex;
flex-wrap: wrap;
gap: toRpx(48) toRpx(60);
padding-left: toRpx(80);
}
.expired-bg {
background: url('../../../../assets/images/point/expired-bg.png') no-repeat;
}
.unclaimed-bg {
background: url('../../../../assets/images/point/unclaimed-bg.png') no-repeat;
}
.claimed-bg {
background: url('../../../../assets/images/point/claimed-bg.png') no-repeat;
}
.coupon-bg {
width: toRpx(452);
height: toRpx(536);
background-size: 100%;
.coupon-img {
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
width: toRpx(152);
height: toRpx(152);
margin: toRpx(40) auto;
border-radius: toRpx(32);
.img {
width: toRpx(152);
height: toRpx(152);
}
}
.coupon-info {
margin-top: toRpx(68);
padding: toRpx(0) toRpx(40);
.coupon-name {
// width: toRpx(372);
font-weight: 500;
font-size: toRpx(28);
color: #181A1F;
line-height: toRpx(48);
margin-bottom: toRpx(8);
overflow: hidden;
/* 超出部分隐藏 */
white-space: nowrap;
/* 文本不换行 */
text-overflow: ellipsis;
/* 超出部分显示省略号 */
}
.coupon-price,
.coupon-time {
font-size: toRpx(24);
color: #808291;
line-height: toRpx(40);
}
}
.coupon-btn {
margin: toRpx(32) toRpx(96);
width: toRpx(260);
height: toRpx(72);
font-weight: 500;
font-size: toRpx(28);
color: #FFFFFF;
box-shadow: inset 0 0 toRpx(32) 0 #ffffff59;
border-radius: toRpx(16);
text-align: center;
line-height: toRpx(72);
}
.gray-name {
color: #808291;
}
.gray-text {
color: #A2A2A8;
}
.red {
background-image: linear-gradient(180deg, #FF8243 0%, #FE4152 46%, #FE5496 100%);
}
.blue {
background-image: linear-gradient(180deg, #61C0FF 0%, #2C66F7 100%);
}
.gray {
background: #DCDCE0;
}
}
}
.tabs-bottom {
background: #fff;
height: toRpx(48);
position: relative;
z-index: 3;
border-radius: 24px 24px 0 0;
position: absolute;
width: 100%;
top: toRpx(128);
}
.table-box { .table-box {
height: 100%; height: 100%;
background: #ffffffe6; background: #ffffffe6;
...@@ -216,10 +549,12 @@ export default { ...@@ -216,10 +549,12 @@ export default {
/* 防止边框合并 */ /* 防止边框合并 */
border-spacing: 0; border-spacing: 0;
border: none; border: none;
.th { .th {
position: sticky; position: sticky;
top: 0; top: 0;
} }
/* 单元格之间没有间距 */ /* 单元格之间没有间距 */
tr { tr {
border: none; border: none;
...@@ -263,24 +598,33 @@ export default { ...@@ -263,24 +598,33 @@ export default {
color: #333333; color: #333333;
text-align: left; text-align: left;
padding: 20rpx 40rpx; padding: 20rpx 40rpx;
text { text {
color: #c8c8cc; color: #c8c8cc;
} }
ul { ul {
width: 100%; width: 100%;
padding: 0; padding: 0;
li { li {
list-style: none; /* 移除默认的列表样式 */ list-style: none;
/* 移除默认的列表样式 */
font-size: 26rpx; font-size: 26rpx;
color: #333333; color: #333333;
line-height: 46rpx; line-height: 46rpx;
&::before { &::before {
content: '•'; /* 使用Unicode字符作为点 */ content: '•';
color: #a2a2a8; /* 设置点的颜色 */ /* 使用Unicode字符作为点 */
margin-right: 12rpx; /* 设置点与文字的间距 */ color: #a2a2a8;
/* 设置点的颜色 */
margin-right: 12rpx;
/* 设置点与文字的间距 */
} }
} }
} }
&.line { &.line {
border-bottom: 16rpx solid #fff; border-bottom: 16rpx solid #fff;
} }
...@@ -295,16 +639,20 @@ export default { ...@@ -295,16 +639,20 @@ export default {
} }
} }
} }
.level-box { .level-box {
height: calc(50vh - #{toRpx(136)}); height: calc(50vh - #{toRpx(136)});
display: flex; display: flex;
&:first-child { &:first-child {
margin-bottom: toRpx(48); margin-bottom: toRpx(48);
} }
.level-logo { .level-logo {
.sprite-icon { .sprite-icon {
transform: scale(0.8); transform: scale(0.8);
} }
.level-title { .level-title {
font-weight: 600; font-weight: 600;
font-size: toRpx(36); font-size: toRpx(36);
...@@ -316,6 +664,7 @@ export default { ...@@ -316,6 +664,7 @@ export default {
margin-top: toRpx(16); margin-top: toRpx(16);
} }
} }
.level-desc { .level-desc {
height: 100%; height: 100%;
background: #ffffffe6; background: #ffffffe6;
...@@ -327,10 +676,12 @@ export default { ...@@ -327,10 +676,12 @@ export default {
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: toRpx(64); gap: toRpx(64);
padding: toRpx(56) toRpx(48); padding: toRpx(56) toRpx(48);
.level-item { .level-item {
background: #f7f7f7; background: #f7f7f7;
border-radius: toRpx(36); border-radius: toRpx(36);
position: relative; position: relative;
.my-level { .my-level {
position: absolute; position: absolute;
width: toRpx(154); width: toRpx(154);
...@@ -338,6 +689,7 @@ export default { ...@@ -338,6 +689,7 @@ export default {
top: -4rpx; top: -4rpx;
left: -4rpx; left: -4rpx;
} }
.item-name { .item-name {
font-size: toRpx(40); font-size: toRpx(40);
color: #a2a2a8; color: #a2a2a8;
...@@ -346,14 +698,17 @@ export default { ...@@ -346,14 +698,17 @@ export default {
top: toRpx(80); top: toRpx(80);
font-weight: 600; font-weight: 600;
} }
.star-logo { .star-logo {
margin-top: toRpx(44); margin-top: toRpx(44);
text-align: center; text-align: center;
image { image {
width: toRpx(168); width: toRpx(168);
height: toRpx(168); height: toRpx(168);
} }
} }
.star-coupon { .star-coupon {
position: absolute; position: absolute;
bottom: toRpx(38); bottom: toRpx(38);
...@@ -361,6 +716,7 @@ export default { ...@@ -361,6 +716,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
.coupon-box { .coupon-box {
width: toRpx(424); width: toRpx(424);
height: toRpx(96); height: toRpx(96);
...@@ -370,6 +726,7 @@ export default { ...@@ -370,6 +726,7 @@ export default {
justify-content: space-between; justify-content: space-between;
padding: 0 toRpx(32); padding: 0 toRpx(32);
z-index: 0; z-index: 0;
image { image {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -378,22 +735,27 @@ export default { ...@@ -378,22 +735,27 @@ export default {
height: toRpx(96); height: toRpx(96);
z-index: -1; z-index: -1;
} }
.coupon-title { .coupon-title {
font-size: toRpx(28); font-size: toRpx(28);
color: #5c3537; color: #5c3537;
&.grey { &.grey {
color: #fdfdff; color: #fdfdff;
} }
} }
.coupon-num { .coupon-num {
font-size: toRpx(28); font-size: toRpx(28);
color: #db832c; color: #db832c;
&.grey { &.grey {
color: #fdfdff; color: #fdfdff;
} }
} }
} }
} }
.star-name { .star-name {
text-align: center; text-align: center;
font-size: toRpx(40); font-size: toRpx(40);
...@@ -401,40 +763,49 @@ export default { ...@@ -401,40 +763,49 @@ export default {
margin-top: toRpx(4); margin-top: toRpx(4);
color: #292d33; color: #292d33;
font-weight: 600; font-weight: 600;
&.grey { &.grey {
color: #a2a2a8; color: #a2a2a8;
} }
} }
.star-desc { .star-desc {
font-size: toRpx(24); font-size: toRpx(24);
color: #181a1f; color: #181a1f;
text-align: center; text-align: center;
line-height: toRpx(60); line-height: toRpx(60);
&.grey { &.grey {
color: #a2a2a8; color: #a2a2a8;
} }
} }
.item-logo { .item-logo {
position: absolute; position: absolute;
top: toRpx(0); top: toRpx(0);
right: toRpx(32); right: toRpx(32);
image { image {
width: toRpx(184); width: toRpx(184);
} }
} }
.item-desc { .item-desc {
padding-left: toRpx(40); padding-left: toRpx(40);
font-size: toRpx(24); font-size: toRpx(24);
&.grey { &.grey {
color: #a2a2a8; color: #a2a2a8;
} }
} }
.item-footer { .item-footer {
position: absolute; position: absolute;
left: 0; left: 0;
bottom: toRpx(26); bottom: toRpx(26);
width: 100%; width: 100%;
} }
.item-detail { .item-detail {
width: calc(100% - #{toRpx(48)}); width: calc(100% - #{toRpx(48)});
box-sizing: border-box; box-sizing: border-box;
...@@ -444,6 +815,7 @@ export default { ...@@ -444,6 +815,7 @@ export default {
margin: toRpx(16) toRpx(24); margin: toRpx(16) toRpx(24);
padding: toRpx(12) toRpx(0); padding: toRpx(12) toRpx(0);
color: #a2a2a8; color: #a2a2a8;
.item-coupon { .item-coupon {
position: relative; position: relative;
font-size: toRpx(24); font-size: toRpx(24);
...@@ -455,4 +827,325 @@ export default { ...@@ -455,4 +827,325 @@ export default {
} }
} }
} }
.nothing {
width: 100%;
flex-direction: column;
margin-top: toRpx(112);
font-size: toRpx(28);
color: #999999;
.icon {
width: toRpx(678);
height: toRpx(284);
margin-bottom: toRpx(24);
}
}
// 弹窗
.coupon-pop {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .7);
z-index: 11;
height: 100vh;
.pop-box {
position: relative;
width: toRpx(1040);
// height: toRpx(1036);
// background-color: #fff;
border-radius: toRpx(64);
.coupon-card {
// background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 100%;
position: relative;
overflow: hidden;
}
.coupon-header {
display: flex;
align-items: center;
padding: toRpx(28) toRpx(80) toRpx(52);
height: toRpx(292);
background-image: linear-gradient(104deg, #FFF2D0 0%, #FFF7E3 31%, #FCE5E6 85%, #FBDCE7 100%);
-webkit-mask: radial-gradient(circle at 12px 12px, transparent 12px, red 12px) -12px -12px;
-webkit-mask-position: -12px -24px;
border-radius: toRpx(64);
&.detail-header {
background-image: linear-gradient(104deg, #DBEBFF 0%, #F1F5FD 39%, #E2F2FE 82%, #D1F0FF 100%);
}
.header-img {
width: toRpx(200);
height: toRpx(200);
background: #FFFFFF;
border-radius: toRpx(32);
img {
width: toRpx(200);
height: toRpx(200);
}
}
h3 {
margin: 0;
font-size: toRpx(36);
margin-bottom: toRpx(56);
}
p {
margin-top: toRpx(5);
color: #808291;
}
.coupon-base-info {
margin-left: toRpx(40);
}
}
.coupon-line {
margin-top: toRpx(-24);
height: toRpx(50);
background-color: #fff;
-webkit-mask: radial-gradient(circle at 12px 12px, transparent 12px, red 12px) 12px 12px;
-webkit-mask-position: -12px -12px;
}
.coupon-body {
margin-top: toRpx(-24);
background-color: #fff;
padding: toRpx(20) toRpx(80);
border-radius: 0 0 toRpx(32) toRpx(32);
.coupon-qr {
text-align: center;
.coupon-tips {
display: flex;
align-items: center;
justify-content: center;
color: #EF6F2C;
font-size: toRpx(28);
}
.coupon-qrcode {
width: 100%;
// width: toRpx(544);
height: toRpx(322);
margin: toRpx(56) 0;
}
}
}
.store-info {
display: flex;
align-items: center;
margin-bottom: toRpx(24);
background-image: linear-gradient(90deg, #ffffff99 0%, #ffffffeb 23%, #F5F7FA 100%);
border-radius: toRpx(16);
padding: toRpx(16) toRpx(32);
.store-label {
margin-left: toRpx(8);
font-weight: 500;
font-size: toRpx(28);
color: #020305;
line-height: toRpx(40);
}
.store-address {
margin-left: toRpx(32);
font-size: toRpx(28);
}
}
.icon-store {
display: inline-block;
width: 20px;
height: 20px;
background-color: #ffcc00;
border-radius: 50%;
margin-right: 10px;
}
.store-info p {
margin: 0;
}
.notice-title {
display: flex;
align-items: center;
font-size: toRpx(28);
color: #020305;
margin-bottom: toRpx(16);
}
.usage-notice {
background-color: #F5F7FA;
padding: toRpx(24) toRpx(32);
border-radius: toRpx(24);
&.claimed-usage {
margin-bottom: toRpx(56);
}
}
.claimed-notice {
height: toRpx(284);
overflow-y: auto;
}
.usage-notice {
.m-l-8 {
margin-left: toRpx(8);
}
}
.usage-notice ol {
padding-left: toRpx(40);
.first-li {
color: #EF6F2C;
}
}
.usage-notice li {
margin-bottom: toRpx(10);
color: #808291;
}
.coupon-footer {
display: flex;
justify-content: center;
padding: toRpx(48) 0 toRpx(64);
}
.claim-button {
background-image: linear-gradient(107deg, #FD8442 0%, #FE3D3E 51%, #FE5495 100%);
box-shadow: 0 toRpx(24) toRpx(20) toRpx(-16) #ff2e5580;
border-radius: toRpx(24);
color: #fff;
border: none;
padding: toRpx(18) toRpx(116);
font-weight: 500;
font-size: toRpx(40);
}
.close-box {
position: absolute;
right: toRpx(-160);
top: 0;
width: toRpx(74);
height: toRpx(74);
border: 1px solid #fff;
border-radius: 50%;
color: #fff;
text-align: center;
box-sizing: content-box;
.close-btn {
font-weight: 100;
font-size: toRpx(70);
line-height: toRpx(72);
}
}
}
}
// 领取弹窗样式
.dailog-panel {
position: fixed;
width: 100vw;
height: 100vh;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 11;
.dailog-box {
position: fixed;
left: 50%;
top: 50%;
width: 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;
.dailog-close {
text-align: right;
margin-right: 48rpx;
margin-top: 48rpx;
.uni-icons {
color: #808291 !important;
font-size: 40rpx;
}
}
.dailog-logo {
text-align: center;
image {
width: 228rpx;
height: 228rpx;
}
}
.dailog-title {
font-size: 40rpx;
color: #1a1a1a;
text-align: center;
margin-top: 40rpx;
}
.dailog-content {
font-size: 32rpx;
color: #808291;
text-align: center;
line-height: 46rpx;
margin-top: 16rpx;
padding: 0 64rpx;
.highlight {
display: inline-block;
color: #2C66F7;
}
}
.dailog-footer {
display: flex;
justify-content: center;
margin: 80rpx 0 70rpx;
}
.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-right: 48rpx;
}
}
}
}
</style> </style>
...@@ -44,9 +44,29 @@ ...@@ -44,9 +44,29 @@
<view class="card-top"> <view class="card-top">
<view class="sprite-icon icon-certificate"></view> <view class="sprite-icon icon-certificate"></view>
<view class="card-title">我的兑换券</view> <view class="card-title">我的兑换券</view>
<view class="card-wait">敬请期待</view> <!-- <view class="card-wait">敬请期待</view> -->
<view class="card-number">{{couponList.length}}</view>
<view class="sprite-icon icon-coupon-arrow card-arrow"></view>
</view>
<view class="card-content">
<template v-if="couponList.length > 0">
<view class="coupon-card">
<view v-for="item in couponList" :key="item.id" class="card-bg" :class="item.isclaimed ? 'claimed-bg': 'unclaimed-bg'">
<view class="coupon-img"></view>
<view class="coupon-right">
<view class="coupon-name">{{ item.name }}</view>
<view class="coupon-price">价值¥{{ item.price }}</view>
</view>
</view>
</view>
</template>
<template v-else>
<view class="empty-box">
<image :src="require('@/assets/images/boutique/nothing.png')" mode="heightFix" />
<view class="empty-text">暂无可用卡券</view>
</view>
</template>
</view> </view>
<view class="card-content"></view>
</view> </view>
</view> </view>
<view class="point-right"> <view class="point-right">
...@@ -139,6 +159,26 @@ export default { ...@@ -139,6 +159,26 @@ export default {
{ title: '平板接待精英',medalType: 4, logo: require('@/assets/images/point/elite_star.png'), logo_grey: require('@/assets/images/point/elite_grey.png'), }], { title: '平板接待精英',medalType: 4, logo: require('@/assets/images/point/elite_star.png'), logo_grey: require('@/assets/images/point/elite_grey.png'), }],
myStar: [], myStar: [],
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}],
couponList: [
{
id: 1,
name: '星巴克中杯全国通兑券星巴克中杯全国通兑券',
price: 45,
isclaimed: true
},
{
id: 2,
name: '星巴克中杯全国通兑券',
price: 45,
isclaimed: false
},
{
id: 3,
name: '星巴克中杯全国通兑券星巴克中杯全国通兑券',
price: 45,
isclaimed: false
}
]
} }
}, },
inject: ['showPage'], inject: ['showPage'],
...@@ -213,15 +253,34 @@ export default { ...@@ -213,15 +253,34 @@ export default {
padding: toRpx(76) toRpx(64) toRpx(48); padding: toRpx(76) toRpx(64) toRpx(48);
} }
&.coupon-box { &.coupon-box {
background-image: url('../../../../assets//images/point/ticket_bg.png'); // background-image: url('../../../../assets//images/point/ticket_bg.png');
background-size: 100% 100%; // background-size: 100% 100%;
border: none; // border: none;
background-color: transparent; // background-color: transparent;
box-shadow: none; // box-shadow: none;
height: calc(100vh - #{toRpx(1118)}); height: calc(100vh - #{toRpx(1118)});
.card-title { .card-title {
font-size: toRpx(36); font-size: toRpx(36);
color: #ffffff !important; color: #1A1A1A !important;
}
.card-number {
font-weight: 700;
font-size: toRpx(80);
color: #FA9D23;
margin-left: auto;
}
.card-arrow {
margin-left: toRpx(24);
}
.empty-box {
text-align: center;
image {
height: toRpx(208);
}
.empty-text {
font-size: toRpx(26);
color: #808291;
}
} }
.card-wait { .card-wait {
width: toRpx(144); width: toRpx(144);
...@@ -238,6 +297,7 @@ export default { ...@@ -238,6 +297,7 @@ export default {
.card-top { .card-top {
display: flex; display: flex;
line-height: toRpx(64); line-height: toRpx(64);
align-items: center;
.card-logo { .card-logo {
width: toRpx(64); width: toRpx(64);
height: toRpx(64); height: toRpx(64);
...@@ -280,7 +340,50 @@ export default { ...@@ -280,7 +340,50 @@ export default {
} }
} }
.card-content { .card-content {
margin-top: toRpx(40); .coupon-card {
margin-top: toRpx(48);
display: flex;
.card-bg {
display: flex;
align-items: center;
width: toRpx(356);
height: toRpx(188);
margin-right: toRpx(40);
padding: toRpx(32) toRpx(24);
}
.claimed-bg {
background: url(../../../../assets//images/boutique/coupon-1.png) no-repeat;
background-size: 100% 100%;
}
.unclaimed-bg {
background: url(../../../../assets//images/boutique/coupon-2.png) no-repeat;
background-size: 100% 100%;
}
.coupon-img {
background-color: #fff;
width: toRpx(88);
height: toRpx(112);
border-radius: toRpx(16);
}
.coupon-right {
margin-left: toRpx(24);
.coupon-name {
width: toRpx(196);
font-size: toRpx(28);
color: #181A1F;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.coupon-price {
margin-top: toRpx(16);
font-size: toRpx(26);
color: #4D9CFB;
}
}
}
&.day-rate { &.day-rate {
font-size: toRpx(80); font-size: toRpx(80);
color: #4673ff; color: #4673ff;
......
import { getTime } from './util' import { getTime } from './util'
import { serializeIfObject } from '../utils' import { serializeIfObject } from '../utils'
class LogCat { class LogCat {
main = plus.android.runtimeMainActivity() // main = plus.android.runtimeMainActivity()
File = plus.android.importClass('java.io.File') // File = plus.android.importClass('java.io.File')
Environment = plus.android.importClass('android.os.Environment') // Environment = plus.android.importClass('android.os.Environment')
BufferedWriter = plus.android.importClass('java.io.BufferedWriter') // BufferedWriter = plus.android.importClass('java.io.BufferedWriter')
FileOutputStream = plus.android.importClass('java.io.FileOutputStream') // FileOutputStream = plus.android.importClass('java.io.FileOutputStream')
OutputStreamWriter = plus.android.importClass('java.io.OutputStreamWriter') // OutputStreamWriter = plus.android.importClass('java.io.OutputStreamWriter')
// BufferedReader = plus.android.importClass('java.io.BufferedReader') // // BufferedReader = plus.android.importClass('java.io.BufferedReader')
// FileInputStream = plus.android.importClass('java.io.FileInputStream') // // FileInputStream = plus.android.importClass('java.io.FileInputStream')
// InputStreamReader = plus.android.importClass('java.io.InputStreamReader') // // InputStreamReader = plus.android.importClass('java.io.InputStreamReader')
LogPath = '' // LogPath = ''
constructor(folderName = '_zyzs_log') { constructor(folderName = '_zyzs_log') {
if (this.Environment.MEDIA_MOUNTED || !this.Environment.isExternalStorageRemovable()) { // if (this.Environment.MEDIA_MOUNTED || !this.Environment.isExternalStorageRemovable()) {
this.LogPath = this.main.getExternalFilesDir(null).getPath() + folderName // this.LogPath = this.main.getExternalFilesDir(null).getPath() + folderName
} else { // } else {
this.LogPath = this.main.getFilesDir().getPath() + folderName // this.LogPath = this.main.getFilesDir().getPath() + folderName
} // }
console.log('日志文件存放路径->', this.LogPath) // console.log('日志文件存放路径->', this.LogPath)
} }
writeLog(tag, messages) { writeLog(tag, messages) {
let msg = serializeIfObject(messages) // let msg = serializeIfObject(messages)
let date = getTime('YYYY-MM-DD') // let date = getTime('YYYY-MM-DD')
let datetime = getTime() // let datetime = getTime()
//文件名 // //文件名
let fileName = this.LogPath + '/' + date + '.txt' // let fileName = this.LogPath + '/' + date + '.txt'
//写入的内容 // //写入的内容
let content = `${datetime} [${tag}] : ${msg}\n` // let content = `${datetime} [${tag}] : ${msg}\n`
console.log(content.replace(/\n/g, '')) // console.log(content.replace(/\n/g, ''))
let path = new this.File(this.LogPath) // let path = new this.File(this.LogPath)
if (!path.exists()) { // if (!path.exists()) {
path.mkdirs() //创建父路径 // path.mkdirs() //创建父路径
} // }
let fos = null // let fos = null
let bw = null // let bw = null
try { // try {
fos = new this.FileOutputStream(fileName, true) // fos = new this.FileOutputStream(fileName, true)
bw = new this.BufferedWriter(new this.OutputStreamWriter(fos)) // bw = new this.BufferedWriter(new this.OutputStreamWriter(fos))
//bw.write(log); // //bw.write(log);
bw.append(content) // bw.append(content)
} catch (e) { // } catch (e) {
console.log('e->', e) // console.log('e->', e)
} finally { // } finally {
try { // try {
if (bw != null) { // if (bw != null) {
bw.close() //关闭缓冲流 // bw.close() //关闭缓冲流
fos.close() //关闭文件输出流 // fos.close() //关闭文件输出流
} // }
} catch (closeEx) { // } catch (closeEx) {
console.log('closeEx->', closeEx) // console.log('closeEx->', closeEx)
} // }
} // }
} }
// 删除日志 // 删除日志
removeLogFile(fileName) { removeLogFile(fileName) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!