Parcourir la source

Merge branch 'master' of http://git.ycjcjy.com/kypay/global_funding-pc-merchant

fangmingyue il y a 1 an
Parent
révision
9036a0c313
4 fichiers modifiés avec 12 ajouts et 10 suppressions
  1. 5
    0
      src/index.less
  2. 1
    1
      src/locale/zh.json
  3. 1
    1
      src/pages/qRegister/QRegister.jsx
  4. 5
    8
      src/routes/routes.jsx

+ 5
- 0
src/index.less Voir le fichier

@@ -87,4 +87,9 @@ body,
87 87
 .ant-btn-primary:hover {
88 88
   border-color: #389da2;
89 89
   background-color: #389da2;
90
+}
91
+
92
+.ant-btn-primary:hover, .ant-btn-primary:focus {
93
+  border-color: #389da2;
94
+  background-color: #389da2;
90 95
 }

+ 1
- 1
src/locale/zh.json Voir le fichier

@@ -2,7 +2,7 @@
2 2
   "language": "语言",
3 3
   "switch": "选择",
4 4
   "accountmanagement": {
5
-    "title": "qqq"
5
+    "title": "账户管理"
6 6
   },
7 7
   "authentication": {
8 8
     "titleLeft": "实名认证流程",

+ 1
- 1
src/pages/qRegister/QRegister.jsx Voir le fichier

@@ -20,7 +20,7 @@ export default (props) => {
20 20
     setLoading(true);
21 21
     register({
22 22
       userName: values.userName,
23
-      loginType: "platform.pc",
23
+      loginType: "admin.pc",
24 24
       password: values.password,
25 25
       phone: values.phone
26 26
     })

+ 5
- 8
src/routes/routes.jsx Voir le fichier

@@ -44,19 +44,16 @@ import QRegister from "@/pages/qRegister/index";
44 44
 export const authRoutes = [
45 45
   {
46 46
     index: true,
47
-    element: <Navigate to="/authentication" />,
47
+    element: <Navigate to="/firstPage" replace="/firstPage" />,
48 48
   },
49
-  // {
50
-  //   path: "/qLogin",
51
-  //   element: <QLogin />,
52
-  // },
49
+
53 50
   // 实名认证流程
54 51
   {
55 52
     path: "/authentication",
56 53
     element: <Authentication />,
57 54
     meta: {
58 55
       title: "",
59
-      hideInMenu: true
56
+      hideInMenu: true,
60 57
     },
61 58
   },
62 59
   {
@@ -216,7 +213,7 @@ export const defaultRoutes = [
216 213
   },
217 214
 ];
218 215
 
219
-export function mergeAuthRoutes (r1, r2) {
216
+export function mergeAuthRoutes(r1, r2) {
220 217
   const r = r1.slice();
221 218
   const children = r1[0].children.slice();
222 219
   r[0].children = children.concat(r2);
@@ -226,7 +223,7 @@ export function mergeAuthRoutes (r1, r2) {
226 223
 // 全部路由
227 224
 export const routes = mergeAuthRoutes(defaultRoutes, authRoutes);
228 225
 console.log(routes);
229
-function getPath (parent = "/", current = "") {
226
+function getPath(parent = "/", current = "") {
230 227
   if (current.indexOf("/") === 0 || current.indexOf("http") === 0)
231 228
     return current;
232 229
   return `${parent}/${current}`.replace(/\/\//g, "/");