77

导航

2021年5月10日 #

[Vue warn]: Error in beforeDestroy hook: "Error: [ElementForm]unpected width

摘要: 控制台发现有报错: 解决:找到对应文件 方法1:代码中使用了v-show以及el-form标签中使用了label-width="auto",导致离开页面后产生报错,auto改为具体数值 方法2:v-show改为v-if 阅读全文

posted @ 2021-05-10 10:32 77ss 阅读(6672) 评论(0) 推荐(0) 编辑

2021年3月5日 #

在VScode运行js代码报Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.

摘要: #看报错信息 Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. 警告:加载ES模块时,在package.json包中设置“ type”:“ module 阅读全文

posted @ 2021-03-05 10:33 77ss 阅读(5514) 评论(0) 推荐(0) 编辑

2021年3月4日 #

微信小程序内容高度超过手机屏幕高度backgroundColor受到影响

摘要: 问题描述 微信小程序内容高度超出手机屏幕高度 #页面结构 page - questionnaire-fixed-height - questionnaire # 设置page高度100% <style lang="scss"> page { height: 100%; } </style> #设置内 阅读全文

posted @ 2021-03-04 17:46 77ss 阅读(770) 评论(0) 推荐(0) 编辑

2021年2月23日 #

创建小程序报Error: tunneling socket could not be established, cause=connect ECO

摘要: 解决方法 阅读全文

posted @ 2021-02-23 10:11 77ss 阅读(319) 评论(0) 推荐(0) 编辑

安卓小程序顶部导航栏标题不居中

摘要: 安卓手机小程序顶部导航栏标题居左 苹果手机小程序顶部导航栏标题居中 安卓手机小程序顶部导航栏标题居中显示: 自定义导航栏 "window": { "navigationStyle": "custom" }, 微信官方文档 微信小程序自定义导航栏组件(完美适配所有手机),可自定义实现任何你想要的功能 阅读全文

posted @ 2021-02-23 10:07 77ss 阅读(1251) 评论(0) 推荐(0) 编辑

2021年1月5日 #

反转字符串中的单词 III

摘要: 给定一个字符串,你需要反转字符串中每个单词的字符顺序,同时仍保留空格和单词的初始顺序。 示例: 输入:"Let's take LeetCode contest" 输出:"s'teL ekat edoCteeL tsetnoc" 提示: 在字符串中,每个单词由单个空格分隔,并且字符串中不会有任何额外的 阅读全文

posted @ 2021-01-05 16:20 77ss 阅读(50) 评论(0) 推荐(0) 编辑

2019年12月18日 #

微信小程序wx.showActionSheet调用客服信息功能

摘要: 微信小程序wx.showActionSheet调用客服消息功能 官方文档的代码: wx.showActionSheet({ itemList: ['A', 'B', 'C'], success (res) { console.log(res.tapIndex) }, fail (res) { con 阅读全文

posted @ 2019-12-18 07:37 77ss 阅读(1302) 评论(0) 推荐(0) 编辑

2019年12月8日 #

微信小程序swiper使用网络图片不显示问题

摘要: @ wxml代码: <view class="container"> <swiper indicator-dots="true}" autoplay="true" interval="3000" duration="1"> <block wx:for="{{imgUrls}}" wx:key="*t 阅读全文

posted @ 2019-12-08 09:05 77ss 阅读(1713) 评论(0) 推荐(0) 编辑

2019年11月17日 #

reduce方法的封装使用

摘要: reduce()方法 语法: arr.reduce( function(previousValue, item, index, arr) { }, initialValue) previousValue:上一次调用回调函数时的返回值,或者初始值 currentValue:当前正在处理的数组元素 cu 阅读全文

posted @ 2019-11-17 18:27 77ss 阅读(724) 评论(0) 推荐(0) 编辑

2019年7月29日 #

原生JS-实现轮播图

摘要: 用原生JS实现一个轮播图(效果) HTML CSS JavaScript PS: 阅读全文

posted @ 2019-07-29 22:27 77ss 阅读(136) 评论(0) 推荐(0) 编辑