李志伟 2 years ago
parent
commit
5145e905ea

+ 2
- 2
config/dev.js View File

4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
     // HOST: '"http://192.168.89.25:7080"',
6
     // HOST: '"http://192.168.89.25:7080"',
7
-    // HOST: '"http://192.168.89.147:7080"',
8
-    HOST: '"https://machine.njyunzhi.com"',
7
+    HOST: '"http://192.168.89.25:7080"',
8
+    // HOST: '"https://machine.njyunzhi.com"',
9
     // OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
9
     // OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
10
     // VERSION: '"3.0.3_2021-12-23"',
10
     // VERSION: '"3.0.3_2021-12-23"',
11
   },
11
   },

+ 2
- 1
project.config.json View File

39
         "minifyWXML": true,
39
         "minifyWXML": true,
40
         "showES6CompileOption": false,
40
         "showES6CompileOption": false,
41
         "useCompilerPlugins": false,
41
         "useCompilerPlugins": false,
42
-        "ignoreUploadUnusedFiles": true,
42
+        "ignoreDevUnusedFiles": false,
43
+        "ignoreUploadUnusedFiles": false,
43
         "useStaticServer": true
44
         "useStaticServer": true
44
     },
45
     },
45
     "compileType": "miniprogram",
46
     "compileType": "miniprogram",

+ 0
- 1
src/pages/index/components/User/index.jsx View File

46
   }
46
   }
47
   return (
47
   return (
48
     <ScrollView scrollY style={{ height: '100%' }}>
48
     <ScrollView scrollY style={{ height: '100%' }}>
49
-      {/* <View className='personTip'>该账号归{person.userName}所属</View> */}
50
       <View className='userHead' onClick={handleAccount}>
49
       <View className='userHead' onClick={handleAccount}>
51
         <Image src={userBgi} className='userBgi' />
50
         <Image src={userBgi} className='userBgi' />
52
         <View className='headcontent' >
51
         <View className='headcontent' >

+ 0
- 6
src/pages/userInfo/index.jsx View File

87
           <Image src={avatar} className='avatarImg' />
87
           <Image src={avatar} className='avatarImg' />
88
           <View className='change'>更换头像</View>
88
           <View className='change'>更换头像</View>
89
         </View>
89
         </View>
90
-        {/* <View className='userCell'>
91
-          <View>用户名:</View>
92
-          <View style={{ display: 'flex', opacity: 0.5, alignItems: 'center', height: '54px' }}>
93
-            <Input type='text' value={person.userName} disabled className='userName' />
94
-          </View>
95
-        </View> */}
96
         <View className='userCell'>
90
         <View className='userCell'>
97
           <View>姓名:</View>
91
           <View>姓名:</View>
98
           <View style={{ display: 'flex', alignItems: 'center', height: '54px' }}>
92
           <View style={{ display: 'flex', alignItems: 'center', height: '54px' }}>