Registration of Spa project development
catalogue
1: The spa project completes the login and registration layout
1. Install development module
2. Introduce the main.js configuration (leading css and then JS)
Tests: adding elementUI Component view effect
3. Login registration layout
1,src/App.vue
2,src/router/index.js
3. src/views/Login.vue (log ...
Posted by gavinr98 on Thu, 11 Nov 2021 15:16:27 -0800
Basic logic of web pages
Logic of login interface <1> Create a web page tag for the form
<form method="post" id="">
<input type="text" id="UserNuber">
<input type="text" id="passwo">
</form>
<button id="btnSubmit" />
(2) First write the click event of the login button, and then obta ...
Posted by eskick on Thu, 11 Nov 2021 13:38:45 -0800
Common built-in objects for JavaScript
JavaScript provides many common built-in objects, including Math object math, Date object date, Array object Array and String object String.
Math object
Use of Math objects
Math objects are used to perform math related operations on numbers. Instead of instantiating objects, you can directly use their static properties and methods. The c ...
Posted by Gargouil on Thu, 11 Nov 2021 12:24:00 -0800
DRF+VUE realizes password and verification code login
#1, User name + password + jwt authentication to achieve login authentication
The following are some codes of VUE front-end login interface
<div class="inp" v-if="login_type==0">
<input v-model="username" type="text" placeholder="user name / phone number" class="user">
<input v-model="password" type="pass ...
Posted by webslinger on Thu, 11 Nov 2021 11:17:06 -0800
Front end Development Basics: day02 Vue Basics
Interpolation operation of template syntax
(1)v-html inserts HTML text into the tag;
(2)v-text inserts ordinary text into the label (the label cannot be parsed);
(3)v-pre directly displays the syntax on the interface;
(4)v-cloak hides the display of beard syntax on the interface before rendering the data to the page.
The code is as follo ...
Posted by duhhh33 on Thu, 11 Nov 2021 02:52:53 -0800
Do you really know the input form--- Collect user input information
1, What is a form
The form is mainly responsible for the data collection function in the web page. The < form > tag in HTML is used to collect the information entered by the user, and submit the collected information to the server for processing through the submission operation of the < form > tag
Form components:
Form lab ...
Posted by jrobles on Thu, 11 Nov 2021 01:37:12 -0800
"Pure CSS implementation" scrolling of ultra long content
If the UI draft is designed with a single line fixed width style, the content exceeding the length will generally be hidden and displayed with ellipsisThis is also the simplest and most commonly used processing methodHowever, in the actual demand, it is likely to require that the super long copy be displayed in a single line without changing t ...
Posted by mmponline on Thu, 11 Nov 2021 01:08:39 -0800
CSS drawing and data storage principle
1.1 simple JavaScript
1.1.1 what is JavaScript
At the beginning of design, JavaScript is a scripting language that can be embedded in web pages. Its main function is to create web page special effects on the web. Dynamic applications implemented using JavaScript scripting language can be seen everywhere on Web pages.
For example, verify ...
Posted by php3ch0 on Wed, 10 Nov 2021 20:40:09 -0800
JavaScript summary [5] prototype, inheritance and class
JavaScript prototypes, inheritance, and classes
prototype
Prototype
In JavaScript, an object has a special hidden attribute [[Prototype]], which is either null or a reference to another object. When we read a missing attribute from the object, JavaScript will automatically get the attribute from the Prototype
let animal = {
eats: true ...
Posted by Canabalooza on Wed, 10 Nov 2021 18:30:36 -0800
JavaScript implements Queue structure (Queue)
JavaScript implements Queue structure (Queue)
1, Queue introduction
Queue is a restricted linear table, which is characterized by first in first out (FIFO).
The limitation is that it only allows deletion at the front of the table;Insert at the back end of the table;
It is equivalent to queuing up to buy tickets. Those who come first buy t ...
Posted by longtone on Wed, 10 Nov 2021 18:12:56 -0800