Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
smileNicky
taoshop
提交
c27f86ce
T
taoshop
项目概览
smileNicky
/
taoshop
通知
4
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
2
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
T
taoshop
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c27f86ce
编写于
9月 22, 2018
作者:
U
u014427391
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/1.0.0' into dev
上级
31bf8e61
9c121b1f
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
380 addition
and
396 deletion
+380
-396
src/taoshop-manager/taoshop-manager-web/src/main/resources/templates/admin/frame/sider_bar_bk.html
...rc/main/resources/templates/admin/frame/sider_bar_bk.html
+18
-3
src/taoshop-portal/src/main/java/com/muses/taoshop/web/controller/cart/ShopCartController.java
...muses/taoshop/web/controller/cart/ShopCartController.java
+2
-0
src/taoshop-portal/src/main/resources/static/css/jqzoom.css
src/taoshop-portal/src/main/resources/static/css/jqzoom.css
+120
-0
src/taoshop-portal/src/main/resources/templates/footer.html
src/taoshop-portal/src/main/resources/templates/footer.html
+37
-0
src/taoshop-portal/src/main/resources/templates/header_main.html
...shop-portal/src/main/resources/templates/header_main.html
+69
-0
src/taoshop-portal/src/main/resources/templates/header_nav.html
...oshop-portal/src/main/resources/templates/header_nav.html
+54
-0
src/taoshop-portal/src/main/resources/templates/index.html
src/taoshop-portal/src/main/resources/templates/index.html
+39
-236
src/taoshop-portal/src/main/resources/templates/item/item_detail.html
...portal/src/main/resources/templates/item/item_detail.html
+3
-157
src/taoshop-portal/src/main/resources/templates/top_bar.html
src/taoshop-portal/src/main/resources/templates/top_bar.html
+38
-0
未找到文件。
src/taoshop-manager/taoshop-manager-web/src/main/resources/templates/admin/frame/sider_bar_bk.html
浏览文件 @
c27f86ce
...
...
@@ -8,7 +8,7 @@
<h3>
<a
href=
"javascript:;"
>
<i
class=
"iconfont"
>

</i>
<span>
云服务总览
</span>
<span>
订单管理
</span>
<i
class=
"iconfont arrow-right"
>

</i>
<i
class=
"iconfont arrow-down"
>

</i>
</a>
...
...
@@ -24,13 +24,28 @@
<h3>
<a
href=
"javascript:;"
>
<i
class=
"iconfont"
>

</i>
<span>
云检测预警
</span>
<span>
商品管理
</span>
<i
class=
"iconfont arrow-right"
>

</i>
<i
class=
"iconfont arrow-down"
>

</i>
</a>
</h3>
<ul
class=
"sider-nav-s"
>
<li><a
href=
"#"
>
WEB网站检测服务
</a></li>
<li><a
href=
"#"
>
品类管理
</a></li>
<li><a
href=
"#"
>
商品管理
</a></li>
</ul>
</li>
<li
class=
"sider-nav-item"
>
<h3>
<a
href=
"javascript:;"
>
<i
class=
"iconfont"
>

</i>
<span>
系统管理
</span>
<i
class=
"iconfont arrow-right"
>

</i>
<i
class=
"iconfont arrow-down"
>

