This commit is contained in:
14
js/index.js
14
js/index.js
@@ -210,14 +210,12 @@ $(function () {
|
|||||||
loading: true,
|
loading: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
// 点击显示图片
|
// 点击显示图片
|
||||||
$(".cert-item,.practice-box,.brand-box").click(function () {
|
$(".cert-item,.practice-box,.brand-box").click(function () {
|
||||||
// 设置图片
|
// 设置图片
|
||||||
$("#viewer").attr("src", $(this).find("img").attr("src"));
|
$("#viewer").attr("src", $(this).find("img").attr("src"));
|
||||||
viewer.show();
|
viewer.show();
|
||||||
});
|
});
|
||||||
|
|
||||||
initBannerSwiper();
|
|
||||||
function formateTimeFun(time) {
|
function formateTimeFun(time) {
|
||||||
const date = new Date(time * 1000);
|
const date = new Date(time * 1000);
|
||||||
Y = date.getFullYear() + "-";
|
Y = date.getFullYear() + "-";
|
||||||
|
|||||||
Reference in New Issue
Block a user