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

样式刷新后就改变了 #2828

Closed
JackonLiu opened this issue Apr 19, 2019 · 2 comments
Closed

样式刷新后就改变了 #2828

JackonLiu opened this issue Apr 19, 2019 · 2 comments

Comments

@JackonLiu
Copy link

JackonLiu commented Apr 19, 2019

问题描述
按钮样式刷新几次就改变了

复现步骤
[复现问题的步骤]

  1. Go to 开门页面
    2.刷新几次
  2. See error

[或者可以直接贴源代码,能贴文字就不要截图]

`<View title={item.id} className='item'>
              <View className='door-view' >
                <AtIcon value='iphone-x' size='34' color='#5c89e4' ></AtIcon>
                {item.name}
                <AtButton  className='open-door' type='primary' onClick={this.openDoor.bind(this,item)}>开门</AtButton>
              </View>
            </View>
.open-door{
  font-size: 25px;
  height: 46px;
  line-height: 40px;
  display: inline-block;
  float:right;
  color: white;
  margin-right: 30px;
  background-color: #5c89e4;
}

`

报错信息
样式改变,按钮似乎不在里面
这是开始的按钮
按钮样式

样式改版
系统信息

Taro v1.2 及以上版本已添加 taro info 命令,方便大家查看系统及依赖信息,运行该命令后将结果贴下面即可。
� Taro v1.2.22

Taro CLI 1.2.22 environment info:
System:
OS: Windows 7
Binaries:
Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.15.2 - C:\Users\lenovo\AppData\Roaming\npm\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]
问题可能在taro,也可能在Atbutton

@taro-bot
Copy link

taro-bot bot commented Apr 19, 2019

欢迎提交 Issue~

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

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

Good luck and happy coding~

@jinjinjin0731
Copy link
Contributor

版本? 平台? 就一个问题可能在 taro。 怎么解决问题?

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

2 participants