Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在编译支付宝小程序时发现:编译后的支付宝小程序代码中的app.acss文件中没有编译到这样的代码(如下),而编译微信小程序中有 #2149

Closed
zhou1992zg opened this issue Feb 13, 2019 · 1 comment

Comments

@zhou1992zg
Copy link

问题描述
在编译支付宝小程序时发现:编译后的支付宝小程序代码中的app.acss文件中没有编译到这样的代码(如下),而编译微信小程序带代码中有,我该怎么做?这是是一个使用Taro UI编译支付宝小程序的Bug吗?
@charset "UTF-8";
/**

  • Default Theme
    /
    /
    *
  • Mixes a color with white. It's different from lighten()
  • @param {color} $color
  • @param {number (percentage)} $percent [The amout of white to be mixed in]
  • @return {color}
  • @example
  • .element {
  • background-color: tint(#6ecaa6 , 40%);
    
  • }
  • // CSS Output
  • .element {
  • background-color: #a8dfc9;
    
  • }
    /
    /
    The Color of O2Team Brand /
    /
    Color /
    /
    Color Palette /
    /
    Text Color /
    /
    Link /
    /
    背景色 /
    /
    边框颜色 /
    /
    图标颜色 /
    /
    Border Radius /
    /
    透明度 /
    /
    Font /
    /
    Line Height /
    /
    水平间距 /
    /
    垂直间距 /
    /
    图标尺寸 /
    /
    z-index /
    /
    timing function /
    /
    *
  • CSS cubic-bezier timing functions
  • http://bourbon.io/docs/#timing-functions
    */
    .at-article {
    word-break: break-all;
    word-wrap: break-word;
    line-height: 1.5; }
    .at-article__h1, .at-article__h2, .at-article__h3 {
    color: 无法使用M #333;
    margin: 0 30rpx; }
    .at-article__h1 {
    margin-top: 30rpx;
    font-size: 48rpx;
    line-height: 72rpx; }
    .at-article__info {
    font-size: 28rpx;
    color: #CCC;
    line-height: 42rpx;
    margin: 0 30rpx; }
    .at-article__h2 {
    font-size: 40rpx;
    line-height: 60rpx;
    margin-top: 30rpx; }
    .at-article__h3 {
    font-size: 32rpx;
    line-height: 48rpx; }
    .at-article__p {
    font-size: 28rpx;
    color: 多重map循环中,在 JSX 中{}取值问题 #666;
    line-height: 42rpx;
    margin: 25rpx 30rpx 0; }
    .at-article__img {
    width: 690rpx;
    display: block;
    margin: 20rpx auto 0;
    border-radius: 4rpx; }

报错信息

系统信息

Taro CLI 1.2.3 environment info:
System:
OS: macOS 10.14.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.8.0 - /usr/local/bin/node
npm: 6.4.0 - /usr/local/bin/npm
npmPackages:
@tarojs/components: 1.2.4 => 1.2.4
@tarojs/plugin-babel: 1.2.4 => 1.2.4
@tarojs/plugin-csso: 1.2.4 => 1.2.4
@tarojs/plugin-sass: 1.2.4 => 1.2.4
@tarojs/plugin-uglifyjs: 1.2.4 => 1.2.4
@tarojs/router: 1.2.4 => 1.2.4
@tarojs/taro: 1.2.4 => 1.2.4
@tarojs/taro-alipay: 1.2.3 => 1.2.3
@tarojs/taro-h5: 1.2.4 => 1.2.4
@tarojs/taro-weapp: 1.2.3 => 1.2.3
@tarojs/webpack-runner: 1.2.4 => 1.2.4
eslint-config-taro: 1.2.4 => 1.2.4
eslint-plugin-taro: 1.2.4 => 1.2.4

  • 操作系统: [Mac 10.14.1]
  • Taro 版本 [v.1.2.3]
  • Node.js 版本 [e.g. v10.8.0]
  • 报错平台 [支付宝]
@taro-bot
Copy link

taro-bot bot commented Feb 13, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@zhou1992zg zhou1992zg changed the title 在编译支付宝小程序时发现:编译后的支付宝小程序代码中的文件中没有编译到这样的代码(如下),而编译微信小程序中有 在编译支付宝小程序时发现:编译后的支付宝小程序代码中的app.acss文件中没有编译到这样的代码(如下),而编译微信小程序中有 Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant