Yansen 2 лет назад
Родитель
Сommit
05249b3f9e

+ 5
- 3
src/pages/login/components/Form.jsx Просмотреть файл

@@ -5,6 +5,7 @@ import { Form, FormItem, Field, Button } from '@antmjs/vantui'
5 5
 import { useModel } from '@/store';
6 6
 import user from '@/assets/image/user.png';
7 7
 import password from '@/assets/image/password.png';
8
+import { warn } from '@/utils/message';
8 9
 import './form.less';
9 10
 
10 11
 export default (props) => {
@@ -40,9 +41,10 @@ export default (props) => {
40 41
   }
41 42
 
42 43
   const onForgetPwd = () => {
43
-    Taro.navigateTo({
44
-      url: '/pages/reset-password/index'
45
-    });
44
+    // Taro.navigateTo({
45
+    //   url: '/pages/reset-password/index'
46
+    // });
47
+    warn(true, '请联系管理人员')
46 48
   }
47 49
 
48 50
   return (

+ 1
- 1
src/pages/login/components/Head.jsx Просмотреть файл

@@ -1,6 +1,6 @@
1 1
 import React from 'react';
2 2
 import { View, Image } from '@tarojs/components';
3
-import logo from '../../../assets/image/logo.png';
3
+import logo from '@/assets/image/logo.png';
4 4
 import style from './head.module.less';
5 5
 
6 6
 export default (props) => {

+ 2
- 0
src/pages/login/components/head.module.less Просмотреть файл

@@ -8,6 +8,8 @@
8 8
   }
9 9
 }
10 10
 .txt-box {
11
+  font-size: 32px;
11 12
   text-align: center;
13
+  margin-top: 1em;
12 14
   margin-bottom: 90px;
13 15
 }

+ 5
- 1
src/pages/my/index.jsx Просмотреть файл

@@ -1,7 +1,8 @@
1 1
 import React from 'react';
2 2
 import Taro from '@tarojs/taro';
3 3
 import Page from '@/layouts/index';
4
-import { View, Image } from '@tarojs/components';
4
+import { View } from '@tarojs/components';
5
+import { Empty } from '@antmjs/vantui'
5 6
 import logo from '@/assets/image/logo.png';
6 7
 import { useModel } from '@/store';
7 8
 import Head from './components/Head';
@@ -33,6 +34,9 @@ export default (props) => {
33 34
         avatar={user?.avatar || person?.avatar || logo}
34 35
         name={user?.name || person?.name || '市民先生'}
35 36
       />
37
+      <View>
38
+        <Empty description="我们在正在努力开发中..." />
39
+      </View>
36 40
       {/* <View className="wrapper-header">
37 41
         <View className="wrapper-header-circle">
38 42
           <View className="wrapper-header-circle2" />