摘要: 设置轮播图的高度和宽度一样 不能用height:100%, 只能是页面加载后取当前窗口宽度,再设置样式高度为取到的值 this.winWidth = uni.getWindowInfo().windowWidth console.log("当前窗口宽度:"+this.winWidth); <swip 阅读全文
posted @ 2023-07-30 20:40 牛腩 阅读(31) 评论(0) 推荐(0)