Tips to solve ios incompatibility of mobile terminal with css position:fixed Property, no plug-ins required

Fixed settings at the bottom of the head of app for mobile development position:fixed , Android 2.2 has been implemented. However, in IOS 8 and below systems, when the keypad is activated, the problem of position floating will occur. As shown in the figure: How to solve: After consulting the data, I think of several solutions 1. Use ...

Posted on Thu, 28 May 2020 08:01:37 -0700 by witold

Using Vuex in nuxt

introduction Using Vuex in nuxt to reference in a modular way -- counter as an example Counter example directory structure directory structure js module writing // user.js // state is a function. Pay attention to the arrow function const state = () => ({ counter: 6 }) // mutations as an object const mutations = { increment(state) { ...

Posted on Thu, 28 May 2020 06:42:42 -0700 by sanand158

Zen reading notes of design patterns - 22 design patterns

Recently, I am reading Qin Xiaobo's Zen of design pattern. This article is another 2000 line long and watery note, recording 22 of the 23 design patterns mentioned in the book, basically copying the definition, advantages, disadvantages, applicable scenarios and demo of each design pattern mentioned in the book. It is recommended to read the o ...

Posted on Mon, 25 May 2020 08:52:40 -0700 by depsipher

Zero knowledge proof

In the past year, there have been many applications of zero knowledge proof. In this tutorial, we will first learn the basic concept of zero knowledge proof, use circle to build arithmetic circuit, use snarkjs to realize the whole process of zero knowledge proof, and use these knowledge to realize the two-tier expansion scheme zk rollup. Block ...

Posted on Mon, 25 May 2020 06:50:39 -0700 by BSlepkov

Java Web IDE implemented by Vue codemirror + java compiler

background Recently, my colleague told me a very interesting requirement: let the user (in the application scenario, generally for other developers) fill in the Java code snippet. The content of the code snippet is the inheritance class of the template class that has been specified, and implement the method of template class definition. Our ...

Posted on Sat, 23 May 2020 21:44:37 -0700 by jh21236

New features of JDK 1.8 -- functional interface

In the last article, we introduced the following new features of JDK 1.8. 1.Lambda expression 2. Method reference 3. Functional interface 4. Default method 5.Stream 6.Optional 7. Nansharm JavaScript engine 8. New date time API 9.Base64 Before that, I learned the first two Lambda expressions, method references, and this article is about function ...

Posted on Fri, 22 May 2020 05:43:03 -0700 by False

Submission of php form form

php forms inserting forms into Web pages Insert the form in the normal WEB page as follows: a relatively complete form will be created here to show all the elements and attributes in < form >. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> </head> < ...

Posted on Fri, 22 May 2020 01:05:11 -0700 by roba59

9-Brief analysis of NodeEnvironmentPlugin module for webpack source

Introducing the construction of Compiler is rather interesting. It's better to go ahead and explain it when you use Compiler. This section focuses on this line of code: // No matter here compiler = new Compiler(); compiler.context = options.context; compiler.options = options; // Look here new NodeEnvironmentPlugin().apply(compiler); This con ...

Posted on Thu, 21 May 2020 10:00:36 -0700 by makeshift_theory

New feature of JDK 1.8 -- method reference

In the last article, we introduced the following new features of JDK 1.8. 1.Lambda expression 2. Method reference 3. Functional interface 4. Default method 5.Stream 6.Optional 7. Nansharm JavaScript engine 8. New date time API 9.Base64 And learned the most important features of JDK 1.8-- Lambda expression , a reference to this learning method. ...

Posted on Thu, 21 May 2020 09:22:27 -0700 by chick3n

Vue component communication values (parent-child component communication / brother component communication / cross level communication)

First: Props / $emit Father child Props // Parent component<template> <div id="app"> <users v-bind:users="users"></users>//The former is easy to call for subcomponents, while the latter needs to pass data names </div> </template> <script> import Users from "./components/Users" export default { ...

Posted on Wed, 20 May 2020 02:52:06 -0700 by oc1000