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

广告组件Ad在VUE下不生效,产生的标签数据是针对微信的。 #8018

Closed
oyvfhp opened this issue Nov 10, 2020 · 1 comment · Fixed by #8048
Closed

广告组件Ad在VUE下不生效,产生的标签数据是针对微信的。 #8018

oyvfhp opened this issue Nov 10, 2020 · 1 comment · Fixed by #8048
Labels
F-vue2 Framework - Vue 2 T-swan Target - 编译到百度小程序 V-3 Version - 3.x
Milestone

Comments

@oyvfhp
Copy link

oyvfhp commented Nov 10, 2020

相关平台

百度小程序

小程序基础库: 3.200.116
使用框架: Vue 2

复现步骤

直接使用组件,没有显示百度广告。

期望结果

显示百度广告

实际结果

什么都没有显示

环境信息

  Taro CLI 3.0.16 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 14.14.0 - /usr/local/bin/node
      npm: 6.14.8 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.0.16 => 3.0.16 
      @tarojs/mini-runner: 3.0.16 => 3.0.16 
      @tarojs/runtime: 3.0.16 => 3.0.16 
      @tarojs/taro: 3.0.16 => 3.0.16 
      @tarojs/webpack-runner: 3.0.16 => 3.0.16 
      babel-preset-taro: 3.0.16 => 3.0.16 
      eslint-config-taro: 3.0.16 => 3.0.16 

补充信息

直接使用无法显示百度广告信息,产生的标签信息显示也没有百度使用到的appid和apid属性。
编辑后的标签为:
<ad unitId=​"null" adIntervals=​"null" adType=​"banner" adTheme=​"white" styleclass=​"ad swan-spider-tap"i d=​"_n_445">

@taro-bot2 taro-bot2 bot added F-vue2 Framework - Vue 2 T-swan Target - 编译到百度小程序 V-3 Version - 3.x labels Nov 10, 2020
@oyvfhp
Copy link
Author

oyvfhp commented Nov 10, 2020

@Chen-jj 帮看下,是不是这个ad组件在VUE下只封装微信的?没有封装百度的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-swan Target - 编译到百度小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants