-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
256 lines (235 loc) · 8.91 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!DOCTYPE html>
<html lang="en" class="no-js demo-4">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>小宇和包包的北京生活</title>
<meta name="description" content="小宇和包包的北京生活" />
<!-- modal -->
<link rel="stylesheet" type="text/css" href="css/default3.css" />
<link rel="stylesheet" type="text/css" href="css/component3.css" />
<!-- diary -->
<link rel="stylesheet" type="text/css" href="css/default.css" />
<link rel="stylesheet" type="text/css" href="css/bookblock.css" />
<link rel="stylesheet" type="text/css" href="css/demo4.css" />
<!-- picroll -->
<link rel="stylesheet" type="text/css" href="css/slicebox.css" />
<link rel="stylesheet" type="text/css" href="css/custom2.css" />
<script type="text/javascript" src="js/modernizr.custom.46884.js"></script>
</head>
<body>
<div class="container">
<div class="bb-custom-wrapper">
<div id="bb-bookblock" class="bb-bookblock">
<div class="bb-item">
<div class="bb-custom-firstpage">
<h1>我们的故事 <span>小宇和包包在北京的生活</span></h1>
<nav class="codrops-demos">
<a class="current-demo" href="#">7月</a>
<a href="#">8月</a>
<a href="#">9月</a>
<a href="#">10月</a>
<a href="#">11月</a>
<a href="#">12月</a>
</nav>
<nav class="codrops-nav">
<a class="codrops-icon codrops-icon-prev" href="#"><span>前一年</span></a>
<a class="codrops-icon codrops-icon-drop" href="#"><span>最新文章</span></a>
</nav>
<h5>(暂不支持长文链接)</h5>
<h5>(增加了图片浏览功能)</h5>
</div>
<div class="bb-custom-side" id="2013-7-1">
<p><a href="#">初来北京</a><br/>昨天急急忙忙高铁来了北京,小宇7月1日正式入职。我们把小屋再好好布置了
一通,虽然挤挤的,但也有家的感 觉。什么是家?有亲人的地方才能称为"家"</p>
</div>
</div>
<div class="bb-item">
<div class="bb-custom-side" id="2013-7-6">
<p><a href="#">西单之行</a><br/>今天是在北京的第一个周六,上午安装了铁通宽带,下午正好得空去西单。我们去买了好多衣服。一共花了550多块钱,给包包买了短袖、中裤、鞋子,还买了路由器、储物箱,哈哈</p>
</div>
<div class="bb-custom-side" id="2013-7-15">
<p><a href="#">写在入职一周半<a class="codrops-icon codrops-icon-next" href="http://blog.csdn.net/zbf8441372/article/details/9331119"></a></a><br/>我很清楚我想要什么,我也一直提醒自己来北京百度工作的初衷。
每一天都是积累,不要在大环境中消磨自己,消磨斗志,消磨理想</p></a>
</div>
</div>
<div class="bb-item">
<div class="bb-custom-side" id="2013-7-20-1">
<p><a href="#">天台爱情</a><br/>难得周末,<a href="http://weibo.com/bingwenshi">阿炳</a>来小宇公司玩,晚上加上阿炳同学,四个人去中关村的美嘉(Mega,这名字对程序员很熟悉啊)影院看了杰伦的天台爱情。天台里果然有很多很多元素,我很满意,也很惊喜,哈哈。</p>
</div>
<div class="bb-custom-side" id="2013-7-20-2">
<p><a href="#">本周菜单</a><br/>这是我周二到周五拍的午餐伙食,以后坚持每周post一次~
<br /><button class="md-trigger" data-modal="modal-13-7-20">图片浏览</button></p></a>
</div>
</div>
<div class="bb-item">
<div class="bb-custom-side" id="2013-7-22">
<p><a href="#">柠檬</a><br/>路过西二旗站水果摊的时候,听到水果店说大减价,于是去看了下买了三个柠檬。一直都没有吃过真的柠檬水果,回家剖开尝了下哈哈~然后就泡了两壶水,估计这三个柠檬得吃很久,泡好多水喝了。</p>
</div>
<div class="bb-custom-side">
</div>
</div>
</div>
<!-- 图片区 -->
<div class="main clearfix">
<div class="column">
<!-- 7-20 4 pics-->
<div class="md-modal md-effect-2" id="modal-13-7-20">
<div class="md-content">
<h3 class="md-close">关闭图片</h3>
</div>
<ul id="sb-slider" class="sb-slider">
<li>
<a href="#"><img src="images/13-7-20-1.jpg" alt="13-7-20-1"/></a>
<div class="sb-description">
<h3>周二午饭</h3>
</div>
</li>
<li>
<a href="#"><img src="images/13-7-20-2.jpg" alt="13-7-20-2"/></a>
<div class="sb-description">
<h3>周三午饭</h3>
</div>
</li>
<li>
<a href="#"><img src="images/13-7-20-3.jpg" alt="13-7-20-3"/></a>
<div class="sb-description">
<h3>周四午饭</h3>
</div>
</li>
<li>
<a href="#"><img src="images/13-7-20-4.jpg" alt="13-7-20-4"/></a>
<div class="sb-description">
<h3>周五午饭</h3>
</div>
</li>
</ul>
<div id="shadow" class="shadow"></div>
<div id="nav-arrows" class="nav-arrows">
<a href="#">Next</a>
<a href="#">Previous</a>
</div>
</div>
</div>
</div>
<!-- 底部箭头 -->
<nav>
<a id="bb-nav-first" href="#" class="bb-custom-icon bb-custom-icon-first">First page</a>
<a id="bb-nav-prev" href="#" class="bb-custom-icon bb-custom-icon-arrow-left">Previous</a>
<a id="bb-nav-next" href="#" class="bb-custom-icon bb-custom-icon-arrow-right">Next</a>
<a id="bb-nav-last" href="#" class="bb-custom-icon bb-custom-icon-last">Last page</a>
</nav>
</div>
</div><!-- /container -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.slicebox.js"></script>
<script src="js/jquerypp.custom.js"></script>
<script src="js/jquery.bookblock.js"></script>
<script>
var polyfilter_scriptpath = '/js/';
var slice_box = (function() {
var $navArrows = $( '#nav-arrows' ).hide(),
$shadow = $( '#shadow' ).hide(),
slicebox = $( '#sb-slider' ).slicebox( {
onReady : function() {
$navArrows.show();
$shadow.show();
},
orientation : 'r',
cuboidsRandom : true,
disperseFactor : 30
} ),
init = function() {
initEvents();
},
initEvents = function() {
// add navigation events
$navArrows.children( ':first' ).on( 'click', function() {
slicebox.next();
return false;
} );
$navArrows.children( ':last' ).on( 'click', function() {
slicebox.previous();
return false;
} );
};
return { init : init };
})();
var book_block = (function() {
var config = {
$bookBlock : $( '#bb-bookblock' ),
$navNext : $( '#bb-nav-next' ),
$navPrev : $( '#bb-nav-prev' ),
$navFirst : $( '#bb-nav-first' ),
$navLast : $( '#bb-nav-last' )
},
init = function() {
config.$bookBlock.bookblock( {
speed : 1000,
shadowSides : 0.8,
shadowFlip : 0.4
} );
initEvents();
},
initEvents = function() {
var $slides = config.$bookBlock.children();
// add navigation events
config.$navNext.on( 'click touchstart', function() {
config.$bookBlock.bookblock( 'next' );
return false;
} );
config.$navPrev.on( 'click touchstart', function() {
config.$bookBlock.bookblock( 'prev' );
return false;
} );
config.$navFirst.on( 'click touchstart', function() {
config.$bookBlock.bookblock( 'first' );
return false;
} );
config.$navLast.on( 'click touchstart', function() {
config.$bookBlock.bookblock( 'last' );
return false;
} );
// add swipe events
$slides.on( {
'swipeleft' : function( event ) {
config.$bookBlock.bookblock( 'next' );
return false;
},
'swiperight' : function( event ) {
config.$bookBlock.bookblock( 'prev' );
return false;
}
} );
// add keyboard events
$( document ).keydown( function(e) {
var keyCode = e.keyCode || e.which,
arrow = {
left : 37,
up : 38,
right : 39,
down : 40
};
switch (keyCode) {
case arrow.left:
config.$bookBlock.bookblock( 'prev' );
break;
case arrow.right:
config.$bookBlock.bookblock( 'next' );
break;
}
} );
};
return { init : init };
})();
book_block.init();
slice_box.init();
</script>
<!-- -->
<script src="js/classie.js"></script>
<script src="js/modalEffects.js"></script>
<script src="js/cssParser.js"></script>
<script src="js/css-filters-polyfill.js"></script>
</body>
</html>