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

[iui-swiper] indicator隐藏在uni编译的微信小程序无效 #25

Open
QAQQL opened this issue Oct 23, 2024 · 0 comments
Open

[iui-swiper] indicator隐藏在uni编译的微信小程序无效 #25

QAQQL opened this issue Oct 23, 2024 · 0 comments

Comments

@QAQQL
Copy link

QAQQL commented Oct 23, 2024

iui-design 版本

1.0.0-alpha.5

重现步骤

期望结果

图片

实际结果

图片

框架版本

No response

浏览器版本

No response

系统版本

No response

运行平台

No response

补充说明

修复点

<view v-if="$slots.indicator" class="custom-indicator">
  <slot name="indicator" :current="innerCurrent"></slot>
</view>
<view
  v-else
++v-show="interval"
  :class="`${prefixCls}-indicator`"
  :style="{
    justifyContent:
      indicatorAlign === 'center' ? 'center' : `flex-${indicatorAlign}`,
  }"
>
  <block v-for="(_, idx) in list.length" :key="idx">
    <view
      class="dots"
      :style="{
        backgroundColor:
          innerCurrent === idx ? indicatorActiveColor : indicatorColor,
      }"
    ></view>
  </block>
</view>

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

1 participant