自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 vue页面锚点右侧导航

锚点template的HTML代码<div class="vip_position" @click="tranmem"> 开通VIP </div>methods tranmem(){ this.getlocal(); },其中的 this.getlocal(), 在这篇博客https://blog.csdn.n...

2019-08-13 10:08:13 2946

原创 vue跳转页面锚点定位

当前页面<router-link to="/Member#member" @click.native="selectnav('Member')">VIP会员</router-link>在methods中添加selectnav selectnav(sel){ localStorage.setItem('id',sel); //lo...

2019-08-11 11:35:36 4288

原创 java读写文件及json遍历

读写文件注意编码//读public static String read(String path) { StringBuffer res = new StringBuffer(); String line = null; try { InputStreamReader isr = new InputStreamReader(new FileInputStream(p...

2019-08-11 10:49:27 886

原创 java生成pdf

使用itext在java后端生成pdf,采用的jar包注意依赖问题,下面是我使用的<!-- pdf --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <versio...

2019-08-11 10:36:01 14436 1

原创 vue赋值问题

在写vue的一个函数时发现一个赋值问题,在此记录一下情况是这样的, data中定义的数据Examendtime,Examdjs,在created()中调用methods中的formatSeconds函数,返回的值赋给this.Examdjs,倒计时组件 <Timed :remainTime="Examdjs"/> formatSeconds(s) { let time...

2019-08-02 16:24:23 2454

原创 vue学习

最近使用vue遇到的一些问题跨域前后端分离,前台使用axios访问接口获取数据 如访问 https://blog.csdn.net/doRecvActionconfig下的index.js文件配置module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicP...

2019-07-26 21:09:59 229

原创 solr学习

一篇教程:https://blog.csdn.net/awj3584/article/details/16963525官网下载solr-8.1.1,配置solr,搭建服务器参考:https://blog.csdn.net/qq_40202111/article/details/80654876Solrhttps://blog.csdn.net/Cs_hnu_scw/article/detai...

2019-07-17 14:05:21 188

原创 nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found

ssm运行时发生MyBatisSystemExceptionorg.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.hzsr.srksj.web.entity.ConorderEn...

2019-07-15 17:55:51 3703

原创 java连接打印机

驱动安装佳博打印机在佳博官网下载驱动包,要和自己的机型匹配。我使用的是GP-3120TU打印机,驱动包如下:点击安装,选择GP-3120TU设置打印机端口使用连接线选择usb端口,完成后可以打印空白页进行测试。刚开始的时候因为找不到连接线,我使用笔记本蓝牙进行连接,选用串口com4连接,也可以进行打印。得力打印机下载驱动,配置端口,安装驱动。后台pom.xml <de...

2019-07-11 20:26:33 7073 2

原创 获取天气

下面是一些可用的接口1.https://www.tianqiapi.com/api/?version=v6&&city=杭州2.http://api.help.bj.cn/apis/weather36h/?id=杭州 http://api.help.bj.cn/api/3.http://api.k780.com:88/?app=weather.history&we...

2019-07-11 18:42:19 1224

原创 ssm文件上传下载

ssm文件上传下载上传项目中使用Layui的文件上传功能 //上传文件uploadapk @RequestMapping("/uploadapk") @ResponseBody public Map uploadapk(HttpSession session, MultipartFile file,HttpServletRequest request) { Map<Str...

2019-07-09 19:50:49 924

原创 重复数据的处理

集合去除两个字段中重复的数据 //去除重复 public static List<Integer> getvip(String vip, String vip1){ String [] vevip=vip.split(","); //对“,”相隔的String字段拆分 int[] ivevip = new int[vevip.length]; f...

2019-07-08 11:13:25 308

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除