使用方式
在 script 中引用组件
import quiSticky from '@/components/sticky.vue';export default {components: { quiSticky},}
在 template 中使用组件
<qui-sticky><view class="flex a-center flex-scroll bg-white ptb20"><view class=" w200 mr20 tc" v-for="(item, index) in 12" :key="index">标题{{ index }}</view></view></qui-sticky>
