前端
我是一只狼Y
这个作者很懒,什么都没留下…
展开
-
uni-app实现轮播图点击放大预览功能
1:html页面结构<!-- 轮播图区域 --> <swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" :circular="true"> <!-- 把当前点击的图片的索引,传递到 preview() 处理函数中 点击图片预览--> <swiper-item v-for="(item, i) in goods_info.原创 2022-05-12 09:03:51 · 2131 阅读 · 0 评论 -
uni-app实现下拉刷新
uni-app实现下拉刷新原创 2022-05-11 15:21:32 · 5506 阅读 · 0 评论 -
uni-app实现 上拉加载更多 添加节流阀避免多次请求
uni-app实现 上拉加载更多 添加节流阀避免多次请求原创 2022-05-11 14:59:46 · 1186 阅读 · 0 评论 -
1:前端--服务端直接返回二维码图片,前端如何处理
前端Vue请求服务端接口,接口直接返回二维码图片this.$axios.get('接口名',{headers: {Auth:token}, responseType: 'blob'}).then((res) => {const url = window.URL.createObjectURL(res.data)this.qrCodeUrl = url}).catch((error) => {// 请求失败处理this.$m...原创 2022-02-17 08:38:37 · 874 阅读 · 0 评论