摘要: 1,安装style-resources-loader:vue add style-resources-loader; 2,在vue.config.js中的pluginOptions添加第三方插件: a,引入路径:const path = require('path'); b,配置: pluginOp 阅读全文
posted @ 2019-10-21 11:43 wxx17513 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 1,Win10安装如果报错 查看android studio中是否下载“Android SDK Platform 28 ”,“Intel x86 Atom_64 System Image”,项目重启。 2,Image中的require导入本地图片路径失败 原因:图片名称不能带有“@”。 3,View 阅读全文
posted @ 2019-06-03 21:51 wxx17513 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 参考https://www.cnblogs.com/smyhvae/p/3788534.html。 3.Android Studio 下载地址:https://www.oschina.net/news/100271/android-studio-3-2-released?nocache=153783 阅读全文
posted @ 2019-06-03 21:43 wxx17513 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1.申请个人小程序账号 2.使用小程序开发者工具新建一个项目选择一个空目录,输入appId后,勾选下方的创建 “云开发 QuickStart 项目”; 3.进入项目后可以看到开发者工具自动创建的页面,根据提示我们要先“开通云开发”; A.如下图所示:点击“云开发”; B.根据提示填写信息,创建云开发 阅读全文
posted @ 2019-06-03 21:35 wxx17513 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1,,vue安装layui: 安装比较粗暴,直接下载官网的压缩包放在static文件夹下,在index中全局引用。 2,如果要使用layui一定要看文档,当然你要是没耐心可以边写边看文档,文档很详细。如果你用vue的话建议不要用layui。 遇到的问题: (1) form中的radio,select 阅读全文
posted @ 2019-01-18 15:55 wxx17513 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1、批量获取input的value(通过遍历可以获取单个值): $(".kw-type-ipt-arr input[type='text']").each(function () { console.log(this.value); word_praise.push(this.value);}); 阅读全文
posted @ 2018-11-27 09:47 wxx17513 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1、搭建一个vue-cli搭建一个项目 (1) 安装vue-cli npm install vue-cli -g (2) vue init webpack 项目名 根据需要选择设置 (3) npm install 安装配置(安装配置时留意一下当前位置是不是在项目里,不然会报错:找不到配置文件pack 阅读全文
posted @ 2018-08-23 18:01 wxx17513 阅读(166) 评论(0) 推荐(0) 编辑
摘要: up_img: function() { let that = this; wx.chooseImage({ count: 1, // 默认9 sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有 success: function(res 阅读全文
posted @ 2018-08-02 15:37 wxx17513 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, 阅读全文
posted @ 2018-08-02 15:06 wxx17513 阅读(87) 评论(0) 推荐(0) 编辑
摘要: .info{ overflow: hidden; overflow-y: scroll; } .info::-webkit-scrollbar { display: none; } 阅读全文
posted @ 2018-07-23 17:35 wxx17513 阅读(104) 评论(0) 推荐(0) 编辑