Applet development -- override HalfScreenDialog and getPhoneNumber buttons

Using HalfScreenDialog, you can make the pop-up window below. Here I give you a hint of the authorized mobile phone number. HalfScreenDialog documentation https://developers.weixin.qq.com/miniprogram/dev/extended/weui/half-screen-dialog.html Introducing HalfScreenDialog Download components Rewrite HalfScreenDialog Because of the setting of ...

Posted by daveoliveruk on Tue, 24 Dec 2019 06:04:42 -0800

Who secretly deleted your wechat? Don't panic! Python

I don't know if you have any experience. If you want to contact a friend who hasn't been contacted for a long time, you will find that the other party has deleted you a long time ago, but you still don't know.   It's believed that there are some "zombie fans" in everyone's wechat address book. They lie in the contact list silently. Yo ...

Posted by Najjar on Mon, 23 Dec 2019 23:46:14 -0800

vue mobile top navigation component

Needless to say, here is my own vue mobile top navigation component to share with you, dynamic binding background color, font color, and fallback icon. Take what you need and put it in the project HTML <template> <div class="appraisalTooBar" :style="{background:bgColor, opacity:bgOpacity}"> <div class="lef ...

Posted by dgny06 on Mon, 23 Dec 2019 12:34:35 -0800

Reptiles - producers and consumers

structure Producer generates web address and queues it Multiple consumers pull web addresses from the queue 1 from queue import Queue 2 import time, threading, requests 3 4 url_base = 'http://www.qiushibaike.com/8hr/page/{}/' 5 header = {} 6 7 def load_data(): 8 return [url_base.format(i) for i in [1, 3, 6, 7]] 9 10 #Produc ...

Posted by xander85 on Mon, 23 Dec 2019 11:39:20 -0800

Autodesk Forge Viewer truly realizes single machine offline application

Autodesk Forge Viewer to truly implement stand-alone offline application) About the offline implementation of Autodesk Forge Viewer, the official has allowed exporting SVF and related documents, allowing users to deploy SVF and other documents to private servers, but this paper discusses another requirement. The customer requi ...

Posted by TechGuru on Mon, 23 Dec 2019 10:59:05 -0800

Flutter's multi-platform adapter mechanism is as simple as that

We all know that Flutter achieves multi-end consistency in the presentation layer and consistent UI effects through rendering on Android and iOS platforms.So if you're just developing a triple library for Android, iOS, and Web, what's a good idea? Flutter Network Request Can be used when developing Flutter http Core Library .You can also use o ...

Posted by narimanam on Sun, 22 Dec 2019 12:12:36 -0800

Separation of front and back development and cross domain problems

Front and rear end separation Traditional development mode Once upon a time, JSP and Servlet brought infinite scenery to Java, which became popular for a while. However, with the continuous development of the Internet, such a development method gradually revealed its disadvantages. In the hot mobile Internet today, the application requirements ...

Posted by konetch on Sun, 22 Dec 2019 10:14:38 -0800

css3 -- achieve click ripple effect

Pure css for ripple effectNote: use pseudo element: after to define the ripple effect. At the beginning, opacity is 0, which is invisible to the user. Click and enter the active state. Opacity becomes 0.3, which is not zoomed. transition: 0s. After exiting the active state, it will display again naturally: after the style in t ...

Posted by lpxxfaintxx on Sat, 21 Dec 2019 07:33:13 -0800

Shiro easy to use record

1. Custom token: defines a class inherited from: UsernamePasswordToken public class MyToken extend  UsernamePasswordToken 2. Login operation: Subject currentUser = SecurityUtils.getSubject(); currentUser.login(MyToken); 3. Custom password certificate: define a class, inherited from: authorizing realm public class UserRealm ...

Posted by NeoSsjin on Thu, 19 Dec 2019 13:16:34 -0800

PHP uses yansongda/pay to pay Alipay and WeChat

Pay This document is v2.x version, if you want to find v1.x version document, Click https://github.com/yansongda/pay/tree/v1.x Note: v1.x is incompatible with v2.x version After developing Alipay and WeChat Payments several times, it is natural to have a feeling of disgust and inertia. I want to find the wheel related on the internet, but I ...

Posted by MarcB on Wed, 18 Dec 2019 19:59:07 -0800