Category:WEB Front End

  • Learning notes of react advanced guidance 3

    Time:2021-1-21

    Profiler This component implements a simple test of the rendering time of the wrapped component, mainly the settingidAttributes andonRenderFunction returns the corresponding test results. amongonRenderThe return values of are: id: string-SubmittedProfilerTreelikeid. If there are multiple profilers, it can be used to distinguish which part of the tree has been “committed”. phase: “mount” | “update”-Determine whether […]

  • ThinkPHP6、Vue、Element、Swoole、Redis

    Time:2021-1-21

    Code cloud:gitee.com/zengyou168 QQ group: 1128200208 Demo address:redbook.top Account number: Zengyou Password: 888888 ThinkPHP6 vue element swoole redis This work adoptsCC agreementReprint must indicate the author and the link of this article

  • Several examples to understand stack memory processing for different data types

    Time:2021-1-21

    Please correct any mistakes The running environment of JS code Browser kernel (engine) node WebView (hybrid, embedded in mobile app, running in APP) … Here are a few examples to understand the stack memory processing of different data types How to run JS (example 1) var a = 12; var b = a; b = […]

  • HTML5 video popular plug in video.js

    Time:2021-1-21

    Video.js It is a general JS library embedded with video player on Web page, Video.js Automatically detect the browser’s support for HTML5. If HTML5 is not supported, flash player will be used automatically. (to support ie low version, please download version 5.4.3) Click to enter the official website   Download address: http://www.jq22.com/jquery-info404 CDN can also […]

  • Function introduction of Vue + element front end application development framework

    Time:2021-1-21

    In the front, I introduced many ABP series articles “ABP framework use”, which step by step introduced the web services involved in our daily development API service construction, login log and operation audit log, dictionary management module, information maintenance of provinces and cities, organization, user, role, permission, menu and other contents in permission management module, […]

  • Ajax request JSON data case explanation

    Time:2021-1-21

    Today, there is such a demand. Click on six continents, and some corresponding request information will appear, which will be displayed below. After the request, the second click does not need to request.As shown in the figure: click North America and some requested data will appear below HTML code structure: <div> <div data-name=”beimeizhou”> <a href=”j […]

  • Dealing with the browser compatible version of the new HTML5 tag

    Time:2021-1-21

    After all, HTML5 is a newly defined specification, and some browsers can’t support the new tags and new attributes, especially IE8 and below. The following introduces some practical methods of using new HTML5 tags in the page. The purpose is to make the new tags in HTML5 get limited support in low-level browsers, so as […]

  • HTML add ICO image code( favicon.ico Put it in the root directory)

    Time:2021-1-21

    code: Copy code The code is as follows: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″ /> <link rel=”shortcut icon” href=”favicon.ico” type=”image/x-icon” /> < title > l-360 weight loss coffee is 10 times more effective than ordinary L-carnitine</head> <link href=”css/360.css” rel=”stylesheet” type=”text/css” /> <body> Put one in the […]

  • The realization of remembering page state in Vue page refresh

    Time:2021-1-21

    Environmental Science Vue project, the page has search, filter items, etc. demand Jump, switch or refresh the page, hoping to remember the user’s filtering status on the page Scheme v1 Vue provides a solution to cache components – keep alive.Cache inactive component instances instead of destroying them. <keep-alive> <router-view v-if=”$route.meta.keepAlive”/> </keep-alive> <router-view v-if=”!$route.meta.keepAlive”/> We can […]

  • Sample code for seamless scrolling with flex layout

    Time:2021-1-21

    This paper mainly introduces the sample code of realizing seamless scrolling with flex layout, which is shared with you as follows: Demonstration of cases Flex layout The so-called flex layout is elastic box layout, which is commonly used in mobile terminals. However, with the update of browser version, flex layout is increasingly used because of […]

  • In the era of human-computer cooperation, AI helps 90.4% of dual 11 front-end modules to generate automatically

    Time:2021-1-20

    Background In 2017, a paper was publishedpix2code: Generating Code from a Graphical User Interface ScreenshotThis paper describes how to use deep learning technology to recognize and generate UI structure description from a UI screenshot, and then convert the UI structure description into HTML code. Some people think that it is meaningless to generate code directly […]

  • Vue component debugging tool developed by our small partners is open source!

    Time:2021-1-20

    VCI (Vue component inspector), a Vue component debugging tool developed by our small partners, is now open source. Welcome to star! Tool features: components can be located directly through the interface, data can be modified, and prop event execution code can be traced. See github.com/zglz/vue-component-insp… This work adoptsCC agreementReprint must indicate the author and the […]