2022/2/25

vue触发input 文件上传 ,vue input文件上传美化

1、使用input透明覆盖法 将input的z-index设置为1以上的数字并覆盖到需点击的内容上,将input的样式opacity设置为0(即为透明度为0),这样通过绑定在input上的change事件触发    <p class="…

  • vue
  • 2022/2/25
  • helei
  • 941
  • 2022/2/25

    vue上传文件读取文件内容

    <input type="file" name="" id="xmlupload" @change="xmlUpload" value="" /> xmlUpload(e){     …

  • vue
  • 2022/2/25
  • helei
  • 1,024
  • 2022/1/26

    windows查看端口占用

    netstat -aon|findstr "3306"

  • 未分类
  • 2022/1/26
  • helei
  • 905
  • 2022/1/25

    docker 更换apt 为阿里源

    mv  /etc/apt/sources.list /etc/apt/sources.list.bak echo "deb http://mirrors.aliyun.com/debian jessie main">>/etc/apt/sources.list echo "…

  • apt docker
  • 2022/1/25
  • helei
  • 859
  • 2022/1/18

    vue scss 实现3D球体照片墙

    演示地址 gitee代码地址 <template> <div> <ul v-for="ulnum in 25" :key="ulnum" :class="'ulnum-'+ulnum"> <view …

  • css vue
  • 2022/1/18
  • helei
  • 879
  • 2022/1/13

    python tkinter实现倒计时

    #!/usr/bin/python3 from tkinter import * import base64 import time import _thread import queue class Application(Frame):     "&…

  • python
  • 2022/1/13
  • helei
  • 888
  • 2022/1/13

    python 打包exe

    安装 python install pyinstaller 参数详解 -F, –onefile打包一个单个文件,如果你的代码都写在一个.py文件的话,可以用这个,如果是多个.py文件就别用 -D, –onedir打包多个文件,在dist中生…

  • python
  • 2022/1/13
  • helei
  • 960