Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
518ca13d
authored
Jan 30, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
客户端时间不一致
parent
d78d60b6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
public/index.html
src/store/modules/home.js
view/index.html
view/js/app.2205797d.js → view/js/app.7d27d685.js
public/index.html
View file @
518ca13d
...
...
@@ -19,8 +19,8 @@
<meta
name=
"description"
content=
"猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。"
>
<meta
name=
"keywords"
content=
"猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"stylesheet"
href=
"/v3/dist/res/m/css/font/iconfont.css"
>
<!--
测试站调试
<script src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script>
-->
...
...
@@ -28,7 +28,6 @@
<script
type=
"text/javascript"
>
var
fwtimes
=
window
.
fwtime
-
(
Math
.
floor
((
new
Date
().
getTime
())
/
1000
));
//获取服务器时间差
</script>
<link
rel=
"stylesheet"
href=
"/v3/dist/res/m/css/font/iconfont.css"
>
<script
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"<%= BASE_URL %>static/js/flexible.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"<%= BASE_URL %>static/js/shence.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
...
...
src/store/modules/home.js
View file @
518ca13d
...
...
@@ -28,6 +28,11 @@ const actions = {
type
:
'index'
,
data
:
data
.
data
});
}
else
if
(
data
.
err_code
==
2
)
{
Toast
({
message
:
'非常抱歉,当前客户端时间与服务器时间不一致,请校准您的时间'
,
duration
:
1500
});
}
}).
catch
(
function
(
err
)
{
state
.
loading
=
false
;
...
...
view/index.html
View file @
518ca13d
<!DOCTYPE HTML>
<html
lang=
zh-CN
><head><title></title><meta
name=
author
content=
www.ichunt.com
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"
><meta
http-equiv=
Content-Type
content=
"text/html;charset=utf-8"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><meta
name=
format-detection
content=
"telephone=no"
><meta
http-equiv=
Expires
content=
-1
><meta
http-equiv=
Cache-Control
content=
no-cache
><meta
http-equiv=
Pragma
content=
no-cache
><meta
name=
full-screen
content=
yes
><meta
name=
browsermode
content=
application
><meta
name=
x5-fullscreen
content=
true
><meta
name=
x5-page-mode
content=
app
><meta
name=
description
content=
猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。
><meta
name=
keywords
content=
猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,
><link
rel=
icon
href=
//h5static.ichunt.com/favicon.ico
><
script
src=
get_time.php
></script><script>
var
fwtimes
=
window
.
fwtime
-
(
Math
.
floor
((
new
Date
().
getTime
())
/
1000
));
//获取服务器时间差
</script><link
rel=
stylesheet
href=
/v3/dist/res/m/css/font/iconfont.css
><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/flexible.min.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/shence.min.js
charset=
utf-8
></script><link
href=
//h5static.ichunt.com/css/chunk-25d47f48.3c469a98.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-25d47f48.9064b7e2.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.2205797d
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
stylesheet
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
stylesheet
></head><body><noscript><strong>
网站出现了一点小问题,正在修复中.......
</strong></noscript><div
id=
app
></div><script>
function
SetCookie
(
name
,
value
,
time
,
domain
)
{
<!DOCTYPE HTML>
<html
lang=
zh-CN
><head><title></title><meta
name=
author
content=
www.ichunt.com
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,user-scalable=no,minimal-ui"
><meta
http-equiv=
Content-Type
content=
"text/html;charset=utf-8"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><meta
name=
format-detection
content=
"telephone=no"
><meta
http-equiv=
Expires
content=
-1
><meta
http-equiv=
Cache-Control
content=
no-cache
><meta
http-equiv=
Pragma
content=
no-cache
><meta
name=
full-screen
content=
yes
><meta
name=
browsermode
content=
application
><meta
name=
x5-fullscreen
content=
true
><meta
name=
x5-page-mode
content=
app
><meta
name=
description
content=
猎芯网,快速成长的专业电子元器件商城,贸泽(MOUSER)全系产品、e络盟(element14)树莓派系列产品授权经销商,已获得多轮风险投资。为客户提供电子元器件现货,IC采购,进口报关,电子元器件寄售,供应链金融等一站式电子元器件采购服务。
><meta
name=
keywords
content=
猎芯网,电子元器件采购,电子元器件商城,电子元器件现货,IC采购网,电子元器件寄售,电子元件,元器件商城,元器件采购,电子商城,
><link
rel=
icon
href=
//h5static.ichunt.com/favicon.ico
><
link
rel=
stylesheet
href=
/v3/dist/res/m/css/font/iconfont.css
><script
src=
get_time.php
></script><script>
var
fwtimes
=
window
.
fwtime
-
(
Math
.
floor
((
new
Date
().
getTime
())
/
1000
));
//获取服务器时间差
</script><script
src=
https://res.wx.qq.com/open/js/jweixin-1.3.2.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/flexible.min.js
charset=
utf-8
></script><script
src=
//h5static.ichunt.com/static/js/shence.min.js
charset=
utf-8
></script><link
href=
//h5static.ichunt.com/css/chunk-25d47f48.3c469a98.css
rel=
prefetch
><link
href=
//h5static.ichunt.com/js/chunk-25d47f48.9064b7e2.js
rel=
prefetch
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
preload
as=
style
><link
href=
//h5static.ichunt.com/js/app.7d27d685
.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
rel=
preload
as=
script
><link
href=
//h5static.ichunt.com/css/chunk-vendors.521d5c8e.css
rel=
stylesheet
><link
href=
//h5static.ichunt.com/css/app.adc8e432.css
rel=
stylesheet
></head><body><noscript><strong>
网站出现了一点小问题,正在修复中.......
</strong></noscript><div
id=
app
></div><script>
function
SetCookie
(
name
,
value
,
time
,
domain
)
{
domain
=
domain
?
";domain="
+
domain
:
""
;
var
Days
=
time
;
var
exp
=
new
Date
();
...
...
@@ -224,4 +224,4 @@
user_rank
:
'0'
});
sensors
.
quick
(
'autoTrack'
);
}
</script><script
src=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
></script><script
src=
//h5static.ichunt.com/js/app.2205797d.js
></script></body></html>
\ No newline at end of file
}
</script><script
src=
//h5static.ichunt.com/js/chunk-vendors.9ec4e864.js
></script><script
src=
//h5static.ichunt.com/js/app.7d27d685.js
></script></body></html>
\ No newline at end of file
view/js/app.
2205797d
.js
→
view/js/app.
7d27d685
.js
View file @
518ca13d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment