Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-frontend
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
10 years ago
Commit
2cd15385471ff7daaa542c4e3a54c444b83b6c1b
1 parent
a6827de1
恢复开发代码结构
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
11 deletions
mobile/layouts/layout.html
mobile/views/partials/footer-js/ps.html
mobile/views/partials/footer-js/saunter.html
mobile/views/partials/footer-js/tag.html
mobile/views/partials/footer-js/template.html
mobile/views/partials/footer.html
mobile/views/partials/header.html
mobile/layouts/layout.html
View file @
2cd1538
...
...
@@ -8,11 +8,11 @@
{{> header}}
</head>
<body>
<div
id=
"login-tip"
class=
"login-tip"
>
未登录
</div>
<input
id=
"is-login"
type=
"hidden"
value=
"{{isLogin}}"
>
<div
id=
"container"
>
{{{body}}}
</div>
<div
id=
"login-tip"
class=
"login-tip"
>
未登录
</div>
<input
id=
"is-login"
type=
"hidden"
value=
"{{isLogin}}"
>
</body>
{{> footer}}
</html>
\ No newline at end of file
...
...
mobile/views/partials/footer-js/ps.html
View file @
2cd1538
<
!--<script src="http://localhost:8000/public/js/ps.js"></script>--
>
<
script
src=
"http://localhost:8000/public/js/ps.js"
></script
>
<script
type=
"text/javascript"
>
seajs
.
use
(
'public/js/ps'
,
function
(
ps
)
{
if
(
ps
)
{
...
...
mobile/views/partials/footer-js/saunter.html
View file @
2cd1538
<
!--<script src="http://localhost:8000/public/js/saunter.js"></script>--
>
<
script
src=
"http://localhost:8000/public/js/saunter.js"
></script
>
<script
type=
"text/javascript"
>
seajs
.
use
(
'public/js/saunter'
,
function
(
saunter
)
{
var
u
=
navigator
.
userAgent
;
...
...
mobile/views/partials/footer-js/tag.html
View file @
2cd1538
<
!--<script src="http://localhost:8000/public/js/tag.js"></script>--
>
<
script
src=
"http://localhost:8000/public/js/tag.js"
></script
>
<script
type=
"text/javascript"
>
seajs
.
use
(
'public/js/tag'
,
function
(
tag
)
{
if
(
tag
)
{
...
...
mobile/views/partials/footer-js/template.html
View file @
2cd1538
<
!--<script src="http://localhost:8000/public/js/template.js"></script>--
>
<
script
src=
"http://localhost:8000/public/js/template.js"
></script
>
<script
type=
"text/javascript"
>
seajs
.
use
(
'public/js/template'
,
function
(
tpl
)
{
if
(
tpl
)
{
...
...
mobile/views/partials/footer.html
View file @
2cd1538
<
!--<
script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
<script
src=
"http://localhost:8000/static/js/sea.js?nowrap"
></script>
<script>
seajs
.
config
({
base
:
'http://localhost:8000/'
})
</script>
<script src="http://localhost:8000/public/dist/libs-dev.js"></script>-->
<script
src=
"http://cdn.yoho.cn/yohobuy-mobile/1.1.0/libs.js"
></script>
<script
src=
"http://cdn.yoho.cn/yohobuy-mobile/1.1.0/index.js"
></script>
<script
src=
"http://localhost:8000/public/dist/libs-dev.js"
></script>
{{! 根据标识字段添加模块对应JS入口文件}}
{{# isSaunter}}
{{> footer_js/saunter}}
...
...
mobile/views/partials/header.html
View file @
2cd1538
...
...
@@ -17,4 +17,4 @@
doc
.
addEventListener
(
'DOMContentLoaded'
,
recalc
,
false
);
})(
document
,
window
);
</script>
<link
rel=
"stylesheet"
href=
"http://cdn.yoho.cn/yohobuy-mobile/1.1.0/index.css"
>
\ No newline at end of file
<link
rel=
"stylesheet"
href=
"../css/index.css"
>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment