Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
474f0cc542a60bfa42ccce284c11a2b0f4d79b89
2 parents
34a7fe98
26bb9fc3
merage feature/yas
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
compile/www.yohobuy.com/5.0.1/test.php
web-static/js/common.js
web-static/js/header.js
web-static/js/simple-header.js
web-static/package.json
yohobuy/www.yohobuy.com/configs/application.developer.ini
yohobuy/www.yohobuy.com/configs/application.preview.ini
yohobuy/www.yohobuy.com/configs/application.production.ini
yohobuy/www.yohobuy.com/configs/application.testing.ini
compile/www.yohobuy.com/5.0.1/test.php
0 → 100644
View file @
474f0cc
web-static/js/common.js
View file @
474f0cc
...
...
@@ -111,7 +111,7 @@ function getShoppingKey() {
a
.
async
=
1
;
a
.
src
=
j
;
m
.
parentNode
.
insertBefore
(
a
,
m
);
})(
window
,
document
,
'script'
,
(
'https:'
==
document
.
location
.
protocol
?
'https'
:
'http'
)
+
'://'
+
'cdn.yoho.cn/yas-jssdk/1.0.1
7
/yas.js'
,
'_yas'
);
})(
window
,
document
,
'script'
,
(
'https:'
==
document
.
location
.
protocol
?
'https'
:
'http'
)
+
'://'
+
'cdn.yoho.cn/yas-jssdk/1.0.1
8
/yas.js'
,
'_yas'
);
(
function
()
{
var
uid
=
getUid
();
...
...
@@ -121,7 +121,7 @@ function getShoppingKey() {
window
.
_ozuid
=
uid
;
//暴露ozuid
if
(
window
.
_yas
)
{
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
7
'
,
'yohobuy_web'
,
uid
,
''
,
''
);
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
8
'
,
'yohobuy_web'
,
uid
,
''
,
''
);
}
}());
...
...
web-static/js/header.js
View file @
474f0cc
...
...
@@ -1390,10 +1390,10 @@ function actionSearch() {
*/
function
actionLoginState
(
_data
)
{
var
timestamp
=
new
Date
().
getTime
();
var
noLoginHtml
=
'<span>Hi~</span>[<a href="//www.yohobuy.com/signin.html
"
class="list-a login-out ">'
+
var
noLoginHtml
=
'<span>Hi~</span>[<a href="//www.yohobuy.com/signin.html
?refer="'
+
window
.
location
.
href
+
'
class="list-a login-out ">'
+
'请登录</a>] '
+
'[<a href="//www.yohobuy.com/reg.html" class="list-a login-out" onclick="">免费注册</a>]'
;
var
loginHtml
=
'<span>Hi~<a href="//www.yohobuy.com/home?t='
+
timestamp
+
'[<a href="//www.yohobuy.com/reg.html?refer="'
+
window
.
location
.
href
+
' class="list-a login-out" onclick="">免费注册</a>]'
;
var
loginHtml
=
'<span>Hi~<a href="//www.yohobuy.com/home?ht='
+
timestamp
+
'">{{user_name}}</a></span> '
+
'{{#if islogin}}'
+
'[<a href="{{logout}}" class="list-a login-out">退出</a>]'
+
...
...
web-static/js/simple-header.js
View file @
474f0cc
...
...
@@ -76,8 +76,8 @@ function setLoginStatus(data) {
'<a href="//www.yohobuy.com/logout.html">[退出]</a>'
;
}
else
{
loginHtml
=
'<span>Hi~</span> '
+
'<a href="//www.yohobuy.com/signin.html">[请登录]</a> '
+
'<a href="//www.yohobuy.com/reg.html">[免费注册]</a>'
;
'<a href="//www.yohobuy.com/signin.html?refer="'
+
window
.
location
.
href
+
'>[请登录]</a> '
+
'<a href="//www.yohobuy.com/reg.html"'
+
window
.
location
.
href
+
'>[免费注册]</a>'
;
}
$
(
'.header-tool li'
).
eq
(
0
).
html
(
loginHtml
);
}
...
...
web-static/package.json
View file @
474f0cc
{
"name"
:
"web-yohobuy"
,
"version"
:
"5.0.
0
"
,
"version"
:
"5.0.
1
"
,
"description"
:
"web yohobuy static"
,
"keywords"
:
[],
"homepage"
:
""
,
...
...
yohobuy/www.yohobuy.com/configs/application.developer.ini
View file @
474f0cc
...
...
@@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version
=
"5.0.
0
"
application.version
=
"5.0.
1
"
; 网站SEO信息
application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
...
...
yohobuy/www.yohobuy.com/configs/application.preview.ini
View file @
474f0cc
...
...
@@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version
=
"5.0.
0
"
application.version
=
"5.0.
1
"
; 网站SEO信息
application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
...
...
yohobuy/www.yohobuy.com/configs/application.production.ini
View file @
474f0cc
...
...
@@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version
=
"5.0.
0
"
application.version
=
"5.0.
1
"
; 网站SEO信息
application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
...
...
yohobuy/www.yohobuy.com/configs/application.testing.ini
View file @
474f0cc
...
...
@@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version
=
"5.0.
0
"
application.version
=
"5.0.
1
"
; 网站SEO信息
application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
...
...
Please
register
or
login
to post a comment