global2.min.css common style version 2.0
File link
####global2 adds the following common styles relative to global
1. Added the search box style file (search box)
<section class="search-box">
<input class="search-text" type="search" id="myInput" value="" placeholder="Search expert">
<button type="submit" class="search-btn"><i class="icon-search" ...
Posted by dpiland on Sat, 30 Nov 2019 13:20:20 -0800
Value transfer between vue components (personal)
1. Transfer value from parent component to child component
1. Parameter name to be passed for the label binding of subcomponent
2. Use props to receive parameters on the sub component page
2. Transfer value from child component to parent component
Use $emit to trigger a custom event and pass a parameter
2. Listen to the custom e ...
Posted by neostrife on Sat, 30 Nov 2019 12:34:12 -0800
Use react native tab navigator to switch pages
Switching pages is the most basic function of app. This function needs to be implemented with Navigation components.
RN is developing too fast (v49). The Navigation component that came with it is abandoned. If it is only for ios, it can also be used NavigatorIOS
There are some good ones in the communityhttps://github.com/react-comm ...
Posted by direland on Sat, 30 Nov 2019 11:07:31 -0800
Minimalist weather
1. Using the time of two days in the weekend and referring to the style of small weather, a small weather program, Xiaoyao weather, was established.
2. The function is very simple. You can check the weather in the current area and search the weather in other areas, and you can generate pictures to share.
3. After going online, we found a proble ...
Posted by anthrt on Sat, 30 Nov 2019 07:32:21 -0800
this problem in the implementation of vue list sorting
Recently I was looking at the knowledge of vue framework, and then I was puzzled by the writing method of this in one example
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
&l ...
Posted by jscofield on Sat, 30 Nov 2019 03:49:46 -0800
js to determine whether the value is null or not
To determine whether an array has a value:
Array.indexOf(val) > -1 //Existence (defect: first, it is not semantic enough. Its meaning is to find the first occurrence position of parameter value, so it is not intuitive to compare whether it is not equal to - 1. Second, it uses strict equality operator (====) to judge internally, which will le ...
Posted by phigga on Thu, 28 Nov 2019 08:53:52 -0800
Garbage Classification System Based on HTML5 + WebGL
Preface
Classification of garbage is generally the general name of a series of activities that transform garbage into public resources by classifying, storing, putting in and carrying it in accordance with certain regulations or standards.The purpose of classification is to improve the resource and economic value of garbage and strive to make t ...
Posted by hagen00 on Wed, 27 Nov 2019 19:16:34 -0800
08EasyUI - create school curriculum
We will create two tables: show school subjects on the left and show schedules on the right You can drag and drop school subjects onto the schedule cell. The school subject is a < div class = "item" > element, and the schedule cell is an element, as shown in the following figure:
Show school subjects
<di ...
Posted by ChrisML123 on Wed, 27 Nov 2019 13:59:58 -0800
Handwritten vue source-bidirectional data binding (simple implementation)
We've been asking vue about the principle of two-way data binding. Today, I'm just handwriting a two-way data binding and I'll get a better understanding of it.
Because the current vue technology is also constantly updated, now updated to 3.0, the internal method logic has also changed a lot, so as the development of us, in fact, we master the ...
Posted by kbrij on Tue, 26 Nov 2019 19:32:36 -0800
Solve the problem that v-lazy-image is invalid under the kernel of qq browser x5
Problem: in Android qq browser, v-lazy-image cannot be displayed all the time.
Cause analysis:
After debugging, it is found that the IntersectionObserver in the qq browser lacks an isIntersecting field, while the v-lazy-image plug-in displays pictures according to isIntersecting, so it can only be judged by using intersectionRatio.
Another diff ...
Posted by ashokkumar on Mon, 25 Nov 2019 10:12:14 -0800