Skip to content

Commit 7c8641c

Browse files
lh_wanglh_wang
authored andcommitted
fix some bug & add new func
1 parent 08f79ed commit 7c8641c

File tree

8 files changed

+106
-288
lines changed

8 files changed

+106
-288
lines changed

address_book/address_book.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
2323
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
2424
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25-
1C044BE61B5520FB00E88539 /* libRCTAdSupport.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1C044BDC1B55201600E88539 /* libRCTAdSupport.a */; };
25+
1CE7BAB71BB01B6E0063C4E5 /* libRCTAdSupport.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CE7BAB61BB0081C0063C4E5 /* libRCTAdSupport.a */; };
2626
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
2727
/* End PBXBuildFile section */
2828

@@ -90,9 +90,9 @@
9090
remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
9191
remoteInfo = React;
9292
};
93-
1C044BDB1B55201600E88539 /* PBXContainerItemProxy */ = {
93+
1CE7BAB51BB0081C0063C4E5 /* PBXContainerItemProxy */ = {
9494
isa = PBXContainerItemProxy;
95-
containerPortal = 1C044BD61B55201600E88539 /* RCTAdSupport.xcodeproj */;
95+
containerPortal = 1CE7BAB11BB0081C0063C4E5 /* RCTAdSupport.xcodeproj */;
9696
proxyType = 2;
9797
remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
9898
remoteInfo = RCTAdSupport;
@@ -133,7 +133,7 @@
133133
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = iOS/Info.plist; sourceTree = "<group>"; };
134134
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = iOS/main.m; sourceTree = "<group>"; };
135135
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
136-
1C044BD61B55201600E88539 /* RCTAdSupport.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAdSupport.xcodeproj; path = "node_modules/react-native/Libraries/AdSupport/RCTAdSupport.xcodeproj"; sourceTree = "<group>"; };
136+
1CE7BAB11BB0081C0063C4E5 /* RCTAdSupport.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAdSupport.xcodeproj; path = "node_modules/react-native/Libraries/AdSupport/RCTAdSupport.xcodeproj"; sourceTree = "<group>"; };
137137
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
138138
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
139139
/* End PBXFileReference section */
@@ -150,7 +150,7 @@
150150
isa = PBXFrameworksBuildPhase;
151151
buildActionMask = 2147483647;
152152
files = (
153-
1C044BE61B5520FB00E88539 /* libRCTAdSupport.a in Frameworks */,
153+
1CE7BAB71BB01B6E0063C4E5 /* libRCTAdSupport.a in Frameworks */,
154154
146834051AC3E58100842450 /* libReact.a in Frameworks */,
155155
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
156156
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
@@ -262,10 +262,10 @@
262262
name = Products;
263263
sourceTree = "<group>";
264264
};
265-
1C044BD71B55201600E88539 /* Products */ = {
265+
1CE7BAB21BB0081C0063C4E5 /* Products */ = {
266266
isa = PBXGroup;
267267
children = (
268-
1C044BDC1B55201600E88539 /* libRCTAdSupport.a */,
268+
1CE7BAB61BB0081C0063C4E5 /* libRCTAdSupport.a */,
269269
);
270270
name = Products;
271271
sourceTree = "<group>";
@@ -281,7 +281,7 @@
281281
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
282282
isa = PBXGroup;
283283
children = (
284-
1C044BD61B55201600E88539 /* RCTAdSupport.xcodeproj */,
284+
1CE7BAB11BB0081C0063C4E5 /* RCTAdSupport.xcodeproj */,
285285
146833FF1AC3E56700842450 /* React.xcodeproj */,
286286
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
287287
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
@@ -395,8 +395,8 @@
395395
ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
396396
},
397397
{
398-
ProductGroup = 1C044BD71B55201600E88539 /* Products */;
399-
ProjectRef = 1C044BD61B55201600E88539 /* RCTAdSupport.xcodeproj */;
398+
ProductGroup = 1CE7BAB21BB0081C0063C4E5 /* Products */;
399+
ProjectRef = 1CE7BAB11BB0081C0063C4E5 /* RCTAdSupport.xcodeproj */;
400400
},
401401
{
402402
ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
@@ -500,11 +500,11 @@
500500
remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
501501
sourceTree = BUILT_PRODUCTS_DIR;
502502
};
503-
1C044BDC1B55201600E88539 /* libRCTAdSupport.a */ = {
503+
1CE7BAB61BB0081C0063C4E5 /* libRCTAdSupport.a */ = {
504504
isa = PBXReferenceProxy;
505505
fileType = archive.ar;
506506
path = libRCTAdSupport.a;
507-
remoteRef = 1C044BDB1B55201600E88539 /* PBXContainerItemProxy */;
507+
remoteRef = 1CE7BAB51BB0081C0063C4E5 /* PBXContainerItemProxy */;
508508
sourceTree = BUILT_PRODUCTS_DIR;
509509
};
510510
78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {

address_book/index.ios.js

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ var {
2626
} = React;
2727

2828

29-
3029
StatusBarIOS.setStyle('light-content');
3130
var Address = React.createClass({
3231
statics: {
@@ -45,7 +44,7 @@ var Address = React.createClass({
4544
flex:1,
4645
opacity:1
4746
},
48-
isLoadingShow: false,
47+
isLoadingShow: false
4948
};
5049
},
5150

@@ -72,6 +71,18 @@ var Address = React.createClass({
7271
});
7372
}
7473
});
74+
}else{
75+
that.setState({
76+
showIndex: {
77+
height:0,
78+
opacity:0
79+
},
80+
showLogin:{
81+
flex:1,
82+
opacity:1
83+
},
84+
isLoadingShow: false
85+
});
7586
}
7687
});
7788

