|
|
@@ -44,6 +44,29 @@
|
|
|
.amis-scope .cxd-Page-body .cxd-DropDown--alignRight .cxd-DropDown-menu {
|
|
|
text-align: center;
|
|
|
}
|
|
|
+ /* .amis-scope .cxd-DropDown button .m-r-xs {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ } */
|
|
|
+ .amis-scope .cxd-Button--default {
|
|
|
+ border: none;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
+ .amis-scope .cxd-Button--default:not(:disabled):not(.is-disabled):hover {
|
|
|
+ color: none;
|
|
|
+ background: none;
|
|
|
+ border-color: none;
|
|
|
+ border-width: none;
|
|
|
+ border-style: none;
|
|
|
+ box-shadow: none;
|
|
|
+ border: none;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
+ .amis-scope .m-r-xs {
|
|
|
+ margin-top:-5px;
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
@@ -115,7 +138,7 @@
|
|
|
"items": [
|
|
|
{
|
|
|
"type": "dropdown-button",
|
|
|
- "label": "切换语言",
|
|
|
+ "label": "",
|
|
|
"className": "header-menu",
|
|
|
"buttons": [
|
|
|
{
|
|
|
@@ -159,8 +182,11 @@
|
|
|
"size": "md",
|
|
|
"level": "default",
|
|
|
"align": "right",
|
|
|
- "block": true,
|
|
|
- "hideCaret": false
|
|
|
+ "block": false,
|
|
|
+ "hideCaret": true,
|
|
|
+ "trigger": "hover",
|
|
|
+ "icon": "./public/static/icon/language-change.png",
|
|
|
+ "btnClassName": "no-border"
|
|
|
},
|
|
|
{
|
|
|
"type": "dropdown-button",
|
|
|
@@ -188,7 +214,8 @@
|
|
|
"size": "md",
|
|
|
"level": "default",
|
|
|
"align": "right",
|
|
|
- "block": true
|
|
|
+ "block": true,
|
|
|
+ "trigger": "hover"
|
|
|
}
|
|
|
],
|
|
|
"id": "u:e7752d0c1dbe"
|