Giter Club home page Giter Club logo

Comments (3)

tttao7 avatar tttao7 commented on July 20, 2024

麻烦带上机型 Android/iOS 并贴一下代码或截图 方便我们排查

from uview2.0.

yueqiqi avatar yueqiqi commented on July 20, 2024

按钮能显示就是文字显示不出来

HN3@1)DB_VMTTWIMNR{8 VG
da4d6be8e7656ae9d68c076beee2272
07cd94e67bb564ac706b295f5da5a46

from uview2.0.

tttao7 avatar tttao7 commented on July 20, 2024

此问题为文档问题,正确用法如下:
<u-button text="按钮"></u-button>

在nvue下,不能控制通过slot传入内容的样式,也就是说无法修改文字颜色和大小,因为nvue的text文本无法继承父元素的样式,只能把样式明确给到某个text组件。而slot传入的内容,不属于任何一个text元素,所以无法控制样式。

from uview2.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.