
<template>
    <div id="scrollbox">
        <h-swipe-cell :rightWidth="50" :leftWidth="50">
            <template slot="left">
                <button square type="primary" text="选择">选择</button>
            </template>
            <div class="aaa">1111</div>
            <template slot="right">
                <button square type="primary" text="选择">选择</button>
            </template>
        </h-swipe-cell>
    </div>
</template>

<script>
import hSwipeCell from './index'
export default {
    name: "back-top-demo",
    components: {
        hSwipeCell
    }
}
</script>
<style>
    .aaa {
        position: relative;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        box-sizing: border-box;
        width: 100%;
        padding: 10px 16px;
        overflow: hidden;
        color: #323233;
        font-size: 14px;
        line-height: 24px;
        background-color: #ccc;
    }
</style>