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

font-size未能正常工作 #14567

Closed
sheiy opened this issue Sep 18, 2023 · 1 comment
Closed

font-size未能正常工作 #14567

sheiy opened this issue Sep 18, 2023 · 1 comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@sheiy
Copy link

sheiy commented Sep 18, 2023

相关平台

微信小程序

复现仓库

https://github.com/sheiy/miniprogram_375.git
小程序基础库: 3.0.0
使用框架: React

复现步骤

直接编译用微信开发工具预览即可
image
image
image

期望结果

字体正常的14px

实际结果

字体只有11px

环境信息

 Taro CLI 3.6.10 environment info:
    System:
      OS: macOS 13.5.2
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
      Yarn: 1.22.19 - /opt/homebrew/bin/yarn
      npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.10 => 3.6.10 
      @tarojs/components: 3.6.10 => 3.6.10 
      @tarojs/helper: 3.6.10 => 3.6.10 
      @tarojs/plugin-framework-react: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-alipay: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-h5: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-jd: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-qq: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-swan: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-tt: 3.6.10 => 3.6.10 
      @tarojs/plugin-platform-weapp: 3.6.10 => 3.6.10 
      @tarojs/react: 3.6.10 => 3.6.10 
      @tarojs/runtime: 3.6.10 => 3.6.10 
      @tarojs/shared: 3.6.10 => 3.6.10 
      @tarojs/taro: 3.6.10 => 3.6.10 
      @tarojs/taro-loader: 3.6.10 => 3.6.10 
      @tarojs/webpack5-runner: 3.6.10 => 3.6.10 
      babel-preset-taro: 3.6.10 => 3.6.10 
      eslint-config-taro: 3.6.10 => 3.6.10 
      react: ^18.0.0 => 18.0.0 

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Sep 18, 2023
@sheiy
Copy link
Author

sheiy commented Sep 19, 2023

找到问题了;以后的兄弟;设计尺寸375的时候使用375的机器预览
image

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

1 participant