A CSS
1. Text more than span width display ... (Single-line text)
. Topwrap. Introduce span { padding:0 17px; Display:inline-block; border-radius:5px; height:18px; line-height:18px; margin-top:15px; max-height:18px; max-width:90%; White-space:nowrap; text-overflow:ellipsis; Overflow:hidden; Color: #fff; font-size:12px;}
2. Text more than span width display ... (multiline text)
. Content. dynamiclist. dynamictext p { max-height:162px; font-size:16px; Color: #000; line-height:20px; padding-bottom:5px; Overflow:hidden; max-height:100%; text-overflow:ellipsis; Display:-webkit-box; -webkit-line-clamp:8;//display up to 8 rows of -webkit-box-orient:vertical;}
Two JS
1. Some low-end Android phones do not support touchend events
adding E.preventdefault () to the touchmove can be resolved.
Three Vue
Four node
Vue+node development of mobile-side H5 page development encountered pit