Tag:page

  • Front end performance optimization

    Time:2020-2-18

    Image optimization Request optimization ◎◎◎ HTTP21. Server push2. Multiplexing of requests and responses3. Binary framing layer (I don’t understand)4. Header compression A lazy loadprinciple:When scrolling out distance (scrolltop) + browser window height > target graph height from top of page, change false link to true linkReason:1. Too many pictures are loaded on the page. The […]

  • The Vue keep alive list page cache details page returns to the previous page without refreshing, and locates to the previous location

    Time:2020-2-18

    Original link: HTTPS: / / dsx2016. COM /? P = 716 WeChat official account: Senior brother 2016 Demand: Browse the product list page, enter the product details, click to return to the previous browsing location Realization: UsevueOfkeep-aliveOfincludeProperty to dynamically cache components, return unchanged from details page, and refresh when entering list page from other pages […]

  • Java Web Development

    Time:2020-2-18

    Java web development learning notes. 1、 Introduction to JSP JSP and PHP, ASP, ASP. Net and other languages are similar, running in the server-side language. JSP (full name java server pages) is a kind of technical standard which is advocated by Sun Microsystems company and participated by many companies to enable software developers to respond […]

  • Comparison and setting of standard model and IE model of CSS box, obtaining of box size

    Time:2020-2-18

    CSS box modelInclude:Content content + padding inner margin + border border + margin outer margin 1. Standard model and IE model and their comparison Standard / W3C box modelThe scope ofmargin、border、padding、contentAndcontentNo other parts included. Ie box modelThe scope ofmargin、border、padding、content, different from the standard box, ie box’scontentContainspaddingandborderPart. 2. How to set standard model and IE model […]

  • Browser storage

    Time:2020-2-18

    The storage of the client is equivalent to the memory function of the browser. How to share the data of the same site, how to display the form filled in by one page in another page, how to close the page or exit the browser, how to open and redisplay the original page, all of […]

  • Example of electronic Vue chat

    Time:2020-2-18

    Project Description: Electronic VChat chat is a high imitation wechat PC client interface chat room project based on electronic + electronic Vue + Vue + vuex + nodejs + Vue router and other technologies, which realizes message sending / expression, picture / video preview, drag upload / paste screenshot sending / wechat DLL screenshot, right-click […]

  • React JSX syntax

    Time:2020-2-18

    JSX syntax To use JSX syntax, you must runcnpm i babel-preset-react -DAnd then.babelrcAdd syntax configuration to; Babelrc configuration { “presets”: [“env”, “stage-0”, “react”], “plugins”: [“transform-runtime”] } Configuration in webpack module: { rules: [ {test: / \. CSS $/, use: [‘style loader ‘,’css loader? Modules & localidentname = [name]] [local] – [hash: 5]’]}, // enable CSS […]

  • Arouter source code learning

    Time:2020-2-17

    Arouter source code learning Official documents:Android platform page routing framework The address of Alibaba arouter GitHub is as follows:Address of arouter GitHub Arouter my learning notes GitHub address:ARouter Arouter componentized Demo:Android_Modularization_Demo It is strongly recommended that:Before reading the source code of arouter, carefully read the official document of arouter: the page routing framework of Android […]

  • How to pop up and fold up the keyboard of H5 mobile phone

    Time:2020-2-17

    This article starts from hzzly’s blog Link in the original text: handling the pop-up of H5 mobile keyboard The front-end time is also to meet the needs of the project to start the journey of the H5 mobile terminal. Based on the current middle platform, two TOC mobile terminal projects have been expanded. The following […]

  • The use of local storage and its encapsulation interface store.js

    Time:2020-2-17

    Local storage localstorageIt’s provided by HTML5 inClientThe main function of the new method of storing data is to save the data in the client, and the data isPermanent preservationOf, except for human intervention delete. localstorageUsed as local storage, solvedcookieInsufficient storage:cookieThe storage space of each cookie in is 4K, butlocalStorageThe storage space of is 5m. In […]

  • Node.js transforms markdown and syntax highlights

    Time:2020-2-17

    Recently, I wrote some small things, and used themMarkdownEdited as a document and displayed on the page. Markdown MarkdownThe goal is to make it easy to read and write. Readability, in any case, is the most important. One useMarkdownA file written in a format should be able to be published directly in plain text, and […]

  • Problems with electron upgrading to the latest version

    Time:2020-2-17

    problem Not long ago, electron updated to version 7.1.9 After trying to install it, I found a problem. When the script runs to node install, it gets stuck and can’t go on At first, I thought it was the problem of NPM warehouse. Switch to the warehouse of Taobao and try again or stick to […]