Vue 封装Toast消息提示 学习Vue的道路上,封装一些自定义的组件不可避免,今天就来封装一个Toast消息提示。后面还有dialog对话框,原理差不多。 首先先看看效果图 现在才知道用qq录制gif图是真方便。(非广告,后面会多用gif图) 1 正常组件调用 2 全局注册对象调用(不知道是不是 ...
分类:
其他好文 时间:
2020-07-02 13:22:47
阅读次数:
74
利用hover控制动画,一个从反面向正面翻,一个从正面向反面翻。 利用:backface-visibility: hidden;控制反面的元素不显示。 不支持的浏览器直接切换层级换图(部分ie9模拟器不支持) <!DOCTYPE html> <html lang="en"> <head> <meta ...
分类:
Web程序 时间:
2020-07-01 13:02:03
阅读次数:
85
<head> <meta charset="UTF-8"> <title></title> <style> #parent { border: 1px solid blueviolet; } #childone { float: left; width: 200px; height: 400px; ...
分类:
其他好文 时间:
2020-07-01 12:25:25
阅读次数:
50
1.脚本格式 脚本以#!/bin/bash开头(指定解析器) 2.第一个Shell脚本:helloworld (1)需求:创建一个Shell脚本,输出helloworld 1111MicrosoftInternetExplorer402DocumentNotSpecified7.8 磅Normal0 ...
分类:
系统相关 时间:
2020-07-01 00:27:24
阅读次数:
85
先上效果图。虽然还是有点BUG明天再调 在用之前呢,你得先更新最新版的layui版本。经验之谈_(:_」∠)_ 今天在用的时候,实在是碰到太多的坑,本来是拒绝更新到最新版来着。 首先是layui.js和layui.all.js的问题。这个是什么问题呢!就是layui.js没有upload.rende ...
分类:
Web程序 时间:
2020-06-30 20:44:26
阅读次数:
57
背景:主要是考虑到定时器触发浪费接口调用,造成资源浪费 实例; 核心方法: getHidden () { // 判断当前页面是否处于活动状态 let prefixs = ['webkit', 'moz', 'mos', 'o'] if ('hidden' in document) { return ...
分类:
其他好文 时间:
2020-06-30 17:45:25
阅读次数:
86
.NET - WindowStyle = hidden vs. CreateNoWindow = true? As Hans said, WindowStyle is a recommendation passed to the process, the application can choose ...
.clearfix:after { content: "."; display: block; height: 0; clear: both; overflow:hidden; visibility: hidden;} ...
分类:
Web程序 时间:
2020-06-30 10:59:34
阅读次数:
57
How to restrict folder access in asp.net 回答1(不考虑用户权限的问题) For the future generation the answer which works for me is to use hidden segments. If you wan ...
分类:
数据库 时间:
2020-06-29 18:38:44
阅读次数:
90
一、 元素溢出处理 属性值【说明】 overflow visible 【默认值 不裁剪内容】 hidden 【裁剪内容 裁剪的那部分不可见】 scroll 【无论内容是否超越范围,都将显示滚动条。】 scroll="no" 【无论内容是否超越范围,都将不显示滚动条。】 auto 【当内容超出范围时, ...
分类:
Web程序 时间:
2020-06-29 13:11:18
阅读次数:
107