许静 il y a 5 ans
Parent
révision
dbdd483c6b

+ 2
- 2
config/dev.js Voir le fichier

@@ -9,8 +9,8 @@ module.exports = {
9 9
     // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10 10
     // HOST: '"https://lt.pawoma.cn"',
11 11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-    HOST: '"http://192.168.0.172:8080"',
13
-    WSS_HOST: '"ws://192.168.0.172:8080"',
12
+    HOST: '"http://192.168.0.84:8080"',
13
+    WSS_HOST: '"ws://192.168.0.84:8080"',
14 14
   },
15 15
   weapp: {},
16 16
   h5: {}

+ 1
- 1
project.config.json Voir le fichier

@@ -2,7 +2,7 @@
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "mini-chengjiao",
4 4
 	"description": "知与行",
5
-	"appid": "wxd9ee3a9480a4e544",
5
+	"appid": "wxda1f84b79b3edeb3",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

+ 1
- 1
src/pages/news/item.js Voir le fichier

@@ -16,7 +16,7 @@ export default class NewsItem extends Component {
16 16
         <Image className="item-img" mode="aspectFill" src={data.newsImg}></Image>
17 17
         <View className="item-con">
18 18
           <View className="item-con__title">{data.newsName}</View>
19
-          <View className="item-con__date">{dayjs(data.createDate).format('YYYY-MM-DD')}</View>
19
+          <View className="item-con__date">{dayjs(data.createDate).format('YYYY-MM-DD  HH:mm:ss')}发布</View>
20 20
         </View>
21 21
       </View>
22 22
     );

+ 2
- 2
src/pages/news/item.scss Voir le fichier

@@ -1,6 +1,6 @@
1 1
 @import "@styles/theme.scss";
2 2
 .item {
3
-  padding: 50px 0;
3
+  padding: 20px 0;
4 4
   border-bottom: solid 1px $border-color-light;
5 5
   display: flex;
6 6
   justify-content: space-between;
@@ -27,7 +27,7 @@
27 27
     }
28 28
 
29 29
     &__date {
30
-      font-size: $font-size-content;
30
+      font-size: 24px;
31 31
       color: $text-color-lighter;
32 32
 			margin-bottom: 20px;
33 33
     }

+ 3
- 4
src/pages/project/list/filter/index.js Voir le fichier

@@ -129,7 +129,7 @@ export default class Index extends Component {
129 129
       if (selectedList.length === 1 && selectedList[0] === 0) {
130 130
         return ''
131 131
       }
132
-    
132
+
133 133
       // 类型
134 134
       if (tabIndex === 0) {
135 135
         let val = selectedList.map(index => curTabList[index])
@@ -197,8 +197,7 @@ export default class Index extends Component {
197 197
       maxPrice: e.detail.value
198 198
     })
199 199
   }
200
-
201
-  handleChangeKeywords(e) {
200
+  onInputText = e => {
202 201
     this.setState({
203 202
       keywords: e.detail.value
204 203
     })
@@ -299,7 +298,7 @@ export default class Index extends Component {
299 298
         <View className="search-box">
300 299
           <View className="search">
301 300
             <Text className="search-icon icon-sousuo iconfont"></Text>
302
-            <Input className="search-input" type="text" focus confirm-type="搜索" onConfirm={this.handleFilter} value={keywords} onChange={this.handleChangeKeywords} placeholder="请输入你想查询的楼盘"></Input>
301
+            <Input className="search-input" type="text" focus confirm-type="搜索" onConfirm={this.handleFilter} value={keywords} onInput={this.onInputText.bind(this)} placeholder="请输入你想查询的楼盘"></Input>
303 302
           </View>
304 303
           <View className="location" onClick={this.handleLocationClick}>
305 304
             <Text className="location-icon iconfont icon-daohangdizhi"></Text>