微信小程序端
divider.vue
<template>
<view class="divider"></view>
</template>
<script>
</script>
<style>
.divider{
height: 18rpx;background: #F5F5F5;
}
</style>
效果如下:
vue端
<template>
<div class="divider"></div>
</template>
<script>
</script>
<style>
.divider{
height: .24rem;background: #F5F5F5;
}
</style>