vue vant ui Tutorial & considerations
Hi, nice to meet you~
The world is big. The clever thing is that we meet here.
Welcome to tianyuwen creative music school, a gathering place for professionals.
Official website: https://youzan.github.io/vant/#/zh-CN/
01
The PullRefresh pull-down menu of the vant plug-in # will refresh after scrolling
common problem:
1. The parent contain ...
Posted by titangf on Mon, 20 Dec 2021 05:04:39 +0100
Product Manager: can you make the word cloud move?
Product Manager: can you make the word cloud move?
This is the 25th day of my participation in the Gengwen challenge in August. See the activity details: August update challenge
☀️ preface
The thing is, I got the prototype of the company's data big screen some time ago, and let me make a whole page in one day.After a brief look, it's a ...
Posted by chrbar on Mon, 20 Dec 2021 03:10:48 +0100
Step by step analysis of handwritten promise
Promise is a constructor for asynchronous requests introduced by es6 to help solve the problem of callback hell. The following content will customize the implementation of promise, which only includes basic use, so some boundary conditions are not taken into account.If you are not familiar with promise usage, you can moveUnderstanding and use o ...
Posted by cyberdwarf on Mon, 20 Dec 2021 01:17:39 +0100
Get the Axios source code in 10 minutes
Definition of Axios method
function Axios(instanceConfig) {
//Accept the default configuration parameters
this.defaults = instanceConfig;
//Define interceptors for requests and responses
this.interceptors = {
request: new InterceptorManager(),
response: new InterceptorManager()
};
}
When we create an Axios object, we ...
Posted by ursvmg on Sun, 19 Dec 2021 19:59:30 +0100
Introduction to JavaScript -- process control statement & A case of classic algorithm
Process control: Branch (condition), loop
1. Branch statement
1.1 conditional statements
if statement
The statement executes code only when the specified condition is true
if (condition)
{
When the condition is true Code executed when
}
if... else statement
Use the if... else statement to execute code when the condition is true and ...
Posted by whizzkid-000 on Sun, 19 Dec 2021 16:36:26 +0100
BOM five objects
01-BOM browser object model
1.1-introduction to BOM and DOM
The JavaScript language consists of three parts
ECMA javascript: defines the syntax specification of js DOM: document object model document object model: everything in an HTML document is a DOM object
Dom defines a set of API s for operating HTML documents (addition, deleti ...
Posted by jerk on Sun, 19 Dec 2021 15:21:59 +0100
Front end engineers have a deep understanding of closure scope and execute functions immediately
closure
1, Preliminary study on scope
Scope definition: the area where variables (variables act on context) and functions take effect (can be accessed) Nested functions, the inside can access the outside, and the outside cannot access the inside
No access from the outside to the inside demo:
var a = 123;
function test() {
var b = 123;
} ...
Posted by illushinz on Sun, 19 Dec 2021 06:43:39 +0100
[JS011] the original data type of ES6 learning notes is Symbol
Date: August 23, 2021 Author: Commas Note: if you think it's helpful, please give me a favor. You can also pay attention to me and we can grow together; If there is something wrong, I hope you guys will give me advice. Thank you ^ -^ (งงง) learning notes of ES6 1.01365 = 37.7834;0.99365 = 0.0255 1.02365 = 1377.4083;0.98365 = 0.0006
...
Posted by zenix on Sun, 19 Dec 2021 05:14:55 +0100
Compare two times in js
Demand: set a collection time for unpaid items. The user can customize the collection time. If the current time exceeds the collection time set by the user, an alert prompt will pop up when the operation and management personnel log in to the system
This article focuses on!!! js for time difference, I have sorted out three implementation metho ...
Posted by stephenf33 on Sun, 19 Dec 2021 03:22:50 +0100
Rapid development of grain mall VUE
This article is a personal note to deepen your impression. Please see the original author's article Original link: https://blog.csdn.net/hancoder/article/details/107007605
1, ES6
ECMAScript is a standard javascript implementation
VS environment construction
As I wrote before, you need to install the following plug-ins in VScode:
Auto Clos ...
Posted by dechamp on Sun, 19 Dec 2021 02:04:54 +0100