06 constructors and prototypes
1. Constructors and prototypes
1.1 three creation methods of objects
Literal mode var obj = {};
new keyword var obj = new Object();
Constructor mode function Person(name,age){
this.name = name;
this.age = age;
}
var obj = new Person('zs',12);
1.2 static members and instance members
1.2.1 instance members
Instance members are mem ...
Added by tomdude48 on Sun, 10 Oct 2021 15:50:59 +0300
Front end: overall layout, sidebar analysis, based on Element UI component library of e-commerce management system
In this article, we are still based on e-commerce management system.
This time, we analyze the overall layout of the interface and apply the layout container and sidebar components of ElementUI,
catalogue
Overall layout of interface (Container component is adopted)
Menu component
First level menu
Secondary menu
Overall lay ...
Added by caaronbeasley on Sun, 10 Oct 2021 09:39:16 +0300
The problem of downloading files from H5 micro application in IOS
Nail H5 micro application downloads files in IOS
The latest project is nailed H5 micro application. This project is an HR system project born on PC. there are processes such as resignation, leave and employment confirmation. When the resignation process is initiated, attachments need to be uploaded. Attachments can be uploaded to excel, word, ...
Added by hjunw on Fri, 08 Oct 2021 07:16:33 +0300
Introduction to CSS - positioning
What is positioning?
location:
Set the box in a certain position, so positioning is also placing the box, and move the box according to the positioning method
Positioning = positioning mode + edge offset
Location mode is used to specify how an element is located in the document. The edge offset determines the final position of the element. ...
Added by Spogliani on Fri, 08 Oct 2021 03:35:50 +0300
Simulation of object-oriented Shopping Cart module based on java
Learning video:
Introduction to java basic video tutorial, zero foundation self-study of Java, preferred introduction to Java for dark horse programmers (including Java projects and Java real problems)_ Beep beep beep_ bilibili
catalogue
* 1, Demand analysis: simulate the function of shopping cart module
1. Console
wh ...
Added by xec on Thu, 07 Oct 2021 20:34:25 +0300
New HTML5 document
New HTML5 document
1 - header information The header area of HTML document stores the basic information of various web pages. These information are mainly used by browsers and will not be displayed in web pages. In addition, search engines will also retrieve these information. Therefore, it is very important to pay attention to and set header ...
Added by NotVeryTechie on Thu, 07 Oct 2021 11:48:55 +0300
30000 words summary HTML + CSS, don't hurry to learn ✔ ️
HMTL + CSS
1. Advantages of div + CSS layout
The code is simplified, the structure is separated from the style, and it is easy to maintainThe amount of code is reduced, a large amount of bandwidth is reduced, the page loads faster, and the user experience is improvedIt is more friendly to SEO search engine, and H5 has added many semantic ta ...
Added by jmut on Wed, 06 Oct 2021 22:06:59 +0300
Getting started with HTML Basics
catalogue
1, List label
1. Unordered list
2. Ordered list
3. Tessellation of lists
2, Table label
1. Role of table labels
2. Table label
3. Merging of cells
4. Table border properties:
5. Filling properties of the table:
6. Spacing properties of cells:
3, Form
1. Use
2. Label
(1) Form label:
(2) Form control:
1, List label
1. ...
Added by shopphp on Wed, 06 Oct 2021 21:23:20 +0300
Calculated properties and listeners in Vue
1, v-for
1. Update monitoring
In general, changes in data will lead to v-for update, but in some cases, such as array method filter, it will return a new array, or directly change the value of the array in a literal way, which will not lead to v-for update. In such cases, reassignment or this.$set() or Vue.set() methods can be used
// v-for ...
Added by wazza on Wed, 06 Oct 2021 01:22:38 +0300
Learn from Vue. Just watch this
vue summary
VUE Foundation
1, What is vue
The official concept is that Vue (similar to View) is a front-end framework for building user interfaces
Build user interface
It is very convenient to fill data into html pages with Vue frame
Framework is a ready-made solution. Programmers can only abide by the specifications of the framewor ...
Added by jakeone on Tue, 05 Oct 2021 20:36:17 +0300