摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Swiper demo</title> <meta name="viewport" content="width=device-width, initial 阅读全文
posted @ 2023-07-07 13:35 Ao_min 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 转自于:https://www.yzktw.com.cn/post/1051445.html CSS让图片自动滚动是一种非常实用的功能,它可以让网站的页面更加动态和生动。实现这个功能的方法也非常简单,只需要使用CSS中的滚动条属性即可。 /* 将所有图片都放在一个div内 */ .scroll { 阅读全文
posted @ 2023-07-07 13:33 Ao_min 阅读(586) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="ele-body infinite-wrapper" style="height: calc(100vh - 235px); overflow: auto" > <div class="columns" v-loading="loading"> <div 阅读全文
posted @ 2023-05-15 09:21 Ao_min 阅读(9) 评论(0) 推荐(0) 编辑
摘要: //定义一个newData(变化的),设置divHeight高 <div class="grid-content bg-purple" :style="{ height: divHeight }"> xxxxxx </div> <div class="series-basic" ref="newDa 阅读全文
posted @ 2023-05-09 09:23 Ao_min 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 设置高度height,记得给左右侧div一个最小高度min-height,保证没有内容的时候有一定的高度,内容撑起来的时候再自动适应 <el-col :xs="12" :sm="6" :md="2" class="grid-cell"> <div class="grid-content bg-pur 阅读全文
posted @ 2023-04-18 11:22 Ao_min 阅读(430) 评论(0) 推荐(0) 编辑
摘要: <div v-for="(item, index) in queryChangeItemByModeIddata" :key="index" > <el-form-item :label="item.itemName" v-if="item.inputTypeId == 5" :required=" 阅读全文
posted @ 2023-03-21 15:57 Ao_min 阅读(22) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>玻璃卡片悬停</title> <style> *{ 阅读全文
posted @ 2023-03-15 13:55 Ao_min 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 转自于:https://www.zhangxinxu.com/study/201804/png-alpha-transparent-bg-detect.html https://www.zhangxinxu.com/wordpress/2018/05/canvas-png-transparent-b 阅读全文
posted @ 2023-03-15 13:52 Ao_min 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 效果 视图层代码 <el-form-item label="猫咪名称:"> <el-select v-model="filters.deptName" placeholder="请选择猫咪"> <el-input placeholder="输入关键字进行过滤" v-model="filterText 阅读全文
posted @ 2023-02-23 21:51 Ao_min 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 转自于:https://my.oschina.net/u/3704598/blog/4438210 使用 node-click 事件,该事件会接收三个参数,分别是当前 data 节点数据,node 当前节点,root 根节点数据。 我们通过 node.parent.data 即可获取父节点数据,祖先 阅读全文
posted @ 2023-02-23 21:47 Ao_min 阅读(119) 评论(0) 推荐(0) 编辑