Dynamic Routing, Dynamic Sidebar Menu

Dynamically load the sidebar menu Data case: returned by the background json data, please click to jump to the last view of the article There are three ways to do this, each with its own drawbacks The first (not recommended) Register all routes and dynamically load according to the dynamic menu Disadvantages: Insecure, users can change the b ...

Posted by bing_crosby on Sat, 03 Dec 2022 15:57:51 +0300

Mobile terminal adaptation scheme

Table of contents 1.rem adaptation 1.1 rem unit 1.2 Media Queries (to understand) 1.3 flexible.js 2 LESS 2.1 less operation 2.2 less nesting 2.3 less variables summary Mobile terminal adaptation scheme: flex + rem unit for adaptation effect (such as Taobao and Xiaomi mobile terminal) The current market is the most flex + view ...

Posted by ezbie on Mon, 14 Nov 2022 00:07:17 +0300

Vue uses Google Map

1. Prerequisites for use 1. Google developer account 2. The account should be bound with a debit card for subsequent api charges (it seems that mainland debit cards are not supported) 2. Add new projects and add referenced API s 3. Create a credential in the credential and get the key of the api Fourth, vue installation dependencie ...

Posted by cdm2 on Sat, 22 Oct 2022 05:27:24 +0300

The global scope and this point to

[Global scope] Objects that can be accessed anywhere in the code have global scope (that is, variables defined in the global scope can be used anywhere.) The global scope is created when the page is opened and destroyed when the page is closed. [Case 1: All undefined direct assignment variables are automatically declared as having global scop ...

Posted by khushbush on Thu, 13 Oct 2022 00:31:18 +0300

Silicon Valley Classroom 15_Live broadcast management module and WeChat sharing

Day 15 of Silicon Valley Classroom - Live Streaming Management Module and WeChat Sharing 1. Background system - live broadcast management module 1. Front-end integration of live course management 1.1, service_vod add method (1) CourseController add method @GetMapping("findAll") public Result findAll() { List<Course> list = co ...

Posted by jaydeesmalls on Wed, 12 Oct 2022 10:58:08 +0300

Web front-end homework - pet house (html+css+javascript)

🌩️ Wonderful column recommendation👇🏻👇🏻👇🏻 💂 Author homepage: [Enter the homepage—🚀Get more source code] 🎓 web front-end final homework: [📚HTML5 webpage final assignment (1000 sets) ] 🧡 Interesting confessions for programmers: [💌HTML Tanabata Valentine's Day Confession Web Page Production (110 Sets) ] 2. 📚 web ...

Posted by glence on Fri, 07 Oct 2022 04:28:22 +0300

SpringBoot, uniapp projects integrate token verification

SpringBoot, uniapp projects integrate token verification Since the front-end uniapp of this small project uses tokens for verification, I also learned how to use related tokens when writing the back-end. What is a token? A simple understanding is that the token is a string generated on the server and passed to the client as the token carried ...

Posted by satyac46 on Wed, 05 Oct 2022 05:22:44 +0300

Summary of the vue stage (vue basics)

Table of contents 1. What is vue 2. What is mvc and mvvm 3. The difference between framework and library 4. Interpolation expressions 5. The vue instruction prevents the page from flickering 6. The difference between v-html and v-text of vue instructions 7.vue directive - property binding and shorthand 8.vue instruction - event bindin ...

Posted by nublet on Sun, 25 Sep 2022 21:22:35 +0300

jQuery password verification and in-depth understanding of JSONP [front-end jQuery framework]

jQuery Password Validation The jQuery Password Authentication Plugin extends the jQuery Authentication Plugin and provides two components: Function for evaluating password-related factors: For example, mix of upper and lower case letters, mix of characters (numbers, special characters), length, and similarity to username (optional). User-def ...

Posted by dr_overload on Wed, 21 Sep 2022 21:15:10 +0300

Handwritten a mini version of the React state management tool

Handwritten a mini version of the React state management toolCurrently in React, there are many and various state management tools, such as:React ReduxMobxHoxEach state management tool has different API s and usage methods, and has a certain learning cost, and these state management tools also have a certain degree of complexity, and they are n ...

Posted by jeff8j on Tue, 20 Sep 2022 21:35:44 +0300