收藏
回答

picker-view的indicator-class和indicator-style无效

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug picker-view 工具 3.2.4 3.2.4

调试基础库是3.2.4,配置代码如下:

<picker-view indicator-class="picker-indicator" value="{{date}}" bindchange="bindPickChange">
    <picker-view-column>
      <view wx:for="{{years}}" wx:key="{{years}}" class="picker-item">{{item}}年</view>
    </picker-view-column>
    <picker-view-column>
      <view wx:for="{{months}}" wx:key="{{months}}" class="picker-item">{{item}}月</view>
    </picker-view-column>
    <picker-view-column>
      <view wx:for="{{days}}" wx:key="{{days}}" class="picker-item">{{item}}日</view>
    </picker-view-column>
  </picker-view>

在微信开发工具中报,并且indicator-style和indicator-class不生效

[skyline][picker-view] indicator-style unsupported kBorderTopStyle
u @ VM790:1
d @ VM790:1
listOnTimeout @ node:internal/timers:557
processTimers @ node:internal/timers:500
[skyline][picker-view] indicator-style unsupported kBorderTopStyle
[skyline][picker-view] indicator-style unsupported kBorderBottomWidth
[skyline][picker-view] indicator-style unsupported kBorderTopWidth



https://developers.weixin.qq.com/miniprogram/dev/component/root-portal.html

回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    01-05

    请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    01-05
    有用
    回复
登录 后发表内容