Wechat applet login authorization development

I. understanding development tools Development interface description 1. wxml is mainly used to layout components (equivalent to building structure) For example, how many floors are there in the building, how many rooms are there on each floor, and what equipment are there 2. wxss mainly determines the display style (determines the style o ...

Posted by barkster on Thu, 23 Sep 2021 05:16:24 -0700

Wechat applet template syntax

Template syntax WXML is a set of tag language for framework design. Combined with basic components and event system, it can build the structure of the page Differences between WXML and HTML: text in WXML is equivalent to span in HTMLview in WXML is equivalent to div in HTMLCheckboxes in WXML are equivalent to checkbox es in HTML Data bindin ...

Posted by dhrosti on Wed, 22 Sep 2021 11:21:30 -0700

The road to suffering -- learning Python from 0 (11) -- exception handling

When an exception is triggered, the program will not run again Functions of exception handling: Try to keep the program running normally Find and solve problems as soon as possible Exception type -IndexError # 1.IndexError mlist = [5,6,7] print(mlist[100]) When an exception is triggered, the following code will not run again - Na ...

Posted by hookit on Sat, 18 Sep 2021 04:07:48 -0700

Wechat applet loads third-party fonts

1. Load local fonts When doing applet projects, sometimes in order to improve the page display effect, some third-party fonts will be introduced in the following code snippets /*Public css per page */ @font-face { font-family: "alifont"; // It's your name src: url('/static/css/subset-AlibabaPuHuiTiR.ttf') format('truetype'); // The lo ...

Posted by renny on Fri, 17 Sep 2021 23:04:48 -0700

Memory area in JVM virtual machine

The running of a program in Java can not be separated from jvm's strict division of memory regions, each region is responsible for its own duties, in order to ensure the correct operation of the program. A flowchart of a program from file to run The memory area in JVM can be divided into five categories. Program counters, virtual machin ...

Posted by astaroth on Sat, 11 Sep 2021 09:04:06 -0700

Applet ----------- call Gaode map weather api to get weather

1, Use the Gaud weather interface: The URL link is: https://lbs.amap.com/api/webservice/guide/api/weatherinfo (1) Register and get Key When you use, you need to register for Key, because it is Ali's company, you can use Alipay scan code registration. After registration, click apply key on the page shown in the figure: Click "create new ...

Posted by madcrazy1 on Thu, 09 Sep 2021 21:07:40 -0700

[vernacular design pattern, uncover secrets

problem Suppose you are developing a logistics management application. The original version could only handle truck transportation, so most of the code was in a class called truck. After a while, this app became extremely popular. You can receive more than ten requests from shipping companies every day, hoping that the application can su ...

Posted by Xyphon on Mon, 06 Sep 2021 19:16:29 -0700

WeChat Applet

WeChat Applet 1. Introduction of WeChat applet WeChat Program, short for Mini Program, is a kind of Mini Program that can make without download and installation. Applying the dream of "reachable", users can sweep or search under it to open the corresponding 1.1 Overview 1. WeChat has a large number of products, and is very sti ...

Posted by wake2010 on Thu, 02 Sep 2021 09:19:17 -0700