- 博客(10)
- 资源 (1)
- 收藏
- 关注

原创 vue 实现 分割 验证码
注:该代码存在问题,因为我maxlength =4 ,input 的宽度跟屏幕同宽,所以当我input 里面的length == 4 的时候,我的光标会超出屏幕,所以我在length == 4 的时候做了一个把光标放到第三个的处理,这种虽用户体验不好,也解了length==4的时候整个布局乱了的燃眉之急上UI 图上代码:vue<template> <div> <v-main class="bgi"> <v-container cla
2021-06-01 17:00:23
295
原创 标题,图片,文本内容 都是单一的字段,效果就是要文本内容去围绕图片,图片固定存在在左下角
需求图思路float ::after margin clear效果图代码<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-widt
2021-08-06 17:52:05
206
原创 纯css 写wave 水流 波浪 效果
原理:定位 旋转通过 上方图形的不断旋转 使背景产生波动的效果效果图:上代码:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, i
2021-08-05 13:29:30
567
原创 干掉 强硬的 css !important
前言前端开发中,不免有一些UI框架写上了惨无人道的!important这个时候我们怎么去覆盖样式?你也用一个!important 去盖如果此时还无效,试试双倍找当前元素:例.v-btn--active.v-btn--active { background-color: #ff962b !important; color: #fff !important;}...
2021-06-15 19:35:50
816
原创 We‘re sorry but doesn‘t work properly without JavaScript enabled. (解决方案)
前端遇到这个问题如何处理?先把锅甩给后端然后叫后端不要处理Nginx的域名代理,axios已经做了
2021-06-11 18:25:04
17874
4
转载 JavaScript save blob to localStorage
var xhr = new XMLHttpRequest();xhr.open('GET', 'http://g.etfv.co/http://www.google.com',true);xhr.responseType = "blob";xhr.onload = function(e){ //Stringify blob... //reload the icon from storage var fr = new FileReader(); fr.onload =
2021-06-02 16:16:03
426
原创 js随机生成牌,比大小(炸金花)
<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"&...
2020-07-29 09:03:00
1611
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人