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

skyline模式下, view的hover-class不生效 #14190

Closed
p2227 opened this issue Jul 17, 2023 · 3 comments
Closed

skyline模式下, view的hover-class不生效 #14190

p2227 opened this issue Jul 17, 2023 · 3 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@p2227
Copy link
Contributor

p2227 commented Jul 17, 2023

相关平台

微信小程序

复现仓库

git@github.com:p2227/bug-demo.git
小程序基础库: 2.33.0
使用框架: React

复现步骤

git clone
npm i
npm run dev

按照官方的配置启动skyline开发者环境
https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/migration/

点击黄色区域
image

期望点击时候会变成红色,但实际上没变

找到
/dist/pages/home/home.json
把skyline改为webview,以上问题可以解决
image

期望结果

点击黄色区域

期望点击时候会变成红色

实际结果

点击黄色区域,颜色没有变化

环境信息

👽 Taro v3.6.8


  Taro CLI 3.6.8 environment info:
    System:
      OS: macOS 13.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
      Yarn: 1.22.18 - ~/.nvm/versions/node/v16.14.2/bin/yarn
      npm: 8.19.4 - ~/.nvm/versions/node/v16.14.2/bin/npm
    npmGlobalPackages:
      typescript: 5.0.2
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Jul 17, 2023
@p2227
Copy link
Contributor Author

p2227 commented Sep 10, 2023

我发现,只要在生成的dist/base.wxml中去掉以下r的代码,就会好了
image

@p2227
Copy link
Contributor Author

p2227 commented Sep 11, 2023

有新的线索,重新发起issues

@p2227 p2227 closed this as completed Sep 11, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Mini Program Sep 11, 2023
@iugo
Copy link
Contributor

iugo commented Oct 10, 2023

author 开的新 issue 为: #14513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

2 participants