vue search page development (hot search, historical search, Taobao interface demonstration)

Full effect demonstration   Complete the pseudo search box first src/components/search/index.vue (general search box component) <template> <div class="mine-search-box-wrapper"> <i class="iconfont icon-search"></i> <div class="mine-search-box" v-if="fake">{{placeholder}}</div> <input ...

Posted by Lagreca on Sat, 11 Apr 2020 07:46:12 -0700

Deep Interpretation of ES6 Series

Preface from Lao Zeng es6: Hello, buddies, Z is back again. Welcome to Super IT's blog time. In the previous section, we talked about string, object-oriented and json's knowledge. In this section, we continue the ocean of our knowledge and fight together without baldness!Insufficient Welcome Question Message. I swear I really don't have a P-ch ...

Posted by BoukeBuffel on Fri, 10 Apr 2020 11:54:16 -0700

web front end introduction to actual combat: imitating meituan details page and shopping cart source code details page

Project diagram First, menu.html <!DOCTYPE html> <html> <head> <title>Shenzhen McDonald's Qianhai No.2 Restaurant</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> <script type="text/javascript"&g ...

Posted by savagenoob on Fri, 10 Apr 2020 08:26:48 -0700

[Python 3 crawler] anti anti anti climbing: anti climbing

1, Introduction In the current anti crawling measures used by various websites, it is very common to use JavaScript encryption. Usually, JavaScript is used to encrypt a certain parameter, such as token or sign. In this example, we take this measure to anti crawl, using JavaScript to encrypt a parameter anti token, and this blog is about how to ...

Posted by Gordicron on Fri, 10 Apr 2020 01:06:50 -0700

Proxy encapsulates asynchronous call of wechat applet

Last reply: Students who didn't look back Here! // utils/async.js function wxPromisify(fn) { return async function(args) { return new Promise((resolve, reject) => { fn({ ...(args || {}), success: res => resolve(res), fail: err => reject(err) }); ...

Posted by Velausanakha on Thu, 09 Apr 2020 07:31:14 -0700

Qt Writing Map Comprehensive Application 6-Baidu Online Map

1. Preface Baidu Online Map has been used for a long time, and it has been continuously improved until today. In addition to basic map loading and setting some related attributes, various js functions are added to load data directly and asynchronously, such as dynamically adding points, rectangles, circles, administrative divisions and so on.Of ...

Posted by Roscoe on Wed, 08 Apr 2020 18:59:46 -0700

2D game development sy5.CreateJS

Game making based on CreateJS CreateJS is the CreateJS library, which is an engine developed for HTML5 games. It consists of the following four parts:EASELJS: provides a complete and hierarchical interactive way of displaying lists to handle HTML5 canvas more simply.TWEENJS: mainly used to adjust and animate HTML5 and Javascript attributes. Pr ...

Posted by Pethlehemm on Tue, 07 Apr 2020 11:18:26 -0700

The number operation of javascript

1, Precision of floating point numbers Problem: the data type in JS is Number. This type uses IEEE754 format to represent integer and floating-point numbers. There are often some problems when using 64 bit double precision floating-point numbers in IEEE 754 standard. Composition: 1 sign digit, s for positive, 1 for ne ...

Posted by MarcAndreTalbot on Tue, 07 Apr 2020 08:30:48 -0700

JavaScript Serial 3-Variable Memory Analysis, Constants, Data Types

1. Inner Coarse Analysis of Variables 1. Default values for variables (1) If the variable is not assigned when it is initialized, then the stored variable is undefined (2) Example var lk; console.log(lk); 2. Declare multiple variables at the same time Two ways var name,age,sex; name = "kdfg"; age = 2; //or var name = "jsoaf",age,sex = ...

Posted by pistolfire99 on Mon, 06 Apr 2020 09:44:52 -0700

thinkphp6+swagger-php Configuration Management Interface Document

swagger2 was upgraded to 3 and renamed OpenAPI Spec, with some changes in all partial annotations, which are configured here with thinkphp6+swagger-php3.0 1. The front-end part git or dowload a swagger-ui to be able to access the service directory, such as where my nginx configuration points to the thinkphp6 root directory public, so download ...

Posted by Topper on Mon, 06 Apr 2020 09:27:14 -0700