8edf6267 by 任超

style:样式

1 parent f2251464
...@@ -65,5 +65,15 @@ function clicklogin(data){ ...@@ -65,5 +65,15 @@ function clicklogin(data){
65 }); 65 });
66 } 66 }
67 67
68 68 // 点击判断是否登录
69 function isLogin() {
70 let login1;
71 if(getCookie().username) {
72 login1 = true;
73 }else {
74 login();
75 login1 = false;
76 }
77 return login1;
78 }
69 79
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -99,13 +99,13 @@ function setArticleSteps() { ...@@ -99,13 +99,13 @@ function setArticleSteps() {
99 case 1: 99 case 1:
100 ArticleContent.append('<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">' + item.stepname + '</h5></li>'); 100 ArticleContent.append('<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">' + item.stepname + '</h5></li>');
101 if ((index + 1) < business.stepList.length) { 101 if ((index + 1) < business.stepList.length) {
102 ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="50%"></div></li>'); 102 ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" style="width: 50%;" lay-percent="50%"></div></li>');
103 } 103 }
104 break; 104 break;
105 case 2: 105 case 2:
106 ArticleContent.append('<li class="item_proress"><p class="active"></p><h5>' + item.stepname + '</h5></li>'); 106 ArticleContent.append('<li class="item_proress"><p class="active"></p><h5>' + item.stepname + '</h5></li>');
107 if ((index + 1) < business.stepList.length) { 107 if ((index + 1) < business.stepList.length) {
108 ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="100%"></div></li>'); 108 ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" style="width:100%" lay-percent="100%"></div></li>');
109 } 109 }
110 break; 110 break;
111 } 111 }
......
...@@ -33,7 +33,9 @@ $(function () { ...@@ -33,7 +33,9 @@ $(function () {
33 _initData() 33 _initData()
34 // 网上申请 34 // 网上申请
35 $(document).on("click", ".handleBus", function (e) { 35 $(document).on("click", ".handleBus", function (e) {
36 if (isLogin()) {
36 getInitiateFLow($(this).attr("ywid"),$(this).attr("businessNo")); 37 getInitiateFLow($(this).attr("ywid"),$(this).attr("businessNo"));
38 }
37 }) 39 })
38 }) 40 })
39 41
......