写法:
"easycom": {
"autoscan": true,
"custom": {
"^qx-(.*)": "@/components/qx-$1.vue"
}
},
<view class="swiper">
<qx-swiper :list="list" effect3d autoplay bg-color="#f2f2f2"></qx-swiper>
</view>
渲染:
<v-uni-view data-v-1badc801 class="swiper">
<uni-view
data-v-60d57804
data-v-1badc801
class="qx-swiper-wrap"
style="border-radius: 4px;"
>
<uni-swiper data-v-60d57804 style="height: 160px;">
</uni-swiper>
</uni-view>
</v-uni-view>