微信小程序纯CSS实现好看的加载动画

news2025/1/14 17:59:51

进入下面小程序可以体验效果

 

WXML:

<wxs module="img" src="./loading.wxs"></wxs>
<view class="loading-container {{show?'':'loading-container-hide'}}">
    <view class="loading-mask" wx:if="{{mask&&show}}"></view>
    <view class="loading-mask-solid {{!mask&&show?'':'loading-mask-solid-hide'}}"></view>
    <view class="loading">
        <view class="loading-inner {{open?'loading-inner-open':''}}"></view>
        <view class="loading-circle"></view>
        <view class="loading-petal {{open?'loading-petal-open':''}}">
            <view class="loading-petal-1">
                <image src="{{img.imgBase64}}"></image>
            </view>
            <view class="loading-petal-2">
                <image src="{{img.imgBase64}}"></image>
            </view>
            <view class="loading-petal-3">
                <image src="{{img.imgBase64}}"></image>
            </view>
            <view class="loading-petal-4">
                <image src="{{img.imgBase64}}"></image>
            </view>
            <view class="loading-petal-5">
                <image src="{{img.imgBase64}}"></image>
            </view>
        </view>
    </view>
</view>

WXSS:

.loading-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    opacity: 1;
}

.loading-container-hide{
    opacity: 0;
    transform: scale(0);
    transition: all 0.7s;
}

.loading-mask{
    height: 100%;
    width: 100%;
    position: absolute;
    backdrop-filter: blur(5px);
    background: #ffffffad;
}

.loading-mask-solid{
    height: 100%;
    width: 100%;
    position: absolute;
    background: white;
}

.loading-mask-solid-hide{
    opacity: 0;
    transition: all 0.5s;
}

.loading{
    position: absolute;
    width: 200rpx;
    height: 200rpx;
    animation: loadingMove 1.5s alternate infinite;
    animation-timing-function: ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-petal{
    position: absolute;
    opacity: 0;
    width: 160rpx;
    height: 160rpx;
    transform: scale(0.5);
}

.loading-petal-open{
    opacity: 1;
    transform: scale(1.2);
    transition: all 0.5s;
}

.loading-petal-1{
    position: absolute;
    animation: loadingpetal linear infinite 1.5s;
}

.loading-petal-2{
    position: absolute;
    animation: loadingpetal linear infinite 4s;
}

.loading-petal-3{
    position: absolute;
    animation: loadingpetal linear infinite reverse 2s;
}

.loading-petal-4{
    position: absolute;
    animation: loadingpetal linear infinite reverse 3.5s;
}

.loading-petal-5{
    position: absolute;
    animation: loadingpetal linear infinite reverse 4.5s;
}

@keyframes loadingpetal {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(360deg);
    }
}


image{
    width: 160rpx;
    height: 160rpx;
}

.loading-inner{
    width: 65rpx;
    height: 65rpx;
    background: rgb(71 135 255);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.loading-inner-open{
    background: rgb(0 66 189);
    width: 110rpx;
    height: 110rpx;
    transition: all 0.5s;
}

@keyframes loadingMove {
    0%,100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-8px);
    }
}

.loading-circle {
    position: absolute;
    z-index: 99;
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: block;
    background: transparent url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='80px' height='80px' viewBox='0 0 80 80' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Ctitle%3Eloading%3C/title%3E%3Cdefs%3E%3ClinearGradient x1='94.0869141%25' y1='0%25' x2='94.0869141%25' y2='90.559082%25' id='linearGradient-1'%3E%3Cstop stop-color='%23ffffff' stop-opacity='0' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23ffffff' stop-opacity='0' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3ClinearGradient x1='100%25' y1='8.67370605%25' x2='100%25' y2='90.6286621%25' id='linearGradient-2'%3E%3Cstop stop-color='%23ffffff' offset='0%25'%3E%3C/stop%3E%3Cstop stop-color='%23ffffff' stop-opacity='0' offset='100%25'%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' opacity='0.9'%3E%3Cg%3E%3Cpath d='M40,0 C62.09139,0 80,17.90861 80,40 C80,62.09139 62.09139,80 40,80 L40,73 C58.2253967,73 73,58.2253967 73,40 C73,21.7746033 58.2253967,7 40,7 L40,0 Z' fill='url(%23linearGradient-1)'%3E%3C/path%3E%3Cpath d='M40,0 L40,7 C21.7746033,7 7,21.7746033 7,40 C7,58.2253967 21.7746033,73 40,73 L40,80 C17.90861,80 0,62.09139 0,40 C0,17.90861 17.90861,0 40,0 Z' fill='url(%23linearGradient-2)'%3E%3C/path%3E%3Ccircle id='Oval' fill='%23ffffff' cx='40.5' cy='3.5' r='3.5'%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A") no-repeat;
    background-size: 100%;
    animation: loading linear infinite 1s;
    animation-timing-function: ease;
  }


  @keyframes loading {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(360deg);
    }
  }

