前端模板增加主题管理
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return array(
|
||||
|
||||
'view_replace_str' => array(
|
||||
'__ADDONS__' => BASE_PATH . '/addons',
|
||||
'__PUBLIC__' => BASE_PATH . '/public',
|
||||
'__STATIC__' => BASE_PATH . '/application/user/static',
|
||||
'__IMG__' => BASE_PATH . '/application/user/static/images',
|
||||
'__CSS__' => BASE_PATH . '/application/user/static/css',
|
||||
'__JS__' => BASE_PATH . '/application/user/static/js',
|
||||
)
|
||||
);
|
||||
@@ -1,198 +0,0 @@
|
||||
@charset "utf-8";
|
||||
/* ===============
|
||||
* 重新定义Html元素
|
||||
* =============== */
|
||||
html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input { padding: 0; margin: 0;}
|
||||
h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code, em, strong, table, th, td { font-size: 1em; font-style: normal; font-weight: normal;}
|
||||
strong { font-weight: bold;}
|
||||
ul, ol { list-style: none outside none;}
|
||||
fieldset, img { border: medium none; vertical-align: middle;}
|
||||
caption, th { text-align: left;}
|
||||
table { border-collapse: collapse; border-spacing: 0;}
|
||||
body { font: 12px/20px "Hiragino Sans GB","Microsoft Yahei",arial,宋体,"Helvetica Neue",Helvetica,STHeiTi,sans-serif; color: #666; background: #FFF none repeat scroll 0 0; min-width: 1200px;}
|
||||
input, select, textarea { font: 12px/20px Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;}
|
||||
i, cite, em { font-style: normal;}
|
||||
input,button,select,textarea{ outline:none}
|
||||
html {min-height:101%; }
|
||||
|
||||
/* 链接 */
|
||||
a { color: #333; text-decoration: none; outline: medium none; -webkit-transition-property:color; -webkit-transition-duration: 0.3s; -webkit-transition-timing-function: ease;}
|
||||
a:link, a:visited, a:active { text-decoration: none;}
|
||||
a:hover { color: #F87622; text-decoration: underline;}
|
||||
|
||||
/* 超出隐藏(需要再设置宽高) */
|
||||
.over_hidden{ display: block; overflow-x: hidden; overflow-y: hidden; text-overflow: ellipsis; white-space: nowrap;}
|
||||
|
||||
.mt15{margin-top: 15px;}
|
||||
.w80{width: 80px !important;}
|
||||
|
||||
/* input放大by input_max.js */
|
||||
.parentCls { display: inline-block; *display: inline/*IE7*/; *zoom: 1;}
|
||||
.js-max-input { font-size: 20px; color: #F40; background: #FFFAE5; white-space: nowrap; padding: 7px; border: solid 1px #FFD2B2;}
|
||||
|
||||
/* Clearfix,避免因子元素浮动而导致的父元素高度缺失能问题 */
|
||||
.clearfix:after { clear: both; content: "."; display: block; height: 0; line-height: 0; visibility: hidden;}
|
||||
.clearfix { display: inline-block;}
|
||||
html[xmlns] .clearfix { display: block;}
|
||||
*html .clearfix{height:1%;}
|
||||
*+html .clearfix{height:1%;}
|
||||
|
||||
time { color: #777;}
|
||||
|
||||
/*页面整体宽度控制*/
|
||||
.wrapper { width: 1200px; margin: auto;}
|
||||
/* 公用头部区域
|
||||
-------------------------------------- */
|
||||
.header-wrap { background-color: #FFF; width: 100%;}
|
||||
.public-head-layout { height: 100px;}
|
||||
/* 站点logo */
|
||||
.public-head-layout .site-logo { width: 240px; height: 60px; float: left; margin: 15px 10px auto 0;}
|
||||
.public-head-layout .site-logo img { max-width: 240px; max-height: 60px;}
|
||||
.public-head-layout .site-ad { width: 120px; height: 70px; float: left; margin: 10px 10px auto 0;}
|
||||
.public-head-layout .site-ad img { max-width: 120px; max-height: 70px;}
|
||||
.header-wrap { width: 99%; height: 80px; border-bottom: solid 2px #F5F5F5; margin: 5px auto 0 auto;}
|
||||
.public-head-layout { height: 80px;}
|
||||
.header-wrap .wrapper { width: 1000px}
|
||||
.public-head-layout .site-logo { margin: 10px 0 0 0;}
|
||||
.public-head-layout .nc-login-now { font-size: 14px; color: #AAA; line-height: 24px; float: right; height: 24px; margin-top: 50px;}
|
||||
.public-head-layout .nc-login-now a { font-weight: 600; margin-left: 4px;color: #06C;}
|
||||
.public-head-layout .nc-regist-now { font-size: 14px; color: #AAA; line-height: 20px; float: right; height: 40px; margin-top: 30px;}
|
||||
.public-head-layout .nc-regist-now span { vertical-align: top; display: inline-block; *display: inline; *zoom: 1;}
|
||||
.public-head-layout .nc-regist-now .avatar { width: 40px; height: 40px; margin-right: 6px; border-radius: 100%;}
|
||||
.public-head-layout .nc-regist-now .avatar img { width: 40px; height: 40px; border-radius: 100%;}
|
||||
.public-head-layout .nc-regist-now a { font-weight: 600; margin-left: 4px;color: #06C;}
|
||||
.nc-register-bg { background: #FAFAFA url(../images/register_bg.png) repeat 50% 50% ; width: 100%; height: 680px; overflow: hidden;}
|
||||
.nc-register-box { filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#26000000', endColorstr='#26000000');background:rgba(0,0,0,0.15); width: 860px; height: 560px; padding: 10px; margin: 60px auto;}
|
||||
.nc-register-layout { background-color: #FFF; display: block; width: 820px; height: 520px; padding: 19px; border: solid 1px #CCC; overflow: hidden;}
|
||||
.nc-register-layout .left { width: 600px; height: 520px; float: left;}
|
||||
.nc-register-mode { width: 580px;}
|
||||
.tabs-nav { font-size: 0; word-spacing:-1em; border-bottom: solid 1px #E6E6E6;}
|
||||
.tabs-nav li { vertical-align: bottom; letter-spacing: normal; word-spacing: normal; text-align: center; display: inline-block; *display: inline; width: 50%; height: 40px; margin-bottom: -1px; *zoom: 1;}
|
||||
.tabs-nav li a { font-size: 18px; color: #999; line-height: 24px; padding-bottom: 13px; position: relative; z-index: 1;}
|
||||
.tabs-nav li a:hover { text-decoration: none; color: #000;}
|
||||
.tabs-nav li a.tabulous_active { color: #F87622; display: block; border-bottom: 3px solid #F87622}
|
||||
.tabs-nav li a i { font-size: 0; line-height: 0; border-color: #F87622 transparent transparent transparent; border-style: solid dashed dashed dashed; border-width: 7px; display: none; width: 0; height: 0; margin-left: -4px; position: absolute; z-index: 1; left: 50%; bottom: -17px;}
|
||||
.tabs-nav li a.tabulous_active i { display: block;}
|
||||
.tabs-container { position: relative; z-index: 1;}
|
||||
.nc-register-mode .tabs-content { padding: 50px 80px 0 100px;}
|
||||
.nc-login-form { display: block;}
|
||||
.nc-login-form dl { background-color: #FFF; width: 398px; height: 52px; margin-top: -1px; border: solid 1px #E6E6E6; position: relative; z-index: 1; overflow: hidden;}
|
||||
.nc-login-form dl.focus { border-color: #7ABD54; z-index: 3;}
|
||||
.nc-login-form dl.error { border-color: #F87622 !important; z-index: 2;}
|
||||
.nc-login-form dl dt { font-size: 14px; line-height: 20px; color: #333333; width: 72px; padding: 16px 0 16px 20px; float: left;}
|
||||
.nc-login-form dl dd { height: 28px; float: left; padding: 12px 0;}
|
||||
.nc-login-form dl dd .text { font-family: "microsoft yahei"; font-size: 14px; line-height: 28px; width: 290px; height: 28px; padding: 0; border: none 0;}
|
||||
|
||||
.nc-login-form dl .note { color: #CCC; line-height: 16px; width: 145px; height: 32px; position: absolute; z-index: 1; top: 10px; left: 245px;}
|
||||
.nc-login-form dl.focus .note { color: #7ABD54;}
|
||||
.nc-login-form .code-div { width: 100%; height: 54px;}
|
||||
.nc-login-form .code-div dl { width: 277px; float: left;}
|
||||
.nc-login-form .code-div span { width: 120px; height: 52px; float: left; margin: -1px 0 0 -1px; border: solid 1px #E6E6E6; position: relative; z-index: 1;}
|
||||
.nc-login-form .code-div span img { width: 120px; height: 52px;}
|
||||
.nc-login-form .code-div span a { font-size: 14px; text-decoration: none; line-height: 52px; color: #FFF; filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#7F000000', endColorstr='#7F000000');background:rgba(0,0,0,0.5); text-align: center; display: none; width: 120px; height: 52px; position: absolute; z-index: 1; top: 0; left: 0;}
|
||||
.nc-login-form .code-div span:hover a { display: block;}
|
||||
.nc-login-form .clause-div { font-size: 14px; color: #666; line-height: 30px; width: 400px; height: 30px; margin-top: 15px; border: none 0;}
|
||||
.nc-login-form .clause-div dd { padding: 0; height: auto;}
|
||||
.nc-login-form .clause-div .checkbox { vertical-align: middle; margin-right: 8px;}
|
||||
.nc-login-form .tiptext { line-height: 20px; color: #999; margin: 15px 0;}
|
||||
.nc-login-form .tiptext a { line-height: 22px; color: #FFF; background-color: #21b384; vertical-align: middle; display: inline-block; height: 22px; padding: 0 8px; margin: 0 4px; border-radius: 2px;}
|
||||
.nc-login-form .tiptext a:hover { text-decoration: none; background-color: #1FA67A;}
|
||||
.nc-login-form .tiptext a i { font-size: 14px; margin-right: 4px;}
|
||||
.nc-login-form .submit-div { margin-top: 15px;}
|
||||
.nc-login-form .submit-div .submit { font-family: "microsoft yahei"; font-size: 16px; font-weight: 600; color: #FFF; background-color: #F87622; width: 398px; height: 42px; border: solid 1px #D91E17; border-radius: 3px; cursor: pointer;}
|
||||
.nc-login-form label.error { color: #000; line-height: 24px; background: #FFF5D9 no-repeat 0 0; text-align: left; white-space: nowrap; height: 24px; padding: 8px 12px 8px 24px; position: absolute; z-index: 2; top: 5px; left: 300px; }
|
||||
.nc-login-form label.error i { font-size: 24px; margin-right: 12px; color: #FF875A; vertical-align: middle;}
|
||||
.nc-login-form .clause-div label.error { top: -5px; right: 50px;}
|
||||
.nc-login-form .code-div label.error { background: transparent none; min-width: auto; padding: 0; top: 15px; right: 0; left: auto;}
|
||||
.transition { -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; transition: all .3s ease-in-out; -webkit-transition-delay: .3s; -moz-transition-delay: .3s; -o-transition-delay: .3s; -ms-transition-delay: .3s; transition-delay: .3s; }
|
||||
.make_transist { -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; transition: all .3s ease-in-out; }
|
||||
.hidescale { -webkit-transform: scale(0.9); -moz-transform: scale(0.9); -o-transform: scale(0.9); -ms-transform: scale(0.9); transform: scale(0.9); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); filter: alpha(opacity=0); opacity: 0; }
|
||||
.showscale { -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; -webkit-transition-delay: .3s; -moz-transition-delay: .3s; -o-transition-delay: .3s; -ms-transition-delay: .3s; transition-delay: .3s; }
|
||||
.hideleft { -webkit-transform: translateX(-100%); -moz-transform: translateX(-100%); -o-transform: translateX(-100%); -ms-transform: translateX(-100%); transform: translateX(-100%); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; display: none\9; ;/*ie6,ie7,ie8*/}
|
||||
.showleft { -webkit-transform: translateX(0px); -moz-transform: translateX(0px); -o-transform: translateX(0px); -ms-transform: translateX(0px); transform: translateX(0px); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; -webkit-transition-delay: .3s; -moz-transition-delay: .3s; -o-transition-delay: .3s; -ms-transition-delay: .3s; transition-delay: .3s; display: block\9; ;/*ie6,ie7,ie8*/}
|
||||
.hidescaleup { -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; }
|
||||
.showscaleup { -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; -webkit-transition-delay: .3s; -moz-transition-delay: .3s; -o-transition-delay: .3s; -ms-transition-delay: .3s; transition-delay: .3s; }
|
||||
.hideflip { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); display: none\9; ;/*ie6,ie7,ie8*/ opacity: 0; -webkit-transform: rotatey(-90deg) scale(1.1); -moz-transform: rotatey(-90deg) scale(1.1); -o-transform: rotatey(-90deg) scale(1.1); -ms-transform: rotatey(-90deg) scale(1.1); transform: rotatey(-90deg) scale(1.1); -webkit-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; }
|
||||
.showflip { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); display: block\9; ;/*ie6,ie7,ie8*/ opacity: 1; -webkit-transition-delay: .3s; -moz-transition-delay: .3s; -o-transition-delay: .3s; -ms-transition-delay: .3s; transition-delay: .3s; -webkit-transform: rotatey(0deg) scale(1); -moz-transform: rotatey(0deg) scale(1); -o-transform: rotatey(0deg) scale(1); -ms-transform: rotatey(0deg) scale(1); transform: rotatey(0deg) scale(1); -webkit-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%; }
|
||||
.tabulousclear { display: block; clear: both; }
|
||||
.nc-register-layout .right { width: 200px; height: 500px; float: right; padding: 20px 0 0 19px; border-left: solid 1px #E6E6E6;}
|
||||
.nc-register-layout .right h4 { font-size: 14px; line-height: 20px; height: 20px; margin-bottom: 20px; color: #333;}
|
||||
.nc-register-layout .right .api-login { font-size: 0; *word-spacing:-1px/*IE6、7*/; padding-bottom: 20px; margin-bottom: 20px; border-bottom: dashed 1px #E6E6E6; }
|
||||
.nc-register-layout .right .api-login a { vertical-align: top; display: inline-block; *display: inline; width: 42px; margin-left: 12px; *zoom: 1;}
|
||||
.nc-register-layout .right .api-login a i { background: url(../images/login_pic.png) no-repeat; display: block; width: 42px; height: 42px;}
|
||||
.nc-register-layout .right .api-login a.qq i { background-position: -126px -32px;}
|
||||
.nc-register-layout .right .api-login a.sina i { background-position: -168px -32px;}
|
||||
.nc-register-layout .right .api-login a.wx i { background-position: -210px -32px;}
|
||||
.nc-register-layout .right .reister-after li { color: #999; line-height: 24px; margin-bottom: 10px; padding-left: 12px;}
|
||||
.nc-register-layout .right .reister-after i { background: url(../images/login_pic.png) no-repeat; vertical-align: middle; display: inline-block; width: 24px; height: 24px; margin-right: 8px;}
|
||||
.nc-register-layout .right .reister-after .ico01 i { background-position: 0 -76px;}
|
||||
.nc-register-layout .right .reister-after .ico02 i { background-position: -30px -76px;}
|
||||
.nc-register-layout .right .reister-after .ico03 i { background-position: -60px -76px;}
|
||||
.nc-register-layout .right .reister-after .ico04 i { background-position: -90px -76px;}
|
||||
.nc-register-layout .right .reister-after .ico05 i { background-position: -120px -76px;}
|
||||
.nc-register-layout .right .reister-after .ico06 i { background-position: -150px -76px;}
|
||||
/* 注册表单样式 */
|
||||
.nc-login-layout { width: 1000px; margin: 20px auto; position: relative; z-index: 1;}
|
||||
.nc-login-layout .openid { font-size: 14px; color: #AAA; line-height: 20px; height: 40px; position: absolute; z-index: 1; top: -70px; right: 0;}
|
||||
.nc-login-layout .openid span { vertical-align: top; display: inline-block; *display: inline; *zoom: 1;}
|
||||
.nc-login-layout .openid .avatar { width: 40px; height: 40px; margin-right: 6px; border-radius: 100%;}
|
||||
.nc-login-layout .openid .avatar img { width: 40px; height: 40px; border-radius: 100%;}
|
||||
.nc-login-layout .openid a { font-weight: 600; margin: 0 4px;}
|
||||
.nc-login { background-color: #FFF; width: 440px; padding: 19px 19px 29px 19px; border: solid 1px #E6E6E6; border-radius: 5px; float:right; position: relative; z-index: 1;}
|
||||
.nc-login .arrow { background: url(../images/login_pic.png) no-repeat -280px 0; width: 17px; height: 9px; position: absolute; z-index: 1; top: -9px; left: 160px;}
|
||||
.nc-login .tabs-container { margin-top: 30px; padding: 0 40px 20px 40px;}
|
||||
.nc-login .tabs-content { width: 352px; }
|
||||
.nc-login .nc-login-form dl { width: 348px;}
|
||||
.nc-login .nc-login-form dl dd .text { width: 240px;}
|
||||
.nc-login .nc-login-form .code-div dl { width: 228px;}
|
||||
.nc-login .nc-login-form .handle-div { line-height: 20px; margin-top: 15px; overflow: hidden;}
|
||||
.nc-login .nc-login-form .handle-div .auto { color: #999; float: left;}
|
||||
.nc-login .nc-login-form .handle-div .auto .checkbox { vertical-align: middle; display: inline-block; margin-right: 4px;}
|
||||
.nc-login .nc-login-form .handle-div .auto em { line-height: 20px; color: #ff3238; vertical-align: top; display: inline-block; margin-left: 6px;}
|
||||
.nc-login .nc-login-form .handle-div .forget { float: right;}
|
||||
.nc-login .nc-login-form .submit-div .submit { width: 348px;}
|
||||
.nc-login-api { font-size: 0; *word-spacing:-1px/*IE6、7*/; width: 340px; margin: 0 auto; }
|
||||
.nc-login-api h4 { font-size: 12px; line-height: 20px; color: #333; font-weight: 600; height: 20px; margin-bottom: 10px;}
|
||||
.nc-login-api a { font-size: 12px; text-decoration: none; color: #AAA; vertical-align: top; display: inline-block; *display: inline; height: 32px; margin-right: 24px; *zoom: 1;}
|
||||
.nc-login-api a i { background: url(../images/login_pic.png) no-repeat; vertical-align: middle; display: inline-block; *display: inline; width: 32px; height: 32px; margin-right:6px; *zoom: 1;}
|
||||
.nc-login-api a.qq i { background-position: 0 0;}
|
||||
.nc-login-api a.sina i { background-position: -32px 0;}
|
||||
.nc-login-api a.wx i { background-position: -64px 0;}
|
||||
.nc-login-api a.qq:hover { color: #3EB6E8;}
|
||||
.nc-login-api a.qq:hover i { background-position: -96px 0;}
|
||||
.nc-login-api a.sina:hover { color: #F77260;}
|
||||
.nc-login-api a.sina:hover i { background-position: -128px 0;}
|
||||
.nc-login-api a.wx:hover { color: #4EA335;}
|
||||
.nc-login-api a.wx:hover i { background-position: -160px 0;}
|
||||
.nc-login-layout .left-pic { width: 450px; height: 350px; float:left; margin: 30px 0; position: relative; z-index:1;}
|
||||
.nc-login-layout .left-pic img { max-width: 450px; max-height: 350px; position: absolute; z-index:1; top:0; left:0 }
|
||||
.nc-login-layout .left-pic span { position:absolute; z-index: 2; top:220px; left:100px; line-height:32px; font-size: 24px; font-family:"microsoft yahei"; width: 250px; text-align: center; }
|
||||
.nc-login-layout .left-pic p a { color: #FFF; position:absolute; z-index: 2; top:270px; left: 165px; line-height:28px; font-size: 12px; width: 120px; text-align: center; }
|
||||
.nc-login-left { line-height: 22px; color: #626A73; display: inline; width: 450px; float: left; margin: 10px 0;}
|
||||
.nc-login-left h3 { font-size:18px; font-family: "microsoft yahei"; font-weight:700; color: #555; line-height: 30px; margin-top: 2px; margin-bottom: 6px;}
|
||||
.nc-login-left ol { width: 420px; margin-top: 20px; border-bottom: dashed 1px #E7E7E7;}
|
||||
.nc-login-left ol li { font-family: "microsoft yahei"; font-size: 14px; line-height: 48px; display: block; vertical-align: middle; width: 200px; height: 48px; float: left; padding: 0 0 12px 0; margin: 0 0 5px 10px; overflow: hidden;}
|
||||
.nc-login-left ol li i { display: inline-block; background: url(../images/login.png) no-repeat scroll; vertical-align: middle; width: 48px; height: 48px; margin-right:10px;}
|
||||
.nc-login-left ol li.ico01 i { background-position: -256px 0;}
|
||||
.nc-login-left ol li.ico02 i { background-position: -304px 0; }
|
||||
.nc-login-left ol li.ico03 i { background-position: -352px 0; }
|
||||
.nc-login-left ol li.ico04 i { background-position: -256px -48px; }
|
||||
.nc-login-left ol li.ico05 i { background-position: -304px -48px; }
|
||||
.nc-login-left ol li.ico06 i { background-position: -352px -48px; }
|
||||
@media projection, screen {.ui-tabs-hide { display: none; }}
|
||||
@media print {.ui-tabs-nav { display: none; }}
|
||||
.ui-tabs-nav:after { display: block; clear: both; content: " "; }
|
||||
.ui-tabs-disabled { opacity: .4; filter: alpha(opacity=40); }
|
||||
.ui-tabs-loading em { background: url(../images/loading.gif) no-repeat 0 50%; padding: 0 0 0 20px; }
|
||||
* html .ui-tabs-nav { display: inline-block; }
|
||||
*:first-child+html .ui-tabs-nav { display: inline-block; }
|
||||
#faq { display:none;}
|
||||
|
||||
#footer { font-size: 12px !important; border-top:1px solid #e7e7e7; text-align: center; margin: 0 auto; padding-bottom: 10px; overflow: hidden; background:#F5F5F5; width:100%}
|
||||
#footer p { color: #666; word-spacing: 5px; padding: 10px 0; }
|
||||
#footer a { color: #666; text-decoration: none; }
|
||||
#footer a:hover { text-decoration: underline; }
|
||||
#footer .vol { font-family: Verdana, Geneva, sans-serif; font-weight: 600; font-style: oblique; font-size: 12px;}
|
||||
#footer .vol .b { color: #00F;}
|
||||
#footer .vol .o { color: #F60;}
|
||||
#footer .vol em { font-family: Georgia, Arial; font-weight: 600; font-style: italic; color: #000; margin-left: 2px;}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,60 +0,0 @@
|
||||
{extend name="public/base"/}
|
||||
{block name="body"}
|
||||
<div class="main-box clearfix">
|
||||
<header class="main-box-header clearfix">
|
||||
<div class="pull-left">
|
||||
<h2>{$model_info['title']}管理</h2>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-primary" href="{:url('user/content/add?model_id='.$model_id)}">新 增</a>
|
||||
<button class="btn btn-danger ajax-post confirm" url="{:url('user/content/del?model_id='.$model_id)}" target-form="ids">删 除</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="main-box-body clearfix">
|
||||
<div class="table-responsive clearfix">
|
||||
|
||||
<div class="table-responsive clearfix">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30"><input class="checkbox check-all" type="checkbox"></th>
|
||||
{volist name="grid['grids']" id="item"}
|
||||
<th>{$item['title']}</th>
|
||||
{/volist}
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{if condition="empty($list)"}
|
||||
{php}
|
||||
$cow = count($grid['grids'])+2;
|
||||
{/php}
|
||||
<tr>
|
||||
<td colspan="{$cow}" align="center">暂无数据!</td>
|
||||
</tr>
|
||||
{else/}
|
||||
{volist name="list" id="item"}
|
||||
<tr>
|
||||
<td><input class="ids row-selected" type="checkbox" name="ids[]" value="{$item['id']}"></td>
|
||||
{volist name="grid['grids']" id="vo"}
|
||||
{if isset($vo['format'])}
|
||||
<td>{$item[$vo['field'][0]]|$vo['format']}</td>
|
||||
{else/}
|
||||
<td>{$item[$vo['field'][0]]}</td>
|
||||
{/if}
|
||||
{/volist}
|
||||
<td>
|
||||
<a href="{:url('user/content/edit',array('id'=>$item['id'],'model_id'=>$model_id))}" >编辑</a>
|
||||
<a href="{:url('user/content/del',array('id'=>$item['id'],'model_id'=>$model_id))}" class="ajax-get confirm">删除</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{$page}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -1,18 +0,0 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="body"}
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-sm-6 col-xs-12">
|
||||
<div class="main-box infographic-box colored bg-primary"> <i class="fa fa-shopping-bag"></i>
|
||||
<span class="headline">订单总数</span>
|
||||
<span class="value">0</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6 col-sm-6 col-xs-12">
|
||||
<div class="main-box infographic-box colored bg-primary"> <i class="fa fa-money"></i>
|
||||
<span class="headline">我的消费</span>
|
||||
<span class="value">0</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/block}
|
||||
@@ -1,140 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<meta charset="UTF-8">
|
||||
<title>找回密码</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/member_login.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-wrap">
|
||||
<header class="public-head-layout wrapper">
|
||||
<h1 class="site-logo">
|
||||
<a href="{:url('index/index/index')}"><img src="__PUBLIC__/images/logo.png" class="pngFix"></a>
|
||||
</h1>
|
||||
<div class="nc-login-now">
|
||||
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div class="nc-login-layout">
|
||||
<div class="left-pic"><img src="http://s.dxpd.cn/data/upload/shop/login/1.jpg" border="0"></div>
|
||||
<div class="nc-login">
|
||||
<div class="nc-login-mode">
|
||||
<ul class="tabs-nav">
|
||||
<li><a href="#default" class="tabulous_active">找回密码<i></i></a></li>
|
||||
</ul>
|
||||
<div id="tabs_container" class="tabs-container">
|
||||
<div id="default" class="tabs-content">
|
||||
<form id="login_form" class="nc-login-form" method="post">
|
||||
<dl>
|
||||
<dt>注册邮箱:</dt>
|
||||
<dd>
|
||||
<input type="text" class="text" autocomplete="off" name="email" placeholder="注册邮箱" value="{$email}" id="email" readonly >
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>设置密码:</dt>
|
||||
<dd>
|
||||
<input type="password" id="password" name="password" class="text" placeholder="6-20个大小写英文字母、符号或数字"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>确认密码:</dt>
|
||||
<dd>
|
||||
<input type="password" id="repassword" name="repassword" class="text" placeholder="请再次输入密码"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="code-div mt15">
|
||||
<dl>
|
||||
<dt>验证码:</dt>
|
||||
<dd>
|
||||
<input type="text" name="verify" autocomplete="off" class="text w80" placeholder="输入验证码" id="verify" size="10" />
|
||||
</dd>
|
||||
</dl>
|
||||
<span><img src="{:url('user/index/verify')}" id="codeimage"/> <a class="makecode" href="javascript:void(0)">看不清,换一张</a></span>
|
||||
</div>
|
||||
<div class="submit-div">
|
||||
<input type="hidden" name="token" value="{$token}">
|
||||
<input type="hidden" name="uid" value="{$uid}">
|
||||
<input type="submit" class="submit" value="登 录">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer" class="wrapper">
|
||||
<p><a href="{:url('index/index/index')}">首页</a>
|
||||
| <a href="{:url('user/index/index')}">会员中心</a>
|
||||
</p>
|
||||
Copyright 2015 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> All rights reserved.<br/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<script src="__PUBLIC__/js/messager.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
$("form").submit(function(e){
|
||||
e.preventDefault();
|
||||
var self = $(this);
|
||||
$.post(self.attr("action"), self.serialize(), success, "json");
|
||||
|
||||
function success(data){
|
||||
if(data.code){
|
||||
$.messager.show(data.msg, {placement: 'center',type:'success'});
|
||||
setTimeout(function(){
|
||||
window.location.href = data.url;
|
||||
},3000);
|
||||
} else {
|
||||
$.messager.show(data.msg, {placement: 'center',type:'success'});
|
||||
//刷新验证码
|
||||
$(".makecode").click();
|
||||
}
|
||||
}
|
||||
});
|
||||
//初始化选中用户名输入框
|
||||
$("#itemBox").find("input[name=username]").focus();
|
||||
//刷新验证码
|
||||
var verifyimg = $("#codeimage").attr("src");
|
||||
$(".makecode").click(function(){
|
||||
if( verifyimg.indexOf('?')>0){
|
||||
$("#codeimage").attr("src", verifyimg+'&random='+Math.random());
|
||||
}else{
|
||||
$("#codeimage").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
|
||||
}
|
||||
});
|
||||
|
||||
//placeholder兼容性
|
||||
//如果支持
|
||||
function isPlaceholer(){
|
||||
var input = document.createElement('input');
|
||||
return "placeholder" in input;
|
||||
}
|
||||
//如果不支持
|
||||
if(!isPlaceholer()){
|
||||
$(".placeholder_copy").css({display:'block'})
|
||||
$("#itemBox input").keydown(function(){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'none'})
|
||||
})
|
||||
$("#itemBox input").blur(function(){
|
||||
if($(this).val()==""){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'block'});
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -1,126 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<meta charset="UTF-8">
|
||||
<title>找回密码</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/member_login.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-wrap">
|
||||
<header class="public-head-layout wrapper">
|
||||
<h1 class="site-logo">
|
||||
<a href="{:url('index/index/index')}"><img src="__PUBLIC__/images/logo.png" class="pngFix"></a>
|
||||
</h1>
|
||||
<div class="nc-login-now">
|
||||
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div class="nc-login-layout">
|
||||
<div class="left-pic"><img src="http://s.dxpd.cn/data/upload/shop/login/1.jpg" border="0"></div>
|
||||
<div class="nc-login">
|
||||
<div class="nc-login-mode">
|
||||
<ul class="tabs-nav">
|
||||
<li><a href="#default" class="tabulous_active">找回密码<i></i></a></li>
|
||||
</ul>
|
||||
<div id="tabs_container" class="tabs-container">
|
||||
<div id="default" class="tabs-content">
|
||||
<form id="login_form" class="nc-login-form" method="post">
|
||||
<dl>
|
||||
<dt>注册邮箱:</dt>
|
||||
<dd>
|
||||
<input type="text" class="text" autocomplete="off" name="email" placeholder="注册邮箱" id="email" >
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="code-div mt15">
|
||||
<dl>
|
||||
<dt>验证码:</dt>
|
||||
<dd>
|
||||
<input type="text" name="verify" autocomplete="off" class="text w80" placeholder="输入验证码" id="verify" size="10" />
|
||||
</dd>
|
||||
</dl>
|
||||
<span><img src="{:url('user/index/verify')}" id="codeimage"/> <a class="makecode" href="javascript:void(0)">看不清,换一张</a></span>
|
||||
</div>
|
||||
<div class="submit-div">
|
||||
<input type="submit" class="submit" value="登 录">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer" class="wrapper">
|
||||
<p><a href="{:url('index/index/index')}">首页</a>
|
||||
| <a href="{:url('user/index/index')}">会员中心</a>
|
||||
</p>
|
||||
Copyright 2015 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> All rights reserved.<br/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<script src="__PUBLIC__/js/messager.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
$("form").submit(function(e){
|
||||
e.preventDefault();
|
||||
var self = $(this);
|
||||
$.post(self.attr("action"), self.serialize(), success, "json");
|
||||
|
||||
function success(data){
|
||||
if(data.code){
|
||||
$.messager.show(data.msg, {placement: 'center',type:'success'});
|
||||
setTimeout(function(){
|
||||
window.location.href = data.url;
|
||||
},3000);
|
||||
} else {
|
||||
$.messager.show(data.msg, {placement: 'center',type:'success'});
|
||||
//刷新验证码
|
||||
$(".makecode").click();
|
||||
}
|
||||
}
|
||||
});
|
||||
//初始化选中用户名输入框
|
||||
$("#itemBox").find("input[name=username]").focus();
|
||||
//刷新验证码
|
||||
var verifyimg = $("#codeimage").attr("src");
|
||||
$(".makecode").click(function(){
|
||||
if( verifyimg.indexOf('?')>0){
|
||||
$("#codeimage").attr("src", verifyimg+'&random='+Math.random());
|
||||
}else{
|
||||
$("#codeimage").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
|
||||
}
|
||||
});
|
||||
|
||||
//placeholder兼容性
|
||||
//如果支持
|
||||
function isPlaceholer(){
|
||||
var input = document.createElement('input');
|
||||
return "placeholder" in input;
|
||||
}
|
||||
//如果不支持
|
||||
if(!isPlaceholer()){
|
||||
$(".placeholder_copy").css({display:'block'})
|
||||
$("#itemBox input").keydown(function(){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'none'})
|
||||
})
|
||||
$("#itemBox input").blur(function(){
|
||||
if($(this).val()==""){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'block'});
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -1,149 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<meta charset="UTF-8">
|
||||
<title>用户登录</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/member_login.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-wrap">
|
||||
<header class="public-head-layout wrapper">
|
||||
<h1 class="site-logo">
|
||||
<a href="{:url('index/index/index')}"><img src="__PUBLIC__/images/logo.png" class="pngFix"></a>
|
||||
</h1>
|
||||
<div class="nc-login-now">
|
||||
<span>我还没账号,现在就<a href="{:url('user/login/register')}" title="" class="register">注册</a></span>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div class="nc-login-layout">
|
||||
<div class="left-pic"><img src="http://s.dxpd.cn/data/upload/shop/login/1.jpg" border="0"></div>
|
||||
<div class="nc-login">
|
||||
<div class="nc-login-mode">
|
||||
<ul class="tabs-nav">
|
||||
<li><a href="#default" class="tabulous_active">用户登录<i></i></a></li>
|
||||
</ul>
|
||||
<div id="tabs_container" class="tabs-container">
|
||||
<div id="default" class="tabs-content">
|
||||
<form id="login_form" class="nc-login-form" method="post">
|
||||
<dl>
|
||||
<dt>账 号:</dt>
|
||||
<dd>
|
||||
<input type="text" class="text" autocomplete="off" name="username" placeholder="用户名/邮箱/手机号码" id="username" >
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>密 码:</dt>
|
||||
<dd>
|
||||
<input type="password" class="text" name="password" autocomplete="off" placeholder="6-20个大小写英文字母、符号或数字" id="password">
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="code-div mt15">
|
||||
<dl>
|
||||
<dt>验证码:</dt>
|
||||
<dd>
|
||||
<input type="text" name="verify" autocomplete="off" class="text w80" placeholder="输入验证码" id="verify" size="10" />
|
||||
</dd>
|
||||
</dl>
|
||||
<span><img src="{:url('user/index/verify')}" id="codeimage"/> <a class="makecode" href="javascript:void(0)">看不清,换一张</a></span>
|
||||
</div>
|
||||
<div class="handle-div">
|
||||
<span class="auto">
|
||||
<input type="checkbox" class="checkbox" name="auto_login" value="1">七天自动登录<em style="display: none;">请勿在公用电脑上使用</em>
|
||||
</span>
|
||||
<a class="forget" href="{:url('user/login/forget')}">忘记密码?</a>
|
||||
</div>
|
||||
<div class="submit-div">
|
||||
<input type="submit" class="submit" value="登 录">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="footer" class="wrapper">
|
||||
<p><a href="{:url('index/index/index')}">首页</a>
|
||||
| <a href="{:url('user/index/index')}">会员中心</a>
|
||||
</p>
|
||||
Copyright 2015 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> All rights reserved.<br/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<script src="__PUBLIC__/js/messager.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
/* 登陆表单获取焦点变色 */
|
||||
$(".login-form").on("focus", "input", function(){
|
||||
$(this).closest('.item').addClass('focus');
|
||||
}).on("blur","input",function(){
|
||||
$(this).closest('.item').removeClass('focus');
|
||||
});
|
||||
|
||||
//表单提交
|
||||
$(document).ajaxStart(function(){
|
||||
$("button:submit").addClass("log-in").attr("disabled", true);
|
||||
}).ajaxStop(function(){
|
||||
$("button:submit").removeClass("log-in").attr("disabled", false);
|
||||
});
|
||||
|
||||
$("form").submit(function(){
|
||||
var self = $(this);
|
||||
$.post(self.attr("action"), self.serialize(), success, "json");
|
||||
return false;
|
||||
|
||||
function success(data){
|
||||
if(data.code){
|
||||
window.location.href = data.url;
|
||||
} else {
|
||||
$.messager.show(data.msg, {placement: 'center',type:'success'});
|
||||
//刷新验证码
|
||||
$(".makecode").click();
|
||||
}
|
||||
}
|
||||
});
|
||||
//初始化选中用户名输入框
|
||||
$("#itemBox").find("input[name=username]").focus();
|
||||
//刷新验证码
|
||||
var verifyimg = $("#codeimage").attr("src");
|
||||
$(".makecode").click(function(){
|
||||
if( verifyimg.indexOf('?')>0){
|
||||
$("#codeimage").attr("src", verifyimg+'&random='+Math.random());
|
||||
}else{
|
||||
$("#codeimage").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
|
||||
}
|
||||
});
|
||||
|
||||
//placeholder兼容性
|
||||
//如果支持
|
||||
function isPlaceholer(){
|
||||
var input = document.createElement('input');
|
||||
return "placeholder" in input;
|
||||
}
|
||||
//如果不支持
|
||||
if(!isPlaceholer()){
|
||||
$(".placeholder_copy").css({display:'block'})
|
||||
$("#itemBox input").keydown(function(){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'none'})
|
||||
})
|
||||
$("#itemBox input").blur(function(){
|
||||
if($(this).val()==""){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'block'})
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -1,171 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<meta charset="UTF-8">
|
||||
<title>用户注册</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/member_login.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<div class="header-wrap">
|
||||
<header class="public-head-layout wrapper">
|
||||
<h1 class="site-logo">
|
||||
<a href="{:url('index/index/index')}"><img src="__PUBLIC__/images/logo.png" class="pngFix"></a>
|
||||
</h1>
|
||||
<div class="nc-login-now">
|
||||
<span>我已经注册,现在就<a href="{:url('user/login/index')}" title="" class="register">登录</a></span>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<!-- PublicHeadLayout End -->
|
||||
<div class="nc-register-bg">
|
||||
<div class="nc-register-box">
|
||||
<div class="nc-register-layout">
|
||||
<div class="left">
|
||||
<div class="nc-register-mode">
|
||||
<ul class="tabs-nav">
|
||||
<li><a href="#default" class="tabulous_active">账号注册<i></i></a></li>
|
||||
</ul>
|
||||
<div id="tabs_container" class="tabs-container">
|
||||
<div id="default" class="tabs-content">
|
||||
<form id="register_form" class="nc-login-form" method="post" >
|
||||
<dl>
|
||||
<dt>用户名:</dt>
|
||||
<dd>
|
||||
<input type="text" id="username" name="username" class="text" placeholder="请使用3-15个中、英文、数字及“-”符号"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>设置密码:</dt>
|
||||
<dd>
|
||||
<input type="password" id="password" name="password" class="text" placeholder="6-20个大小写英文字母、符号或数字"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>确认密码:</dt>
|
||||
<dd>
|
||||
<input type="password" id="repassword" name="repassword" class="text" placeholder="请再次输入密码"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="mt15">
|
||||
<dt>邮箱:</dt>
|
||||
<dd>
|
||||
<input type="text" id="email" name="email" class="text" placeholder="输入常用邮箱作为验证及找回密码使用"/>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="code-div mt15">
|
||||
<dl>
|
||||
<dt>验证码:</dt>
|
||||
<dd>
|
||||
<input type="text" id="verify" name="verify" class="text w80" size="10" placeholder="输入验证码" />
|
||||
</dd>
|
||||
</dl>
|
||||
<span><img src="{:url('user/index/verify')}" id="codeimage"/> <a class="makecode" href="javascript:void(0)">看不清,换一张</a></span>
|
||||
</div>
|
||||
<dl class="clause-div">
|
||||
<dd>
|
||||
<input name="agree" type="checkbox" class="checkbox" id="clause" value="1" checked="checked" />
|
||||
阅读并同意<a href="{:url('index/content/detail?model_id=4&name=agreement')}" target="_blank" class="agreement" title="阅读并同意">《服务协议》</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="submit-div">
|
||||
<input type="submit" id="Submit" value="立即注册" class="submit"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="reister-after">
|
||||
<h4>注册之后您可以</h4>
|
||||
<ol>
|
||||
<li><i class="fa fa-book"></i> 购买在线图书</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer" class="wrapper">
|
||||
<p><a href="{:url('index/index/index')}">首页</a>
|
||||
| <a href="{:url('user/index/index')}">会员中心</a>
|
||||
</p>
|
||||
Copyright 2015 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> All rights reserved.<br/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<script src="__PUBLIC__/js/messager.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
/* 登陆表单获取焦点变色 */
|
||||
$(".login-form").on("focus", "input", function(){
|
||||
$(this).closest('.item').addClass('focus');
|
||||
}).on("blur","input",function(){
|
||||
$(this).closest('.item').removeClass('focus');
|
||||
});
|
||||
|
||||
//表单提交
|
||||
$(document).ajaxStart(function(){
|
||||
$("button:submit").addClass("log-in").attr("disabled", true);
|
||||
}).ajaxStop(function(){
|
||||
$("button:submit").removeClass("log-in").attr("disabled", false);
|
||||
});
|
||||
|
||||
$("form").submit(function(){
|
||||
var self = $(this);
|
||||
$.post(self.attr("action"), self.serialize(), success, "json");
|
||||
return false;
|
||||
|
||||
function success(data){
|
||||
if(data.code){
|
||||
window.location.href = data.url;
|
||||
} else {
|
||||
$.messager.show(data.msg, {placement: 'center',type:'success'});
|
||||
//刷新验证码
|
||||
$(".makecode").click();
|
||||
}
|
||||
}
|
||||
});
|
||||
//初始化选中用户名输入框
|
||||
$("#itemBox").find("input[name=username]").focus();
|
||||
//刷新验证码
|
||||
var verifyimg = $("#codeimage").attr("src");
|
||||
$(".makecode").click(function(){
|
||||
if( verifyimg.indexOf('?')>0){
|
||||
$("#codeimage").attr("src", verifyimg+'&random='+Math.random());
|
||||
}else{
|
||||
$("#codeimage").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
|
||||
}
|
||||
});
|
||||
|
||||
//placeholder兼容性
|
||||
//如果支持
|
||||
function isPlaceholer(){
|
||||
var input = document.createElement('input');
|
||||
return "placeholder" in input;
|
||||
}
|
||||
//如果不支持
|
||||
if(!isPlaceholer()){
|
||||
$(".placeholder_copy").css({display:'block'})
|
||||
$("#itemBox input").keydown(function(){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'none'})
|
||||
})
|
||||
$("#itemBox input").blur(function(){
|
||||
if($(this).val()==""){
|
||||
$(this).parents(".item").next(".placeholder_copy").css({display:'block'})
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@@ -1,94 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<title>确认订单信息-会员中心 - Powered by TenSent,Inc.</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/nanoscroller.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/order.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
{block name="style"}{/block}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="logo">
|
||||
<a href="{:url('index/book/index')}"><img src="__PUBLIC__/images/logo.png" alt="确认订单信息-会员中心"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: 25%">
|
||||
<span>1、购物车</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: 25%">
|
||||
<span>2、确认订单信息</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-success progress-bar-striped" style="width: 25%">
|
||||
<span>3、选择支付</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-primary progress-bar-striped" style="width: 25%">
|
||||
<span>4、订购完成</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p class="no-data"><span class="red"><i class="fa fa-edit"></i></span> 订单已成功提交!</p>
|
||||
<form action="{:url('user/order/pay')}" method="post" class="form">
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="200" class="text-right">订单编号:</td>
|
||||
<td>{$info['order_no']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" class="text-right">订单金额:</td>
|
||||
<td>¥{$info['price_count']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" class="text-right">支付方式:</td>
|
||||
<td>{$info['pay_type_text']}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<div class="pull-right">
|
||||
<input type="hidden" name="order_id" value="{$info['id']}">
|
||||
<input type="hidden" name="pay_type" value="{$info['pay_type']}">
|
||||
<button class="btn btn-danger">立即支付</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="warp">
|
||||
<p>Copyright © 2013-2016 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> 版权所有</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,50 +0,0 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="body"}
|
||||
<div class="tabs-wrapper">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#editpw" data-toggle="tab">我的订单</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade in active" id="editpw">
|
||||
{volist name="list" id="item"}
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
订单号:{$item['order_no']}({$item['create_time']|date='Y-m-d',###})
|
||||
<span class="pull-right">
|
||||
{if $item['pay_status']}
|
||||
已付款
|
||||
{else/}
|
||||
<a href="{:url('user/order/cancel',array('order_id'=>$item['id']))}" class="ajax-get"><i class="fa fa-close"></i> 取消订单</a>
|
||||
<a href="{:url('user/order/lists',array('order_id'=>$item['id']))}" target="_blank" class="text-danger">付款</a>
|
||||
{/if}
|
||||
</span>
|
||||
</div>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>图书</th>
|
||||
<th>图书名称</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
{volist name="item['product']" id="product"}
|
||||
<tr>
|
||||
<td width="80">
|
||||
<a href="{:url('index/book/detail', array('id'=>$product['product_id']))}" target="_blank"><img src="{:get_cover($product->book['cover_id'],'path')}" alt="{$product->book['book_name']}" width="60"></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{:url('index/book/detail', array('id'=>$product['product_id']))}" target="_blank">{$product->book['book_name']}</a>
|
||||
</td>
|
||||
<td width="120">
|
||||
{if $item['pay_status']}
|
||||
<a href="{:url('user/upload/download',array('order_id'=>$item['id'],'product_id'=>$product['product_id']))}" target="_blank">下载图书</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
</table>
|
||||
</div>
|
||||
{/volist}
|
||||
{$page}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -1,124 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<title>确认订单信息-会员中心 - Powered by TenSent,Inc.</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/nanoscroller.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/order.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
{block name="style"}{/block}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="logo">
|
||||
<a href="{:url('index/book/index')}"><img src="__PUBLIC__/images/logo.png" alt="确认订单信息-会员中心"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: 25%">
|
||||
<span>1、购物车</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-success progress-bar-striped" style="width: 25%">
|
||||
<span>2、确认订单信息</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-primary progress-bar-striped" style="width: 25%">
|
||||
<span>3、选择支付</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-primary progress-bar-striped" style="width: 25%">
|
||||
<span>4、订购完成</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<form action="{:url('user/order/confirm')}" method="post" class="form">
|
||||
<div class="order_title">商品清单</div>
|
||||
{if !empty($list)}
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>商品</th>
|
||||
<th>名称</th>
|
||||
<th>单价</th>
|
||||
<th>数量</th>
|
||||
<th>小计</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{volist name="list" id="item"}
|
||||
<tr>
|
||||
<td width="90">
|
||||
<a href="{:url('index/book/detail',array('id'=>$item->book['id']))}"><img src="{:get_cover($item->book['cover_id'],'path')}" width="80"></a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{:url('index/book/detail',array('id'=>$item->book['id']))}">{$item->book['book_name']}</a>
|
||||
</td>
|
||||
<td>¥{$item['price']}</td>
|
||||
<td>{$item['num']}</td>
|
||||
<td>¥{$item['price_count']}</td>
|
||||
<td width="60">
|
||||
<a href="{:url('index/cart/del',array('id'=>$item['id']))}" class="ajax-get confirm"><i class="fa fa-close"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
{/volist}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="text-right price_count">
|
||||
<p>应付总额:<span>¥{$price_count}</span></p>
|
||||
</div>
|
||||
|
||||
<div class="order_title">支付方式</div>
|
||||
<div class="clearfix">
|
||||
<ul class="payment-list">
|
||||
<li class="selected">
|
||||
<input type="radio" name="payment" value="alipay" checked="true">
|
||||
<label><b>支付宝支付</b> </label>
|
||||
<div><img src="__PUBLIC__/images/pay/alipay.png" width="180"></div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<input type="hidden" name="order_id" value="{$order_id}">
|
||||
<button type="submit" class="btn btn-danger">提交订单</button>
|
||||
</div>
|
||||
{else/}
|
||||
<p class="no-data">购物车为空!<a href="{:url('index/book/index')}">去继续选择……</a></p>
|
||||
{/if}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="warp">
|
||||
<p>Copyright © 2013-2016 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> 版权所有</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,93 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<title>确认订单信息-会员中心 - Powered by TenSent,Inc.</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/nanoscroller.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/order.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
{block name="style"}{/block}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="logo">
|
||||
<a href="{:url('index/book/index')}"><img src="__PUBLIC__/images/logo.png" alt="确认订单信息-会员中心"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: 25%">
|
||||
<span>1、购物车</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: 25%">
|
||||
<span>2、确认订单信息</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: 25%">
|
||||
<span>3、选择支付</span>
|
||||
</div>
|
||||
<div class="progress-bar progress-bar-success progress-bar-striped" style="width: 25%">
|
||||
<span>4、订购完成</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p class="no-data"><span class="red"><i class="fa fa-spinner fa-spin fa-fw"></i></span> 等待支付!</p>
|
||||
{$sHtml}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $is_submit}
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
setTimeout(function(){
|
||||
document.forms['paysubmit'].submit();
|
||||
},300);
|
||||
|
||||
setInterval(function(){
|
||||
$.ajax({
|
||||
url : " {:config('base_url')} " + "/user/pay/notify.html",
|
||||
type : 'post',
|
||||
data : {'order_id':"{$order_no}"},
|
||||
success : function(data){
|
||||
if(data.code === 1){
|
||||
window.location
|
||||
}
|
||||
},
|
||||
dataType : 'json'
|
||||
})
|
||||
},10000);
|
||||
})
|
||||
</script>
|
||||
{/if}
|
||||
<div class="footer">
|
||||
<div class="warp">
|
||||
<p>Copyright © 2013-2016 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> 版权所有</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,138 +0,0 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="style"}
|
||||
<link href="__PUBLIC__/plugs/avatar/css/style.css" rel="stylesheet" type="text/css" media="all">
|
||||
<script type="text/javascript" src="__PUBLIC__/plugs/avatar/js/ShearPhoto.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/plugs/avatar/js/alloyimage.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/plugs/avatar/js/handle.js"></script>
|
||||
{/block}
|
||||
{block name="body"}
|
||||
<div class="tabs-wrapper">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#editpw" data-toggle="tab">修改头像</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade in active" id="editpw">
|
||||
|
||||
<div id="shearphoto_loading">程序加载中......</div>
|
||||
<!--这是2.2版本加入的缓冲效果,JS方法加载前显示的等待效果-->
|
||||
<div id="shearphoto_main">
|
||||
<!--效果开始.............如果你不要特效,可以直接删了........-->
|
||||
<div class="Effects" id="shearphoto_Effects" autocomplete="off">
|
||||
<strong class="EffectsStrong">截图效果</strong>
|
||||
<a href="javascript:;" StrEvent="原图" class="Aclick"><img src="__PUBLIC__/plugs/avatar/images/Effects/e0.jpg" />原图</a>
|
||||
<a href="javascript:;" StrEvent="美肤"><img src="__PUBLIC__/plugs/avatar/images/Effects/e1.jpg" />美肤效果</a>
|
||||
<a href="javascript:;" StrEvent="素描"><img src="__PUBLIC__/plugs/avatar/images/Effects/e2.jpg" />素描效果</a>
|
||||
<a href="javascript:;" StrEvent="自然增强"><img src="__PUBLIC__/plugs/avatar/images/Effects/e3.jpg" />自然增强</a>
|
||||
<a href="javascript:;" StrEvent="紫调"><img src="__PUBLIC__/plugs/avatar/images/Effects/e4.jpg" />紫调效果</a>
|
||||
<a href="javascript:;" StrEvent="柔焦"><img src="__PUBLIC__/plugs/avatar/images/Effects/e5.jpg" />柔焦效果</a>
|
||||
<a href="javascript:;" StrEvent="复古"><img src="__PUBLIC__/plugs/avatar/images/Effects/e6.jpg" />复古效果</a>
|
||||
<a href="javascript:;" StrEvent="黑白"><img src="__PUBLIC__/plugs/avatar/images/Effects/e7.jpg" />黑白效果</a>
|
||||
<a href="javascript:;" StrEvent="仿lomo"><img src="__PUBLIC__/plugs/avatar/images/Effects/e8.jpg" />仿lomo</a>
|
||||
<a href="javascript:;" StrEvent="亮白增强"><img src="__PUBLIC__/plugs/avatar/images/Effects/e9.jpg" />亮白增强</a>
|
||||
<a href="javascript:;" StrEvent="灰白"><img src="__PUBLIC__/plugs/avatar/images/Effects/e10.jpg" />灰白效果</a>
|
||||
<a href="javascript:;" StrEvent="灰色"><img src="__PUBLIC__/plugs/avatar/images/Effects/e11.jpg" />灰色效果</a>
|
||||
<a href="javascript:;" StrEvent="暖秋"><img src="__PUBLIC__/plugs/avatar/images/Effects/e12.jpg" />暖秋效果</a>
|
||||
<a href="javascript:;" StrEvent="木雕"><img src="__PUBLIC__/plugs/avatar/images/Effects/e13.jpg" />木雕效果</a>
|
||||
<a href="javascript:;" StrEvent="粗糙"><img src="__PUBLIC__/plugs/avatar/images/Effects/e14.jpg" />粗糙效果</a>
|
||||
</div>
|
||||
<!--效果结束...........................如果你不要特效,可以直接删了.....................................................-->
|
||||
<!--primary范围开始-->
|
||||
<div class="primary">
|
||||
<!--main范围开始-->
|
||||
<div id="main">
|
||||
<div class="point">
|
||||
</div>
|
||||
<!--选择加载图片方式开始-->
|
||||
<div id="SelectBox">
|
||||
<form id="ShearPhotoForm" enctype="multipart/form-data" method="post" target="POSTiframe">
|
||||
<input name="shearphoto" type="hidden" value="我要传参数" autocomplete="off">
|
||||
<!--示例传参数到服务端,后端文件UPLOAD.php用$_POST['shearphoto']接收,注意:HTML5切图时,这个参数是不会传的-->
|
||||
<a href="javascript:;" id="selectImage">
|
||||
<input type="file" name="UpFile" autocomplete="off" />
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
<!--选择加载图片方式结束-->
|
||||
<div id="relat">
|
||||
<div id="black">
|
||||
</div>
|
||||
<div id="movebox">
|
||||
<div id="smallbox">
|
||||
<img src="__PUBLIC__/plugs/avatar/images/default.gif" class="MoveImg" />
|
||||
<!--截框上的小图-->
|
||||
</div>
|
||||
<!--动态边框开始-->
|
||||
<i id="borderTop">
|
||||
</i>
|
||||
|
||||
<i id="borderLeft">
|
||||
</i>
|
||||
|
||||
<i id="borderRight">
|
||||
</i>
|
||||
|
||||
<i id="borderBottom">
|
||||
</i>
|
||||
<!--动态边框结束-->
|
||||
<i id="BottomRight">
|
||||
</i>
|
||||
<i id="TopRight">
|
||||
</i>
|
||||
<i id="Bottomleft">
|
||||
</i>
|
||||
<i id="Topleft">
|
||||
</i>
|
||||
<i id="Topmiddle">
|
||||
</i>
|
||||
<i id="leftmiddle">
|
||||
</i>
|
||||
<i id="Rightmiddle">
|
||||
</i>
|
||||
<i id="Bottommiddle">
|
||||
</i>
|
||||
</div>
|
||||
<img src="__PUBLIC__/plugs/avatar/images/default.gif" class="BigImg" />
|
||||
<!--MAIN上的大图-->
|
||||
</div>
|
||||
</div>
|
||||
<!--main范围结束-->
|
||||
<div style="clear: both"></div>
|
||||
<!--工具条开始-->
|
||||
<div id="Shearbar">
|
||||
<a id="LeftRotate" href="javascript:;">
|
||||
<em>
|
||||
</em> 向左旋转
|
||||
</a>
|
||||
<em class="hint L">
|
||||
</em>
|
||||
<div class="ZoomDist" id="ZoomDist">
|
||||
<div id="Zoomcentre">
|
||||
</div>
|
||||
<div id="ZoomBar">
|
||||
</div>
|
||||
<span class="progress">
|
||||
</span>
|
||||
</div>
|
||||
<em class="hint R">
|
||||
</em>
|
||||
<a id="RightRotate" href="javascript:;">
|
||||
向右旋转
|
||||
<em>
|
||||
</em>
|
||||
</a>
|
||||
<p class="Psava">
|
||||
<a id="againIMG" href="javascript:;">重新选择</a>
|
||||
<a id="saveShear" href="javascript:;">保存截图</a>
|
||||
</p>
|
||||
</div>
|
||||
<!--工具条结束-->
|
||||
</div>
|
||||
<!--primary范围结束-->
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<!--shearphoto_main范围结束-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -1,40 +0,0 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="body"}
|
||||
<form method="post" class="form form-horizontal">
|
||||
<div class="tabs-wrapper">
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#editpw" data-toggle="tab">密码修改</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade in active" id="editpw">
|
||||
<form method="post" class="form form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">原密码:</label>
|
||||
<div class="col-lg-6 col-sm-10">
|
||||
<input type="password" name="oldpassword" class="form-control " autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">新密码:</label>
|
||||
<div class="col-lg-6 col-sm-10">
|
||||
<input type="password" name="password" class="form-control " autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">确认密码:</label>
|
||||
<div class="col-lg-6 col-sm-10">
|
||||
<input type="password" name="repassword" class="form-control " autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<button class="btn btn-success submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>
|
||||
<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{/block}
|
||||
@@ -1,31 +0,0 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="body"}
|
||||
<form method="post" class="form form-horizontal">
|
||||
<div class="tabs-wrapper">
|
||||
<ul class="nav nav-tabs">
|
||||
{volist name="fieldGroup" id="vGroup"}
|
||||
<li {if $i eq 1}class="active"{/if}><a href="#tab{$key}" data-toggle="tab">{$key}</a></li>
|
||||
{/volist}
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
{volist name="fieldGroup" id="vGroup"}
|
||||
<div class="tab-pane fade {if condition="$i eq 1"}in active{/if}" id="tab{$key}">
|
||||
{volist name="vGroup" id="field"}
|
||||
{if $field['type'] eq 'hidden'}
|
||||
<input type="hidden" name="{$field['name']}" value="{$info[$field['name']]|default=''}"/>
|
||||
{else/}
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-lg-8 col-sm-10">
|
||||
{:widget('common/Form/show',array($field,$info))}
|
||||
<div class="help-block">{$field['help']|default=''}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{/block}
|
||||
@@ -1,96 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
<title>{if isset($title)}{$title} - {/if}会员中心 - Powered by TenSent,Inc.</title>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap/bootstrap.min.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/font-awesome.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/nanoscroller.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/common.css"/>
|
||||
<!-- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700,300|Titillium+Web:200,300,400' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/style.css"/>
|
||||
<script src="__PUBLIC__/js/jquery.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="__PUBLIC__/js/html5shiv.js"></script>
|
||||
<script src="__PUBLIC__/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">
|
||||
var BASE_URL = "{:config('base_url')}"; //根目录地址
|
||||
</script>
|
||||
{block name="style"}{/block}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="top">
|
||||
<div class="warp">
|
||||
<div class="pull-left">
|
||||
<a href="{:url('user/index/index')}" class="user-home">会员中心</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<span class="user dropdown profile-dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> {:session('user_auth.username')} <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
<li><a href="{:url('user/profile/index')}">资料修改</a></li>
|
||||
<li><a href="{:url('user/profile/editpw')}">修改密码</a></li>
|
||||
<li><a href="{:url('user/login/logout')}">退出</a></li>
|
||||
</ul>
|
||||
</span>
|
||||
<a href="{:url('index/index/index')}">网站首页</a>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="warp userinfo">
|
||||
<div class="avatar">
|
||||
<img src="{:avatar($user['uid'])}" alt="">
|
||||
</div>
|
||||
<div class="info">
|
||||
<span class="username">{$user['username']}</span>
|
||||
<span class="desc">签名:{$user['signature']}</span>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="warp user-body">
|
||||
<div class="pull-left left">
|
||||
{include file="public/left_nav" /}
|
||||
</div>
|
||||
<div class="pull-left right">
|
||||
{block name="body"}{/block}
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<div class="warp">
|
||||
<p>Copyright © 2013-2016 <a href="http://www.tensent.cn" target="_blank">腾速科技</a> 版权所有</p>
|
||||
</div>
|
||||
</div>
|
||||
<script src="__PUBLIC__/js/bootstrap.js"></script>
|
||||
<script src="__PUBLIC__/js/jquery.nanoscroller.min.js"></script>
|
||||
<script src="__PUBLIC__/js/pace.min.js"></script>
|
||||
|
||||
<script src="__PUBLIC__/js/hopscotch.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/hopscotch.css">
|
||||
|
||||
<script src="__PUBLIC__/js/messager.js"></script>
|
||||
<script src="__JS__/app.js"></script>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var SentCMS = window.Sent = {
|
||||
"ROOT" : "__ROOT__", //当前网站地址
|
||||
"APP" : "__APP__", //当前项目地址
|
||||
"PUBLIC" : "__PUBLIC__", //项目公共目录地址
|
||||
"DEEP" : "{:config('URL_PATHINFO_DEPR')}", //PATHINFO分割符
|
||||
"MODEL" : ["{:config('URL_MODEL')}", "{:config('URL_CASE_INSENSITIVE')}", "{:config('URL_HTML_SUFFIX')}"],
|
||||
"VAR" : ["{:config('VAR_MODULE')}", "{:config('VAR_CONTROLLER')}", "{:config('VAR_ACTION')}"]
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script src="__PUBLIC__/js/core.js"></script>
|
||||
{block name="script"}{/block}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,77 +0,0 @@
|
||||
{extend name="public/base" /}
|
||||
{block name="style"}
|
||||
<link rel="stylesheet" href="__PUBLIC__/plugs/tagsinput/bootstrap-tagsinput.css">
|
||||
<script src="__PUBLIC__/plugs/tagsinput/bootstrap-tagsinput.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/plugs/webuploader/webuploader.css">
|
||||
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/plugs/ueditor/ueditor.config.js"></script>
|
||||
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/plugs/ueditor/ueditor.all.min.js"></script>
|
||||
<!-- datepicker statr -->
|
||||
<link href="__PUBLIC__/plugs/datepicker/css/foundation-datepicker.min.css" rel="stylesheet" type="text/css">
|
||||
<script src="__PUBLIC__/plugs/datepicker/js/foundation-datepicker.js"></script>
|
||||
<script src="__PUBLIC__/plugs/datepicker/js/foundation-datepicker.zh-CN.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/plugs/board/board.min.css">
|
||||
<!-- datepicker end -->
|
||||
{/block}
|
||||
{block name="body"}
|
||||
<form method="post" class="form form-horizontal">
|
||||
{if !isset($info)}
|
||||
{assign name="info" value="" /}
|
||||
{/if}
|
||||
{if !empty($fieldGroup)}
|
||||
<div class="tabs-wrapper">
|
||||
<ul class="nav nav-tabs">
|
||||
{volist name="fieldGroup" id="vGroup"}
|
||||
<li {if $i eq 1}class="active"{/if}><a href="#tab{$key}" data-toggle="tab">{$key}</a></li>
|
||||
{/volist}
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
{volist name="fieldGroup" id="vGroup"}
|
||||
<div class="tab-pane fade {if condition="$i eq 1"}in active{/if}" id="tab{$key}">
|
||||
{volist name="vGroup" id="field"}
|
||||
{if $field['type'] eq 'hidden'}
|
||||
<input type="hidden" name="{$field['name']}" value="{$info[$field['name']]|default=''}"/>
|
||||
{else/}
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-lg-8 col-sm-10">
|
||||
{:widget('common/Form/show',array($field,$info))}
|
||||
<div class="help-block">{$field['help']|default=''}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/volist}
|
||||
</div>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{else/}
|
||||
{volist name="keyList" id="field"}
|
||||
{if $field['type'] eq 'hidden'}
|
||||
<input type="hidden" name="{$field['name']}" value="{$info[$field['name']]|default=''}"/>
|
||||
{else/}
|
||||
<div class="form-group">
|
||||
<label class="col-lg-2 control-label">{$field['title']|htmlspecialchars}</label>
|
||||
<div class="col-lg-8 col-sm-10">
|
||||
{:widget('common/Form/show',array($field,$info))}
|
||||
<div class="help-block">{$field['help']|default=''}</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/volist}
|
||||
{/if}
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-2 col-lg-10">
|
||||
<input type="hidden" name="id" value="{$info['id']|default=''}">
|
||||
<button class="btn btn-success submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>
|
||||
<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{/block}
|
||||
{block name="script"}
|
||||
<script type="text/javascript" src="__PUBLIC__/plugs/webuploader/webuploader.min.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/plugs/webuploader/webuploader.custom.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/js/droppable.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/plugs/board/board.min.js"></script>
|
||||
{/block}
|
||||
@@ -1,8 +0,0 @@
|
||||
{volist name="__MENU__" id="submenu"}
|
||||
<ul class="left-nav">
|
||||
<h3><i class="fa fa-cube"></i> {$key}</h3>
|
||||
{volist name="submenu" id="item"}
|
||||
<li class="{$item['active']}"><a href="{$item['url']|get_nav_url}"><i class="fa fa-{$item['icon']|default='list'}"></i> {$item['title']}</a> <span class="pull-right"><i class="fa fa-chevron-right text-primary"></i></span></li>
|
||||
{/volist}
|
||||
</ul>
|
||||
{/volist}
|
||||
Reference in New Issue
Block a user