@@ -313,7 +324,4 @@ var styles = StyleSheet.create({
313324
}
314325
});
315326

316-
317-
318-
319327
AppRegistry.registerComponent('address_book', () => Address);

address_book/server/database/message.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,43 @@
22
{
33
"messageid": "1",
44
"userid": "112222",
5-
"username":"李响",
5+
"username": "李响",
66
"time": "2015-05-03",
77
"message": "etcd 是一个分布式一致性高可用的键值系统。 它被目前大部分容器集群管理系统(kubernetes、docker swarm、 coreos fleet、cloudfoundry diego等)采用来管理调度信息。本次演讲主要介绍etcd的基本架构以及遇到的问题。另外也将介绍etcd今后的发展。"
88
},
9-
109
{
1110
"messageid": "2",
1211
"userid": "112222",
13-
"username":"王冲",
12+
"username": "王冲",
1413
"time": "2015-05-03",
1514
"message": "途牛旅游网作为国内最大的旅游信息类网站之一,而途牛的价格中心是其大数据计算分析业务的核心系统。现在,途牛价格中心全新的实时计算架构通过应用分布式数据库SequoiaDB作为底层数据存储,再结合其他技术和架构,实现了系统整体效率2倍以上的提升。本次的分享就将由途牛旅游网的高级工程师王冲,介绍途牛旅游网的价格中心的实时计算架构以及如何结合SequoiaDB提升途牛价格中心的实时计算的效率。"
1615
},
17-
1816
{
1917
"messageid": "3",
2018
"userid": "112222",
2119
"time": "2015-05-03",
22-
"username":"陈伟才",
20+
"username": "陈伟才",
2321
"message": "阿里云ECS是阿里云计算的核心产品之一,存储IO性能则关系到虚拟机之内应用程序的性能。在过去一年,我们在虚拟机IO全链路profile、多场景下存储产品的解决方案等方面进行持续优化,IO性能和可预期都取得明显的收益。"
2422
},
2523
{
2624
"messageid": "4",
2725
"userid": "112222",
2826
"time": "2015-05-03",
29-
"username":"图拉鼎 ",
27+
"username": "图拉鼎 ",
3028
"message": "苹果发布了 Swift 2.0 ,并宣布即将开源 Swift (详情)。本主题将向您介绍 Swift 2.0 的新特性,当前 Swift 语言的发展状况及未来展望。"
29+
},
30+
{
31+
"messageid": "DD61CCF3-17B7-464E-8066-FAC7C2B58F27",
32+
"userid": "591F68A5-87E6-4A6C-810F-5A50953AE747",
33+
"username": "宋江",
34+
"time": "2015-9-21",
35+
"message": "欢迎新同学小康"
36+
},
37+
{
38+
"messageid": "F05D4D47-1A67-4F44-930F-A5B240CAAC92",
39+
"userid": "591F68A5-87E6-4A6C-810F-5A50953AE747",
40+
"username": "宋江",
41+
"time": "2015-9-21",
42+
"message": "欢迎新同学催明"
3143
}
3244
]

0 commit comments

Comments
 (0)