Category:Front-End

  • Tips on using SAP UI5 code to set application theme

    Time:2022-12-8

    We can use the line of code highlighted in the following figure to set the theme of the application: sap.ui.getCore().applyTheme(“sap_fiori_3”); This method applies a theme with the given name by loading the corresponding stylesheet without interrupting the normal execution of the application. By default, theme files should be located at paths relative to the corresponding […]

  • date formatting

    Time:2022-12-8

    <el-table-column prop=”receiptDate” label=” Date” :formatter=”formatDate_self”></el-table-column> // date formatting formatDate_self(row, column) { // get cell data let data = row[column.property] if (data == null) { return null } let dt = new Date(data) return dt.getFullYear() + ‘-‘ + ((dt.getMonth() + 1) > 9 ? (dt.getMonth() + 1) : (“0” + (dt.getMonth() + 1))) + ‘-‘ + […]

  • Summary of CSS Basics 02

    Time:2022-12-8

    float Pass on the essence of web page layout: use CSS to place boxes, and place boxes in corresponding positions. CSS provides three traditional layout methods (in simple terms, how boxes are arranged). Ordinary Stream (Standard Stream) float position Standard stream (common stream/document stream) The so-called standard flow: the labels are arranged according to the […]

  • Ajax personal understanding

    Time:2022-12-8

    Ajax Overview: Ajax (Asynchronous JavaScript and XML) is a web application technology that can communicate asynchronously with server-side applications by means of client-side scripts (javascript). After obtaining server-side data, partial refresh can be performed. This improves data response and rendering speed. Why is there Ajax?Enhanced server response speed,Note: AJax cannot perform cross-domain accessFixed steps to […]

  • The era of smart building office is coming! are you ready?

    Time:2022-12-8

    China is known as the “infrastructure madman” by the world, and the number of high-rise buildings ranks first in the world. All kinds of businesses in the city, including residential quarters, commercial plazas, office buildings and even various industrial agglomerations, are all constructed of buildings. Obviously, the efficient operation of the city cannot be separated […]

  • [Extreme User Experience] How to implement responsive canvas? Keep the canvas ratio? Teach you to make canvas adapt to the screen width!

    Time:2022-12-8

    I’m HullQin, official accountoffline party gameauthor(Welcome to pay attention to the official account, send and add WeChat, and make friends), authorization from the author HullQin is required before reposting this article. I independently developed“Online Board Game Collection”, is a webpage where you can easily play games such as Doudizhu and backgammon with friends online, free […]

  • Continue our review path – webapi

    Time:2022-12-8

    The previous few days were interrupted because I was able to review the content of DOM and BOM with peace of mind. I have to say that it must be DOM. In the review content of this chapter, many small cases that are representative of classics have emerged, and there are still one or two […]

  • Vue3 v-model usage you may overlook

    Time:2022-12-7

    The ingenious use of v-model that you may overlook in Vue3 Foreword: I have been developing with Vue3 for more than four months now. I am sure that I have understood some commonly used mechanisms. However, I saw a component design of a colleague this week and used it.V-modelThis mechanism gave me a sudden realization, […]

  • ajax – an initial introduction

    Time:2022-12-7

    Entering ajax, one prerequisite for entering vue is to familiarize yourself with ajax and see how the communication process between the client and the server is. The first day is mainly to understand some introductions to ajax. Ajax, before entering, it is necessary to understand a communication process between the client and the server. In […]

  • Redux study notes

    Time:2022-12-7

    From a beginner’s point of view: What is Redux for?What should I know before learning Redux?How to use it in actual projects (for Xiaobai)What is the relationship between state management and hooks? Question 3: How to use it in actual projects (for Xiaobai) Realize such a function: click Increase to add 1 to the left […]

  • Solve | iView lower version implements table dragging and scroll bar column width calculation problems

    Time:2022-12-7

    arts /Jing Zhaoxiasource public number /Asahi’s light and shadow notesID / zhaoxiajingjing ❥❥❥❥Like, let me know you have been here~❥❥❥❥ If you think my plan is too low, please slap me lightly~ If you have a better solution, please let me know~ 0 / need “iview”: “2.13.0”Due to some reasons, the version has not been […]

  • Vite+Electron quickly builds a VUE3 desktop application

    Time:2022-12-7

    1. Introduction First, introduceviteandElectron。 Vite is a new front-end building tool that can significantly improve the front-end development experience. Launched by Youda, its post said “I will never go back to webpack again…” Electron is a framework for building desktop applications using JavaScript, HTML, and CSS. Embedding Chromium and Node.js into the Electron binary allows […]