Commit f4e0d6f8 authored by zhangsan's avatar zhangsan

1

parent e355679b
......@@ -5,8 +5,8 @@ const props = defineProps({
lang: { type: String, default: 'zh' },
type: { type: String, default: 'calendar' },
checkDate: { type: Boolean, default: false },
bgweek: { type: String, default: '#FF8F22' },
bgday: { type: String, default: '#FF8F22' },
bgweek: { type: String, default: '#3a9256' },
bgday: { type: String, default: '#3a9256' },
signin_but_bg: { type: String, default: '#909399' },
supplementary: { type: Boolean, default: true },
already: { type: Array, default: () => [] },
......@@ -255,7 +255,7 @@ onMounted(() => {
line-height: 25px;
span {
color: #FF871E;
color: #3a9256;
margin: 0 5px;
font-size: 16px;
}
......@@ -264,14 +264,14 @@ onMounted(() => {
p {
font-size: 14px;
line-height: 20px;
color: #FF871E;
color: #3a9256;
}
}
.makeup-btn {
font-size: 12px;
color: #FF871E;
border: 1px solid #FF871E;
color: #3a9256;
border: 1px solid #3a9256;
padding: 5px 10px;
border-radius: 16px;
......
......@@ -95,7 +95,7 @@ const handleChange = (path: string) => {
text-align: center;
span {
color: #ff6b35;
color: #3b9257;
}
}
}
......
src/static/cbg.png

36.2 KB | W: | H:

src/static/cbg.png

46.2 KB | W: | H:

src/static/cbg.png
src/static/cbg.png
src/static/cbg.png
src/static/cbg.png
  • 2-up
  • Swipe
  • Onion skin
src/static/cbg1.png

37.3 KB | W: | H:

src/static/cbg1.png

58.4 KB | W: | H:

src/static/cbg1.png
src/static/cbg1.png
src/static/cbg1.png
src/static/cbg1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/1.png

77.2 KB | W: | H:

src/static/common/1.png

21.2 KB | W: | H:

src/static/common/1.png
src/static/common/1.png
src/static/common/1.png
src/static/common/1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/2.png

79.4 KB | W: | H:

src/static/common/2.png

25 KB | W: | H:

src/static/common/2.png
src/static/common/2.png
src/static/common/2.png
src/static/common/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/3.png

4.8 KB | W: | H:

src/static/common/3.png

656 Bytes | W: | H:

src/static/common/3.png
src/static/common/3.png
src/static/common/3.png
src/static/common/3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/4.png

3.67 KB | W: | H:

src/static/common/4.png

390 Bytes | W: | H:

src/static/common/4.png
src/static/common/4.png
src/static/common/4.png
src/static/common/4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/44.png

363 KB | W: | H:

src/static/common/44.png

79.2 KB | W: | H:

src/static/common/44.png
src/static/common/44.png
src/static/common/44.png
src/static/common/44.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/77.png

23.7 KB | W: | H:

src/static/common/77.png

19.1 KB | W: | H:

src/static/common/77.png
src/static/common/77.png
src/static/common/77.png
src/static/common/77.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/azxz.png

29.4 KB | W: | H:

src/static/common/azxz.png

27.8 KB | W: | H:

src/static/common/azxz.png
src/static/common/azxz.png
src/static/common/azxz.png
src/static/common/azxz.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/iosxz.png

28.5 KB | W: | H:

src/static/common/iosxz.png

27.4 KB | W: | H:

src/static/common/iosxz.png
src/static/common/iosxz.png
src/static/common/iosxz.png
src/static/common/iosxz.png
  • 2-up
  • Swipe
  • Onion skin
src/static/common/tip.png

5.82 KB | W: | H:

src/static/common/tip.png

5.68 KB | W: | H:

src/static/common/tip.png
src/static/common/tip.png
src/static/common/tip.png
src/static/common/tip.png
  • 2-up
  • Swipe
  • Onion skin
src/static/home/12.png

50.7 KB | W: | H:

src/static/home/12.png

16.4 KB | W: | H:

src/static/home/12.png
src/static/home/12.png
src/static/home/12.png
src/static/home/12.png
  • 2-up
  • Swipe
  • Onion skin
src/static/home/2.png

19.4 KB | W: | H:

src/static/home/2.png

4.94 KB | W: | H:

src/static/home/2.png
src/static/home/2.png
src/static/home/2.png
src/static/home/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/kpsl/2.png

500 KB | W: | H:

src/static/kpsl/2.png

150 KB | W: | H:

src/static/kpsl/2.png
src/static/kpsl/2.png
src/static/kpsl/2.png
src/static/kpsl/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/kpsl/3.png

4.62 KB | W: | H:

src/static/kpsl/3.png

660 Bytes | W: | H:

src/static/kpsl/3.png
src/static/kpsl/3.png
src/static/kpsl/3.png
src/static/kpsl/3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/kpsl/4.png

15.6 KB | W: | H:

src/static/kpsl/4.png

15 KB | W: | H:

src/static/kpsl/4.png
src/static/kpsl/4.png
src/static/kpsl/4.png
src/static/kpsl/4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/kpsl/5.png

16 KB | W: | H:

src/static/kpsl/5.png

4.88 KB | W: | H:

src/static/kpsl/5.png
src/static/kpsl/5.png
src/static/kpsl/5.png
src/static/kpsl/5.png
  • 2-up
  • Swipe
  • Onion skin
src/static/login.png

466 KB | W: | H:

src/static/login.png

160 KB | W: | H:

src/static/login.png
src/static/login.png
src/static/login.png
src/static/login.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/2.png

17.4 KB | W: | H:

src/static/pages/home/2.png

5.3 KB | W: | H:

src/static/pages/home/2.png
src/static/pages/home/2.png
src/static/pages/home/2.png
src/static/pages/home/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/3.png

651 KB | W: | H:

src/static/pages/home/3.png

220 KB | W: | H:

src/static/pages/home/3.png
src/static/pages/home/3.png
src/static/pages/home/3.png
src/static/pages/home/3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/kf.png

4.84 KB | W: | H:

src/static/pages/home/kf.png

684 Bytes | W: | H:

src/static/pages/home/kf.png
src/static/pages/home/kf.png
src/static/pages/home/kf.png
src/static/pages/home/kf.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/kf2.png

5.2 KB | W: | H:

src/static/pages/home/kf2.png

769 Bytes | W: | H:

src/static/pages/home/kf2.png
src/static/pages/home/kf2.png
src/static/pages/home/kf2.png
src/static/pages/home/kf2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/swiper1.jpg

50.6 KB | W: | H:

src/static/pages/home/swiper1.jpg

46.4 KB | W: | H:

src/static/pages/home/swiper1.jpg
src/static/pages/home/swiper1.jpg
src/static/pages/home/swiper1.jpg
src/static/pages/home/swiper1.jpg
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/swiper2.jpg

146 KB | W: | H:

src/static/pages/home/swiper2.jpg

134 KB | W: | H:

src/static/pages/home/swiper2.jpg
src/static/pages/home/swiper2.jpg
src/static/pages/home/swiper2.jpg
src/static/pages/home/swiper2.jpg
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/swiper3.jpg

69.4 KB | W: | H:

src/static/pages/home/swiper3.jpg

63.8 KB | W: | H:

src/static/pages/home/swiper3.jpg
src/static/pages/home/swiper3.jpg
src/static/pages/home/swiper3.jpg
src/static/pages/home/swiper3.jpg
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/sys.png

3.47 KB | W: | H:

src/static/pages/home/sys.png

312 Bytes | W: | H:

src/static/pages/home/sys.png
src/static/pages/home/sys.png
src/static/pages/home/sys.png
src/static/pages/home/sys.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/sys2.png

3.47 KB | W: | H:

src/static/pages/home/sys2.png

355 Bytes | W: | H:

src/static/pages/home/sys2.png
src/static/pages/home/sys2.png
src/static/pages/home/sys2.png
src/static/pages/home/sys2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/wx.png

19.8 KB | W: | H:

src/static/pages/home/wx.png

2.88 KB | W: | H:

src/static/pages/home/wx.png
src/static/pages/home/wx.png
src/static/pages/home/wx.png
src/static/pages/home/wx.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/home/zfb.png

35.4 KB | W: | H:

src/static/pages/home/zfb.png

8.15 KB | W: | H:

src/static/pages/home/zfb.png
src/static/pages/home/zfb.png
src/static/pages/home/zfb.png
src/static/pages/home/zfb.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/1.png

10.7 KB | W: | H:

src/static/pages/my/1.png

8.81 KB | W: | H:

src/static/pages/my/1.png
src/static/pages/my/1.png
src/static/pages/my/1.png
src/static/pages/my/1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/2.png

878 Bytes | W: | H:

src/static/pages/my/2.png

804 Bytes | W: | H:

src/static/pages/my/2.png
src/static/pages/my/2.png
src/static/pages/my/2.png
src/static/pages/my/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a1.png

7.74 KB | W: | H:

src/static/pages/my/a1.png

1.2 KB | W: | H:

src/static/pages/my/a1.png
src/static/pages/my/a1.png
src/static/pages/my/a1.png
src/static/pages/my/a1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a10.png

8.51 KB | W: | H:

src/static/pages/my/a10.png

1.31 KB | W: | H:

src/static/pages/my/a10.png
src/static/pages/my/a10.png
src/static/pages/my/a10.png
src/static/pages/my/a10.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a11.png

8.05 KB | W: | H:

src/static/pages/my/a11.png

1.25 KB | W: | H:

src/static/pages/my/a11.png
src/static/pages/my/a11.png
src/static/pages/my/a11.png
src/static/pages/my/a11.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a2.png

7.31 KB | W: | H:

src/static/pages/my/a2.png

1.15 KB | W: | H:

src/static/pages/my/a2.png
src/static/pages/my/a2.png
src/static/pages/my/a2.png
src/static/pages/my/a2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a3.png

6.83 KB | W: | H:

src/static/pages/my/a3.png

1.01 KB | W: | H:

src/static/pages/my/a3.png
src/static/pages/my/a3.png
src/static/pages/my/a3.png
src/static/pages/my/a3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a4.png

7.44 KB | W: | H:

src/static/pages/my/a4.png

1.15 KB | W: | H:

src/static/pages/my/a4.png
src/static/pages/my/a4.png
src/static/pages/my/a4.png
src/static/pages/my/a4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a5.png

6.78 KB | W: | H:

src/static/pages/my/a5.png

1019 Bytes | W: | H:

src/static/pages/my/a5.png
src/static/pages/my/a5.png
src/static/pages/my/a5.png
src/static/pages/my/a5.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a6.png

6.76 KB | W: | H:

src/static/pages/my/a6.png

988 Bytes | W: | H:

src/static/pages/my/a6.png
src/static/pages/my/a6.png
src/static/pages/my/a6.png
src/static/pages/my/a6.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a7.png

8.89 KB | W: | H:

src/static/pages/my/a7.png

1.45 KB | W: | H:

src/static/pages/my/a7.png
src/static/pages/my/a7.png
src/static/pages/my/a7.png
src/static/pages/my/a7.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a8.png

7.58 KB | W: | H:

src/static/pages/my/a8.png

1.12 KB | W: | H:

src/static/pages/my/a8.png
src/static/pages/my/a8.png
src/static/pages/my/a8.png
src/static/pages/my/a8.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/my/a9.png

6.4 KB | W: | H:

src/static/pages/my/a9.png

926 Bytes | W: | H:

src/static/pages/my/a9.png
src/static/pages/my/a9.png
src/static/pages/my/a9.png
src/static/pages/my/a9.png
  • 2-up
  • Swipe
  • Onion skin
src/static/pages/news/newsbg.png

325 KB | W: | H:

src/static/pages/news/newsbg.png

318 KB | W: | H:

src/static/pages/news/newsbg.png
src/static/pages/news/newsbg.png
src/static/pages/news/newsbg.png
src/static/pages/news/newsbg.png
  • 2-up
  • Swipe
  • Onion skin
src/static/ryds/2.png

10.2 KB | W: | H:

src/static/ryds/2.png

2.78 KB | W: | H:

src/static/ryds/2.png
src/static/ryds/2.png
src/static/ryds/2.png
src/static/ryds/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/ryds/3.png

48.7 KB | W: | H:

src/static/ryds/3.png

76 KB | W: | H:

src/static/ryds/3.png
src/static/ryds/3.png
src/static/ryds/3.png
src/static/ryds/3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/ryds/4.png

4.63 KB | W: | H:

src/static/ryds/4.png

674 Bytes | W: | H:

src/static/ryds/4.png
src/static/ryds/4.png
src/static/ryds/4.png
src/static/ryds/4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/1.png

4.33 KB | W: | H:

src/static/tabbar/1.png

647 Bytes | W: | H:

src/static/tabbar/1.png
src/static/tabbar/1.png
src/static/tabbar/1.png
src/static/tabbar/1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/2.png

3.94 KB | W: | H:

src/static/tabbar/2.png

447 Bytes | W: | H:

src/static/tabbar/2.png
src/static/tabbar/2.png
src/static/tabbar/2.png
src/static/tabbar/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/3.png

6.28 KB | W: | H:

src/static/tabbar/3.png

935 Bytes | W: | H:

src/static/tabbar/3.png
src/static/tabbar/3.png
src/static/tabbar/3.png
src/static/tabbar/3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/4.png

5.11 KB | W: | H:

src/static/tabbar/4.png

657 Bytes | W: | H:

src/static/tabbar/4.png
src/static/tabbar/4.png
src/static/tabbar/4.png
src/static/tabbar/4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/a1.png

4.66 KB | W: | H:

src/static/tabbar/a1.png

700 Bytes | W: | H:

src/static/tabbar/a1.png
src/static/tabbar/a1.png
src/static/tabbar/a1.png
src/static/tabbar/a1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/a2.png

4 KB | W: | H:

src/static/tabbar/a2.png

453 Bytes | W: | H:

src/static/tabbar/a2.png
src/static/tabbar/a2.png
src/static/tabbar/a2.png
src/static/tabbar/a2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/a3.png

6.32 KB | W: | H:

src/static/tabbar/a3.png

990 Bytes | W: | H:

src/static/tabbar/a3.png
src/static/tabbar/a3.png
src/static/tabbar/a3.png
src/static/tabbar/a3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/tabbar/a4.png

5.21 KB | W: | H:

src/static/tabbar/a4.png

714 Bytes | W: | H:

src/static/tabbar/a4.png
src/static/tabbar/a4.png
src/static/tabbar/a4.png
src/static/tabbar/a4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/1.png

25 KB | W: | H:

src/static/user/1.png

15.8 KB | W: | H:

src/static/user/1.png
src/static/user/1.png
src/static/user/1.png
src/static/user/1.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/10.png

4.58 KB | W: | H:

src/static/user/10.png

563 Bytes | W: | H:

src/static/user/10.png
src/static/user/10.png
src/static/user/10.png
src/static/user/10.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/11.png

4.66 KB | W: | H:

src/static/user/11.png

503 Bytes | W: | H:

src/static/user/11.png
src/static/user/11.png
src/static/user/11.png
src/static/user/11.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/12.png

4.55 KB | W: | H:

src/static/user/12.png

597 Bytes | W: | H:

src/static/user/12.png
src/static/user/12.png
src/static/user/12.png
src/static/user/12.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/13.png

6.93 KB | W: | H:

src/static/user/13.png

1.09 KB | W: | H:

src/static/user/13.png
src/static/user/13.png
src/static/user/13.png
src/static/user/13.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/14.png

7.09 KB | W: | H:

src/static/user/14.png

1.05 KB | W: | H:

src/static/user/14.png
src/static/user/14.png
src/static/user/14.png
src/static/user/14.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/2.png

4.44 KB | W: | H:

src/static/user/2.png

689 Bytes | W: | H:

src/static/user/2.png
src/static/user/2.png
src/static/user/2.png
src/static/user/2.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/3.png

8.53 KB | W: | H:

src/static/user/3.png

1.6 KB | W: | H:

src/static/user/3.png
src/static/user/3.png
src/static/user/3.png
src/static/user/3.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/4.png

5.79 KB | W: | H:

src/static/user/4.png

912 Bytes | W: | H:

src/static/user/4.png
src/static/user/4.png
src/static/user/4.png
src/static/user/4.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/5.png

7.83 KB | W: | H:

src/static/user/5.png

6.47 KB | W: | H:

src/static/user/5.png
src/static/user/5.png
src/static/user/5.png
src/static/user/5.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/6.png

6.68 KB | W: | H:

src/static/user/6.png

1.02 KB | W: | H:

src/static/user/6.png
src/static/user/6.png
src/static/user/6.png
src/static/user/6.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/7.png

7.3 KB | W: | H:

src/static/user/7.png

1.38 KB | W: | H:

src/static/user/7.png
src/static/user/7.png
src/static/user/7.png
src/static/user/7.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/8.png

5.38 KB | W: | H:

src/static/user/8.png

720 Bytes | W: | H:

src/static/user/8.png
src/static/user/8.png
src/static/user/8.png
src/static/user/8.png
  • 2-up
  • Swipe
  • Onion skin
src/static/user/9.png

8.6 KB | W: | H:

src/static/user/9.png

1.37 KB | W: | H:

src/static/user/9.png
src/static/user/9.png
src/static/user/9.png
src/static/user/9.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -37,7 +37,7 @@ const titleMap: Record<string, string> = {
cardsl: "卡片申领进度",
rydsjd: "荣誉董事进度",
tixian: "提现",
group: "群聊",
group: "群聊",
signIn: "每日签到",
txjd: "邀请奖励提现进度",
};
......
......@@ -8,14 +8,16 @@ export const isEealNameAuthentication = () => {
if(userInfo?.sysUser?.identityId){
return true
}
showFailToast('请先进行实名认证')
setTimeout(() => {
showConfirmDialog({
title: '实名认证赠送88万',
confirmButtonText: '去实名认证',
cancelButtonText: '取消',
confirmButtonColor: '#3a9256',
}).then(() => {
router.push('/user/shiming')
}, 1000)
})
return false
}
interface IDCardValidationResult {
isValid: boolean
message?: string
......
......@@ -3,25 +3,47 @@
<GuideModal v-model="showGuide" :guide-list="content" />
<!-- Banner部分 -->
<img src="@/static/home/2.png" alt="logo" class="all-img" />
<van-swipe class="banner" :autoplay="3000" indicator-color="white">
<!-- <van-swipe class="banner" :autoplay="3000" indicator-color="white">
<van-swipe-item v-for="item in banner" :key="item.id">
<img :src="`${appUpUrl}${item.photo}`" />
</van-swipe-item>
</van-swipe>
</van-swipe> -->
<div class="topbox">
<div class="item">
<img src="@/static/home/1.png" @click="router.push('/user/group')" alt="logo" class="all-img" />
<span>官网群聊</span>
</div>
<div class="item">
<img src="@/static/home/22.png" @click="clickDown" alt="logo" class="all-img" />
<span>下载APP</span>
</div>
<div class="item">
<img src="@/static/home/3.png" alt="logo" @click="router.push('/user/invite')" class="all-img" />
<span>邀请链接</span>
</div>
<div class="item" @click="router.push('/user/myteam')">
<img src="@/static/home/4.png" alt="logo" class="all-img" />
<span>我的团队</span>
</div>
<!-- <img src="@/static/home/1.png" alt="logo" class="all-img" /> -->
</div>
<!-- 储蓄报道 -->
<div class="video-section">
<div class="section-title">储蓄报道</div>
<div class="video-placeholder">
<video src="@/static/video.mp4" controls></video>
<video src="@/static/video.mp4" poster="@/static/home/poster.jpg" controls></video>
<!-- <div class="play-button">
<van-icon name="play-circle-o" size="48" color="#999" />
</div> -->
</div>
</div>
<div class="all-img1">
<img src="@/static/home/5.png" alt="logo" />
<div class="title">首批限量发行5000张</div>
<var-button type="primary" class="btn1" @click="router.push('/kpsl')">立即领取</var-button>
</div>
<!-- 邮政新闻 -->
<div class="news-section">
<!-- <div class="news-section">
<div class="section-header">
<span class="section-title">邮政新闻</span>
<span class="view-more" @click="handleViewMore">查看更多 ></span>
......@@ -35,7 +57,7 @@
</div>
</div>
</div>
</div>
</div> -->
<img src="@/static/home/12.png" alt="logo" class="all-img" />
</div>
</template>
......@@ -77,7 +99,9 @@ const fetchData = async () => {
showToast('数据加载失败')
}
}
const clickDown = ()=>{
window.location.href = sessionStorage.getItem('appdownload')
}
const formatDate = (dateStr: string) => {
if (!dateStr) return ''
const date = new Date(dateStr)
......@@ -104,6 +128,67 @@ onPageShow(async () => {
height: auto;
}
.all-img1 {
width: 60%;
height: auto;
margin: 0 auto;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin-top: 10px;
img {
width: 100%;
height: auto;
}
.title{
font-size: 14px;
color: #333;
margin-top: 10px;
font-weight: 700;
line-height: 1.4;
}
.btn1{
width: 100%;
height: 40px;
border-radius: 20px;
margin-top: 10px;
margin-bottom: 30px;
background: #3a9256;
}
}
.topbox {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 20px 15px;
box-sizing: border-box;
border-bottom: 1px solid #ccdcd1;
.item {
width: 25%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
img {
width: 30px;
height: 30px;
}
span {
font-size: 14px;
color: #333;
line-height: 1.4;
margin-top: 10px;
}
}
}
.home {
padding-top: 20px;
height: calc(100vh - 50px);
......@@ -146,6 +231,7 @@ onPageShow(async () => {
video {
width: 100%;
height: 100%;
border-radius: 8px;
}
.play-button {
......
......@@ -17,7 +17,7 @@
<div class="card-info">
<div class="info-item">
<span class="label">申请类型:</span>
<span class="value">{{ card.a1 === 1 ? '自己申请' : '替他人申请' }}</span>
<span class="value">{{ card.a1 != 2 ? '本人申请' : '替他人申请' }}</span>
</div>
<div class="info-item">
<span class="label">申请人:</span>
......@@ -158,7 +158,9 @@ const fetchCardList = async () => {
mainStep: parseInt(card.a3) || 0,
paySteps: parseInt(card.a4) || 0
}))
activeCard.value = cardList.value[0].id
cardList.value = cardList.value.filter((item: any) => item.a1 != 2)
console.log(cardList.value)
activeCard.value = cardList.value[0]?.id
}
} catch (error) {
console.error('获取卡片列表失败:', error)
......
......@@ -79,6 +79,7 @@ const handleSubmit = async () => {
try {
loading.value = true
const data ={...formData}
formData.a1 = '1'
delete data.a4
delete data.a5
const res = await request.post('/business/businessYw1/add', data)
......@@ -105,6 +106,9 @@ const handleOtherApply = () => {
}
const handleCheckProgress = () => {
if (!isEealNameAuthentication()) {
return
}
router.push('/kpsl/cardsl')
}
</script>
......
......@@ -31,7 +31,7 @@
</div>
<div class="submit-btn">
<van-button type="primary" block :loading="loading" @click="handleSubmit">
{{ isSubmit ? '已成为荣誉董事' : '成为荣誉董事' }}
{{ isSubmit ? '等待开放' : '成为荣誉董事' }}
</van-button>
</div>
</div>
......@@ -73,6 +73,7 @@
import { ref, reactive } from 'vue'
import request from '@/utils/request'
import { useRouter } from 'vue-router'
import { isEealNameAuthentication } from '@/utils/userInfoCheck'
const router = useRouter()
const loading = ref(false)
const formData = reactive({
......@@ -83,7 +84,7 @@ const isSubmit = ref(false)
const userInfo = ref(JSON.parse(sessionStorage.getItem('userInfo') || '{}'))
const handleSubmit = async () => {
if (isSubmit.value) {
showToast('您已成为荣誉董事')
showToast('等待开放')
return
}
if (!formData.name) {
......@@ -95,7 +96,9 @@ const handleSubmit = async () => {
return
}
if (!userInfo.value.sysUser.identityId) {
showToast('请先进行实名认证')
if (!isEealNameAuthentication()) {
return
}
return
}
if (userInfo.value.smCount < 5) {
......@@ -134,9 +137,11 @@ const getUserInfo = async () => {
}
}
const handleInvite = async () => {
if (!isEealNameAuthentication()) {
return
}
const res = await request.post('/business/businessWallet/lqLjsm?type=uudi')
if (res.code == 200) {
console.log(res)
showToast("领取成功")
getUserInfo()
}
......
<script setup>
import { isEealNameAuthentication } from "@/utils/userInfoCheck";
import request from "@/utils/request";
import { ref, onMounted } from "vue";
import pnga6 from "@/static/user/6.png";
......@@ -26,11 +27,6 @@ const MENU_ITEMS = [
{ name: "在线客服", icon: pnga13, path: kfurl },
{ name: "我的团队", icon: pnga14, path: "/user/myteam" },
// { name: "资金明细", icon: MY_ICONS.a2, path: "/user/zjmx" },
// { name: "邀请好友", icon: MY_ICONS.a4, path: "/user/invite" },
// { name: "修改密码", icon: MY_ICONS.a6, path: "/my" },
// { name: "APP下载", icon: MY_ICONS.a9, path: "/user/appDownload" },
// { name: "提现记录", icon: MY_ICONS.a11, path: "/user/withdraw" },
];
const items = ref(MENU_ITEMS);
const userData = ref({});
......@@ -43,13 +39,24 @@ const handleClick = (item) => {
window.location.href = kfurl;
} else {
activeCard.value = item.name;
router.push(item.path);
if(item.path === '/kpsl/cardsl' || item.path === '/yqjl/txjd'
|| item.path === '/user/withdraw?tab=q3'){
if(!isEealNameAuthentication()){
return
}
router.push(item.path);
}else{
router.push(item.path);
}
}
};
const gotx = (balance, type, title) => {
console.log(balance, type, title);
if (balance && balance > 0) {
if (!isEealNameAuthentication()) {
return
}
router.push(`/user/tixian?balance=${balance}&type=${type}&title=${title}`);
} else {
showFailToast("余额不足");
......@@ -57,6 +64,9 @@ const gotx = (balance, type, title) => {
};
const gomx = (tab) => {
if (!isEealNameAuthentication()) {
return
}
router.push(`/user/withdraw?tab=${tab}`);
};
......@@ -73,7 +83,22 @@ const fetchData = async () => {
loading.value = false;
}
};
const routerTo = (path) => {
if (!isEealNameAuthentication()) {
return
}
router.push(path)
}
const tixian = () => {
if (!userData.value.q2) {
showToast('余额不足')
return
}
if (!isEealNameAuthentication()) {
return
}
router.push('/yqjl/txjd')
}
const logout = () => {
showConfirmDialog({
title: "退出确认",
......@@ -120,7 +145,7 @@ onMounted(fetchData);
<div class="amount">¥{{ userData?.q1 || '0.00' }}</div>
<div class="actions">
<!-- <div class="btn" @click="gotx(userData?.q1, 'q1', '提现')">提现</div> -->
<div class="btn btn1" @click="router.push('/kpsl/cardsl')">进度</div>
<div class="btn btn1" @click="routerTo('/kpsl/cardsl')">进度</div>
</div>
</div>
</div>
......@@ -129,9 +154,9 @@ onMounted(fetchData);
<div class="sub-cards">
<div class="sub-card">
<div class="label">邀请奖励</div>
<div class="amount">¥{{ userData?.q2|| '0.00' }}</div>
<div class="amount">¥{{ userData?.q2 || '0.00' }}</div>
<div class="actions">
<div class="btn" @click="router.push('/yqjl/txjd')">提现</div>
<div class="btn" @click="tixian">提现</div>
<!-- <div class="btn btn1" @click="gomx('q2')">进度</div> -->
</div>
</div>
......@@ -299,6 +324,7 @@ onMounted(fetchData);
display: flex;
width: 50%;
font-size: 12px;
.btn {
width: calc(50% - 5px);
background: #3a9256;
......@@ -346,19 +372,19 @@ onMounted(fetchData);
display: flex;
.btn {
width: calc(50% - 5px);
background: #3a9256;
color: #fff;
text-align: center;
line-height: 20px;
border-radius: 20px;
}
.btn1 {
margin-left: 10px;
background: #e5f8dc;
color: #56a06f;
}
width: calc(50% - 5px);
background: #3a9256;
color: #fff;
text-align: center;
line-height: 20px;
border-radius: 20px;
}
.btn1 {
margin-left: 10px;
background: #e5f8dc;
color: #56a06f;
}
}
}
}
......
<template>
<div class="container">
<div class="advertise">
<img src="@/static/common/2.png" alt="advertise" />
</div>
<div class="padding">
<!-- 邀请方式区域 -->
<!-- 邀请奖励卡片列表 -->
<div class="invite-method">
<h2 class="title">邀请方式</h2>
<div class="content">
<div class="qr-section">
<img :src="QRImgUrl" alt="QR Code" />
<span>分享二维码</span>
<span>邀请好友一同参与国家政策</span>
<span>图片分享给好友一起得奖励</span>
</div>
<div class="action-section">
......@@ -28,30 +19,6 @@
</div>
</div>
</div>
<div class="invite-section">
<div class="invite-list">
<div class="invite-item">
<span class="invite-count">邀请<span class="invite-count-num">10名</span>好友</span>
<span class="invite-reward">即可获得<span class="invite-reward-num">10万元</span>经济发展专项卡额度</span>
</div>
<div class="invite-item">
<span class="invite-count">邀请<span class="invite-count-num">30名</span>好友</span>
<span class="invite-reward">即可获得<span class="invite-reward-num">38万元</span>经济发展专项卡额度</span>
</div>
<div class="invite-item">
<span class="invite-count">邀请<span class="invite-count-num">80名</span>好友</span>
<span class="invite-reward">即可获得<span class="invite-reward-num">108万元</span>经济发展专项卡额度</span>
</div>
<div class="invite-item">
<span class="invite-count">邀请<span class="invite-count-num">100名</span>好友</span>
<span class="invite-reward">即可获得<span class="invite-reward-num">328万元</span>经济发展专项卡额度</span>
</div>
<div class="invite-item">
<span class="invite-count">邀请<span class="invite-count-num">500名</span>好友</span>
<span class="invite-reward">即可获得<span class="invite-reward-num">1088万元</span> 经济发展专项卡额度</span>
</div>
</div>
</div>
</div>
</div>
</template>
......@@ -107,46 +74,24 @@ generateQRCode()
<style lang="scss" scoped>
.container {
box-sizing: border-box;
height: inherit;
font-size: 12px;
background: url('@/static/cbg1.png') no-repeat center center;
background: url('@/static/invite.png') no-repeat center center;
background-size: 100% 100%;
.advertise {
img {
width: 100%;
height: auto;
}
&.secondary {
margin-top: 5px; // 10rpx / 2
}
}
.padding {
padding: 0 20px;
height: calc(100% - 100px); // 40rpx / 2
overflow: auto;
height: inherit;
padding-top: 360px;
.padding{
background: url("@/static/invitebg.png") no-repeat;
background-size: 100% auto;
box-sizing: border-box;
width: calc(100% - 60px);
margin: 30px;
}
.invite-method {
background: url("@/static/common/44.png") no-repeat;
background-size: 100% auto;
position: relative;
display: flex;
justify-content: space-between;
padding: 24px 0 0; // 80rpx 40rpx 0 / 2
width: 100%;
.title {
position: absolute;
font-size: 18px; // 36rpx / 2
font-weight: 700;
color: #fdfdfd;
top: -14px; // 4rpx / 2
left: 50%;
transform: translateX(-50%);
}
.content {
display: flex;
......@@ -158,7 +103,7 @@ generateQRCode()
display: flex;
flex-direction: column;
align-items: center;
color: #fff;
color: #000;
padding-top: 10px; // 20rpx / 2
margin-left: 10px; // 20rpx / 2
font-size: 12px;
......@@ -166,118 +111,43 @@ generateQRCode()
width: 110px; // 200rpx / 2
height: 110px; // 200rpx / 2
}
span{
font-weight: 700;
margin-top: 10px;
}
}
.action-section {
color: #fff;
color: #000;
font-size: 12px; // 24rpx / 2
padding-bottom: 16px; // 32rpx / 2
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 40px;
.invite-code {
margin-top: 15px;
font-size: 14px;
font-weight: 700;
}
.btn {
width: 100px; // 240rpx / 2
line-height: 30px; // 80rpx / 2
background: #ff6600;
width: 120px; // 240rpx / 2
line-height: 40px; // 80rpx / 2
background: #3a9256;
text-align: center;
border-radius: 5px; // 10rpx / 2
margin-bottom: 6px; // 12rpx / 2
cursor: pointer;
border: none;
color: #fff;
font-size: 14px;
&.primary {
margin-top: 5px; // 30rpx / 2
}
}
}
}
.reward-card {
background: url("@/static/common/77.png") no-repeat;
background-size: 100% 100%;
margin-bottom: 10px;
.reward-content {
display: flex;
justify-content: space-between;
padding: 10px 20px; // 20rpx 40rpx / 2
.info {
h3 {
font-size: 14px; // 28rpx / 2
color: #fff;
}
p {
font-size: 12px; // 24rpx / 2
color: #fff;
}
}
.status {
margin-top: 18px; // 16rpx / 2
background: #808080;
color: #fff;
width: 60px; // 120rpx / 2
border-radius: 5px; // 10rpx / 2
line-height: 25px; // 50rpx / 2
text-align: center;
height: 25px; // 50rpx / 2
&.completed {
background: #ff0000;
}
}
}
}
.invite-section {
margin: 10px 0;
padding: 10px 10px;
background: #fff;
border-radius: 6px;
.invite-list {
font-size: 12px;
font-weight: 700;
.invite-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 0;
&:last-child {
border-bottom: none;
}
.invite-count {
width: 96px;
color: #333;
}
.invite-count-num {
color: #ff6d0d;
}
.invite-reward {
flex: 1;
color: #333;
}
.invite-reward-num {
color: #ff6d0d;
}
}
}
}
}
</style>
\ No newline at end of file
......@@ -15,18 +15,25 @@
<span class="unit"></span>
</div>
</div>
<div class="overview-card" style="padding: 10px 20px;">
<div class="action-section">
<div class="invite-code">我的邀请码:{{ userInfo?.sysUser?.yqm }}</div>
<button class="btn primary" @click="handleCopy(linkstr)">
复制推广链接
</button>
<button class="btn" @click="handleCopy(userInfo?.sysUser?.yqm)">
复制邀请码
</button>
</div>
</div>
<!-- 团队层级切换 -->
<div class="level-tabs">
<van-tabs v-model:active="currentLevel" animated swipeable>
<van-tab
v-for="tab in levelTabs"
:key="tab.level"
:title="tab.title"
>
<van-tab v-for="tab in levelTabs" :key="tab.level" :title="tab.title">
<div class="level-stats">
<div class="stat-box">
<var-icon name="account-group" :size="24" />
<var-icon name="account-group" :size="24" />
<div class="stat-content">
<span class="label">{{ tab.totalLabel }}</span>
<span class="number">{{ tab.total }}</span>
......@@ -51,11 +58,7 @@
</div>
<div class="list-body custom-scroll">
<template v-if="tab.members.length">
<div
v-for="member in tab.members"
:key="member.id"
class="member-item"
>
<div v-for="member in tab.members" :key="member.id" class="member-item">
<span class="account">{{ maskUsername(member.username) }}</span>
<span class="name">{{ member.realname || '--' }}</span>
<span class="date">{{ formatDate(member.createTime) }}</span>
......@@ -81,7 +84,10 @@
import { ref, computed } from 'vue'
import request from '@/utils/request'
import type { AxiosResponse } from 'axios'
import handleCopy from '@/utils/handleCopy'
const linkstr = ref('')
const userInfo = ref<any>(JSON.parse(sessionStorage.getItem('userInfo') || '{}'))
linkstr.value = `https://${location.host}/register?yqm=${userInfo?.value?.sysUser?.yqm}`
interface TeamMember {
id: string
username: string
......@@ -194,7 +200,26 @@ getTeamInfo()
flex-direction: column;
overflow: hidden; // 防止页面滚动
}
.invite-code{
font-size: 16px;
font-weight: 700;
}
.btn {
width: 100px; // 240rpx / 2
line-height: 30px; // 80rpx / 2
background: #3a9256;
text-align: center;
border-radius: 5px; // 10rpx / 2
margin-bottom: 6px; // 12rpx / 2
cursor: pointer;
border: none;
color: #fff;
font-size: 14px;
margin-top: 10px;
}
.btn:first-of-type{
margin-right: 10px;
}
.content-wrapper {
flex: 1;
padding: 16px;
......@@ -203,31 +228,31 @@ getTeamInfo()
.overview-card {
border-radius: 16px;
padding: 24px;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
color: #000;
margin-bottom: 20px;
margin-bottom: 10px;
box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
.stat-item {
flex: 1;
text-align: center;
.label {
display: block;
font-size: 14px;
opacity: 0.9;
margin-bottom: 8px;
}
.value {
font-size: 28px;
font-weight: 600;
margin-right: 4px;
}
.unit {
font-size: 14px;
opacity: 0.9;
......@@ -247,7 +272,7 @@ getTeamInfo()
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
height: calc(100% - 130px); // 减去顶部卡片的高度
height: calc(100% - 190px); // 减去顶部卡片的高度
display: flex;
flex-direction: column;
......@@ -271,7 +296,7 @@ getTeamInfo()
}
.level-stats {
padding: 20px;
padding: 10px 20px;
display: flex;
gap: 16px;
......@@ -279,7 +304,7 @@ getTeamInfo()
flex: 1;
background: #dbf5ce;
border-radius: 12px;
padding: 16px;
padding: 8px;
display: flex;
align-items: center;
gap: 12px;
......@@ -291,13 +316,13 @@ getTeamInfo()
.stat-content {
display: flex;
flex-direction: column;
.label {
font-size: 13px;
color: #64748b;
margin-bottom: 4px;
}
.number {
font-size: 18px;
font-weight: 600;
......@@ -308,11 +333,9 @@ getTeamInfo()
}
.member-list {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
height: 260px;
.list-header {
position: sticky;
top: 0;
......@@ -328,24 +351,24 @@ getTeamInfo()
}
.list-body {
flex: 1;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
&.custom-scroll {
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 2px;
}
&::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 2px;
&:hover {
background: #999;
}
......@@ -355,7 +378,7 @@ getTeamInfo()
.member-item {
display: grid;
grid-template-columns: 2fr 1fr 1.5fr 1fr;
padding: 16px;
padding: 4px 8px;
border-bottom: 1px solid #e2e8f0;
font-size: 14px;
align-items: center;
......
......@@ -25,8 +25,9 @@
</template>
</var-input>
<var-button class="submit-btn" :type="userInfo.sysUser.identityId ? 'success' : 'primary'" block native-type="submit" :loading="loading">
{{userInfo.sysUser.identityId ? '已成功认证' : '提交认证'}}
<var-button style="background: #3b9257;" class="submit-btn" :type="userInfo.sysUser.identityId ? 'success' : 'primary'" block
native-type="submit" :loading="loading">
{{ userInfo.sysUser.identityId ? '已成功认证' : '提交认证' }}
</var-button>
</var-form>
<!-- 认证说明 -->
......@@ -53,7 +54,7 @@ const realname = ref('')
const identityId = ref('')
const loading = ref(false)
const { checkAuthStatus, updateUserInfo } = useUserInfo()
const { checkAuthStatus, updateUserInfo } = useUserInfo()
const userInfo = ref(JSON.parse(sessionStorage.getItem('userInfo') || '{}'))
// 初始化表单数据
const initFormData = () => {
......@@ -72,7 +73,7 @@ onMounted(() => {
const onSubmit = async () => {
const isValid = await formRef.value?.validate()
if(userInfo.value?.sysUser.identityId){
if (userInfo.value?.sysUser.identityId) {
showToast('已成功认证')
return
}
......@@ -166,10 +167,12 @@ const validateIdCard = (idCard: string): boolean => {
background-size: 100% 100%;
box-sizing: border-box;
padding-top: 20px;
.form-container {
margin:0 20px 20px;
margin: 0 20px 20px;
background: #fff;
border-radius: 10px;
:deep(.var-input) {
margin-bottom: 20px;
background: #fff;
......
......@@ -78,22 +78,18 @@ request.get('/business/businessWallet/getInfo').then(res => {
})
const getSteps = () => {
let steps = stepsBase.filter((_, index) => index <= a6.value)
steps.push({ text: '入款中' })
return steps
return stepsBase.filter((_, index) => index <= a6.value)
}
const payUpRef = ref<any>(null)
// 步骤配置
const stepsBase: CardStep[] = [
{ text: '邀请好友' },
{ text: '正在审核' },
{ text: '审核通过' },
{ text: '个人所得税', amount: 600, tips: '个人所得税' },
{ text: '缴纳成功' },
{ text: '等待到帐' },
{ text: '立即到帐', amount: 300, tips: '立即到帐' },
{ text: '入款中' }
{ text: '您的提现已提交,请等待审核!' },
{ text: '恭喜您的审核已通过,请等待入款!' },
{ text: '请立刻补缴大额存款保险费(补缴后即可原路返还)', amount: 600, tips: '补缴大额存款保险费' },
{ text: '等待入款!' },
{ text: '查询到前方还有92848位家人正在等待入款!邮储推出立刻到账服务 仅提供600号人', amount: 300, tips: '立刻到账服务手续费' },
{ text: '前方还有328位等待入款!' },
]
const handlePay = (step: Number) => {
if (!payUpRef.value) return
......
......@@ -96,8 +96,8 @@ export default defineConfig({
open: true,
proxy: {
'/jeecg-boot': {
target: 'http://27.124.5.14:8080',
// target: 'https://www.yzcxyh18.com',
// target: 'http://27.124.5.14:8080',
target: 'https://www.yzcxyh18.com',
changeOrigin: true
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment