shuishen
2021-06-11 cc11c6fd73b6463827f64000a03b0c3ef629c673
Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap
2 files modified
10 ■■■■ changed files
widgets/instructions/Widget.js 4 ●●●● patch | view | raw | blame | history
widgets/instructions/css/style.css 6 ●●●● patch | view | raw | blame | history
widgets/instructions/Widget.js
@@ -67,13 +67,13 @@
                    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,7 +12,7 @@
  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;
@@ -42,3 +42,7 @@
  display: inline-block;
  margin-right: 11px;
}
.site-dropdown-demo {
  border-radius: 8px;
}