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

在使用Slider 图片轮播中使用Video 手机端不能左右滑动 #784

Open
cooltea521 opened this issue Oct 29, 2019 · 0 comments
Open

Comments

@cooltea521
Copy link

问题描述

在使用Slider 图片轮播中使用Video 手机端不能左右滑动。如果video中没有controls则可以

代码区域

    <yd-slider style="height: 100vw">
        <yd-slider-item v-if="goods.video" >
            <div style="height: 100%;width: 100%"><video :src="goods.video"  width="100%" height="100%" controls="controls" :poster="goods.imgs[0]"></video></div>

        </yd-slider-item>
        <yd-slider-item v-for="(item,i) in goods.imgs" >
                <img :src="item" alt="">
        </yd-slider-item>
    </yd-slider>
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