2024年6月13日
摘要: /* 全局样式 */ ::-webkit-scrollbar { width: 3px; /* 设置滚动条宽度 */ } /* 水平滚动条样式 */ ::-webkit-scrollbar-track { background-color: #F2F3F3; /* 设置滑道背景色 */ } ::-w 阅读全文
posted @ 2024-06-13 17:24 仔仔爱学习 阅读(2) 评论(0) 推荐(0) 编辑
  2024年6月6日
摘要: 转自:https://blog.csdn.net/m0_56076428/article/details/137696916 1. await 方式使用,比如await nextTick();注意要放在一个async函数里使用 const getChatRecordFun = async () => 阅读全文
posted @ 2024-06-06 09:22 仔仔爱学习 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/hjd2018/article/details/137261819 <template> <view class="top_swiper"> <swiper @change="onSwiperChange" class="swiper" :style 阅读全文
posted @ 2024-06-06 09:19 仔仔爱学习 阅读(6) 评论(0) 推荐(0) 编辑
  2024年5月11日
摘要: 注:转自https://zhuanlan.zhihu.com/p/647975794,非商用,仅用于自我学习 1、JSX和template 在Vue2中是使用template的,这点使用 Vue 的同学们都知道,而在 React 中使用的是JSX,JSX是一个看起来很像 XML 的 JavaScri 阅读全文
posted @ 2024-05-11 15:06 仔仔爱学习 阅读(8) 评论(0) 推荐(0) 编辑
  2023年6月30日
摘要: 转自链接:https://www.cnblogs.com/c2g5201314/p/17276222.html 阅读全文
posted @ 2023-06-30 10:33 仔仔爱学习 阅读(2) 评论(0) 推荐(0) 编辑
  2023年3月10日
摘要: 备忘录而已: <script setup lang="ts">// import {PropType} from "vue"export interface DataInfo{ id:number; name:string}type Props = { isObject?:DataInfo} // 阅读全文
posted @ 2023-03-10 13:47 仔仔爱学习 阅读(346) 评论(0) 推荐(0) 编辑
  2023年2月21日
摘要: 根据id 删除树结构中的数据 filterHandle(data, id) { var newData = data.filter(x => x.key !== id) newData.forEach(x => x.children && (x.children = this.filterHandl 阅读全文
posted @ 2023-02-21 17:25 仔仔爱学习 阅读(67) 评论(0) 推荐(0) 编辑
  2023年2月9日
摘要: unique(arr) { const res = new Map(); return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1)); }, 阅读全文
posted @ 2023-02-09 15:03 仔仔爱学习 阅读(74) 评论(0) 推荐(0) 编辑
  2023年1月11日
摘要: 手动给除第一页之外的需要特效的元素添加 class="aos-animate" 转自:https://cloud.tencent.com/developer/ask/sof/302675/answer/503581 阅读全文
posted @ 2023-01-11 09:31 仔仔爱学习 阅读(227) 评论(0) 推荐(0) 编辑
  2023年1月10日
摘要: 需要手动给元素高度 <swiper class="my-swiper" :modules="modules" :direction="'vertical'" :loop="true" :slides-per-view="1" :space-between="50" :autoplay="autopl 阅读全文
posted @ 2023-01-10 10:41 仔仔爱学习 阅读(351) 评论(0) 推荐(0) 编辑