- 博客(3)
- 收藏
- 关注
原创 使用Promise封装uni.request请求
使用Promise封装uni.request请求在项目下创建https文件夹其中baseUrl.js存放的是基础路径const baseUrl = 'https://xxx.xxx.xx.com';const imgUrl ='https://xxxx.xxxx.com';export { baseUrl,// 基础路径地址 imgUrl,//图片查看地址};request.jsimport { baseUrl} from './baseUrl.js'export func
2022-03-30 11:29:00 463
原创 uni-app层级遮挡
uni-app小程序层级遮挡问题问题描述点击工具栏失效并在banner处触发点击事件,但是问题只出现在部分苹果手机原代码.box { overflow: hidden; margin-top: -288rpx; position: relative; }解决方法把margin-top改写成transform.box { overflow: hidden; transform: translateY(-288rpx); position: relative
2022-03-30 10:43:14 625
原创 echarts绑定事件执行多次问题
echarts绑定事件执行多次问题出现问题原因视图更新原绑定事件未清除解决方法在前面加上off进行解绑myCharts.off('click');myCharts.on(‘click',function(params){})
2021-05-25 10:32:41 317
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人