Operation logic of login and logout

The logical steps of login function are as follows: it can be divided into five steps.  1. Enter the page first to determine whether the user has logged in private void isLogin() { //Check whether the local user's login information is available SharedPreferences sp = this.getActivity().getSharedPreferences("user_info", Context.M ...

Posted on Wed, 01 Jan 2020 08:53:00 -0800 by dreamscape

Wechat applet -- drawing waves through quadratic Bezier curve

This two weeks to do a new project, the staff is relatively nervous, in addition to the needs and UI, the front-end back-end one to do. After the project requirements are determined, the UI designs the UI interface every few days. When I get the UI effect picture, I see that there is an interface with wave effect. I was covere ...

Posted on Wed, 01 Jan 2020 05:20:47 -0800 by mosizlak

vue.js2.0 to realize the rolling effect of better scroll

What is better scroll Better scroll is a mobile scrolling solution, which is based on the rewriting of iscroll. The main differences between it and iscroll are as follows Here  . Better scroll is also very powerful. It can not only do ordinary scrolling lists, but also do carousel charts, picker s and so on. <templat ...

Posted on Wed, 01 Jan 2020 04:26:26 -0800 by tores

About login page login with mobile phone verification code

I'm working on a project these two days. The login page intends to log in with my mobile phone verification code. Need to use jQuery and ajax Used to verify the mobile number input box Judge the following conditions respectively and make pop-up warning 1: Empty or not 2: 11 digits or not 3: Is it the correct mobile number ...

Posted on Tue, 31 Dec 2019 03:22:23 -0800 by Ratzzak

uniapp Android ios Baidu Face Recognition, Biopsy Detection, Face Collection APP Native Plugin

Plugin highlights 1 Supports Android tablets (both horizontal and vertical), and Apple's iPad.2 Color pictures can be replaced. Special Reminder This plug-in contains both android and iOS. Considering that some students only use one end of the app, it is deliberately divided into two plug-ins to reduce the size of the installation package. and ...

Posted on Mon, 30 Dec 2019 13:18:02 -0800 by AnsonM

Using POI and reflection to realize Excel automatic recognition entity class import

Preface: At the beginning of importing excel, each time a new EXCEL file needs to be imported, you need to write a new corresponding tool to import excel. Therefore, I think it's necessary to write an excel tool that can import everything. Upper Code: private final static String xls = "xls"; private final static String xlsx = "xlsx"; public st ...

Posted on Sat, 28 Dec 2019 12:56:10 -0800 by foyer

Code collection of mobile device jump to mobile page identified by website

When a website is visited on the mobile terminal, the final landing page should be the mobile terminal page. If the website adopts the responsive framework to make adaption, then the experience is OK; but if the website is not responsive, but the PC and the mobile terminal are separated, when the visitors use the mobile device ...

Posted on Fri, 27 Dec 2019 08:47:11 -0800 by bravo14

Python 3 batch modify JPG image size

function Batch modify jpg pictures in the current folder to the set size Move the modified picture to the new img folder Import library from PIL import Image # Processing picture module import os import shutil # Mobile file module If not, please install the co ...

Posted on Fri, 27 Dec 2019 08:43:58 -0800 by batfink

APK signature replacement detection

Harm of APK secondary packaging The secondary packaging of APK is a part of the security risks of Android applications. Generally, it inserts advertising code and related configurations into the applications through decompilation tools, and then publishes them in the third-party application market and forum. The harm of the packaging party to t ...

Posted on Fri, 27 Dec 2019 00:42:00 -0800 by tjbarr

Applet sharing (with parameter identification information), sharing to the judgment of group and friends

Usage scenarios 1. Click share to determine whether to share in the upper right corner or click Share on the page 2. After sharing, judge whether to share to group or individual 3. The user clicks the shared content, and then performs other operations such as statistics Design sketch 1. Sharing group: 2. Also share to indivi ...

Posted on Wed, 25 Dec 2019 12:21:16 -0800 by erick_w