淡语

导航

2020年12月28日 #

Velocity紧邻的字符串拼接,在变量后面紧邻拼接字符串

摘要: #set($attrListStr = "abc") 使用${attrListStr }List输出abcList无效 应使用$!{attrListStr}List 阅读全文

posted @ 2020-12-28 10:15 object360 阅读(361) 评论(0) 推荐(0) 编辑

Velocity截取字符串

摘要: 1.根据长度截取 #set($attrListStr = "123aabb") #set($attrListStr=$attrListStr.substring(0,4)) 2.根据字符串长度来截取,如截取到末尾最后一个,移除逗号 #set($attrListStr = "123aabb,") #s 阅读全文

posted @ 2020-12-28 10:07 object360 阅读(1618) 评论(0) 推荐(0) 编辑

2020年9月7日 #

redis下载及安装教程

摘要: Window 下安装 下载地址:https://github.com/tporadowski/redis/releases。 Redis 支持 32 位和 64 位。这个需要根据你系统平台的实际情况选择,这里我们下载 Redis-x64-xxx.zip压缩包到 C 盘,解压后,将文件夹重新命名为 r 阅读全文

posted @ 2020-09-07 10:40 object360 阅读(39702) 评论(0) 推荐(1) 编辑

使用vue-cli快速搭建脚手架项目

摘要: 资料来源于:链接 脚手架代码示例地址:https://gitee.com/danyu/vue-example.git 1. 环境准备,node.js安装 直接看这里 https://www.cnblogs.com/object360/p/13625313.html 2.使用 vue-cli 搭建项目 阅读全文

posted @ 2020-09-07 10:26 object360 阅读(216) 评论(0) 推荐(0) 编辑

Node.js安装及环境配置

摘要: 第一步骤:下载node.js 1 第一步:到node官网下载node.js 1、下载官网推荐的版本 网址:https://nodejs.org/en/download/ 2 第二步:根据需要选择自己需要的版本 1、网址:https://nodejs.org/download/release/ 2、下 阅读全文

posted @ 2020-09-07 10:09 object360 阅读(1381) 评论(0) 推荐(0) 编辑

2020年7月29日 #

vue使用Font Awesome5

摘要: 1. 安装基础依赖 $ npm i --save @fortawesome/fontawesome 2. $ npm i --save @fortawesome/vue-fontawesome 2. 安装样式依赖 $ npm i --save @fortawesome/fontawesome-fre 阅读全文

posted @ 2020-07-29 17:19 object360 阅读(843) 评论(0) 推荐(0) 编辑

2020年7月28日 #

连接mysql报错:Communications link failure The last packet successfully received from the server was 3,544 milliseconds ago

摘要: 异常错误:Communications link failure The last packet successfully received from the server was 3,544 milliseconds ago 解决方法: 找到application-druid.yml文件 将tes 阅读全文

posted @ 2020-07-28 15:34 object360 阅读(2816) 评论(0) 推荐(0) 编辑

2020年2月4日 #

微信小程序生成uuid

摘要: 一.添加util.js文件 /** * 生成uuid */ const wxuuid = function () { var s = []; var hexDigits = "0123456789abcdef"; for (var i = 0; i < 36; i++) { s[i] = hexDi 阅读全文

posted @ 2020-02-04 12:41 object360 阅读(7144) 评论(0) 推荐(0) 编辑

2020年2月3日 #

微信小程序监听左右滑动事件,进行切换操作

摘要: 页面: <van-tabs class="tabs-main" active="{{ tab.active }}" bind:change="onChange" bindtouchstart='touchstart' bindtouchmove='touchmove' bindtouchend='t 阅读全文

posted @ 2020-02-03 22:20 object360 阅读(3884) 评论(0) 推荐(1) 编辑

微信小程序设置页面高度100%撑满

摘要: page{ height: 100%; } .view-main{ height: 100%; width: 100%; } 阅读全文

posted @ 2020-02-03 22:17 object360 阅读(6555) 评论(0) 推荐(0) 编辑