GithubHelp home page GithubHelp logo

Comments (2)

yang1206 avatar yang1206 commented on June 11, 2024

这是一个已知问题, 我也不知道为什么在支付宝小程序会编译成这样😵‍💫, 可以看一下文档中注意事项,有解决办法

from nutui-uniapp.

xiaohe0601 avatar xiaohe0601 commented on June 11, 2024

uniapp3.99.2023122611 开始新增了支付宝小程序的 styleIsolation 配置,默认值由 shared 调整为 apply-shared,导致嵌套组件样式异常,并且目前不支持单独组件修改配置,这属于 uniapp 方面的破坏性变更

现在只能先手动在 manifest.json 中的 mp-alipay 字段下添加 styleIsolation 配置,将默认值重置为 shared,等 uniapp 后续支持单独配置后,组件内部再跟进修改

{
  "mp-alipay": {
    "usingComponents": true,
    "styleIsolation": "shared"
  }
}

from nutui-uniapp.

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.