张延森 4 år sedan
förälder
incheckning
0dd2c71b14
3 ändrade filer med 6 tillägg och 7 borttagningar
  1. 1
    1
      config/prod.js
  2. 3
    3
      src/pages/house/list/index.jsx
  3. 2
    3
      src/pages/share/index.jsx

+ 1
- 1
config/prod.js Visa fil

@@ -3,7 +3,7 @@ module.exports = {
3 3
     NODE_ENV: '"production"'
4 4
   },
5 5
   defineConstants: {
6
-    HOST: '"https://sgl.ycjcjy.com"'
6
+    HOST: '"https://sgl.njyunzhi.com"'
7 7
   },
8 8
   mini: {},
9 9
   h5: {

+ 3
- 3
src/pages/house/list/index.jsx Visa fil

@@ -99,9 +99,9 @@ let house = (props, ref) => {
99 99
     getHouseList()
100 100
   }, [queryParams])
101 101
 
102
-  useDidShow(() => {
103
-    setQueryParams({ ...queryParams })
104
-  })
102
+  // useDidShow(() => {
103
+  //   setQueryParams({ ...queryParams })
104
+  // })
105 105
 
106 106
   return (
107 107
     <View className='houselist'>

+ 2
- 3
src/pages/share/index.jsx Visa fil

@@ -134,14 +134,13 @@ const Index = () => {
134 134
                 <View style={{textAlign: 'center'}}>
135 135
                     <Loading size='48px' />
136 136
                 </View>
137
-                <View style={{marginTop: '2em', textAlign: 'center'}}>正在生成分享内容, 请稍...</View>
137
+                <View style={{marginTop: '2em', textAlign: 'center'}}>正在生成分享内容, 请稍...</View>
138 138
             </AtModalContent>
139 139
         </AtModal>
140 140
         <AtModal isOpened={showShareModal}>
141 141
             <AtModalHeader>分享到微信</AtModalHeader>
142 142
             <AtModalAction>
143
-                <Button onClick={() => setShowShareModal(false)}>取消</Button>
144
-                <Button open-type='share' onClick={() => setShowShareModal(false)}>确定</Button>
143
+                <Button open-type='share' onClick={() => setShowShareModal(false)}>去分享</Button>
145 144
             </AtModalAction>
146 145
         </AtModal>
147 146
     </View>