Weii is customized for wechat Web Services

Summary WeUI is a set of basic style library consistent with wechat native visual experience, which is designed by wechat official design team for wechat Web development, which can make users' use perception more unified. Contains button, cell, dialog, toast, article, icon and other elements. > Mobile Pr ...

Posted on Thu, 30 Apr 2020 06:04:45 -0700 by nigma

Implement drop down navigation bar

1, html+css 1. Use display attribute in css value describe none This element will not be displayed. block This element will appear as a block level element with a line break before and after it. Source code: html <!doctype html> <html> <head> <meta charset="utf-8"> <title>Webpage&lt ...

Posted on Thu, 30 Apr 2020 03:48:48 -0700 by jamesflynn

One of the basic knowledge understanding of JS: prototype chain

js prototype chain What is js prototype chain? When we think about it, we may have many concepts, such as chain, ancestor and father To understand the prototype chain, we must first understand the prototype The attribute [[Prototype]] of the object points to other objects, with the exception of [[Prototype]] of Object.prototype. Just from ...

Posted on Wed, 29 Apr 2020 22:46:26 -0700 by iijb

gmssl state secret certificate generation method: state secret multi-level ca certificate, state secret encryption certificate, state secret signature certificate

Configure the prerequisite environment: mkdir demoCA cd demoCA mkdir certs clr newcerts private touch index.txt touch index.txt.attr echo "01" > serial index.txt: a text database file defined by openSSL that has issued a certificate. This file is usually empty during initialization; Serial: the serial number reference file used when issui ...

Posted on Wed, 29 Apr 2020 08:19:08 -0700 by Thatsmej

cesium getting started example - detection effect

Animation is realized by multiple canvas s https://www.yueyanshaosun.cn/ysCesium/views/5_geometricObj2_entityCanvas.html Implementation steps of detection effect: 1. Create a Cylinder cone; 2. Set the map of material as dynamic attribute to realize dynamic detection, but the direction is not changed; 3. Dynamically modify the length, positi ...

Posted on Wed, 29 Apr 2020 07:48:55 -0700 by jasonyoung

Some knowledge points of ES6

1. Define variables / constants 1) . let defining variables 1. Function: *Similar to var, it is used to declare a variable 2. Features: *Valid in block scope *Cannot repeat declaration *No preprocessing, no promotion 3. Application: *Loop traversal plus monitor *Replacing var with let is the trend 2) . const defin ...

Posted on Wed, 29 Apr 2020 01:00:32 -0700 by deeppak

Style beautification of blog Garden

Now I use markdown for writing, but the style of markdown in blog Garden is not my idea. After some setbacks, I beautify the style by the way. Thank you for allowing custom style in blog Garden~ Several files involved are uploaded to Code cloud , download if necessary. 1: Change the highlighted style of the code Blog park uses highlight.min ...

Posted on Tue, 28 Apr 2020 21:25:39 -0700 by DeX

EF multi tenant instance: evolution to read write separation

Preface I'm going to write about multi tenancy again. It's a long series. If there is no accident, this essay is the last one. The content is about how to use our multi tenant library to simply realize read-write separation.   Analysis In fact, there are many ways to realize read-write separation, but there are two types as follows: 1. S ...

Posted on Sat, 25 Apr 2020 21:56:55 -0700 by demophoon88

Using html+css to draw concentric circles -- absolute layout and relative layout

1, css drawing circle 1 2 #circle { 3 width: 300px; 4 height: 300px; 5 background-color: #000000; 6 border-radius: 300px; 7 } key: 1. width = height is equivalent to drawing a square 2. Border radius > 0.5 * width (border radius)   2, Concentric circle, two drawing methods 2.1 absolute form concentric circ ...

Posted on Sat, 25 Apr 2020 08:20:24 -0700 by tripodkid

Heap source code and application: heap sorting, priority queue, TopK problem

1. piles Heap (Heap)) is an important data structure, which is the first choice to implement priority queues. There are many variants of heap, including binomial heap, Fibonacci heap, etc., but only the most common one (hereinafter referred to as heap) is considered here. Heap is a binary tree that satisfies certain properties. Specifically, ...

Posted on Fri, 24 Apr 2020 22:16:06 -0700 by rich___