-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.aspx
347 lines (337 loc) · 27.6 KB
/
index.aspx
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>Home</title>
<script>
$(function () {
$(".header").removeClass("header--2");
//$("#LoadCart").load("index.aspx" + " #LoadC");
$(".addCart").css("cursor", "pointer").click(function (e) {
$.post("Handlers/CartHandler.ashx", {
id: $(this).data("pid"),
quantity: 1,
work: "+",
}, function (data) {
if (data != "error")
{
$(".ps-cart__toggle span i").text(data);
$("#LoadCart").load("index.aspx" + " #LoadC");
message("success", "加入购物车成功!", 2000,e);
}
})
});
$("#aOut").click(function () {
$.get("Handlers/Loginout.ashx", {work:"logout"}, function (data) {
if (data == "ok") {
$("#Use").load("index.aspx" + " #useload");
}
})
})
$.getUrlParam = function (name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return "";
}
function aa() {
var type = $.getUrlParam("typeid");
$("h3[data-types]").removeClass("ClassActive");
$("#tableKind td").removeClass("activeTd");
$("h3[data-types='" + type + "']").addClass("ClassActive").parent().parent().addClass("activeTd");
}
aa();
//$(".ps-section__title--left").click(function () {
// $("#ProductContent").data("type",$(this).data("type"));
// alert($(this).data("type"));
// alert($("#ProductContent").data("type"));
// $("#PC").load("index.aspx" + " #PCLoad");
//})
//$(".Myps-product--list").css("margin", "0 1px");
})
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="page-wrap">
<!--主题轮播图开始-->
<div class="ps-banner--home-1">
<div class="rev_slider_wrapper fullscreen-container" id="revolution-slider-1" data-alias="concept121" data-source="gallery" style="background-color: #000000; padding: 0px;">
<div class="rev_slider fullscreenbanner" id="rev_slider_1059_1" style="display: none;" data-version="5.4.1">
<ul class="ps-banner">
<li data-index="rs-2972" data-transition="slidingoverlayhorizontal" data-slotamount="default" data-hideafterloop="0" data-hideslideonmobile="off" data-easein="default" data-easeout="default" data-masterspeed="default" data-thumb="../../assets/images/concept4-100x100.jpg" data-rotate="0" data-saveperformance="off" data-title="Web Show" data-param1="" data-param2="" data-param3="" data-param4="" data-param5="" data-param6="" data-param7="" data-param8="" data-param9="" data-param10="" data-description="">
<img class="rev-slidebg" src="images/banner/img-slider-1.jpg" alt="" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat" data-bgparallax="5" data-no-retina="" />
<div class="tp-caption ps-banner__caption" id="layer01" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['-100','-80','-120','-120']" data-width="['none','none','none','400']" data-whitespace="['nowrap','nowrap','nowrap','normal']" data-type="text" data-responsive_offset="on" data-frames="[{"from":"z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;","speed":1500,"to":"o:1;","delay":1700,"ease":"Power3.easeInOut"},{"delay":"wait","speed":1000,"to":"x:left(R);","ease":"Power3.easeIn"}]" style="z-index: 7; white-space: nowrap; text-transform: left;">We Implement Sweet Dream</div>
<div class="tp-caption ps-banner__description" id="layer02" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['0','0','0','0']" data-type="text" data-responsive_offset="on" data-textalign="['center','center','center','center']" data-frames="[{"from":"z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;","speed":1500,"to":"o:1;","delay":1500,"ease":"Power3.easeInOut"},{"delay":"wait","speed":1000,"to":"x:left(R);","ease":"Power3.easeIn"}]">
Carrot cake macaroon topping jelly-o dessert cake. Tiramisu gummies wafer brownie tiramisu cake.
<br />
Icing powder candy canes cotton candy pie liquorice.
</div>
<a class="tp-caption ps-btn ps-btn--lg" href="#" id="layer03" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['80','70','70','70']" data-type="text" data-responsive_offset="on" data-textalign="['center','center','center','center']" data-frames="[{"from":"z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;","speed":1500,"to":"o:1;","delay":1500,"ease":"Power3.easeInOut"},{"delay":"wait","speed":1000,"to":"x:left(R);","ease":"Power3.easeIn"}]">TRY OUR CUPCAKES <i class="fa fa-angle-right"></i></a>
</li>
<li data-index="rs-2973" data-transition="slidingoverlayhorizontal" data-slotamount="default" data-hideafterloop="0" data-hideslideonmobile="off" data-easein="default" data-easeout="default" data-masterspeed="default" data-thumb="../../assets/images/concept4-100x100.jpg" data-rotate="0" data-saveperformance="off" data-title="Web Show" data-param1="" data-param2="" data-param3="" data-param4="" data-param5="" data-param6="" data-param7="" data-param8="" data-param9="" data-param10="" data-description="">
<img class="rev-slidebg" src="images/banner/img-slider-2.jpg" alt="" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat" data-bgparallax="5" data-no-retina="" />
<div class="tp-caption ps-banner__caption" id="layer04" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['-100','-80','-120','-120']" data-width="['none','none','none','400']" data-whitespace="['nowrap','nowrap','nowrap','normal']" data-type="text" data-responsive_offset="on" data-frames="[{"from":"z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;","speed":1500,"to":"o:1;","delay":1700,"ease":"Power3.easeInOut"},{"delay":"wait","speed":1000,"to":"x:left(R);","ease":"Power3.easeIn"}]" style="z-index: 7; white-space: nowrap; text-transform: left;">A little bliss in every bite</div>
<div class="tp-caption ps-banner__description" id="layer05" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['0','0','0','0']" data-type="text" data-responsive_offset="on" data-textalign="['center','center','center','center']" data-frames="[{"from":"z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;","speed":1500,"to":"o:1;","delay":1500,"ease":"Power3.easeInOut"},{"delay":"wait","speed":1000,"to":"x:left(R);","ease":"Power3.easeIn"}]">Macaroon lollipop gummi bears liquorice sweet. Icing dessert sweet apple pie chocolate cake. Jujubes halvah cupcake cheesecake.</div>
<a class="tp-caption ps-btn ps-btn--lg" href="#" id="layer06" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['80','70','70','70']" data-type="text" data-responsive_offset="on" data-textalign="['center','center','center','center']" data-frames="[{"from":"z:0;rX:0;rY:0;rZ:0;sX:0.9;sY:0.9;skX:0;skY:0;opacity:0;","speed":1500,"to":"o:1;","delay":1500,"ease":"Power3.easeInOut"},{"delay":"wait","speed":1000,"to":"x:left(R);","ease":"Power3.easeIn"}]">ORDER NOW <i class="fa fa-angle-right"></i></a>
</li>
</ul>
</div>
</div>
</div>
<!--主题轮播图结束-->
<!--产品列表开始-->
<section class="ps-section ps-section--offer pt-40">
<div class="container">
<div class="ps-section__header text-center mb-30">
<h4 class="ps-section__top">Making People Happy</h4>
<h3 class="ps-section__title ps-section__title--full">OFFER THIS WEEK</h3>
</div>
<div class="ps-shop-features">
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 ">
<a href="#">
<img class="mb-30" src="images/product-banner/012x.jpg" alt="" /></a>
</div>
<div class="col-lg-8 col-md-8 col-sm-6 col-xs-12 ">
<a href="#">
<img class="mb-30" src="images/product-banner/022x.jpg" alt="" /></a>
</div>
</div>
</div>
</div>
</section>
<section class="ps-section ps-section--list-product pb-80 pt-20">
<div class="container">
<div class="row">
<div class=" col-sm-12 col-xs-12 ">
<div class="ps-section__header">
<table id="tableKind">
<tr><td class="activeTd"> <a href="index.aspx"><h3 class="ps-section__title ps-section__title--left ClassActive" data-types="">All</h3></a></td>
<asp:Repeater ID="rptType" runat="server">
<ItemTemplate>
<td><a href="index.aspx?typeid=<%#Eval("TypeId") %>"><h3 class="ps-section__title ps-section__title--left" data-types="<%#Eval("TypeId") %>"><%#Eval("TypeName") %></h3></a> </td>
</ItemTemplate>
</asp:Repeater>
</table>
<%--<span id="ProductContent" data-type="10" runat="server" ></span>--%>
<hr class="typeHr"/>
</div>
<div class="ps-section__content" id="PC" >
<div id="PCLoad">
<asp:Repeater ID="rptProduct1" runat="server">
<ItemTemplate>
<div class="ps-product--list Myps-product--list">
<div class="ps-product__thumbnail">
<div class="ps-badge"><span><%#Eval("Label") %></span></div>
<%-- <div class="ps-badge ps-badge--new"><span><%#Eval("NewPrice") %></span></div>--%>
<a class="ps-product__overlay" href="product-detail.aspx?id=<%#Eval("Id") %>"></a>
<img src="<%#Eval("ImgPath") %>" alt="">
</div>
<div class="ps-product__content">
<h4 class="ps-product__title"><a href="product-detail.aspx?id=<%#Eval("Id") %>"><%#Eval("Name") %></a></h4>
<p><%#Eval("DeSCC") %></p>
<p class="ps-product__price">
<del>$<%#Eval("OldPrice") %></del>$<%#Eval("NewPrice") %> <i class="isale">Saled:<%#Eval("Sale") %></i>
</p>
<a class="ps-btn ps-btn--xs" href="product-detail.aspx?id=<%#Eval("Id") %>">Order now<i class="fa fa-angle-right"></i></a>
<span class="ps-btn ps-btn--xs addCart" data-pid="<%#Eval("Id") %>">Add to cart<i class="fa fa-angle-right"></i></span>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</div></div>
</div>
</div>
</div>
</section>
<!--产品列表结束-->
<!--滑动产品开始-->
<section class="ps-section ps-section--best-seller pt-40 pb-100">
<div class="container">
<div class="ps-section__header text-center mb-50">
<h4 class="ps-section__top">Sweet Cupcakes</h4>
<h3 class="ps-section__title ps-section__title--full">BEST SELLER</h3>
</div>
<div class="ps-section__content">
<div class="owl-slider owl-slider--best-seller" data-owl-auto="true" data-owl-loop="true" data-owl-speed="5000" data-owl-gap="30" data-owl-nav="true" data-owl-dots="false" data-owl-animate-in="" data-owl-animate-out="" data-owl-item="4" data-owl-item-xs="1" data-owl-item-sm="2" data-owl-item-md="3" data-owl-item-lg="4" data-owl-nav-left="<i class="ps-icon--back"></i>" data-owl-nav-right="<i class="ps-icon--next"></i>">
<asp:Repeater ID="rptProduct3" runat="server">
<ItemTemplate>
<div class="ps-product">
<div class="ps-product__thumbnail pring">
<div class="ps-badge ps-badge--new"><span>-20%</span></div>
<div class="ps-badge"><span><%#Eval("Label") %></span></div>
<a class="ps-product__overlay" href="product-detail.aspx?id=<%#Eval("Id") %>"></a>
<img src="<%#Eval("ImgPath") %>" alt="">
<ul class="ps-product__action">
<li><a class="popup-modal" href="#quickview-modal" data-effect="mfp-zoom-out" data-tooltip="View">
<i class="ps-icon--search"></i></a></li>
<li><a href="#" data-tooltip="Add to wishlist"><i class="ps-icon--heart"></i></a></li>
<li><a href="#" data-tooltip="Compare"><i class="ps-icon--reload"></i></a></li>
<li><a class="addCart" data-tooltip="Add to cart" data-pid="<%#Eval("Id") %>"><i class="ps-icon--shopping-cart"></i></a></li>
</ul>
</div>
<div class="ps-product__content">
<a class="ps-product__title" href="product-detail.aspx?id=<%#Eval("Id") %>"><%#Eval("Name") %></a>
<div class="ps-product__category">
<a class="ps-product__category" href="#">cupcake</a><a class="ps-product__category" href="#">sweet</a>
<a class="ps-product__category" href="#">bio</a>
</div>
<select class="ps-rating">
<option value="1">1</option>
<option value="1">2</option>
<option value="1">3</option>
<option value="1">4</option>
<option value="5">5</option>
</select>
<p class="ps-product__price">$<%#Eval("NewPrice") %></p>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</div>
</div>
</div>
</section>
<!--滑动产品结束-->
<!--人员介绍开始-->
<div class="ps-section ps-section--home-testimonial pb-30 bg--parallax" data-background="images/parallax/img-bg-1.jpg">
<div class="container">
<div class="owl-slider" data-owl-auto="true" data-owl-loop="true" data-owl-speed="10000" data-owl-gap="0" data-owl-nav="false" data-owl-dots="true" data-owl-animate-in="" data-owl-animate-out="" data-owl-item="1" data-owl-item-xs="1" data-owl-item-sm="1" data-owl-item-md="1" data-owl-item-lg="1" data-owl-nav-left="<i class="fa fa-angle-left"></i>" data-owl-nav-right="<i class="fa fa-angle-right"></i>">
<div class="ps-testimonial text-center pt-80 pb-100">
<div class="ps-testimonial__header">
<div class="ps-testimonial__thumbnail">
<img src="images/testimonial/1.jpg" alt="">
</div>
<select class="ps-rating">
<option value="1">1</option>
<option value="1">2</option>
<option value="1">3</option>
<option value="1">4</option>
<option value="5">5</option>
</select>
<p>Logan May - CEO & Founder Invision</p>
</div>
<div class="ps-testimonial__content">
<p>Dessert pudding dessert jelly beans cupcake sweet caramels gingerbread. Fruitcake biscuit cheesecake. Cookie topping sweet muffin pudding tart bear claw sugar plum croissant.</p>
</div>
</div>
<div class="ps-testimonial text-center pt-80 pb-100">
<div class="ps-testimonial__header">
<div class="ps-testimonial__thumbnail">
<img src="images/testimonial/2.jpg" alt="">
</div>
<select class="ps-rating">
<option value="1">1</option>
<option value="1">2</option>
<option value="1">3</option>
<option value="1">4</option>
<option value="5">5</option>
</select>
<p>Logan May - CEO & Founder Invision</p>
</div>
<div class="ps-testimonial__content">
<p>Dessert pudding dessert jelly beans cupcake sweet caramels gingerbread. Fruitcake biscuit cheesecake. Cookie topping sweet muffin pudding tart bear claw sugar plum croissant.</p>
</div>
</div>
<div class="ps-testimonial text-center pt-80 pb-100">
<div class="ps-testimonial__header">
<div class="ps-testimonial__thumbnail">
<img src="images/testimonial/3.jpg" alt="">
</div>
<select class="ps-rating">
<option value="1">1</option>
<option value="1">2</option>
<option value="1">3</option>
<option value="1">4</option>
<option value="5">5</option>
</select>
<p>Logan May - CEO & Founder Invision</p>
</div>
<div class="ps-testimonial__content">
<p>Dessert pudding dessert jelly beans cupcake sweet caramels gingerbread. Fruitcake biscuit cheesecake. Cookie topping sweet muffin pudding tart bear claw sugar plum croissant.</p>
</div>
</div>
<div class="ps-testimonial text-center pt-80 pb-100">
<div class="ps-testimonial__header">
<div class="ps-testimonial__thumbnail">
<img src="images/testimonial/4.jpg" alt="">
</div>
<select class="ps-rating">
<option value="1">1</option>
<option value="1">2</option>
<option value="1">3</option>
<option value="1">4</option>
<option value="5">5</option>
</select>
<p>Logan May - CEO & Founder Invision</p>
</div>
<div class="ps-testimonial__content">
<p>Dessert pudding dessert jelly beans cupcake sweet caramels gingerbread. Fruitcake biscuit cheesecake. Cookie topping sweet muffin pudding tart bear claw sugar plum croissant.</p>
</div>
</div>
</div>
</div>
</div>
<!--人员介绍结束-->
<!--讲述经历开始-->
<section class="ps-section ps-section--news pt-100 pb-100">
<div class="container">
<div class="ps-section__header text-center">
<h4 class="ps-section__top">Our Story</h4>
<h3 class="ps-section__title ps-section__title--full">BLOG & NEWS</h3>
</div>
<div class="ps-section__content">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 ">
<div class="ps-new ps-new--large">
<img src="images/new/new-large.jpg" alt="">
<div class="ps-new__container">
<header class="ps-new__header">
<p>by<a href="#"> Athony</a> / February 12, 2017</p>
<a class="ps-new__title" href="#">Sweet Bakery by
<br>
Joni William</a>
</header>
<div class="ps-new__content">
<p data-number-line="2">
Fond his say old meet cold find come
<br>
whom. The sir park sake bred.
</p>
<a class="ps-btn ps-btn--sm" href="#">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 ">
<div class="ps-new">
<img src="images/new/new-small-1.jpg" alt="">
<div class="ps-new__container">
<header class="ps-new__header">
<p>by<a href="#"> Athony</a> / February 12, 2017</p>
<a class="ps-new__title" href="#">Where I Learning Cook Cupcakes ?</a>
</header>
<div class="ps-new__content">
<p data-number-line="2">No comfort do written conduct at prevent manners on. Celebrated contrasted discretion him sympath</p>
<a class="ps-btn ps-btn--sm" href="#">Read more</a>
</div>
</div>
</div>
<div class="ps-new">
<img src="images/new/new-small-2.jpg" alt="">
<div class="ps-new__container">
<header class="ps-new__header">
<p>by<a href="#"> Athony</a> / February 12, 2017</p>
<a class="ps-new__title" href="#">Where I Learning Cook Cupcakes ?</a>
</header>
<div class="ps-new__content">
<p data-number-line="2">No comfort do written conduct at prevent manners on. Celebrated contrasted discretion him sympath</p>
<a class="ps-btn ps-btn--sm" href="#">Read more</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--讲述经历结束-->
</div>
</asp:Content>