|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<layout-page>
|
|
|
<scroll-view class="scrollBox" scroll-y="true" @scrolltolower="loadingMore" style="height: calc(100vh - 102rpx);">
|
|
|
+ <view v-if="total" class="MiSans-Medium color-primary shareCode" @tap="toShare">我的分享码</view>
|
|
|
<view v-if="total" class="totalShow MiSans-Medium">恭喜你,已经成功邀请{{ total }}个新用户啦!</view>
|
|
|
<view v-if="items.length" class="listBox">
|
|
|
<!-- <m-list :items="items"></m-list> -->
|
|
@@ -18,12 +19,16 @@
|
|
|
</uni-table>
|
|
|
<uni-load-more :status="more" />
|
|
|
</view>
|
|
|
- <view v-else class="nodata-img-parent">
|
|
|
+ <view v-else class="nodata-img-parent flex-column">
|
|
|
<image
|
|
|
src="https://minio.citupro.com/dev/static/nodata.png"
|
|
|
mode="widthFix"
|
|
|
style="width: 100vw"
|
|
|
></image>
|
|
|
+ <view class="shareText">
|
|
|
+ <span>您还没有邀请新用户,</span>
|
|
|
+ <span class="color-primary" @tap="toShare">马上邀请</span>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
</layout-page>
|
|
@@ -98,6 +103,10 @@ function loadingMore () {
|
|
|
pageInfo.value.pageNo++
|
|
|
init()
|
|
|
}
|
|
|
+
|
|
|
+const toShare = () => {
|
|
|
+ uni.navigateTo({ url: '/pagesB/sharePoster/index' })
|
|
|
+}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.listBox {
|
|
@@ -107,4 +116,15 @@ function loadingMore () {
|
|
|
margin: 30rpx 0 0 30rpx;
|
|
|
color: #666;
|
|
|
}
|
|
|
+.nodata-img-parent {
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+.shareText {
|
|
|
+ margin-bottom: 150rpx;
|
|
|
+}
|
|
|
+.shareCode {
|
|
|
+ text-align: right;
|
|
|
+ margin: 30rpx;
|
|
|
+ text-decoration: underline;
|
|
|
+}
|
|
|
</style>
|