张涛 vor 1 Jahr
Ursprung
Commit
aa7ed59023

+ 9
- 5
src/layouts/AuthLayout/components/Header/Language.jsx Datei anzeigen

@@ -1,14 +1,18 @@
1
-import { ProFormSelect } from "@ant-design/pro-components";
2 1
 import { Select } from "antd";
3
-import React from "react";
4
-import { useModel } from '@/store';
2
+import React, { useMemo } from "react";
3
+import { useModel } from "@/store";
5 4
 export default (props) => {
5
+  const { style } = props;
6 6
 
7
-  const {lang}=useModel("language")
7
+  const styles = useMemo(() => {
8
+    return { ...style, width: 120 };
9
+  }, []);
10
+  console.log(styles)
11
+  const { lang } = useModel("language");
8 12
   const language = [
9 13
     { label: "中文简体", value: "zh-CN" },
10 14
     { label: "中文繁体", value: "zh-Tw" },
11 15
     { label: "英文", value: "en-Us" },
12 16
   ];
13
-  return <Select defaultValue={lang} style={{ width: 120 }} options={language} />;
17
+  return <Select defaultValue={lang} style={styles} options={language} />;
14 18
 };

+ 145
- 0
src/pages/firstPage/components/FooterPage.jsx Datei anzeigen

@@ -0,0 +1,145 @@
1
+import Language from "@/layouts/AuthLayout/components/Header/Language";
2
+import { Select } from "antd";
3
+import React from "react";
4
+export default (props) => {
5
+  const imgList = [
6
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
7
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
8
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
9
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
10
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
11
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
12
+    "https://qbitnetwork.com/_nuxt/img/004.001.ee7377e.svg",
13
+  ];
14
+  return (
15
+    <div className="footer">
16
+      <div className="preparation">
17
+        <div className="marginAuto service">
18
+          <a href="JavaScript:;" target="_self">
19
+            <div>
20
+              {" "}
21
+              <img
22
+                src="https://qbitnetwork.com/_nuxt/img/logo.dark.bbd2103.svg"
23
+                alt=""
24
+              />
25
+            </div>
26
+          </a>
27
+          <div style={{ height: "40px" }}></div>
28
+          <div className="columns">
29
+            <div>
30
+              <div className="columns_text">准备好开始了吗</div>
31
+              <div style={{ height: "26px" }}></div>
32
+              <div className="flicker flickers">
33
+                <span>立即注册</span>
34
+              </div>
35
+              <div style={{ height: "104px" }}></div>
36
+              <div style={{ display: "flex", alignItems: "center" }}>
37
+                <Language style={{ backGroundColor: "rgba(0,0,0,0)" }} />
38
+                <div style={{ width: "16px" }}></div>
39
+                <div style={{ display: "flex", gap: "8px" }}>
40
+                  {imgList.map((it, index) => {
41
+                    return (
42
+                      <span key={index} style={{ cursor: "pointer" }}>
43
+                        <img src={it} alt="" srcset="" />
44
+                      </span>
45
+                    );
46
+                  })}
47
+                </div>
48
+              </div>
49
+            </div>
50
+            <div style={{ marginRight: "auto" }}></div>
51
+            <div style={{ columnGap: "80px", display: "flex" }}>
52
+              <div>
53
+                <div className="about">产品服务</div>
54
+                <div style={{ height: "28px" }}></div>
55
+                <div style={{ display: "grid", gap: "20px" }}>
56
+                  <a className="about_a" href="JavaScript:;">
57
+                    全球收款
58
+                  </a>
59
+                  <a className="about_a" href="JavaScript:;">
60
+                    量子卡
61
+                  </a>
62
+                  <a className="about_a" href="JavaScript:;">
63
+                    国际付款
64
+                  </a>
65
+                  <a className="about_a" href="JavaScript:;">
66
+                    供应链金融
67
+                  </a>
68
+                  <a className="about_a" href="JavaScript:;">
69
+                    公司注册
70
+                  </a>
71
+                </div>
72
+              </div>
73
+              <div>
74
+                <div className="about">API对接</div>
75
+                <div style={{ height: "28px" }}></div>
76
+                <div style={{ display: "grid", gap: "20px" }}>
77
+                  <a className="about_a" href="JavaScript:;">
78
+                    BaaS
79
+                  </a>
80
+                  <a className="about_a" href="JavaScript:;">
81
+                    CaaS
82
+                  </a>
83
+                </div>
84
+              </div>
85
+              <div>
86
+                <div className="about">开发者文档</div>
87
+                <div style={{ height: "28px" }}></div>
88
+                <div style={{ display: "grid", gap: "20px" }}>
89
+                  <a className="about_a" href="JavaScript:;">
90
+                    产品文档
91
+                  </a>
92
+                  <a className="about_a" href="JavaScript:;">
93
+                    API技术文档
94
+                  </a>
95
+                </div>
96
+              </div>
97
+              <div>
98
+                <div className="about">资源</div>
99
+                <div style={{ height: "28px" }}></div>
100
+                <div style={{ display: "grid", gap: "20px" }}>
101
+                  <a className="about_a" href="JavaScript:;">
102
+                    新闻资讯
103
+                  </a>
104
+                  <a className="about_a" href="JavaScript:;">
105
+                    生态合作
106
+                  </a>
107
+                  <a className="about_a" href="JavaScript:;">
108
+                    帮助中心
109
+                  </a>
110
+                  <a className="about_a" href="JavaScript:;">
111
+                    条款&政策
112
+                  </a>
113
+                </div>
114
+              </div>
115
+              <div>
116
+                <div className="about">关于我们</div>
117
+                <div style={{ height: "28px" }}></div>
118
+                <div style={{ display: "grid", gap: "20px" }}>
119
+                  <a className="about_a" href="JavaScript:;">
120
+                    了解Qbit
121
+                  </a>
122
+                  <a className="about_a" href="JavaScript:;">
123
+                    安全合规
124
+                  </a>
125
+                  <a className="about_a" href="JavaScript:;">
126
+                    联系我们
127
+                  </a>
128
+                </div>
129
+              </div>
130
+            </div>
131
+          </div>
132
+        </div>
133
+      </div>
134
+      {/* footer- */}
135
+      <div className="footer_down">
136
+        <div className="footer_report">
137
+          <a href="JavaScript:;">浙ICP备19050323号-1</a>&nbsp;
138
+          <a href="JavaScript:;">浙公网安备33010402004040号</a>
139
+          <br />
140
+          Copyright © AILINGUAL LIMITED. All rights reserved.
141
+        </div>
142
+      </div>
143
+    </div>
144
+  );
145
+};

