Tag:assembly

  • Vue UU child component calls main component function

    Time:2019-11-11

    Title < br > < br > // a custom component within a global component < br > Vue. Component (“v-xiaoshu”, {< br > // p-tag callback function in a template < br > template: ` < p @ Click = “handleclick” > Click me < / P > `, < br > methods: {< […]

  • Front end development HTML5 – form label

    Time:2019-11-11

    Form brief introduction Form form is mainly used for data interaction between users and web applications. It allows users to send data to web applications, and web pages can also intercept the sending of data for their own use. Form is usually composed of one or more form elements. These form elements are single line […]

  • Use Vue filter at another angle

    Time:2019-11-10

    Use Vue filter at another angle In Vue, filters are mainly used for text formatting, such as lowercase to size, date formatting and other operations. The official introduction of this function is also very simple, but it is really simple, just a function. But recently, I met some special needs when I made two apps. […]

  • Flutter learning notes (23) — layout widget of multiple sub elements (rwo, column, stack, indexedstack, table, wrap)

    Time:2019-11-9

    For reprint, please indicate the source:Flutter learning notes (23) — layout widget of multiple sub elements (rwo, column, stack, indexedstack, table, wrap)   In the previous article, I combed the widgets with a single sub element layout. Today, I combed the widgets with multiple sub element layouts. Row Common properties of row component are as […]

  • Django basic command

    Time:2019-11-6

    Create projectDjango admin startproject project nameCreate applicationDjango admin startapp application name Generation migration python3 manage.py makemigrationExecution transfer python3 manage.py migrate Create background administrator account python3 manage.py createsuperuser Django database General attributeDB column =’name’specifies the name in the databaseDefault = 0 specifies the default valueNull = false non NULL constraint, null can be null when it […]

  • Flutter learning notes (24) – singlechildscrollview scrolling component

    Time:2019-11-5

    For reprint, please indicate the source:Flutter learning notes (24) – singlechildscrollview scrolling component In our actual project development, there are often too many UI contents on the page, which leads to the endless display of one screen on the mobile phone. For example, in Android, we usually use Scrollview to wrap the contents. If we […]

  • Implementation of Vue dynamic subcomponent

    Time:2019-11-2

    Let multiple components use the same mount point and switch dynamically, which is called dynamic component. By using reserved Element, which is dynamically bound to its is feature, can implement dynamic components. Mode 1: components required for local registration Toggle pages <span style=”background-color: #f5f5f5; color: #0000ff;”>var</span><span style=”background-color: #f5f5f5; color: #000000;”> home </span><span style=”background-color: #f5f5f5; color: #000000;”>=</span><span […]

  • Broadcastreceiver: the four components of Android

    Time:2019-11-1

    Preface Hi, hello and meet again. In the last issue, we talked about how to use activities. Many small partners must have created their own firstactivities. In this issue, we mainly introduce the second important component, broadcastreceiver. As the second of the four components of Android, there are many application scenarios. Next, I will introduce […]

  • Service of four Android components

    Time:2019-10-31

    Preface Hi, Hello everyone. In the last issue, we talked about how to use the broadcastreceiver. In this issue, we talked about the service related knowledge of the four components of Android. Every day a technical dry goods, every day we progress together. Patience and concentration are not only virtues, but also wealth.   1. […]

  • Vue cli project Vue cookies and Vue cookies handling cookies

    Time:2019-10-29

    08.31 self summary Vue cli project Vue cookies and Vue cookies handling cookies vue-cookie I. module installation npm install vue-cookie –save #–Save does not need to write 2. Configure main.js //Configure cookies import cookie from ‘vue-cookie’ Vue. Prototype. $cookie = cookie; // when configuring, the name here is not defined as a cookie. Three. Use […]

  • Web app upgrade – automatic update of app with progress bar

    Time:2019-10-26

    The app with progress bar is automatically updated, and the effect is shown in the following figure: Technology: Vue, van UI, 5+ Encapsulate the independent component appprogress.vue: Version update, please wait… //App download progress component export default { props: { // progress value percentageVal: { type: Number, default: 0 }, //Show pop ups or not […]

  • Flutter learning notes (25) — listview realizes pull-up refresh pull-down loading

    Time:2019-10-25

    For reprint, please indicate the source:Flutter learning notes (25) — listview realizes pull-up refresh pull-down loading   We have written about the use of listview before: flutter learning notes (12) – list component. When there is a lot of data in the list, you need to use a long list, such as the order list […]