Your Name 1 rok temu
rodzic
commit
a0212f78fa
2 zmienionych plików z 8 dodań i 6 usunięć
  1. 1
    1
      config/prod.js
  2. 7
    5
      src/pages/login/components/Bottom.jsx

+ 1
- 1
config/prod.js Wyświetl plik

@@ -7,7 +7,7 @@ module.exports = {
7 7
     HOST: '"https://wmcj.huoshannews.com"',
8 8
     AD_IMAGE: '"https://h5.njyunzhi.com/images/citizen_banner.png"',
9 9
     DEFAULT_POS: '"116.3476917447715,31.409912844296578"', // 霍山县人民政府 gcj02
10
-    VERSION: '"1.1.28-20230822"',
10
+    VERSION: '"1.1.29-20240224"',
11 11
   },
12 12
   mini: {},
13 13
   h5: {

+ 7
- 5
src/pages/login/components/Bottom.jsx Wyświetl plik

@@ -1,7 +1,8 @@
1 1
 import React from 'react';
2 2
 import { View, Image, Button } from '@tarojs/components';
3
-import Icon from '@/assets/image/WeChat.png';
3
+// import Icon from '@/assets/image/WeChat.png';
4 4
 import { useModel } from '@/store';
5
+import { Icon } from '@antmjs/vantui';
5 6
 import style from './bottom.module.less';
6 7
 
7 8
 export default (props) => {
@@ -16,15 +17,16 @@ export default (props) => {
16 17
 
17 18
   return (
18 19
     <View>
19
-      <View className={style['txt-box2']}>—— 没有账号?微信登录 ——</View>
20
+      <View className={style['txt-box2']}>—— 没有账号?手机号快捷登录 ——</View>
20 21
       <View className={style['img-box2']}>
21 22
         <Button openType="getPhoneNumber" onGetPhoneNumber={onGetPhoneNumber}>
22
-          <Image className={style['img-wechat']}
23
+          {/* <Image className={style['img-wechat']}
23 24
             src={Icon}
24
-          />
25
+          /> */}
26
+          <Icon name="phone" size="32px" color='green' style={{ marginTop: '10px' }} />
25 27
         </Button>
26 28
       </View>
27
-      <View className={style['wechat-login']}>微信登录</View>
29
+      <View className={style['wechat-login']}>手机号快捷登录</View>
28 30
     </View>
29 31
   )
30 32
 }