当前位置:网站首页>[IVX junior engineer training course 10 papers to get certificates] 01 learn about IVX and complete the New Year greeting card
[IVX junior engineer training course 10 papers to get certificates] 01 learn about IVX and complete the New Year greeting card
2022-07-02 01:14:00 【1_ bit】
Catalog
【iVX Junior engineer training course 10 Textual evidence 】01 understand iVX Complete the New Year greeting card
【iVX Junior engineer training course 10 Textual evidence 】02 Numerical binding and adaptive website production
【iVX Junior engineer training course 10 Textual evidence 】03 Events and guessing numbers games
【iVX Junior engineer training course 10 Textual evidence 】04 Canvas and me iVX Group photo
【iVX Junior engineer training course 10 Textual evidence 】05 Canvas and aircraft war game production
【iVX Junior engineer training course 10 Textual evidence 】06 Database and services
【iVX Junior engineer training course 10 Textual evidence 】07 08 News page making
【iVX Junior engineer training course 10 Textual evidence 】09 Chat room production
For high score promotion, please check the column :
iVX Beginner to master
Big talk IVX From actual combat to mastery
One 、 understand iVX
iVX Is a programming language , But unlike conventional programming ,iVX Is a codeless development language , For beginners who don't understand development , Abandon the code in conventional programming languages , Make development simpler and more efficient ;iVX When developing some functions, it comes with corresponding modules , Develop more efficiently , And for programmers, they can export their code for secondary development , It greatly increases the development efficiency without losing flexibility .
iVX It's not just a programming language , Or a IDE; Developers can develop online without downloading the corresponding environment , You can also deploy directly when publishing a project , And support domain name resolution ; In this respect ,iVX The corresponding operation and maintenance cost is reduced , Developers only need to focus on application functions , Maintenance is no longer a headache for developers .
Two 、 Project creation
We can go through iVX Of IDE Link to the development interface :https://editor.ivx.cn/
Click on the link to IDE The following window will appear after the page , Choose different types for development according to individual needs .
When selecting item creation , There will be Absolute positioning The application and Relative positioning application , The differences between the two are as follows :
- Absolute positioning : Use absolute xy Coordinate drawing application element ( For example, the location of the picture depends on xy determine ), Later, we will explain in detail through examples ;
- Relative positioning : Locate in the interface according to the relative position of elements , Relative positioning does not exist xy value ( Unless there is an absolute positioning component in relative positioning , For example, canvas ).
This project takes absolute positioning as an example , Select the absolute positioning type webApp project , Click create to enter the editing interface of this item :
After clicking Create, you will see a IDE The interface is as follows :
In the above picture example, you can see several common areas :
- Component panel : In the above interface , On the left is the component panel , The component panel is iVX Addable element area in , In the component bar, you can find the elements you want to add to the project , Development is simple, click to add ;
- Property panel : The properties panel can change the properties of components , For example, the color of text 、 size , The source of the picture 、 Borders, etc ;
- Preview tool : The preview area can be used to configure the project 、 Publish and get preview address ;
- Object tree : All added elements in the project can be found in the object tree ;
- Events and other tools : Add event 、 Services, etc ; Stage area : Project Editor 、 Instant display window ;
3、 ... and 、 Common components
iVX The components are generally conventional Web、App Common elements in development, etc , For example, as shown in the following screenshot :
Special components include variable components :
stay iVX In general, the components can be divided into Visual components 、 Functional components 、 Container components , The visual component is the picture 、 Such as text ; Functional components are for Components 、if Components 、 Table components and so on ; Container components can be understood as The ranks of 、 Variables and other components .
These components will be explained in the following chapters .
Four 、 Absolute positioning and greeting card making
4.1 Absolute positioning
The absolute position is iVX The middle finger uses absolute xy Coordinates locate the position of an element .
First, we select the foreground to add components under the foreground , Then click on the page , Next, let's add components on the page .
The added elements will be displayed in the object tree :
Next, click the page with the mouse 1, You can find the corresponding content in the component panel on the left to add . Take the text for example , Click on the text component , The mouse will turn into a cross that can be drawn , Click to draw in the stage area :
After drawing, you get a text , Click the added text component in the object tree , You can change the corresponding text content in the property panel :
After changing the text, you can see the corresponding changes in the stage area :
At this point, we can see that the attribute panel of this element has xy value , This xy The value is based on the upper left corner of the stage area , To the right x The bigger the value is. , Lower and lower y The bigger the value is. , change xy Value can change the position of this element in the interface :
4.2 Greeting card making
After understanding the basic absolute positioning content , Let's draw a basic greeting card interface through pictures and text , And add dynamic effects at the end to make it more exquisite .
4.2.1 Greeting card interface drawing
First, delete the previously added element content in the object tree , You can right-click to delete , You can also select components and then delete:
After deleting , Find the picture in the component panel , And draw in the stage area :
Then select the corresponding picture in the pop-up resource selector to upload :
The picture will be displayed in the stage area , And you can drag small dots to change the size , Or drag the picture directly to change the position :

