摘要: wxml中的代码为 <view class="swiperContent"> <swiper indicator-dots="true" autoplay="true"> <swiper-item wx:for="{{bannerList}}" wx:key="bannerId"> <image s 阅读全文
posted @ 2024-01-23 12:04 小小——开心 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1 .remcommendScroll view text{ 2 font-size: 28rpx; 3 color: #333; 4 /* 一行省略号 */ 5 /* display: block; 6 white-space: nowrap; 7 overflow: hidden; 8 text 阅读全文
posted @ 2024-01-22 18:08 小小——开心 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 解决办法: npm install nodemon -g 阅读全文
posted @ 2024-01-22 18:02 小小——开心 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 参考 博客 vue使用element-ui,el-table不显示 electron + vue中使用 el-table 死活不显示的问题 参考链接如上: 都没成功 最后再降版本,使用的版本号:2.9.0 table显示了 阅读全文
posted @ 2022-07-05 17:56 小小——开心 阅读(2177) 评论(0) 推荐(0) 编辑
摘要: 1 、 使用 放到 $nextTick里 ,单独清除某项 this.$nextTick(() => { this.$refs.applyForm.clearValidate('xxqc') }) 2、 阅读全文
posted @ 2022-07-04 12:00 小小——开心 阅读(588) 评论(0) 推荐(0) 编辑
摘要: child.js const child = { state: { isIframe: false, }, mutations: { SET_ISIFRAME: (state, status) => { state.isIframe = status }, }, actions: { getIsif 阅读全文
posted @ 2022-06-30 18:08 小小——开心 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 解决iframe使用postMessage传值addEventListener未接收到却收到webpackwarning的问题 vue中元素嵌套iframe后绑在元素上的点击事件失效 注意箭头函数 父页面组件 vue const oIframe = document.getElementById(" 阅读全文
posted @ 2022-06-30 17:11 小小——开心 阅读(1711) 评论(0) 推荐(0) 编辑
摘要: new Date(stemp.replace(/-/g, "/")).getTime(); // ios new Date('2022/5/31 23:59:59').getTime(), // iOS ios 系统,前端js 获取日期的使用‘/’. new Date('2022-5-31 23:5 阅读全文
posted @ 2022-06-23 17:22 小小——开心 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 不能自动轮播,分页点点不显示 解决办法: install 加版本号。 在vue中使用swiper插件的方式,请前往这里查看https://blog.csdn.net/friend_ship/article/details/104919781 由于vue-awesome-swiper插件包的版本问 阅读全文
posted @ 2020-09-11 15:16 小小——开心 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: 转 https://www.jianshu.com/p/e375ba1cfc47 1、语法 arr.reduce(callback,[initialValue]) reduce 为数组中的每一个元素依次执行回调函数,不包括数组中被删除或从未被赋值的元素,接受四个参数:初始值(或者上一次回调函数的返回 阅读全文
posted @ 2020-07-11 17:59 小小——开心 阅读(223) 评论(0) 推荐(0) 编辑