当前位置:网站首页>Enterprise official website applet building tutorial - solution
Enterprise official website applet building tutorial - solution
2022-06-23 02:58:00 【Han Kai】
Catalog
02 The first part of home page construction
03 The second part of home page construction
04 The third part of home page construction
05 Home page construction Part IV
06 The fifth part of home page construction
We have used five articles to completely introduce the construction method of the home page of the official website , In fact, the content of the home page of a website is still the most , The remaining sections are relatively simple . In this section, we will set up a solution page .
Open console , Switch to the solution page
First add a top navigation component
Then add a common container component
Enter the following style :
width: 710px;
height: 320px;
opacity: 1;
margin-top: 20px;
background: rgb(0, 0, 0);
margin-left: 20px;
border-radius: 16pxAdd another ordinary container inside
Enter the following style :
width: 710px;
height: 320px;
opacity: 1;
margin-top: 0px;
border-radius: 16px;
background-image: url(https://lowcode-3gzggxse31702e14-1253226562.tcloudbaseapp.com/resources/2021-07/lowcode-4385);
background-size: 100% 100%Add a common container component to it
Add the following style :
display: block; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); width: 710px; height: 320px; border-radius: 16px; padding-top: 1px;
Put another ordinary container inside , And place picture and text components
The following styles are added to ordinary containers :
width: 156px; height: 56px; display: flex; background: rgba(255, 255, 255, 0.3); margin-left: 40px; border-radius: 32px; align-items: center; justify-content: center; margin-top: 32px; border: 2px solid rgba(255,255,255,0.30);
Add the following styles to the picture component :
width: 40px;
height: 40px;
display: inline-block;
margin-right: 6px;Add the following styles to the text component :
white-space: pre-line;
height: 40px;
margin-top: 4px;
display: inline-block;
color: rgb(255, 255, 255);
font-size: 26px;
line-height: 40Then add an ordinary container , Put text components inside
The following styles are added to ordinary containers :
margin-top: 100px;
margin-left: 40pxAdd the following styles to the text component :
white-space: pre-line;
display: inline;
color: rgb(255, 255, 255);
font-size: 32px;
font-weight: 500After the layout is built, the variable binding , Because we have multiple schemes , So you need to bind the loop variable
Use expressions to bind
Array.from($page.dataset.state.solutionData)
If you bind the page directly, an error will be reported , Because there are no variables defined , We need to define a variable first
Create variables solutionData, Select model variable , choice getList Method
Then continue to bind variables , This binds the style to the... In the loop pic Variable
So the background color is different
Then bind the text separately , The solution is OK
边栏推荐
- Goframe framework (RK boot): Based on cloud native environment, distinguish configuration files (config)
- Xiamen's hidden gaopuge smart park has finally been uncovered
- Markdown - enter a score (typora, latex)
- Phpexcel export with picture Excel
- 3. install and deploy Mgr cluster | explain Mgr in simple terms
- Initial xxE
- How to locate memory leaks
- Golang string comparison
- Record a penetration caused by log4j
- Detailed explanation of online reputation management
猜你喜欢

6. template for integer and real number dichotomy

Soft exam information system project manager_ Contract Law_ Copyright_ Implementation Regulations - Senior Information System Project Manager of soft exam 030
What is sitelock? What is the function?

Vulnhub DC-5

Soft exam information system project manager_ Information system comprehensive testing and management - Senior Information System Project Manager of soft test 027

C language series - Section 4 - arrays

8. greed

Spark broadcast variables and accumulators (cases attached)

How to store, manage and view family photos in an orderly manner?

5. concept of ruler method
随机推荐
8. greed
Reading redis source code (IV) command request processing flow
Precision loss problem
Golang string comparison
Learning about urldns chains
EDI project cases of customers in medical device industry
SetTimeout and setinterval execution time
Salesforce fileUpload (I) how to configure the file upload function
The commercial s2b2b e-commerce platform of aquatic industry improves the competitiveness of enterprises and creates a strong engine for industrial development
Understand one article: build an activity analysis system
Chaoscraft: join your girlfriend in Hackathon show -- Interview with the skate team
February 6, 2022: Arithmetic Sequence Division II - subsequence. Give you an integer array n
Direct collection - super easy to use domestic color matching website
PHP Base64 image processing Encyclopedia
Hypervisor Necromancy; Recover kernel protector (1)
January 29, 2022: connectives. Give you an array of strings without repeated words
How to make keyword targeted layout based on search sources?
Reading redis source code (III) initialization and event cycle
How to batch generate matrix 25 codes
Wi Fi 6 is coming - larger capacity, lower latency, faster network speed and more security