Vue+node development of mobile-side H5 page development encountered pit

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.