vue realizes login function

Recently, I was learning vue, and found many pits of vue, such as how to better obtain the input box input value to reduce the consumption of getting dom nodes, and how to bind a function to execute business logic. 1, First, how to get the value of the input box The vue provides a ref attribute. Here, you need to bind the inp ...

Posted on Sun, 05 Jan 2020 02:52:13 -0800 by thoand

QR code.js's QR code supports long press and scan on the mobile end and save to the mobile album

The company's project is front and back separation, The background frame is laravel, The front desk takes data from the background through the programming interface, The value is obtained through the foreground vue, First, read the interface data: $id = $params['id']; //Merchant information content $data = ...

Posted on Sat, 04 Jan 2020 02:43:39 -0800 by mrmitch

MySQL table creation and query instance

The MySQL database is used to realize the persistence of "shared bicycle" project data. The core business entities mainly include users (number, nickname, mobile phone number, city, registration date) and bicycles (number, status, damage or not). Others are not considered temporarily. Please write out the statement to ...

Posted on Sat, 04 Jan 2020 00:22:33 -0800 by AZDoc

Scrapy+Selenium get the document under iframe

Requirement: get the title under iframe h3, the source of img, and the landing page of a tag You need to be familiar with Selenium: Click learning Use xpath to get the content under iframe is empty, as shown in the figure <iframe data-v-5a33f2b6="" id="preview-iframe-18769" class="idea-preview-iframe" style="height: 259.817px;" frameborder= ...

Posted on Fri, 03 Jan 2020 14:16:03 -0800 by ehutchison

H5 wakes up local APP (Google map, baidu map, etc.) to transfer data

A taxi software was built on wechat some time ago. The driver's side was opened in the browser, and the navigation on the web page could not be located and broadcast in real time. Then, due to the mandatory requirements of Party A, local Google map had to be opened, and the user's starting point and terminal point had to be tra ...

Posted on Fri, 03 Jan 2020 02:31:28 -0800 by fatbobo

Flitter example 1 - create a simple static interface

https://www.tuicool.com/articles/zaAjA3n Create a static interface Design sketch Reference tutorial https://flutter.io/tutorials/layout/#approach Added a picture Picture resource storage location Add assets to pubspec.yaml # To add assets to your application, add an assets section, like this: assets: - images/a ...

Posted on Thu, 02 Jan 2020 23:47:45 -0800 by banzaimonkey

Recommend a NoSQL database rethindb

Non relational database (NoSQL) Good for real-time data analysis( http://localhost:8080/ Visualization for the realtime web: Web + mobile apps Multiplayer games Realtime marketplaces Streaming analytics Connected devices It supports the publish - subscribe function and the publish subscription mode. It can monitor database changes Redis also ...

Posted on Thu, 02 Jan 2020 13:50:48 -0800 by NME

Message verification and integration of Mob SMSSDK

There are always SMS verification operations in the process of opening related messages. This week, I didn't have time to write anything new. I would like to share a note about learning SMS verification before. This article uses the SMSSDK provided by Mob Download SMSSDK Download address on official website: SMSSDK Int ...

Posted on Thu, 02 Jan 2020 02:42:51 -0800 by shesma

Android live analysis

Purpose This article mainly introduces how to keep alive on most mobile phones, mainly 5.06.07.0 and 8.0 mobile phones. Please do not use it for malicious purposes, only for learning and communication. But at least for now, according to the boss, there is another rogue in the world. Do not study the way of being killed and ...

Posted on Wed, 01 Jan 2020 22:40:03 -0800 by happyhappy

Learning summary of local cache DiskLruCache

The local cache data is generally cached in / sdcard / Android / data / < application package > / cache. Because it is stored in the SDK, it will not affect the memory space of the mobile phone. This is the application cache path recognized by the Android system. When the program is uninstalled, the data here will be clea ...

Posted on Wed, 01 Jan 2020 16:58:48 -0800 by bskauge