• Welcome to the eight year blog, I'm glad to meet you at the right age!
  • Due to the theme, QQ login partners will display the default avatar in the comments. Please go to the personal center and upload the avatar again.

Latest release page 3

We've been there that year

Code Notes

The regular expressions I used in those years

 The regular expressions I used in those years
Numbers and commas can only be numbers and commas / ^ [, D,] * $/ verify mobile phone numbers are basically correct / ^ 1 [3457889] / D {9} $/ D input multiple mobile phone numbers, each mobile phone number is separated by a comma, and the beginning and end cannot appear comma / ^ (1 (3 (3 1244 4 4 1245 5 5𞓜 7 ӟ 7_) d {9}) (,, (1 (1 (3 12444 | 5 | 5 | 7 | 8) ﹤ D {9} / D) * $/ D password length is 6-18 digits, and numbers, letters, symbols, symbols, symbols, letters, symbols symbols, symbols, 6-18 digits, at least two kinds of / (?! ^ [0-9] + $) (?! ^ [A-Z Read the full text

barben First 12 months (17 months) 484 browse 0 comments eleven Praise

Code Notes

How to turn off eslint in vue-cli3?

 How to turn off eslint in vue-cli3?
Today, I took over the project of a big man. When there was a problem, the head iron was upgraded to node.js and Vue cli. I found that the scaffold version has reached 4.1.1! in order to see what the difference is after the scaffold upgrade, we set up a project. Next, Vue create emmmm is as fierce as a tiger after the operation You may use special comments to disable some warnings. U ... Read the full text

barben 11 months ago (12-10) 3192 browse 1 comments seven Praise

Code Notes

CSS penetration: let div go to the top without affecting the element click below

 CSS penetration: let div go to the top without affecting the element click below
There is a copyright analysis on the bottom of the page. Every time I open the console, this div hides the "log in now" button. because after the page height changes, fixed positioning will make div move up, just blocking the buttons below. I have to implement it now: div is displayed on the top without blocking the elements below [normal browser size] [when the console is opened Read the full text

barben One year ago (October 22, 2019) 6470 browse 2 comments six Praise

Code Notes

Using local storage localstorage to realize no more pop-up function

 Using local storage localstorage to realize no more pop-up function
For example, I have a web page. After I open it, I will pop up a notice or advertisement. Anyway, I want to pop a window. if you don't click "don't remind me next time", it will still pop up for you next time!!! For example, who is it? Why do you hit him? Implementation method: after the user clicks "no more pop-up", a value will be written, for example: bunchhuang = true. After each page is loaded, it will be judged that "bunchhuang" is "bunchhuang" Read the full text

barben One year ago (June 11, 2019) 790 browse 0 comments nine Praise