- 博客(118)
- 收藏
- 关注
原创 解决uniapp使用uView框架里u-popup组件后,一个盒子内容超出屏幕真机滚动不了问题,模拟器可以滚动。
使用u-popup内容超出滚动不了问题
2022-10-11 17:33:01
1228
原创 uniapp跳转传对象和数组的值到另一个页面
Error in onLoad hook: "SyntaxError: "[object Object]" is not valid JSON"
2022-09-02 10:16:17
438
1
原创 uniapp-A页面跳到B页面,B页面改完(C数据),通过uni.navigateBack()返回(C数据)传给A页面接收,进行更改A页面(C数据)的值-不是通过请求或刷新获取(C数据)更改的值
this.getOpenerEventChannel().emitevents
2022-07-08 15:42:06
276
原创 message:Error: common/vendor.js: file: common/vendor.js Unexpected token: punc ()) 1265 |
message:Error: common/vendor.js: file: common/vendor.js Unexpected token: punc ()) 1265 |
2022-07-07 09:32:26
493
3
原创 前端uniapp自定义tabbar,在iPoneX上,tabbar有个盒子用了绝对定位position: absolute被遮住问题,env(safe-area-inset-bottom)无效
env(safe-area-inset-bottom)无效
2022-06-08 15:22:10
482
原创 VM1281:5 app.js错误: ReferenceError: regeneratorRuntime is not defined
VM1281:5 app.js错误: ReferenceError: regeneratorRuntime is not defined
2022-06-07 10:39:48
165
原创 VM19633 WAService.js:2 Unhandled promise rejection {errMsg: “reLaunch:fail page “pages/store/“/pages
从A页面跳转B页面传给A页面路径给B页面用报这样的错误跳转传值时是路径就不需要加双引号了“”,去掉就可以了
2022-05-31 17:17:10
898
原创 解决前端搜索框的输入框点击后整个盒子偏左问题
未改之前代码改之后的代码,因为是input的width设置了100%,=所以可以设置包裹input输入框那个盒子width设置80%也可以去掉input输入框width100%个人觉得还是保留输入框width100%比较好,毕竟没设宽度不知后面什么机型又出现其他问题...
2022-05-30 10:40:04
86
原创 解决uniapp用了uni.getSystemInfo获取状态栏高度在app上获取不到问题
出现的情况刚开始写法 是用了 uni.getSystemInfo({ success:(e)=> { this.statusBarHeight = e.statusBarHeight; } })<template> <view class="main" :style="{marginTop:statusBarHeight+'px'}"&...
2022-05-27 14:28:41
1262
原创 uniapp用了navigator标签css设置了display: flex;android出现塌陷问题
改前的改后的-需要在外面加个盒子包着navigator就可以了 <view class="icon-boxs"> <view class="title">服务台</view> <view class="icons"> <view class="icon-item"> <navigator class="icon-box-items">11</navigator> .
2022-05-25 15:33:03
107
原创 前端element ui去除表单输入框聚焦有记忆功能提示和去除记忆回填功能
<el-input v-model="form.name"type="text" ref="name"name="name" autocomplete="off"@key.enter.native="inputFocus($event)"></el-input>//在methods写inputFocus(e){ e.target.focus();//聚焦this.$refs.name.activated = true e.target.blur(); //让输入框失.
2022-05-24 09:53:43
418
原创 解决uniapp设置了position: fixed;样式布局塌陷问题
子组件设置position: fixed;父组件引用真机上出现问题,小程序没有,是因为子组件的第一层的类名和父组件第一层类名相同导致的,所以改类名不一样就可以了
2022-05-23 16:07:51
629
原创 onBackPress返回不生效问题
onBackPress() { uni.reLaunch({ url: 路径 }) return true; },出现不生效是没有return true
2022-05-23 14:58:36
826
原创 VM6067 WAService.js:2 Unhandled promise rejection {errMsg: “redirectTo:fail page “pages“
报这个,是路径问题,检查自己路径是否是正确或是否有这个页面
2022-05-23 14:55:07
1463
原创 uni-app onBackPress 小程序 解决方案返回不生效
onBackPress 但不支持小程序只支持APP和H5 ,我们可以用onUnload生命周期控制页面返回指定页面 onUnload(){ console.log("测试") uni.reLaunch({ url: 需要调转的路径 }) },
2022-05-23 14:50:18
1382
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人