Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
bdideal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cc27f0cb
authored
Feb 28, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
8c577267
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
41 deletions
+83
-41
html/products.html
+0
-0
js/tools.js
+83
-41
No files found.
html/products.html
View file @
cc27f0cb
This diff is collapsed.
Click to expand it.
js/tools.js
View file @
cc27f0cb
Date
.
prototype
.
Format
=
function
(
fmt
)
{
//author: meizz
Date
.
prototype
.
Format
=
function
(
fmt
)
{
//author: meizz
var
o
=
{
"M+"
:
this
.
getMonth
()
+
1
,
//月份
"d+"
:
this
.
getDate
(),
//日
"h+"
:
this
.
getHours
(),
//小时
"m+"
:
this
.
getMinutes
(),
//分
"s+"
:
this
.
getSeconds
(),
//秒
"q+"
:
Math
.
floor
((
this
.
getMonth
()
+
3
)
/
3
),
//季度
"S"
:
this
.
getMilliseconds
()
//毫秒
'M+'
:
this
.
getMonth
()
+
1
,
//月份
'd+'
:
this
.
getDate
(),
//日
'h+'
:
this
.
getHours
(),
//小时
'm+'
:
this
.
getMinutes
(),
//分
's+'
:
this
.
getSeconds
(),
//秒
'q+'
:
Math
.
floor
((
this
.
getMonth
()
+
3
)
/
3
),
//季度
S
:
this
.
getMilliseconds
()
//毫秒
};
if
(
/
(
y+
)
/
.
test
(
fmt
))
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
this
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
));
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
this
.
getFullYear
()
+
''
).
substr
(
4
-
RegExp
.
$1
.
length
)
);
for
(
var
k
in
o
)
if
(
new
RegExp
(
"("
+
k
+
")"
).
test
(
fmt
))
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
(
RegExp
.
$1
.
length
==
1
)
?
(
o
[
k
])
:
((
"00"
+
o
[
k
]).
substr
((
""
+
o
[
k
]).
length
)));
if
(
new
RegExp
(
'('
+
k
+
')'
).
test
(
fmt
))
fmt
=
fmt
.
replace
(
RegExp
.
$1
,
RegExp
.
$1
.
length
==
1
?
o
[
k
]
:
(
'00'
+
o
[
k
]).
substr
((
''
+
o
[
k
]).
length
)
);
return
fmt
;
}
};
this
.
ideal
=
this
.
ideal
||
{};
(
function
(
window
)
{
(
function
(
window
)
{
function
GetRequest
(
key
)
{
var
url
=
location
.
search
;
//获取url中"?"符后的字串
var
theRequest
=
new
Object
();
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
if
(
url
.
indexOf
(
'?'
)
!=
-
1
)
{
var
str
=
url
.
substr
(
1
);
strs
=
str
.
split
(
"&"
);
strs
=
str
.
split
(
'&'
);
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
decodeURI
(
strs
[
i
].
split
(
"="
)[
1
]);
theRequest
[
strs
[
i
].
split
(
'='
)[
0
]]
=
decodeURI
(
strs
[
i
].
split
(
'='
)[
1
]);
}
}
if
(
key
)
{
if
(
key
)
{
return
theRequest
[
key
];
}
else
{
return
theRequest
;
}
}
ideal
.
getUrlQuery
=
GetRequest
ideal
.
getUrlQuery
=
GetRequest
;
// 解决方案列表
// type 123 大数据可视化 | 数字展厅 | 数字互动展厅解决方案
ideal
.
produtsList
=
[
{
id
:
1
,
proName
:
'隆基泰和大数据分析决策系统'
,
images
:
[],
imagesUrl
:
'http://bdideal.com/asset/img/homepro9.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
2
,
proName
:
'隆基泰和大数据分析决策系统'
,
images
:
[],
imagesUrl
:
'http://bdideal.com/asset/img/homepro10.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
3
,
proName
:
'隆基泰和大数据分析决策系统'
,
images
:
[],
imagesUrl
:
'http://bdideal.com/asset/img/homepro8.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
4
,
proName
:
'隆基泰和大数据分析决策系统'
,
images
:
[],
imagesUrl
:
'http://bdideal.com/asset/img/homepro7.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
5
,
proName
:
'隆基泰和大数据分析决策系统'
,
images
:
[],
imagesUrl
:
'http://bdideal.com/asset/img/homepro6.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
6
,
proName
:
'隆基泰和大数据分析决策系统'
,
images
:
[],
imagesUrl
:
'http://bdideal.com/asset/img/homepro5.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
7
,
proName
:
'隆基泰和大数据分析决策系统'
,
imagesUrl
:
'http://bdideal.com/asset/img/homepro4.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
8
,
proName
:
'隆基泰和大数据分析决策系统'
,
imagesUrl
:
'http://bdideal.com/asset/img/homepro3.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
9
,
proName
:
'隆基泰和大数据分析决策系统'
,
imagesUrl
:
'http://bdideal.com/asset/img/homepro2.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
},
{
id
:
10
,
proName
:
'隆基泰和大数据分析决策系统'
,
imagesUrl
:
'http://bdideal.com/asset/img/homepro1.jpg'
,
tags
:
[
'客群画像'
,
'视频直播'
,
'实时客流'
,
'动线热力图'
],
type
:
1
}
];
ideal
.
dynamicList
=
[
{
id
:
1
,
title
:
"数字理想作为优秀被投企业受邀参加哈工创投三周年庆典"
,
date
:
'2019.01.18'
,
type
:
"商讯"
,
title
:
'数字理想作为优秀被投企业受邀参加哈工创投三周年庆典'
,
date
:
'2019.01.21'
,
imagesUrl
:
'../img/dynamics1.png'
,
type
:
'大数据'
,
images
:
[]
},
{
id
:
2
,
title
:
"数字理想作为优秀被投企业受邀参加哈工创投三周年庆典"
,
date
:
'2019.01.18'
,
type
:
"商讯"
,
title
:
'数字理想用120个昼夜在潼湖实现了一个小目标'
,
date
:
'2018.11.29'
,
type
:
'数据可视化'
,
imagesUrl
:
'../img/dynamics2.png'
,
images
:
[]
},
{
id
:
3
,
title
:
"数字理想作为优秀被投企业受邀参加哈工创投三周年庆典"
,
date
:
'2019.01.18'
,
type
:
"商讯"
,
title
:
'可视化百人谈丨彭群生:可视化应成为辅助思维的有力工具'
,
date
:
'2019.02.15'
,
type
:
'数据可视化'
,
imagesUrl
:
'../img/dynamics3.png'
,
images
:
[]
},
{
id
:
4
,
title
:
"数字理想作为优秀被投企业受邀参加哈工创投三周年庆典"
,
date
:
'2019.01.18'
,
type
:
"商讯"
,
title
:
'《新闻1+1》大数据里,我们过了怎样的年?'
,
date
:
'2019.01.21'
,
imagesUrl
:
'../img/dynamics4.png'
,
type
:
'大数据'
,
images
:
[]
}
]
})(
this
)
\ No newline at end of file
];
})(
this
);
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