+ 3
- 0
src/pages/firstPage/index.jsx Datei anzeigen

@@ -14,6 +14,7 @@ import InitialHeart from "./components/ToInitialHeart";
14 14
 import ToInitialHeart from "./components/ToInitialHeart";
15 15
 import ToSelect from "./components/ToSelectRegister";
16 16
 import ToSelectRegister from "./components/ToSelectRegister";
17
+import FooterPage from "./components/FooterPage";
17 18
 export default (props) => {
18 19
   const theme = "light";
19 20
   return (
@@ -37,6 +38,8 @@ export default (props) => {
37 38
       <div style={{ height: "200px" }}></div>
38 39
       <ToInitialHeart />
39 40
       <ToSelectRegister />
41
+
42
+      <FooterPage />
40 43
     </Layout>
41 44
   );
42 45
 };

+ 119
- 1
src/pages/firstPage/index.less Datei anzeigen

@@ -140,7 +140,6 @@
140 140
 
141 141
 
142 142
             .flickers {
143
-                border: 1 solid #000;
144 143
                 background: rgba(0, 0, 0, 0);
145 144
                 border: 1px solid #000;
146 145
 
@@ -559,6 +558,125 @@
559 558
     }
560 559
 }
561 560
 
561
+
562
+.footer {
563
+    .preparation {
564
+        background-color: #f0f8f8;
565
+
566
+        .service {
567
+            padding-top: 80px;
568
+            padding-bottom: 60px;
569
+
570
+            .columns {
571
+                display: flex;
572
+
573
+                .columns_text {
574
+                    font-weight: 700;
575
+                    font-size: 28px;
576
+                    line-height: 38px;
577
+                }
578
+
579
+
580
+                .flicker {
581
+                    width: 98px;
582
+                    height: 31px;
583
+                    background: black;
584
+                    color: white;
585
+                    border-radius: 12px;
586
+                    padding: 6px 20px;
587
+                    position: relative;
588
+                    line-height: 50px;
589
+
590
+                    span {
591
+                        display: block;
592
+                        text-align: center;
593
+                        font-size: 14px;
594
+                        font-weight: 400;
595
+                        line-height: 20px;
596
+                    }
597
+
598
+                }
599
+
600
+                .flicker:hover {
601
+                    animation-duration: 1s;
602
+                    animation-fill-mode: both;
603
+                    animation-name: box-button-background-black-unset;
604
+                    transition-timing-function: linear;
605
+                }
606
+
607
+                .flickers:hover {
608
+                    animation-duration: 1s;
609
+                    animation-fill-mode: both;
610
+                    animation-name: box-button-background-transparent-black;
611
+                    transition-timing-function: linear;
612
+
613
+                    span {
614
+                        color: #FFF;
615
+                    }
616
+
617
+                }
618
+
619
+
620
+                .flickers {
621
+                    border: 1px solid #000;
622
+                    background: rgba(0, 0, 0, 0);
623
+
624
+                    span {
625
+                        color: #000;
626
+                    }
627
+
628
+                }
629
+
630
+                .about {
631
+                    font-weight: 600;
632
+                    font-size: 16px;
633
+                    line-height: 24px;
634
+
635
+                }
636
+
637
+                .about_a {
638
+                    color: #3B4D59;
639
+                    line-height: 20px;
640
+                    font-size: 14px;
641
+                }
642
+
643
+                .about_a:hover {
644
+                    text-decoration: underline;
645
+                    text-underline-offset: 0.2em;
646
+                }
647
+            }
648
+        }
649
+    }
650
+
651
+    .footer_down {
652
+        background-color: #f7fcfc;
653
+        padding-bottom: 24px;
654
+        padding-top: 20px;
655
+
656
+        .footer_report {
657
+            color: #aeb4b8;
658
+            text-align: center;
659
+            line-height: 20px;
660
+            font-size: 14px;
661
+            a{
662
+                color: #aeb4b8;
663
+            }
664
+        }
665
+    }
666
+
667
+}
668
+
669
+.ant-select:not(.ant-select-customize-input) .ant-select-selector {
670
+    background-color: rgba(0, 0, 0, 0);
671
+    color: #698f8f;
672
+    border-radius: 12px;
673
+}
674
+
675
+.ant-select-dropdown {
676
+    background-color: rgba(0, 0, 0, 0);
677
+
678
+}
679
+
562 680
 @keyframes fadeOut {
563 681
     from {
564 682
         opacity: 0;