Browse Source

按键程序

mzx16822 6 years ago
parent
commit
f9fe2caef3
2 changed files with 6 additions and 6 deletions
  1. 5 6
      public/plugins/layui/css/main.css
  2. 1 0
      resources/views/home/user.blade.php

+ 5 - 6
public/plugins/layui/css/main.css

@@ -198,16 +198,15 @@ body{
     position: relative;
 }
 .qs-item li.on,.qs-item li.cur_answer{
-/*      background: url(../img/check-true.png) no-repeat center; */
-     background-size:100%;
+background-color:#009688;
      color: #FFF;
-        box-shadow: 0 0.1rem 0rem #7e8cdd;
-}
+     box-shadow: 0 0.1rem 0rem #00706f;
+  /* background: url(../img/check-true.png) no-repeat center; */background-size:100%;color: #FFF;box-shadow: 0 0.1rem 0rem #7e8cdd;}
 .qs-item .cur_answer.cur_error{/*      background: url(../img/check-error.png) no-repeat center; */background-size:100%;color: #FFF;background: #ff5970;box-shadow: 0 0.1rem 0rem #931325;}
 .qs-item .cur_answer.cur_true{
-     background-color:#009688;
+     background-color:#8BC34A;
      color: #FFF;
-     box-shadow: 0 0.1rem 0rem #00706f;
+     box-shadow: 0 0.1rem 0rem #4CAF50;
 }
 .qs-item .cur_answer.cur_error::before{content:"";position:absolute;left: .5rem;top: .5rem;width: .5rem;height: .1rem;background: #FFF;border-radius: .1rem;-webkit-transform: rotate(-45deg);transform: rotate(-45deg);}
 .qs-item .cur_answer.cur_error::after{

+ 1 - 0
resources/views/home/user.blade.php

@@ -407,6 +407,7 @@ var rules={
   "layui-btn":{
     "line":1,
     0:[0,0,0,0],
+    1:[0,0,0,1],
     "left":0,
     "right":0,
     "up":1,