摘要: onPageScroll(e) { let that = this; const query1= uni.createSelectorQuery().in(this); //获取盒子的高度 query1.select('#nav').boundingClientRect(data => { this 阅读全文
posted @ 2022-10-17 11:30 Fate丶小光 阅读(939) 评论(0) 推荐(0)
摘要: //GET-请求数据 getInfo(){ uni.request({ url: `${this.$baseUrl}/api-demo/getDemoById?lid=${lid}&page=${this.page}&pagesize=${this.pagesize}`, //这里的lid,page 阅读全文
posted @ 2022-06-05 17:15 Fate丶小光 阅读(892) 评论(0) 推荐(0)
摘要: <script> $('#daochu').click(function () { html2canvas(document.getElementById('downPdf'),{ //此处的id为要打印的部分 onrendered:function(canvas){ var contentWidt 阅读全文
posted @ 2022-05-18 17:11 Fate丶小光 阅读(2992) 评论(0) 推荐(0)
摘要: <avatar selWidth="200px" selHeight="400upx" @upload="myUpload" :avatarSrc="headimg" avatarStyle="width: 100%; height:300rpx;"> </avatar> https://ext.d 阅读全文
posted @ 2022-01-21 16:04 Fate丶小光 阅读(222) 评论(0) 推荐(0)
摘要: onShow(){ this.getData(this.id) // #ifdef H5 var that = this var jweixin = require('jweixin-module') //npm安装的引用 var surl = window.location.href; // va 阅读全文
posted @ 2022-01-18 16:24 Fate丶小光 阅读(72) 评论(0) 推荐(0)