{
  "id": "mrhyddenn_nice-swan-72",
  "name": "nice-swan-72",
  "category": "loaders",
  "author": "mrhyddenn",
  "description": "nice-swan-72 组件 (loader, animation, gradient)",
  "tags": [
    "loader",
    "animation",
    "gradient"
  ],
  "original": {
    "html": "<div class=\"loader-box\">\n    <div class=\"loading-wrapper\">\n        <div class=\"loader\">\n            <div class=\"loader-inner\">\n            </div>\n        </div>\n    </div>\n</div>",
    "css": "/* From Uiverse.io by mrhyddenn - Tags: loader */\nloader-box {\n  background: #fff;\n  top: 50%;\n  left: 50%;\n  position: absolute;\n  transform: translate(-50%, -50%);\n}\n\n.loading-wrapper {\n  width: 80px;\n  height: 80px;\n  border-radius: 50%;\n}\n\n.loading-wrapper .loader {\n  height: 80px;\n  width: 80px;\n  border: 3px solid #e5e5e5;\n  border-radius: 50%;\n  -webkit-animation: pulse1572 1200ms ease-in-out;\n  animation: pulse1572 1200ms ease-in-out;\n  -webkit-animation-iteration-count: infinite;\n  animation-iteration-count: infinite;\n}\n\n.loading-wrapper .loader .loader-inner {\n  display: block;\n  height: 40px;\n  width: 40px;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  -webkit-transform: translateX(-50%) translateY(-50%);\n  transform: translateX(-50%) translateY(-50%);\n  background: linear-gradient(180deg, rgb(0, 140, 255) 0%, rgb(218, 67, 218) 100%);\n  -webkit-transform-origin: 50% 50%;\n  transform-origin: 50% 50%;\n  border-radius: 50%;\n  -webkit-animation: innerPulse934 1200ms ease-in-out;\n  animation: innerPulse934 1200ms ease-in-out;\n  -webkit-animation-iteration-count: infinite;\n  animation-iteration-count: infinite;\n  -webkit-animation-delay: 600ms;\n  animation-delay: 600ms;\n  box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);\n}\n\n@keyframes pulse1572 {\n  0% {\n    border: 3px solid #fff;\n  }\n\n  50% {\n    border: 40px solid #fff;\n  }\n\n  100% {\n    border: 3px solid #fff;\n  }\n}\n\n@keyframes innerPulse934 {\n  0% {\n    height: 30px;\n    width: 30px;\n  }\n\n  50% {\n    height: 53.33333px;\n    width: 53.33333px;\n  }\n\n  100% {\n    height: 30px;\n    width: 30px;\n  }\n}",
    "file_path": "/mnt/persist/workspace/loaders/mrhyddenn_nice-swan-72.html"
  },
  "uniapp": {
    "template": "<view class=\"loader-box\"></view>\n    <view class=\"loading-wrapper\"></view>\n        <view class=\"loader\"></view>\n            <view class=\"loader-inner\"></view>\n            </div>\n        </div>\n    </div>\n</div>",
    "script": "export default {\n  name: 'GalaxyNiceSwan72',\n  props: {\n    // 根据组件类型动态生成props\n  },\n  data() {\n    return {\n      // 组件状态\n    };\n  },\n  methods: {\n    // 组件方法\n  }\n}",
    "style": "\n/* From Uiverse.io by mrhyddenn - Tags: loader */\nloader-box {\n  background: #fff;\n  top: 50%;\n  left: 50%;\n  position: absolute;\n  transform: translate(-50%, -50%);\n}\n\n.loading-wrapper {\n  width: 160rpx;\n  height: 160rpx;\n  border-radius: 50%;\n}\n\n.loading-wrapper .loader {\n  height: 160rpx;\n  width: 160rpx;\n  border: 6rpx solid #e5e5e5;\n  border-radius: 50%;\n  -webkit-animation: pulse1572 1200ms ease-in-out;\n  animation: pulse1572 1200ms ease-in-out;\n  -webkit-animation-iteration-count: infinite;\n  animation-iteration-count: infinite;\n}\n\n.loading-wrapper .loader .loader-inner {\n  display: block;\n  height: 80rpx;\n  width: 80rpx;\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  -webkit-transform: translateX(-50%) translateY(-50%);\n  transform: translateX(-50%) translateY(-50%);\n  background: linear-gradient(180deg, rgb(0, 140, 255) 0%, rgb(218, 67, 218) 100%);\n  -webkit-transform-origin: 50% 50%;\n  transform-origin: 50% 50%;\n  border-radius: 50%;\n  -webkit-animation: innerPulse934 1200ms ease-in-out;\n  animation: innerPulse934 1200ms ease-in-out;\n  -webkit-animation-iteration-count: infinite;\n  animation-iteration-count: infinite;\n  -webkit-animation-delay: 600ms;\n  animation-delay: 600ms;\n  /* #ifdef H5 */\n  /* #ifdef H5 */\n  box-shadow: 0 38rpx 76rpx rgba(0, 0, 0, 0.3), 0 30rpx 24rpx rgba(0, 0, 0, 0.22);\n  /* #endif */\n  /* #ifdef MP */\n  border: 1rpx solid rgba(0,0,0,0.1);\n  /* #endif */\n  /* #endif */\n}\n\n@keyframes pulse1572 {\n  0% {\n    border: 6rpx solid #fff;\n  }\n\n  50% {\n    border: 80rpx solid #fff;\n  }\n\n  100% {\n    border: 6rpx solid #fff;\n  }\n}\n\n@keyframes innerPulse934 {\n  0% {\n    height: 60rpx;\n    width: 60rpx;\n  }\n\n  50% {\n    height: 106.66666rpx;\n    width: 106.66666rpx;\n  }\n\n  100% {\n    height: 60rpx;\n    width: 60rpx;\n  }\n}\n",
    "component_name": "GalaxyNiceSwan72"
  },
  "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": "是否禁用"
    }
  ],
  "events": [],
  "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": "medium",
    "bundle_size": 1793,
    "render_cost": "medium",
    "memory_usage": "medium"
  },
  "dependencies": [],
  "examples": [
    {
      "title": "",
      "description": "",
      "code": ""
    }
  ],
  "created_at": "2025-07-31T07:55:42.442Z",
  "updated_at": "2025-07-31T07:55:42.442Z"
}