Applet components

Component documentation connected: https://developers.weixin.qq.com/miniprogram/dev/component/text.html

Applet has many components, we only introduce the individual components, small program documentation more complete, side by side check can, but we need to know the existence of the components of this thing,

<Text> </ text> html in was equivalent to the span tag is inline elements, which is the default text will not wrap, plus \ n lets wrap, text content in the press and by default will not be selected, plus selecttable = "{{true}}"

Can make the text in the long text will be selected by

< Text of the appropriate selectable = "{{}} to true" > long press will select </ text >
< Text of the appropriate selectable > Long press will select </ text >
< Text Space = 'nbsp' > space size \ n- </ text > 
< text Space = 'ensp' > space size \ n- </ text > 
< text Space = 'NMSP' > space size \ n- </ text >
< Text > is not decoded. 5   & gt;   . 3 </ text > 
< text decode > decoding. 5   & gt;   . 3 </ text >

 

 text of the space property determines the size of the Chinese text of this space

 

.

Guess you like

Origin www.cnblogs.com/fqh123/p/12328177.html