WeChat Mini Programs achieves common user effects
This "WeChat Mini Programs to achieve common user effect" article, the article sample code introduction is very detailed, with a certain reference value, interested friends must refer to, for "WeChat Mini Programs to achieve common user effect", Xiaobian sorted out the following knowledge points, please follow the pace of the editor step by step slowly understand, then let us enter the topic.
Wxml
Code description: open-data has no way to directly give a class and then control the class name, but you can control its own size and shape by controlling the external box.
Wxss
.circle {
Width:930rpx
Height:930rpx
Border-radius:465rpx
Background-color:#2ca6cb
Margin-top:-666rpx
Margin-left:-90rpx
Display:flex
Align-items:center
Flex-direction:column-reverse
}
.userAvatar {
Width:80px
Height:80px
Border-radius:40px
Margin-bottom:-30px
Overflow: hidden
}
Description: control the position of the avatar through the flex layout.
What does Mini Program mean? Mini Program is an application that can be used without download and installation. It can be used immediately by scanning a QR code or searching it. It is easy to operate and easy to spread. It can achieve seven major functions, such as message notification, offline code scanning, official account association, and so on. It is based on Wechat, similar to APP. You can use it whenever you want. After using it, you will leave without taking up memory.
These are all the contents of the article "WeChat Mini Programs achieves common user effects". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!