</i>
</a>
</h3>
<ul
class=
"sider-nav-s"
>
<li><a
href=
"#"
>
系统用户管理
</a></li>
</ul>
</li>
...
...
src/taoshop-portal/src/main/java/com/muses/taoshop/web/controller/cart/ShopCartController.java
浏览文件 @
c27f86ce
...
...
@@ -17,4 +17,6 @@ import org.springframework.stereotype.Controller;
@Controller
public
class
ShopCartController
{
}
src/taoshop-portal/src/main/resources/static/css/jqzoom.css
0 → 100644
浏览文件 @
c27f86ce
.zoomPad
{
position
:
relative
;
float
:
left
;
z-index
:
99
;
cursor
:
crosshair
;
}
.zoomPreload
{
-moz-opacity
:
0.8
;
opacity
:
0.8
;
filter
:
alpha
(
opacity
=
80
);
color
:
#333
;
font-size
:
12px
;
font-family
:
Tahoma
;
text-decoration
:
none
;
border
:
1px
solid
#CCC
;
background-color
:
white
;
padding
:
8px
;
text-align
:
center
;
background-image
:
url(../images/zoomloader.gif)
;
background-repeat
:
no-repeat
;
background-position
:
43px
30px
;
z-index
:
110
;
width
:
90px
;
height
:
43px
;
position
:
absolute
;
top
:
0px
;
left
:
0px
;
*
width
:
100px
;
*
height
:
49px
;
}
.zoomPup
{
overflow
:
hidden
;
background-color
:
#FFF
;
-moz-opacity
:
0.6
;
opacity
:
0.6
;
filter
:
alpha
(
opacity
=
60
);
z-index
:
120
;
position
:
absolute
;
border
:
1px
solid
#CCC
;
z-index
:
101
;
cursor
:
crosshair
;
}
.zoomOverlay
{
position
:
absolute
;
left
:
0px
;
top
:
0px
;
background
:
#FFF
;
/*opacity:0.5;*/
z-index
:
5000
;
width
:
100%
;
height
:
100%
;
display
:
none
;
z-index
:
101
;
}
.zoomWindow
{
position
:
absolute
;
left
:
110%
;
top
:
40px
;
background
:
#FFF
;
z-index
:
6000
;
height
:
auto
;
z-index
:
10000
;
z-index
:
110
;
}
.zoomWrapper
{
position
:
relative
;
border
:
1px
solid
#999
;
z-index
:
110
;
}
.zoomWrapperTitle
{
display
:
block
;
background
:
#999
;
color
:
#FFF
;
height
:
18px
;
line-height
:
18px
;
width
:
100%
;
overflow
:
hidden
;
text-align
:
center
;
font-size
:
10px
;
position
:
absolute
;
top
:
0px
;
left
:
0px
;
z-index
:
120
;
-moz-opacity
:
0.6
;
opacity
:
0.6
;
filter
:
alpha
(
opacity
=
60
);
}
.zoomWrapperImage
{
display
:
block
;
position
:
relative
;
overflow
:
hidden
;
z-index
:
110
;
}
.zoomWrapperImage
img
{
border
:
0px
;
display
:
block
;
position
:
absolute
;
z-index
:
101
;
}
.zoomIframe
{
z-index
:
-1
;
filter
:
alpha
(
opacity
=
0
);
-moz-opacity
:
0.80
;
opacity
:
0.80
;
position
:
absolute
;
display
:
block
;
}
/*********************************************************
/ When clicking on thumbs jqzoom will add the class
/ "zoomThumbActive" on the anchor selected
/*********************************************************/
\ No newline at end of file
src/taoshop-portal/src/main/resources/templates/footer.html
0 → 100644
浏览文件 @
c27f86ce
<footer
class=
"footer"
>
<div
class=
"layout clearfix"
>
<!--footService-->
<div
class=
"footer-service"
>
<dl>
<dt><em
class=
"icon-aq"
></em>
购物指南
</dt>
<dd><a
href=
"#"
>
咨询与投诉
</a></dd>
</dl>
<dl>
<dt><em
class=
"icon-service"
></em>
售后服务
</dt>
<dd><a
href=
"#"
>
七天包退
</a></dd>
<dd><a
href=
"#"
>
十五天包换
</a></dd>
<dd><a
href=
"#"
>
手机维修咨询
</a></dd>
</dl>
<dl>
<dt><em
class=
"icon-pay"
></em>
支付方式
</dt>
<dd><a
href=
"#"
>
网上支付
</a></dd>
</dl>
</div>
<!--//footService-->
<!--在线咨询-->
<ul
class=
"online"
>
<li
class=
"line1"
><a
href=
"#"
></a></li>
<li
class=
"line2"
><a
href=
"#"
></a></li>
<li
class=
"line3"
><a
href=
"#"
></a></li>
<li
class=
"line4"
><a
href=
"#"
></a></li>
<li
class=
"line5"
><a
href=
"#"
></a></li>
<li
class=
"line6"
><a
href=
"#"
></a></li>
</ul>
<!--在线咨询-->
</div>
<!--copyright-->
<div
class=
"footer-copyright"
>
<p
class=
"copyright"
>
版权所有 ©2017
</p>
<s
class=
"cr-icon"
></s>
</div>
<!--//copyright-->
</footer>
\ No newline at end of file
src/taoshop-portal/src/main/resources/templates/header_main.html
0 → 100644
浏览文件 @
c27f86ce
<div
class=
"headerMain layout clearfix"
>
<!--logo-->
<h1
class=
"siteLogo"
><a
href=
"#"
title=
"商城"
class=
"siteLogo-homepage"
></a><a
href=
"#"
title=
"商城"
class=
"siteLogo-mallpage"
></a></h1>
<!--//logo-->
<!--search-->
<div
class=
"search"
>
<div
class=
"search-area"
>
<input
type=
"text"
placeholder=
"请输入搜索关键字"
class=
"search-input-text"
/>
<input
type=
"button"
title=
"搜索"
class=
"search-input-submit"
/>
<div
class=
"search-suggest"
style=
"display:none;"
>
<ol>
<li
class=
"search-suggest-key"
>
三星
<b>
I9500
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9501
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9001
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9505
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9503
</b></li>
</ol>
</div>
</div>
<p
class=
"search-hotkey"
>
热门搜索:
<a
href=
"#"
>
三星手机
</a><a
href=
"#"
>
手机套
</a><a
href=
"#"
>
手机电源线
</a></p>
</div>
<!--//search-->
<!--我的翼猫-->
<div
class=
"myYmall"
>
<em
class=
"icon-user"
></em><a
href=
"#"
>
我的翼猫
</a>
</div>
<!--//我的翼猫-->
<!--去购物车结算-->
<div
class=
"to-cart"
>
<dl>
<dt>
<span
class=
"shop-amount"
>
0
</span>
<em
class=
"icon-cart"
></em>
<a
href=
"#"
>
去购物车结算
</a>
<span
class=
"angle"
></span>
</dt>
<dd
style=
"display:none;"
>
<!--购物车为空-->
<div
class=
"nogoods"
style=
"display:none;"
>
购物车中还没有商品,赶紧选购吧!
</div>
<!--//购物车为空-->
<!--有商品-->
<div
class=
"cart-table"
>
<div
class=
"cart-table-body"
>
<ul
class=
"cart-item clearfix"
>
<li
class=
"item-img"
><a
href=
"#"
><img
th:src=
"@{/static/picture/img_small_350x350.jpg}"
/></a></li>
<li
class=
"item-intro"
><a
href=
"#"
>
三星手机NNOTOS9S
</a></li>
<li
class=
"item-extra"
><em
class=
"item-price"
>
¥
<span>
799
</span></em>
x
<span>
2
</span>
<p><a
href=
"#"
class=
"delete"
>
删除
</a></p>
</li>
</ul>
</div>
<div
class=
"cart-info"
>
<div
class=
"cart-bottom"
>
<p>
共
<span
class=
"f-red2"
>
1
</span>
件商品,共计
<em
class=
"item-price"
>
¥
<span>
5399
</span></em>
<br
/>
<a
href=
"#"
class=
"cart-goMyCart btn btn-red"
>
去购物车结算
</a>
</p>
</div>
</div>
</div>
<!--//有商品-->
</dd>
</dl>
</div>
<!--//去购物车结算-->
<script>
$
(
function
(){
$
(
"
.to-cart
"
).
hover
(
function
(){
$
(
this
).
find
(
"
.angle
"
).
addClass
(
"
down
"
).
end
().
find
(
"
dt
"
).
addClass
(
"
selected
"
).
end
().
find
(
"
dd
"
).
show
();
},
function
(){
$
(
this
).
find
(
"
.angle
"
).
removeClass
(
"
down
"
).
end
().
find
(
"
dt
"
).
removeClass
(
"
selected
"
).
end
().
find
(
"
dd
"
).
hide
();
});
if
(
$
(
"
.cart-table .cart-item
"
).
size
()
>
2
){
$
(
"
.cart-table .cart-table-body
"
).
css
(
"
overflow-y
"
,
"
auto
"
);
}
});
</script>
</div>
\ No newline at end of file
src/taoshop-portal/src/main/resources/templates/header_nav.html
0 → 100644
浏览文件 @
c27f86ce
<div
class=
"headerNav"
>
<div
class=
"layout"
>
<dl
class=
"all-brands"
>
<dt
class=
"all-brands-head"
>
<a
href=
"#"
>
全部商品分类
</a>
</dt>
<dd
class=
"all-brands-list"
>
<div
class=
"wrap"
th:each=
"c : ${categories}"
>
<div
class=
"all-sort-list"
>
<div
class=
"item bo"
>
<h3>
<a
href=
""
th:text=
"${c.categoryName}"
></a></h3>
<div
class=
"item-list clearfix"
>
<div
class=
"close"
>
x
</div>
<div
class=
"subitem"
th:each=
"s: ${c.subCategorys}"
>
<dl
class=
"fore1"
>
<dt
th:text=
"${s.categoryName}"
><a
href=
"#"
></a></dt>
<dd>
<em
th:each=
"ss : ${s.subCategorys} "
><a
href=
"#"
th:text=
"${ss.categoryName}"
></a></em>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</dd>
<script
type=
"text/javascript"
>
$
(
'
.all-sort-list > .item
'
).
hover
(
function
(){
$
(
this
).
addClass
(
'
hover
'
);
$
(
this
).
children
(
'
.item-list
'
).
css
(
'
display
'
,
'
block
'
);
},
function
(){
$
(
this
).
removeClass
(
'
hover
'
);
$
(
this
).
children
(
'
.item-list
'
).
css
(
'
display
'
,
'
none
'
);
});
$
(
'
.item > .item-list > .close
'
).
click
(
function
(){
$
(
this
).
parent
().
parent
().
removeClass
(
'
hover
'
);
$
(
this
).
parent
().
hide
();
});
</script>
</dl>
<div
class=
"headerNav-main clearfix"
>
<!--headerNav-nav-->
<nav
class=
"headerNav-nav"
>
<ul
class=
"clearfix"
>
<li><a
th:href=
"@{/portal/toIndex.do}"
class=
"selected"
>
首页
</a></li>
<li><a
href=
"#"
>
手机汇
</a></li>
<li><a
href=
"#"
>
聚优惠
</a></li>
<li><a
href=
"#"
>
商业街
</a></li>
</ul>
</nav>
<!--//headerNav-nav-->
</div>
</div>
</div>
\ No newline at end of file
src/taoshop-portal/src/main/resources/templates/index.html
浏览文件 @
c27f86ce
...
...
@@ -24,170 +24,14 @@
<!--header-->
<header
class=
"header"
>
<!--topBar-->
<div
class=
"topBar"
>
<div
class=
"layout"
>
<span
class=
"hello-notice f-orange1 f-b"
style=
"position:absolute;left:50%;margin-left:-600px;top:1px;display:block;font-size:14px;text-align:left;"
>
本商城在试运行阶段,暂不接收任何订单。
</span>
<!--welcome-->
<span
class=
"topBar-userWelcome"
th:if=
"${session.sessionUser == null}"
>
您好,欢迎来商城!
<a
th:href=
"@{/portal/toLogin.do}"
id=
"loginHref"
rel=
"popbox"
>
[登录]
</a>
<a
id=
"registerHref"
th:href=
"@{/portal/toLogin.do}"
>
[注册]
</a></span>
<!--登录后 -->
<span
class=
"topBar-userWelcome logined"
th:if=
"${session.sessionUser != null}"
th:onshow=
"true"
>
欢迎您
<span
class=
"user"
>
<a
href=
"#"
class=
"user-link"
th:text=
"${session.sessionUser}"
><em
class=
"icon-arr"
></em></a>
<span
class=
"user-cs"
style=
"display:none;"
>
<span
class=
"user-cs-con"
>
<s
class=
"icon-arr"
></s>
<p><a
th:href=
"@{/templates/admin/user/toUserCenter.do}"
>
个人中心
</a></p>
<p><a
href=
"#"
>
退出登录
</a></p>
</span>
</span>
</span>
</span>
<script>
$
(
function
(){
$
(
"
.user
"
).
hover
(
function
(){
$
(
this
).
find
(
"
.user-cs
"
).
show
();
},
function
(){
$
(
this
).
find
(
"
.user-cs
"
).
hide
();
});
});
</script>
<!--//welcome-->
<!--topBar-menu-->
<span
class=
"topBar-menu"
>
<a
href=
"#"
>
商户入驻申请
</a>
|
<a
href=
"#"
>
我的订单
</a>
|
<a
href=
"#"
>
网上营业厅
</a>
</span>
<!--//topBar-menu-->
</div>
</div>
<div
class=
"topBar"
th:replace=
"/top_bar :: .topBar"
></div>
<!--//topBar-->
<!--headerMain-->
<div
class=
"headerMain layout clearfix"
>
<!--logo-->
<h1
class=
"siteLogo"
><a
href=
"#"
title=
"商城"
class=
"siteLogo-homepage"
></a><a
href=
"#"
title=
"商城"
class=
"siteLogo-mallpage"
></a></h1>
<!--//logo-->
<!--search-->
<div
class=
"search"
>
<div
class=
"search-area"
>
<input
type=
"text"
placeholder=
"请输入搜索关键字"
class=
"search-input-text"
/>
<input
type=
"button"
title=
"搜索"
class=
"search-input-submit"
/>
<div
class=
"search-suggest"
style=
"display:none;"
>
<ol>
<li
class=
"search-suggest-key"
>
三星
<b>
I9500
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9501
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9001
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9505
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9503
</b></li>
</ol>
</div>
</div>
<p
class=
"search-hotkey"
>
热门搜索:
<a
href=
"#"
>
三星手机
</a><a
href=
"#"
>
手机套
</a><a
href=
"#"
>
手机电源线
</a></p>
</div>
<!--//search-->
<!--我的翼猫-->
<div
class=
"myYmall"
>
<em
class=
"icon-user"
></em><a
href=
"#"
>
我的翼猫
</a>
</div>
<!--//我的翼猫-->
<!--去购物车结算-->
<div
class=
"to-cart"
>
<dl>
<dt>
<span
class=
"shop-amount"
>
0
</span>
<em
class=
"icon-cart"
></em>
<a
href=
"#"
>
去购物车结算
</a>
<span
class=
"angle"
></span>
</dt>
<dd
style=
"display:none;"
>
<!--购物车为空-->
<div
class=
"nogoods"
style=
"display:none;"
>
购物车中还没有商品,赶紧选购吧!
</div>
<!--//购物车为空-->
<!--有商品-->
<div
class=
"cart-table"
>
<div
class=
"cart-table-body"
>
<ul
class=
"cart-item clearfix"
>
<li
class=
"item-img"
><a
href=
"#"
><img
th:src=
"@{/static/picture/img_small_350x350.jpg}"
/></a></li>
<li
class=
"item-intro"
><a
href=
"#"
>
三星手机NNOTOS9S
</a></li>
<li
class=
"item-extra"
><em
class=
"item-price"
>
¥
<span>
799
</span></em>
x
<span>
2
</span>
<p><a
href=
"#"
class=
"delete"
>
删除
</a></p>
</li>
</ul>
</div>
<div
class=
"cart-info"
>
<div
class=
"cart-bottom"
>
<p>
共
<span
class=
"f-red2"
>
1
</span>
件商品,共计
<em
class=
"item-price"
>
¥
<span>
5399
</span></em>
<br
/>
<a
href=
"#"
class=
"cart-goMyCart btn btn-red"
>
去购物车结算
</a>
</p>
</div>
</div>
</div>
<!--//有商品-->
</dd>
</dl>
</div>
<!--//去购物车结算-->
<script>
$
(
function
(){
$
(
"
.to-cart
"
).
hover
(
function
(){
$
(
this
).
find
(
"
.angle
"
).
addClass
(
"
down
"
).
end
().
find
(
"
dt
"
).
addClass
(
"
selected
"
).
end
().
find
(
"
dd
"
).
show
();
},
function
(){
$
(
this
).
find
(
"
.angle
"
).
removeClass
(
"
down
"
).
end
().
find
(
"
dt
"
).
removeClass
(
"
selected
"
).
end
().
find
(
"
dd
"
).
hide
();
});
if
(
$
(
"
.cart-table .cart-item
"
).
size
()
>
2
){
$
(
"
.cart-table .cart-table-body
"
).
css
(
"
overflow-y
"
,
"
auto
"
);
}
});
</script>
</div>
<div
class=
"headerMain layout clearfix"
th:replace=
"/header_main :: .headerMain"
></div>
<!--//headerMain-->
<!--headerNav-->
<div
class=
"headerNav"
>
<div
class=
"layout"
>
<dl
class=
"all-brands"
>
<dt
class=
"all-brands-head"
>
<a
href=
"#"
>
全部商品分类
</a>
</dt>
<dd
class=
"all-brands-list"
>
<div
class=
"wrap"
th:each=
"c : ${categories}"
>
<div
class=
"all-sort-list"
>
<div
class=
"item bo"
>
<h3>
<a
href=
""
th:text=
"${c.categoryName}"
></a></h3>
<div
class=
"item-list clearfix"
>
<div
class=
"close"
>
x
</div>
<div
class=
"subitem"
th:each=
"s: ${c.subCategorys}"
>
<dl
class=
"fore1"
>
<dt
th:text=
"${s.categoryName}"
><a
href=
"#"
></a></dt>
<dd>
<em
th:each=
"ss : ${s.subCategorys} "
><a
href=
"#"
th:text=
"${ss.categoryName}"
></a></em>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</dd>
<script
type=
"text/javascript"
>
$
(
'
.all-sort-list > .item
'
).
hover
(
function
(){
$
(
this
).
addClass
(
'
hover
'
);
$
(
this
).
children
(
'
.item-list
'
).
css
(
'
display
'
,
'
block
'
);
},
function
(){
$
(
this
).
removeClass
(
'
hover
'
);
$
(
this
).
children
(
'
.item-list
'
).
css
(
'
display
'
,
'
none
'
);
});
$
(
'
.item > .item-list > .close
'
).
click
(
function
(){
$
(
this
).
parent
().
parent
().
removeClass
(
'
hover
'
);
$
(
this
).
parent
().
hide
();
});
</script>
</dl>
<div
class=
"headerNav-main clearfix"
>
<!--headerNav-nav-->
<nav
class=
"headerNav-nav"
>
<ul
class=
"clearfix"
>
<li><a
th:href=
"@{/portal/toIndex.do}"
class=
"selected"
>
首页
</a></li>
<li><a
href=
"#"
>
手机汇
</a></li>
<li><a
href=
"#"
>
聚优惠
</a></li>
<li><a
href=
"#"
>
商业街
</a></li>
</ul>
</nav>
<!--//headerNav-nav-->
</div>
</div>
</div>
<div
class=
"headerNav"
th:replace=
"/header_nav :: .headerNav"
></div>
<!--//headerNav-->
</header>
<!--//header-->
...
...
@@ -209,45 +53,6 @@
<li></li>
</ul>
</div>
<script
type=
"text/javascript"
>
//banner
$
(
document
).
ready
(
function
(){
var
demo
=
$
(
"
.banner
"
);
var
btn
=
$
(
"
.banner-btn li
"
);
var
slide
=
$
(
"
.banner-img ul
"
);
var
slideItem
=
slide
.
find
(
"
li
"
);
var
c
=
0
,
speed
=
4000
,
t
;
btn
.
each
(
function
(
number
){
$
(
this
).
click
(
function
(){
$
(
this
).
addClass
(
"
current
"
).
siblings
().
removeClass
(
"
current
"
);
slide
.
animate
({
"
left
"
:
-
slideItem
.
width
()
*
number
},
300
);
c
=
number
;
});
});
if
(
btn
.
size
()
>
1
){
autoSlide
();
}
function
timedCount
()
{
c
=
c
+
1
;
if
(
c
>=
btn
.
size
())
c
=
0
;
btn
.
eq
(
c
).
click
();
}
function
autoSlide
(){
t
=
setInterval
(
function
(){
timedCount
();},
speed
);
}
//鼠标移入停止播放
demo
.
mouseover
(
function
(){
clearInterval
(
t
);
});
demo
.
mouseout
(
function
(){
autoSlide
();
});
});
</script>
<!--//banner-->
<!--快捷充值-->
<div
class=
"index-fast-recharge"
>
...
...
@@ -301,49 +106,47 @@
</div>
<!--//container-->
<!--footer-->
<footer
class=
"footer"
>
<div
class=
"layout clearfix"
>
<!--footService-->
<div
class=
"footer-service"
>
<dl>
<dt><em
class=
"icon-aq"
></em>
购物指南
</dt>
<dd><a
href=
"#"
>
咨询与投诉
</a></dd>
</dl>
<dl>
<dt><em
class=
"icon-service"
></em>
售后服务
</dt>
<dd><a
href=
"#"
>
七天包退
</a></dd>
<dd><a
href=
"#"
>
十五天包换
</a></dd>
<dd><a
href=
"#"
>
手机维修咨询
</a></dd>
</dl>
<dl>
<dt><em
class=
"icon-pay"
></em>
支付方式
</dt>
<dd><a
href=
"#"
>
网上支付
</a></dd>
</dl>
</div>
<!--//footService-->
<!--在线咨询-->
<ul
class=
"online"
>
<li
class=
"line1"
><a
href=
"#"
></a></li>
<li
class=
"line2"
><a
href=
"#"
></a></li>
<li
class=
"line3"
><a
href=
"#"
></a></li>
<li
class=
"line4"
><a
href=
"#"
></a></li>
<li
class=
"line5"
><a
href=
"#"
></a></li>
<li
class=
"line6"
><a
href=
"#"
></a></li>
</ul>
<!--在线咨询-->
</div>
<!--copyright-->
<div
class=
"footer-copyright"
>
<p
class=
"copyright"
>
版权所有 ©2017
</p>
<s
class=
"cr-icon"
></s>
</div>
<!--//copyright-->
</footer>
<footer
class=
"footer"
th:replace=
"footer :: .footer"
></footer>
<!--//footer-->
<script>
<script
type=
"text/javascript"
>
//banner
$
(
document
).
ready
(
function
(){
var
demo
=
$
(
"
.banner
"
);
var
btn
=
$
(
"
.banner-btn li
"
);
var
slide
=
$
(
"
.banner-img ul
"
);
var
slideItem
=
slide
.
find
(
"
li
"
);
var
c
=
0
,
speed
=
4000
,
t
;
btn
.
each
(
function
(
number
){
$
(
this
).
click
(
function
(){
$
(
this
).
addClass
(
"
current
"
).
siblings
().
removeClass
(
"
current
"
);
slide
.
animate
({
"
left
"
:
-
slideItem
.
width
()
*
number
},
300
);
c
=
number
;
});
});
if
(
btn
.
size
()
>
1
){
autoSlide
();
}
function
timedCount
()
{
c
=
c
+
1
;
if
(
c
>=
btn
.
size
())
c
=
0
;
btn
.
eq
(
c
).
click
();
}
function
autoSlide
(){
t
=
setInterval
(
function
(){
timedCount
();},
speed
);
}
//鼠标移入停止播放
demo
.
mouseover
(
function
(){
clearInterval
(
t
);
});
demo
.
mouseout
(
function
(){
autoSlide
();
});
});
</script>
</body>
</html>
src/taoshop-portal/src/main/resources/templates/item/item_detail.html
浏览文件 @
c27f86ce
...
...
@@ -16,126 +16,10 @@
<!--header-->
<header
class=
"header"
>
<!--topBar-->
<div
class=
"topBar"
>
<div
class=
"layout"
>
<!--welcome-->
<span
class=
"topBar-userWelcome"
>
您好,欢迎来中国电信翼猫商城!
<a
href=
"#"
>
[登录]
</a>
<a
href=
"#"
>
[注册]
</a></span>
<!--登录后
<span class="topBar-userWelcome logined">
欢迎您
<span class="user">
<a href="#" class="user-link">fanyanxia<em class="icon-arr"></em></a>
<span class="user-cs" style="display:none;">
<span class="user-cs-con">
<s class="icon-arr"></s>
<p><a href="#">个人中心</a></p>
<p><a href="#">退出登录</a></p>
</span>
</span>
</span>
|
</span>
<script>
$(function(){
$(".user").hover(function(){
$(this).find(".user-cs").show();
},function(){
$(this).find(".user-cs").hide();
});
});
</script>
-->
<!--//welcome-->
<!--topBar-menu-->
<span
class=
"topBar-menu"
>
<a
href=
"#"
>
商户入驻申请
</a>
|
<a
href=
"#"
>
我的订单
</a>
|
<a
href=
"#"
>
网上营业厅
</a>
</span>
<!--//topBar-menu-->
</div>
</div>
<div
class=
"topBar"
th:replace=
"/top_bar :: .topBar"
></div>
<!--//topBar-->
<!--headerMain-->
<div
class=
"headerMain layout clearfix"
>
<!--logo-->
<h1
class=
"siteLogo"
><a
href=
"#"
title=
"中国电信"
class=
"siteLogo-homepage"
></a><a
href=
"#"
title=
"翼猫商城"
class=
"siteLogo-mallpage"
></a></h1>
<!--//logo-->
<!--search-->
<div
class=
"search"
>
<div
class=
"search-area"
>
<input
type=
"text"
placeholder=
"请输入搜索关键字"
class=
"search-input-text"
/>
<input
type=
"button"
title=
"搜索"
class=
"search-input-submit"
/>
<div
class=
"search-suggest"
style=
"display:none;"
>
<ol>
<li
class=
"search-suggest-key"
>
三星
<b>
I9500
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9501
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9001
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9505
</b></li>
<li
class=
"search-suggest-key"
>
三星
<b>
I9503
</b></li>
</ol>
</div>
</div>
<p
class=
"search-hotkey"
>
热门搜索:
<a
href=
"#"
>
三星手机
</a><a
href=
"#"
>
手机套
</a><a
href=
"#"
>
手机电源线
</a></p>
</div>
<!--//search-->
<!--我的翼猫-->
<div
class=
"myYmall"
>
<em
class=
"icon-user"
></em><a
href=
"#"
>
我的翼猫
</a>
</div>
<!--//我的翼猫-->
<!--去购物车结算-->
<div
class=
"to-cart"
>
<dl>
<dt>
<span
class=
"shop-amount"
>
0
</span>
<em
class=
"icon-cart"
></em>
<a
href=
"#"
>
去购物车结算
</a>
<span
class=
"angle"
></span>
</dt>
<dd
style=
"display:none;"
>
<!--购物车为空-->
<div
class=
"nogoods"
style=
"display:none;"
>
购物车中还没有商品,赶紧选购吧!
</div>
<!--//购物车为空-->
<!--有商品-->
<div
class=
"cart-table"
>
<div
class=
"cart-table-body"
>
<ul
class=
"cart-item clearfix"
>
<li
class=
"item-img"
><a
href=
"#"
><img
th:src=
"@{/static/picture/small_55x55.jpg}"
/></a></li>
<li
class=
"item-intro"
><a
href=
"#"
>
三星手机NNOTOS9S
</a></li>
<li
class=
"item-extra"
><em
class=
"item-price"
>
¥
<span>
799
</span></em>
x
<span>
2
</span><p><a
href=
"#"
class=
"delete"
>
删除
</a></p></li>
</ul>
</div>
<div
class=
"cart-info"
>
<div
class=
"cart-bottom"
>
<p>
共
<span
class=
"f-red2"
>
2
</span>
件商品,共计
<em
class=
"item-price"
>
¥
<span>
5399
</span></em>
<br
/>
<a
href=
"#"
class=
"cart-goMyCart btn btn-red"
>
去购物车结算
</a>
</p>
</div>
</div>
</div>
<!--//有商品-->
</dd>
</dl>
</div>
<!--//去购物车结算-->
<script>
$
(
function
(){
$
(
"
.to-cart
"
).
hover
(
function
(){
$
(
this
).
find
(
"
.angle
"
).
addClass
(
"
down
"
).
end
().
find
(
"
dt
"
).
addClass
(
"
selected
"
).
end
().
find
(
"
dd
"
).
show
();
},
function
(){
$
(
this
).
find
(
"
.angle
"
).
removeClass
(
"
down
"
).
end
().
find
(
"
dt
"
).
removeClass
(
"
selected
"
).
end
().
find
(
"
dd
"
).
hide
();
});
if
(
$
(
"
.cart-table .cart-item
"
).
size
()
>
2
){
$
(
"
.cart-table .cart-table-body
"
).
css
(
"
overflow-y
"
,
"
auto
"
);
}
});
</script>
</div>
<div
class=
"headerMain layout clearfix"
th:replace=
"/header_main :: .headerMain"
></div>
<!--//headerMain-->
<!--headerNav-->
<div
class=
"headerNav"
>
...
...
@@ -572,45 +456,7 @@
</div>
<!--//container-->
<!--footer-->
<footer
class=
"footer"
>
<div
class=
"layout clearfix"
>
<!--footService-->
<div
class=
"footer-service"
>
<dl>
<dt><em
class=
"icon-aq"
></em>
购物指南
</dt>
<dd><a
href=
"#"
>
咨询与投诉
</a></dd>
</dl>
<dl>
<dt><em
class=
"icon-service"
></em>
售后服务
</dt>
<dd><a
href=
"#"
>
七天包退
</a></dd>
<dd><a
href=
"#"
>
十五天包换
</a></dd>
<dd><a
href=
"#"
>
手机维修咨询
</a></dd>
</dl>
<dl>
<dt><em
class=
"icon-pay"
></em>
支付方式
</dt>
<dd><a
href=
"#"
>
网上支付
</a></dd>
</dl>
</div>
<!--//footService-->
<!--在线咨询-->
<ul
class=
"online"
>
<li
class=
"line1"
><a
href=
"#"
></a></li>
<li
class=
"line2"
><a
href=
"#"
></a></li>
<li
class=
"line3"
><a
href=
"#"
></a></li>
<li
class=
"line4"
><a
href=
"#"
></a></li>
<li
class=
"line5"
><a
href=
"#"
></a></li>
<li
class=
"line6"
><a
href=
"#"
></a></li>
</ul>
<!--在线咨询-->
</div>
<!--copyright-->
<div
class=
"footer-copyright"
>
<p
class=
"footer-nav"
><a
href=
"#"
>
关于我们
</a>
|
<a
href=
"#"
>
网厅公告
</a>
|
<a
href=
"#"
>
网站使用帮助
</a>
|
<a
href=
"#"
>
网站导航
</a>
|
<a
href=
"#"
>
业务合作
</a>
|
<a
href=
"#"
>
友情链接
</a></p>
<p
class=
"copyright"
>
版权所有 ©2009 中国电信集团公司 [ 增值电信业务经营许可证 A2.B1.B2-20090001 ] ICP证号京ICP备 09031924号
</p>
<s
class=
"cr-icon"
></s>
</div>
<!--//copyright-->
</footer>
<footer
class=
"footer"
th:replace=
"/footer :: .footer"
></footer>
<!--//footer-->
</body>
...
...
src/taoshop-portal/src/main/resources/templates/top_bar.html
0 → 100644
浏览文件 @
c27f86ce
<!--topBar-->
<div
class=
"topBar"
xmlns:th=
"http://www.w3.org/1999/xhtml"
>
<div
class=
"layout"
>
<span
class=
"hello-notice f-orange1 f-b"
style=
"position:absolute;left:50%;margin-left:-600px;top:1px;display:block;font-size:14px;text-align:left;"
>
本商城在试运行阶段,暂不接收任何订单。
</span>
<!--welcome-->
<span
class=
"topBar-userWelcome"
th:if=
"${session.sessionUser == null}"
>
您好,欢迎来商城!
<a
th:href=
"@{/portal/toLogin.do}"
id=
"loginHref"
rel=
"popbox"
>
[登录]
</a>
<a
id=
"registerHref"
th:href=
"@{/portal/toLogin.do}"
>
[注册]
</a></span>
<!--登录后 -->
<span
class=
"topBar-userWelcome logined"
th:if=
"${session.sessionUser != null}"
th:onshow=
"true"
>
欢迎您
<span
class=
"user"
>
<a
href=
"#"
class=
"user-link"
th:text=
"${session.sessionUser}"
><em
class=
"icon-arr"
></em></a>
<span
class=
"user-cs"
style=
"display:none;"
>
<span
class=
"user-cs-con"
>
<s
class=
"icon-arr"
></s>
<p><a
th:href=
"@{/templates/admin/user/toUserCenter.do}"
>
个人中心
</a></p>
<p><a
href=
"#"
>
退出登录
</a></p>
</span>
</span>
</span>
</span>
<script>
$
(
function
(){
$
(
"
.user
"
).
hover
(
function
(){
$
(
this
).
find
(
"
.user-cs
"
).
show
();
},
function
(){
$
(
this
).
find
(
"
.user-cs
"
).
hide
();
});
});
</script>
<!--//welcome-->
<!--topBar-menu-->
<span
class=
"topBar-menu"
>
<a
href=
"#"
>
商户入驻申请
</a>
|
<a
href=
"#"
>
我的订单
</a>
|
<a
href=
"#"
>
网上营业厅
</a>
</span>
<!--//topBar-menu-->
</div>
</div>
<!--//topBar-->
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录