{
  "id": "KSAplay_pink-dolphin-76",
  "name": "pink-dolphin-76",
  "category": "buttons",
  "author": "KSAplay",
  "description": "pink-dolphin-76 组件 (button, interactive)",
  "tags": [
    "button",
    "interactive"
  ],
  "original": {
    "html": "<button class=\"button\">\n  <div class=\"circle\"></div>\n  <span>Button</span>\n</button>",
    "css": "/* From Uiverse.io by KSAplay - Tags: button */\n.button {\n  position: relative;\n  display: flex;\n  align-items: center;\n  font-family: sans-serif;\n  font-weight: bold;\n  font-size: 1em;\n  padding: 0.5em 2em;\n  border-radius: 2em;\n  border: 0 solid #fefefe;\n  background-color: #ece5d8;\n  color: #3b4255;\n  box-shadow: 0 0 9px -4px #797979;\n  transition: 100ms;\n}\n\n.button::after {\n  position: absolute;\n  content: '';\n  width: 100%;\n  height: 100%;\n  border-radius: 2em;\n  background-color: #ffdf99;\n  opacity: 0;\n  z-index: 1;\n  transition: 100ms;\n}\n\n.circle {\n  position: absolute;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  left: 0.4em;\n  height: 1.5em;\n  width: 1.5em;\n  border-radius: 1em;\n  background-color: #313131;\n}\n\n.circle::before {\n  position: absolute;\n  content: '';\n  width: 32%;\n  height: 32%;\n  border-radius: 1em;\n  border: 3px solid #ffcd33;\n}\n\n.button span {\n  z-index: 2;\n  padding-left: 1.1em;\n}\n\n.button:hover {\n  border: 3px solid #fefefe;\n  box-shadow: 0 0 5px 0 #f0f0f0, inset 0 0 3px 0 #656565;\n}\n\n.button:active {\n  border: 0 solid #fefefe;\n  color: white;\n  box-shadow: inset 0 0 5px 0 #4b4b4b;\n  opacity: .7;\n}\n\n.button:active.button::after {\n  opacity: .5;\n}",
    "file_path": "/mnt/persist/workspace/Buttons/KSAplay_pink-dolphin-76.html"
  },
  "uniapp": {
    "template": "<button class=\"button\"></button>\n  <view class=\"circle\"></view>\n  <text>Button</text>\n</button>",
    "script": "export default {\n  name: 'GalaxyPinkDolphin76',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by KSAplay - Tags: button */\n.button {\n  position: relative;\n  display: flex;\n  align-items: center;\n  font-family: sans-serif;\n  font-weight: bold;\n  font-size: 1em;\n  padding: 0.5em 2em;\n  border-radius: 2em;\n  border: 0 solid #fefefe;\n  background-color: #ece5d8;\n  color: #3b4255;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 18rpx -8rpx #797979;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  transition: 100ms;\n}\n\n.button::after {\n  position: absolute;\n  content: '';\n  width: 100%;\n  height: 100%;\n  border-radius: 2em;\n  background-color: #ffdf99;\n  opacity: 0;\n  z-index: 1;\n  transition: 100ms;\n}\n\n.circle {\n  position: absolute;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  left: 0.4em;\n  height: 1.5em;\n  width: 1.5em;\n  border-radius: 1em;\n  background-color: #313131;\n}\n\n.circle::before {\n  position: absolute;\n  content: '';\n  width: 32%;\n  height: 32%;\n  border-radius: 1em;\n  border: 6rpx solid #ffcd33;\n}\n\n.button span {\n  z-index: 2;\n  padding-left: 1.1em;\n}\n\n.button:hover {\n  border: 6rpx solid #fefefe;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 0 10rpx 0 #f0f0f0, inset 0 0 6rpx 0 #656565;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\n.button:active {\n  border: 0 solid #fefefe;\n  color: white;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: inset 0 0 10rpx 0 #4b4b4b;\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n  opacity: .7;\n}\n\n.button:active.button::after {\n  opacity: .5;\n}\n",
    "component_name": "GalaxyPinkDolphin76"
  },
  "platforms": {
    "h5": true,
    "mp-weixin": true,
    "mp-alipay": true,
    "mp-baidu": true,
    "mp-toutiao": true,
    "app-plus": true
  },
  "props": [
    {
      "name": "disabled",
      "type": "Boolean",
      "default": false,
      "required": false,
      "description": "是否禁用"
    },
    {
      "name": "text",
      "type": "String",
      "default": "按钮",
      "required": false,
      "description": "按钮文字"
    },
    {
      "name": "type",
      "type": "String",
      "default": "primary",
      "required": false,
      "description": "按钮类型"
    }
  ],
  "events": [
    {
      "name": "click",
      "description": "点击事件",
      "parameters": [
        "event"
      ]
    }
  ],
  "slots": [
    {
      "name": "",
      "description": "",
      "props": []
    }
  ],
  "compatibility": {
    "h5": {
      "supported": true,
      "issues": [],
      "alternatives": []
    },
    "mp-weixin": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性"
      ],
      "alternatives": []
    },
    "mp-alipay": {
      "supported": true,
      "issues": [
        "不支持 box-shadow 属性"
      ],
      "alternatives": []
    },
    "app-plus": {
      "supported": true,
      "issues": [],
      "alternatives": []
    }
  },
  "performance": {
    "complexity": "low",
    "bundle_size": 1304,
    "render_cost": "low",
    "memory_usage": "low"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:33.656Z",
  "updated_at": "2025-07-31T07:55:33.656Z"
}