【文件属性】:
文件名称:H5 jQuery分步流程插件.zip
文件大小:36KB
文件格式:ZIP
更新时间:2022-07-31 03:05:49
js特效-H5 jQuery分步流程插件
代码片段:
$(function () {
initStep();
});
function initStep() {
$(".steps").step({
stepNames: ['购买', '付款', '发货', '收货', '评价', '完成'],
initStep: 3
})
}
function previousStep() {
$(".steps").step("previous");
}
function nextStep() {
$(".steps").step("next");
}
function gotoStep(step) {
$(".steps").step("goto", step)
}