Change the position and size of the picture , And drag it to the right place :
Then right-click the picture to copy the picture :
Then select the page to paste :
Select one of the pictures , And find... In the corresponding attribute y Shaft rotation , Input 180 Make it relate to y Turn the axis horizontally :
You will get a completely flipped picture :
Finally, move the picture to the appropriate position :
Then add a picture of the door :
If you want this picture to be completely centered , Then you can find... In the properties x Axis origin , Place it in 50% It's about ; Because in ivx in , The upper left corner of the picture is the starting point , You need to put the picture x Place the origin in the middle , Give half the width of the screen , You can complete the centering :
Then change x The coordinates are half of the screen , The screen width dimension can be changed or viewed on the object tree :
Then put the picture x Change the coordinates to 375 Half of 187 You can center the picture :
Let's continue to add other pictures until the interface is drawn as follows :
If you want to put plum blossoms under other pictures , You just need to put the position of the picture in the object tree under that picture , In this way, other pictures can cover this picture .
Next, draw the text area with Chinese text , The advantage of using Chinese text is that it can make the font have Chinese text style :
Enter happy new year in the text , And change its color 、 typeface 、 size :
Click preview to see the final effect :
We can press F12 Change the current browser to mobile Web style :
At this time, we find that the page is too rigid and not particularly good-looking , Let's click on the top cloud picture , The component bar on the left will find more changes , Select the dynamic components that appear to add dynamic effects :
Then we can select a certain type of dynamic effect in the dynamic effect component , Then select preview to view the effect , If you think the action time is too long , You can increase the animation duration , At this point, the animation will slow down , Finally, turn on the loop play :
Then we right-click to copy the dynamic effect , Copying to other pictures will make the page more vivid :
Then we preview and find , Changing the phone screen size will leave some content blank , Because the length of the mobile phone is different :
At this point, we only need to add a banner component to the page , And set this banner to live at the bottom of the screen , Then add the components that need to be at the bottom of the screen to the banner :
Now you can see that , There is a patch on the page , This patch is the position of the banner , In the properties of the banner, select the position of the banner as the lower left :
Next, change the background color of the banner to transparent 、 Length and width changed to 0:
Next, drag the bottom element in the object tree into the banner , At this time, it is found that neither dog nor cloud is on the page , This is because the banner has its own xy value , Dogs and clouds have the same xy value , At this time, it will be displayed according to the coordinate value :
Next, just drag the elements up , Then change the background color of the page to red , Click preview to complete :
边栏推荐
- Global and Chinese markets for context and location-based services 2022-2028: Research Report on technology, participants, trends, market size and share
- Synthetic watermelon game wechat applet source code / wechat game applet source code
- Creating logical volumes and viewing and modifying attributes for AIX storage management
- You probably haven't noticed the very important testing strategy in your work
- Exclusive delivery of secret script move disassembly (the first time)
- Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share
- With the acquisition of Xilinx, AMD is more than "walking on two legs" | Jiazi found
- New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
- [eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)
- Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
猜你喜欢

2022 safety officer-b certificate examination practice questions simulated examination platform operation

Creation of volume group for AIX storage management (I)

969 interlaced string

Weather forecast applet source code weather wechat applet source code

Entrepreneurship is a little risky. Read the data and do a business analysis

DTL dephossite | prediction method of dephosphorylation sites based on Transfer Learning

关于ASP.NET CORE使用DateTime日期类型参数的一个小细节

Viewing and modifying volume group attributes of Aix storage management (II)

Creating logical volumes and viewing and modifying attributes for AIX storage management

2022 safety officer-a certificate examination questions and online simulation examination
随机推荐
With the acquisition of Xilinx, AMD is more than "walking on two legs" | Jiazi found
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
cookie、session、tooken
Cat Party (Easy Edition)
Two TVs
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
测试员8年工资变动,令网友羡慕不已:你一个月顶我一年工资
Circular statements in shell programming
You probably haven't noticed the very important testing strategy in your work
Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
Cookie, session, tooken
8.8.4-PointersOnC-20220215
GL Studio 5 安装与体验
[eight sorts ②] select sort (select sort, heap sort)
Leetcode 45 Jumping game II (2022.02.14)
Basic number theory -- Gauss elimination
cookie、session、tooken
SQL injection for Web Security (2)
New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
"C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression