Process Progress
//渲染进度条 var processNames = ["流程一", "流程二", "流程三", "流程四", "流程五", "流程六"], progressWidget; if (typeof progressWidget == "undefined") require(["component/process_components"], function(w) { progressWidget = w.progress("progress", processNames, 0); //progressWidget = $we.widget.add("process.progress", "progress", processNames, 0); progressWidget.render(); }); else progressWidget.render();
progressWidget.setCur(2);
//渲染进度条 var processNames = ["流程一", "流程二", "流程三", "流程四", "流程五", "流程六"], stripeProgressWidget; if (typeof stripeProgressWidget == "undefined") require(["component/process_components"], function(w) { stripeProgressWidget = w.stripeprogress("stripeprogress", processNames, 1); stripeProgressWidget.render(); }); else stripeProgressWidget.render();
stripeProgressWidget.setCur(2);