vue中图片预览缩略图,在点击缩略图时弹出大图,想在查看大图的时候,在图片上显示一段文字,用来图片说明,放在图片的左下角,如何显示?用data-content没有效果。应该用什么?<div v-viewer="options" class="images"><template v-for="item ...
分类:
其他好文 时间:
2020-04-15 21:37:32
阅读次数:
99
Mybatis 简介: MyBatis 是一款优秀的持久层框架,它支持自定义 SQL、存储过程以及高级映射。MyBatis 免除了几乎所有的 JDBC 代码以及设置参数和获取结果集的工作。MyBatis 可以通过简单的 XML 或注解来配置和映射原始类型、接口和 Java POJO(Plain Ol ...
分类:
其他好文 时间:
2020-04-15 21:10:04
阅读次数:
62
30 # on RHEL pci.ids is locate on /usr/share/hwdata/pci.ids. 31 sudo find . -xdev \ 32 -path './sys/*' -prune -o \ 33 -path './tmp/*' -prune -o \ 34 - ...
分类:
其他好文 时间:
2020-04-15 18:15:18
阅读次数:
81
const rp=require('request-promise') const APPID='xxxxxxxxx' const AppSecret='xxxxxxxxxxxxxx' const URL=`https://api.weixin.qq.com/cgi-bin/token?grant_ ...
分类:
微信 时间:
2020-04-15 18:02:35
阅读次数:
83
-1、在Finder中 显示/隐藏 隐藏文件 显示 隐藏文件,在终端中输入: defaults write com.apple.finder AppleShowAllFiles -bool true 或 defaults write com.apple.finder AppleShowAllFile ...
分类:
系统相关 时间:
2020-04-15 17:50:48
阅读次数:
91
小程序配置文件project.config.json miniprogramRoot Path String 指定小程序源码的目录(需为相对路径) qcloudRoot 指定腾讯云项目的目录(需为相对路径) pluginRoot 指定插件项目的目录(需为相对路径) compileType strin ...
分类:
微信 时间:
2020-04-15 16:33:37
阅读次数:
141
enumerate函数的使用 lista = ['xiawang\n','小王\n','135\n'] b= enumerate(lista) print(b) print(list(b)) #enumerate 枚举 a=[temp+'#'+str(index)for index,temp in ...
分类:
其他好文 时间:
2020-04-15 13:54:42
阅读次数:
59
Java安装在Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/目录下,我们需要把这个目录配置到环境变量中,编写sudovim~/.bash_profile文件,输入密码验证,然后键入i,进入插入模式。JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk
分类:
编程语言 时间:
2020-04-15 12:27:48
阅读次数:
123
深度学习时,把有些".JPG"后缀的修改成".jpg" import os jpgs_dir = "./JPEGImages" for jpg_name in os.listdir(jpgs_dir): portion = os.path.splitext(jpg_name) if portion[ ...
分类:
编程语言 时间:
2020-04-15 12:24:22
阅读次数:
374
键盘操作需要使用send_keys()进行输入 driver.find_element_by_id(元素id).send_keys(输入的内容,Keys.ENTER)如下: send_keys(Keys.ENTER) Enter键 send_keys(Keys.CANCEL,'a') CANCEL+ ...
分类:
Web程序 时间:
2020-04-15 11:17:06
阅读次数:
96