JS:

// components/loading/loading.js
Component({
    lifetimes:{
        created(){

        },
        attached(){

        }
    },
    observers: {
        'show': function(show) {
            var that =this;
            if(show){
                setTimeout(()=>{
                    that.setData({open:true,mask:true})
                },that.data.burstTime)
            }else{
                that.setData({mask:false})
                setTimeout(()=>{
                    that.setData({open:false})
                },500)
            }
        }
    },
  /**
   * 组件的属性列表
   */
  properties: {
    /**
     * 是否显示
     */
    show:{
        type:Boolean,
        value:false
    },
    /**
     * 花瓣绽放时间
     */
    burstTime:{
        type:Number,
        value:1300
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    mask:false,
    open:false,
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})

WXS:

var imagebase64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJVWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUg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9/stNAqtdTT0p/moos/yMWTYzN3zmxpcO1Lg0TqPxI6Hz4w1rrZqf05TgmtjXiR+h2+OM8HLTUmCD1f6rFK/RZnnOWtlhrOfeuZk99TqFJLPb2PO07KfFR0e84roVVqOWEHSO1kMju7cF+7vr52+gx2X5+um8OOGa/wiWT2XmiVumoObTNemlHGrVy50kX6sesyeyO0Sl0xh10z9sxYx7NcGGnZ98nFBaDXQqekbmsJsolvVhnowvzQF5m9Ezol9jNzeGLGFt5ZoaclxqFvT9xLoVXqLZX6Gf5lipQYJ0XuaY5SaJV6U1O6i4eZIC3Svt7MnCB0MVLLAnGbxWImiz8vOhlBC01dHW+9HLTQKnXLHB6b8QJPF2J6l0kwH0wflNAzJcjThNbeXUxbcj3fS4zghU6JTRfk7lTu+9rFiFZolbpuDlKGyIWYeuQiDzWVT2x8PyBC55/WInaHVA6bKIRO1dZTsWPphIjA/RBr5eiFTond1MViyGWIlBdyr99ZSB0MhF5M7GZAiS2JPIhR5OiFToktUjc8L0UkjeVy9dDny9YIna3YVRV7U0sR1+XuaWkhiXweS42M0KvJLULXzNi4Q+61Ap7WtUosLbcf36Oe1xfxIHRYcj9QqafH+3PSey1DeYW/kptPkhKJL0lihLYleE3Flp+rqeP0sWUEF1HHOuTnr6nHJIUvOesInbfkcmtYRYW+rw/Ln+VjImZv6pWbTr8nNx8OLvytAk98utUJoQFyoMQpAIQGQGgAhAZAaEBoAIQGQGgAhAZAaIiQfwCoeDQSJB4DDAAAAABJRU5ErkJggg=="

module.exports = {
    imgBase64: imagebase64
}

readme.me使用方式:

使用方式:
直接引入组件
<loading style="position: absolute;height: 100%;width: 100%;transition: all 0.2s;z-index: {{loadingShow?9999:0}};" 
    show="{{true}}" 
    burstTime="{{1000}}">
</loading>
说明:
    必须使用该style: position: absolute;height: 100%;width: 100%;transition: all 0.2s;z-index: {{loadingShow?9999:0}};
    show: 是否显示
    burstTime: 花瓣绽放时间 单位/ms. 参数0,直接显示花瓣加载动画

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1569824.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

分享:搭建企微知识库简单易学步骤

说起企微知识库&#xff0c;可能有些人还不太清楚&#xff0c;为什么现在很懂企业选择搭建企微知识库&#xff1f;其实&#xff0c;企微知识库就是一个装满了企业的各种知识、经验和资料的载体。目的是为了方便员工随时查找和学习、有助于知识的传承和共享、加强团队协作和沟通…

《机器学习算法实战宝典》正式发布!

大家好&#xff0c;我是城哥&#xff0c;最近写了两本资料&#xff0c;一本是&#xff1a;《机器学习算法面试宝典》正式发布&#xff01;&#xff0c;内容是面试技巧、面试真题、常考题等。 今天分享的《机器学习算法实战宝典》&#xff08;以下简称《算法实战宝典》&#xf…

element-ui avatar 组件源码分享

今日简单分享 avatar 组件的源码实现&#xff0c;主要从以下四个方面&#xff1a; 1、avatar 组件页面结构 2、avatar 组件属性 3、avatar 组件事件 4、avatar 组件 slot 一、avatar 组件页面结构 二、avatar 组件属性 2.1 icon 属性&#xff0c;设置头像的图标类型&…

【Redis】分布式锁及其他常见问题

分布式锁及其他常见问题 1. 我看你的项目都用到了 Redis&#xff0c;你在最近的项目的哪些场景下用到了 Redis 呢&#xff1f; 一定要结合业务场景来回答问题&#xff01;要是没有不要硬讲&#xff0c;除非面试官问&#xff1b; 接下来面试官将深入发问。 你没用到的也可能会…

VS Code 配置 cmake

手动添加 CMake 编译器的搜索路径 如果没有设置上面的路径&#xff0c;有些编译器是找不到的

基于SpringBoot和Vue的校园周边美食探索以及分享系统

今天要和大家聊的是基于SpringBoot和Vue的校园周边美食探索以及分享系统 &#xff01;&#xff01;&#xff01; 有需要的小伙伴可以通过文章末尾名片咨询我哦&#xff01;&#xff01;&#xff01; &#x1f495;&#x1f495;作者&#xff1a;李同学 &#x1f495;&#x1f…

kali 渗透工具 - mestaploit

永恒之蓝漏洞的小知识&#xff1a; 黑客通过改造 永恒之蓝 制作 wannacry 制作病毒入侵高校内网。 mestaploit 攻击永恒之蓝流程&#xff1a; 使用模块 msfconsole配置required 模块参数运行&#xff0c;开始监听主机 msfconsole 主要模块 - 选择使用模块 search ms17_01…

工业组态 物联网组态 组态编辑器 web组态 组态插件 编辑器

体验地址&#xff1a;by组态[web组态插件] BY组态是一款非常优秀的纯前端的【web组态插件工具】&#xff0c;可无缝嵌入到vue项目&#xff0c;react项目等&#xff0c;由于是原生js开发&#xff0c;对于前端的集成没有框架的限制。同时由于BY组态只是一个插件&#xff0c;不能独…

大转盘抽奖小程序源码

源码介绍 大转盘抽奖小程序源码&#xff0c;测试依旧可用&#xff0c;无BUG&#xff0c;跑马灯旋转效果&#xff0c;非常酷炫。 小程序核心代码参考 //index.js //获取应用实例 var app getApp() Page({data: {circleList: [],//圆点数组awardList: [],//奖品数组colorCirc…

SCI一区 | Matlab实现NGO-TCN-BiGRU-Attention北方苍鹰算法优化时间卷积双向门控循环单元融合注意力机制多变量时间序列预测

SCI一区 | Matlab实现NGO-TCN-BiGRU-Attention北方苍鹰算法优化时间卷积双向门控循环单元融合注意力机制多变量时间序列预测 目录 SCI一区 | Matlab实现NGO-TCN-BiGRU-Attention北方苍鹰算法优化时间卷积双向门控循环单元融合注意力机制多变量时间序列预测预测效果基本介绍模型…

设计模式总结-面向对象设计原则

面向对象设计原则 面向对象设计原则简介单一职责原则单一职责原则定义单一职责原则分析单一职责原则实例 开闭原则开闭原则定义开闭原则分析开闭原则实例 里氏代换原则里氏代换原则定义里氏代换原则分析 依赖倒转原则依赖倒转原则定义依赖倒转原则分析依赖倒转原则实例 接口隔离…

配置 施耐德 modbusTCP 分布式IO子站 RPA0100

1. 总体步骤 2. 软件组态&#xff1a;在 Unity Pro 软件中创建编辑 PRA 模块工程 2.1 新建项目 模块箱硬件型号如下 点击 Unity Pro 软件左上方【新建】按钮&#xff0c;选择正确的 DIO 模块型号、背板型号 2.2 模块组态 2.2.1 拖拽添加模块 双击【配置】菜单下的【0&…

糟糕,Oracle归档满RMAN进不去,CPU98%了!

&#x1f4e2;&#x1f4e2;&#x1f4e2;&#x1f4e3;&#x1f4e3;&#x1f4e3; 哈喽&#xff01;大家好&#xff0c;我是【IT邦德】&#xff0c;江湖人称jeames007&#xff0c;10余年DBA及大数据工作经验 一位上进心十足的【大数据领域博主】&#xff01;&#x1f61c;&am…

【QT+QGIS跨平台编译】056:【pdal_lepcc+Qt跨平台编译】(一套代码、一套框架,跨平台编译)

点击查看专栏目录 文章目录 一、pdal_lepcc介绍二、pdal下载三、文件分析四、pro文件五、编译实践一、pdal_lepcc介绍 pdal_lepcc 是 PDAL(Point Data Abstraction Library)的一个插件,用于点云数据的压缩。它基于 EPCC(Entwine Point Cloud Compression)算法,提供了对点…

72小时内报告!美国发布关键基础设施网络攻击通报新规草案

美国网络安全和基础设施安全局(CISA)本周四发布了关键基础设施企业如何向政府报告网络攻击的规定草案。 新规基于拜登2022年3月15日签署的美国《关键基础设施网络事件报告法案》(简称CIRCIA)。这是美国联邦政府首次提出一套跨关键基础设施部门的全面网络安全规则。CISA正在就规…

国外服务器托管需要了解哪些信息

国外服务器托管服务提供了一种在国外租用并管理服务器的方式&#xff0c;适用于需要特定地域服务或对本地法规有特殊要求的企业和个人。那么想要进行国外服务器托管需要了解哪些信息呢?Rak部落小编为您整理发布国外服务器托管相关内容。 以下是一些关于国外服务器托管服务的详…

十分钟掌握在 PyTorch 中构建一个深度神经网络,基本组件、步骤和代码实现,从导入模块和定义网络结构到训练和评估网络性能。

🍉 CSDN 叶庭云:https://yetingyun.blog.csdn.net/ 深度神经网络(Deep Neural Networks, DNNs),也被称为人工神经网络(Artificial Neural Networks,ANNs),已成为当今机器学习任务中最流行、最成功的方法之一。这些网络能够表示数据中的复杂关系,并在图像分类、自然…

储能系统--液冷充电枪

前言 随着新能源汽车在市场中的占比不断攀升&#xff0c;续航里程和充电时间成为了制约新能源汽车发展的两个关键因素&#xff0c; 而随着续航里程的增加&#xff0c;电池容量也会相应的增加&#xff0c;充电时间也会加长&#xff0c;大功率快充技术逐渐成为解决续航瓶颈的关键…

C易错注意之const修饰指针,含char类型计算,位段及相关经典易错例题

目录 前言 一&#xff1a;const修饰指针 1.const修饰变量 2.const 修饰指针 1.const int*p&m; 2. int* const p&m; 3. int const *p&m; 4. int const *const p&m; 5.总结 总之一句话为&#xff1a;左定值有定向 二&#xff1a;关于计算中char类型…

AI工作站设计方案:903-多路PCIe3.0的单CPU 学习型AI工作站

多路PCIe3.0的单CPU 学习型AI工作站 一、机箱功能和技术指标&#xff1a; 系统 系统型号 ORI-SR500 主板支持 EEB(12*13)/CEB(12*10.5)/ATX(12*9.6)/Mi cro ATX 前置硬盘 最大支持2个3.5寸1个2.5寸SATA 硬盘2个2.5寸SATA 硬盘 &#xff08;背部&#xff09; 电源类型 C…