How to insert multiple videos in vue-video-player of vue.js, the problem that videos can be played at the same time and the solution

@TOC Multiple video solutions Because it is to obtain different video data from the background and change the url in the playerOptions, a playerOptions object cannot be solved 1. Change the playerOptions object to an empty array 2. The data obtained from the background is placed in the videolist array, as follows 3. Loop through the videolist ...

Posted by kidd1270 on Fri, 20 Mar 2020 07:29:21 -0700

vue project, summary of detail points

1. vue Componentized Development and Value Transfer 1. Starting with the second line of goods, there is a margin-top value from the previous line, but the first line is not needed.In my practice, each line is required, except that the distance from the value of the element on the first line subtracts the margin-top value.Simple practice:'wra ...

Posted by spfoonnewb on Thu, 19 Mar 2020 20:54:38 -0700

tornado learning notes day04 execution order

Response output - > write prototype self.write() function This is how it is defined in the source code def write(self, chunk: Union[str, bytes, dict]) -> None: Effect Write chunk data to buffer Four ways to refresh buffer Program interrupt Manual refresh Buffer full Encounter \n When you write a print, it is not directly displayed on t ...

Posted by chyan on Mon, 16 Mar 2020 20:31:09 -0700

How to use Serverless to implement a book query App

I have a friend (this friend is not me). There is a small library in my friend's unit. There are many books in the library. Although each book is numbered in the corresponding area, after all, there is no library management system, so it will take some time to find it. In order to make it easier for you to find these books, my friend contacted ...

Posted by Tucker1337 on Mon, 16 Mar 2020 03:08:15 -0700

Design of xdh official website based on django and vue

Preface This project is designed with three-stage separation Reception The foreground page built by materialize framework and the interface written by django used by the backend Backstage Use the interface built by Amazon UI template to manage the content of each part Project environment python3.7.2 django2.2.9 vue axios jQuery materialize mys ...

Posted by jrws on Sun, 15 Mar 2020 21:25:46 -0700

The summary of js anti shake and throttle

In recent projects, the test proposed that clicking the button quickly for many times would trigger multiple calls of the interface. Later, when querying the data, you can use the anti shake optimization, which just integrates the use of anti shake and throttling for your own learning Code: <!DOCTYPE html> <html> <head> ...

Posted by shamuraq on Fri, 13 Mar 2020 03:24:07 -0700

hexo, the most complete personal blog in history

Preface Domain name from 2020 to the end of February mflyyou.cn After a three-year renewal, it only expires in 2024-4, so Google decided to build a personal website. Google changed one of its favorite themes, hexo matery modified, and then changed its content. Please observe the specific effect of Blog Zhang Panqin's blog Outline of this artic ...

Posted by aximbigfan on Sat, 07 Mar 2020 00:55:29 -0800

Brother, your order has arrived (front and back wechat apps subscribe to message push)

Applet message push type Subscription message Template message Unified services message Customer service news Because Template message It is offline. The example message here is Subscription message To implement the subscription message, we need to know the parameter values of several applets Applet appid ...

Posted by rscott7706 on Thu, 05 Mar 2020 03:21:28 -0800

Learning Javascript to simulate the implementation of call,apply

Preface This article is 1630 words, it takes about 8 minutes to read. All in all: in this paper, we simulate and implement a relatively perfect call and apply method from scratch by raising problems and then solving them Reference documents: Function.prototype.call(),Function.prototype.apply() The official account: front-end learning, repl ...

Posted by tron00 on Sun, 01 Mar 2020 04:14:47 -0800

Communication of Vue components

Preface In this chapter, we will learn all the contents of Vue component communication. Before that, you'd better master the basic syntax, instructions and other contents of Vue. At the same time, we suggest you check my other articles for supplement. Component communication Parent child relationship Through the figure above, I will show you t ...

Posted by Druid on Fri, 28 Feb 2020 04:15:38 -0800