|
|
@@ -6,7 +6,7 @@
|
|
|
<div class="tab-pre adfacjc" :class="{'active':tidx===1}" @tap="changeTab(1)">已使用</div>
|
|
|
<div class="tab-pre adfacjc" :class="{'active':tidx===2}" @tap="changeTab(2)">已过期</div>
|
|
|
</div>
|
|
|
- <div class="list">
|
|
|
+ <div class="list" v-if="list.length">
|
|
|
<up-list @scrolltolower="scrolltolower" style="height: 100%;">
|
|
|
<up-list-item v-for="(item, index) in list" :key="index">
|
|
|
<div class="box" :style="{'margin-top':index===0?0:'24rpx'}" :class="{'grey':tidx!==0}">
|
|
|
@@ -39,6 +39,10 @@
|
|
|
</up-list-item>
|
|
|
</up-list>
|
|
|
</div>
|
|
|
+ <div class="empty adffcacjc" v-else>
|
|
|
+ <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/10/09/478d380c-2d22-4ce0-828f-b6b454571a6c.png"></image>
|
|
|
+ <text>没有卷</text>
|
|
|
+ </div>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -51,6 +55,7 @@
|
|
|
[{status:0,select:false},
|
|
|
{status:0,select:false},
|
|
|
{status:0,select:false},
|
|
|
+ {status:0,select:false},
|
|
|
{status:0,select:false}]
|
|
|
)
|
|
|
|
|
|
@@ -199,5 +204,21 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .empty{
|
|
|
+ flex: 1;
|
|
|
+ image{
|
|
|
+ width: 184rpx;
|
|
|
+ height: 113rpx;
|
|
|
+ }
|
|
|
+ text{
|
|
|
+ font-family: PingFangSC, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #252525;
|
|
|
+ line-height: 45rpx;
|
|
|
+ margin-top: 60rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|