mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-03-07 16:24:01 +08:00
新增10+页面模板
新增form表单部分组件的演示代码 新增图标 添加第三方开发插件演示(所属权归属第三方) 新增tn-scroll-view下拉组件开发(会员) 新增tn-stack-swiper堆叠轮播添加垂直滚动属性(会员) 新增tn-waterfall瀑布流组件(会员) 新增tn-tree-view树形菜单组件(会员) 新增tn-cascade-selection级联选择组件(会员) 新增tn-custom-swiper组件(会员【实验室】) 新增tn-lazy-load懒加载组件 新增tn-load-more加载更多组件 新增tn-sekeleton骨架屏组件 新增tn-empty空白页组件 新增tn-landscape压屏窗组件 新增tn-verification-code-input验证码输入组件 新增tn-goods-nav商品导航组件 修复tn-slider在tn-form-item下在H5端无法滑动的bug 修复tn-swipe-action-item点击回调事件中无法读取name属性的bug 修复群友已反馈的bug 优化部分页面在iphone上底部确实的问题
This commit is contained in:
81
componentsPage/load-more/load-more.vue
Normal file
81
componentsPage/load-more/load-more.vue
Normal file
@@ -0,0 +1,81 @@
|
||||
<template>
|
||||
<view class="components-load-more tn-safe-area-inset-bottom">
|
||||
<!-- 顶部自定义导航 -->
|
||||
<tn-nav-bar fixed>加载更多</tn-nav-bar>
|
||||
|
||||
<!-- 页面内容 -->
|
||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
|
||||
<demo-title title="默认">
|
||||
<tn-load-more></tn-load-more>
|
||||
</demo-title>
|
||||
|
||||
<demo-title title="加载中">
|
||||
<tn-load-more status="loading" :loadingIcon="false"></tn-load-more>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="loading"></tn-load-more>
|
||||
</view>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="loading" loadingIconColor="#01BEFF"></tn-load-more>
|
||||
</view>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="loading" loadingIconType="flower"></tn-load-more>
|
||||
</view>
|
||||
</demo-title>
|
||||
|
||||
<demo-title title="没有更多">
|
||||
<tn-load-more status="nomore"></tn-load-more>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="nomore" dot></tn-load-more>
|
||||
</view>
|
||||
</demo-title>
|
||||
|
||||
<demo-title title="修改提示语">
|
||||
<tn-load-more status="loadmore" :loadText="loadText"></tn-load-more>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="loading" :loadText="loadText"></tn-load-more>
|
||||
</view>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="nomore" :loadText="loadText"></tn-load-more>
|
||||
</view>
|
||||
</demo-title>
|
||||
|
||||
<demo-title title="修改颜色">
|
||||
<tn-load-more status="loadmore" :loadText="loadText" fontColor="#01BEFF"></tn-load-more>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="loading" :loadText="loadText" fontColor="tn-color-indigo"></tn-load-more>
|
||||
</view>
|
||||
<view class="tn-margin-top">
|
||||
<tn-load-more class="tn-margin-top" status="nomore" :loadText="loadText" fontColor="rgba(255, 129, 129, 0.8)"></tn-load-more>
|
||||
</view>
|
||||
</demo-title>
|
||||
|
||||
<demo-title title="修改字体尺寸">
|
||||
<tn-load-more :fontSize="32"></tn-load-more>
|
||||
</demo-title>
|
||||
|
||||
<view class="tn-padding-bottom-lg"></view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import demoTitle from '@/libs/components/demo-title.vue'
|
||||
export default {
|
||||
name: 'ComponentsLoadMore',
|
||||
components: { demoTitle },
|
||||
data() {
|
||||
return {
|
||||
loadText: {
|
||||
loadmore: '下拉加载',
|
||||
loading: '快速加载中...',
|
||||
nomore: '已经没有了啊'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user