Simple location and real-time weather query using weather forecast interface

Using a web-surfing template (Template Home, Good Place) The interface is as follows: Requirements: 1. Locate to get city information; 2. Pass city information as parameter to weather interface to get weather information Part One: Locating and Obtaining City Information Create an application (browser side) and get AK in the Ba ...

Posted on Wed, 26 Feb 2020 09:19:02 -0800 by kartul

Principle and implementation of Vue bidirectional data binding 1

Do you remember how it felt when you first used Vue? Bidirectional data binding is so magical that it can make the code so simple. 1, Vue core ideas Before you understand the two-way binding of Vue, you need to recall the core idea of Vue. Remember getter/setter, Watcher? About getter/setter metho ...

Posted on Tue, 25 Feb 2020 19:05:16 -0800 by nanban

2020 teaches you to understand regular expressions in Javascript

Preface This article has 4089 words, which takes about 12 minutes to read. text It is believed that the first impression that many people see regular expressions for the first time is muddled. For novices, a regular expression is a string of meaningless strings, which makes people confused. But regu ...

Posted on Tue, 25 Feb 2020 00:36:11 -0800 by opticmike

Webpack Actual: Simply understand the use of PostCSS and some plug-ins

Unknowingly, the Spring Festival is coming. Today is the second day of the holiday. When I think about returning to my home, all the time is not my own. I want to play with my children, visit relatives and so on. I still take advantage of these two days in Zhengzhou to give full advance of the articles to be published in the Spring Festival a ...

Posted on Mon, 24 Feb 2020 18:48:44 -0800 by ravensshade

jQuery in javascipts for python learning

Introduction to jQueryjquery is a function library, a js file, which can be used when a page is introduced with a script tag.Download address:Official jQuery website: http://jquery.com/<script type="text/javascript" src="js/jquery-1.12.2.js"></script> Writing the statement to get the element to the header of the page will cause err ...

Posted on Sun, 23 Feb 2020 10:31:52 -0800 by Tr4mpldUndrfooT

A simple purchase, sale and stock system developed by Django with admin

4. Sale module 4.1.models.py setting 4.1.1. order The order module is the initial module of this project. Only after the order is received can all the following actions be performed. The module is divided into header and detail. CAT_CHOICES = [ ('1', 'CAT1'), ('2', 'CAT2'), ('3', 'CAT3 ...

Posted on Sat, 22 Feb 2020 08:58:27 -0800 by IanMartins

android webView comprehensive resolution basic settings, https, progress bar

Basic settings of webView webView has a lot of settings through webSetting. If you don't pay attention to it, there may be some settings. Then it fails to render a web page. Here are the important settings of webView. It can be adjusted according to the actual situation. WebSettings webSettings = webView.getSettings(); ...

Posted on Sat, 22 Feb 2020 08:32:57 -0800 by rantsh

Front end network monitoring and heavy chain disconnection

Business background Recently, when doing large screen data visualization project, when thinking about project delivery and operation, considering the need to display on the company's large screen display, I suddenly thought that the project might face the problem of display in case of network disconnection and slow network speed, so I have to e ...

Posted on Fri, 21 Feb 2020 23:08:44 -0800 by getmukesh

Ajax request parameter delivery method, request parameter format, JSON.stringify()

1, How to request parameter passing 1. GET request mode The GET request mode parameter is placed in the request address for delivery. xhr.open('get', 'http://www.example.com?name=zhangsan&age=20'); Pass GET request parameter code example: <!DOCTYPE html> <html lang="en"> <head&gt ...

Posted on Wed, 19 Feb 2020 21:05:04 -0800 by werlop

How do beginners make an epidemic prevention map by themselves?

Recently, there are several small programs to check the current number of confirmed cases in your surrounding areas, such as the following: Can we make one for ourselves? The answer, of course, is yes. The technical points involved here are how the points on the map are marked. We use Tencent map to re ...

Posted on Wed, 19 Feb 2020 17:35:04 -0800 by Daveyz83