liuyg
2021-06-11 96144595b4149245c3e8e8279fe367ca924dcfe4
下拉
2 files modified
18 ■■■■■ changed files
widgets/instructions/Widget.js 6 ●●●●● patch | view | raw | blame | history
widgets/instructions/css/style.css 12 ●●●●● patch | view | raw | blame | history
widgets/instructions/Widget.js
@@ -65,13 +65,15 @@
                    dropdown.render({
                        elem: '.demo1'
                        , data: d
                        ,trigger: 'hover'
                        , className: 'site-dropdown-demo'
                        , click: function (obj) {
                            //点击事件
                            // layer.tips('点击了:' + obj.title, this.elem, { tips: [1, '#5FB878'] })
                            var str = obj.title;
                            $('.jimu-widget-instructions').find('.instructions-title').empty().append(str);
                        }
                    });
                });
widgets/instructions/css/style.css
@@ -12,14 +12,14 @@
  background: rgba(255, 255, 255, 1);
  color: #fff;
  /* border : 1px solid rgba(0, 0, 0, 0.3); */
  border-radius: 14px;
  border-radius: 8px;
  /* text-align   : center; */
  /* cursor       : pointer; */
  z-index: 15 !important;
  box-sizing: border-box;
  padding: 0 20px 0 20px;
  /* padding: 0 20px 0 20px!important; */
   /* display: flex; */
  /* display: flex; */
  /*align-items: center;
  justify-content: center; */
  transition: all 0.5s;
@@ -29,7 +29,7 @@
.jimu-widget-instructions img {
  width: 20px;
  position: relative;
  top:-2px;
  top: -2px;
  left: -5px;
  margin-left: 11px;
}
@@ -38,7 +38,11 @@
  color: #5AA9FB;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing:1.5px;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-right: 11px;
}
.site-dropdown-demo {
  border-radius: 8px;
}