Commit e942705d by cen

feat: 新增暂无数据

1 parent f0b929a7
......@@ -228,7 +228,6 @@ export default {
handler(newVal) {
if (newVal) {
console.log('接收到的交易数据:', newVal)
console.log(this.transmissionOfData, 'this.transmissionOfData')
this.getPositionList()
// "this.transmissionOfData.orderCode"
this.getDetail(this.transmissionOfData.orderCode)
......
......@@ -69,6 +69,10 @@
<view class="sprite-icon icon-tag-checked checked" v-if="checkListObj[item.tradeNo]"></view>
</view>
</view>
<view class="nothing flex" v-else>
<image class="icon" src="@/assets/images/home/nothing.webp" />
暂无数据
</view>
</scroll-view>
<scroll-view class="order_no_box" scroll-y enable-back-to-top refresher-enabled="true" v-show="activeIndex === 1" @scrolltolower="pageonReachBottom">
......@@ -97,6 +101,10 @@
<view class="sprite-icon icon-tag-checked checked" v-if="checkListObj[item.tradeNo]"></view>
</view>
</view>
<view class="nothing flex" v-else>
<image class="icon" src="../../../../assets/images/home/nothing.webp" />
暂无数据
</view>
</scroll-view>
</view>
</template>
......@@ -268,7 +276,8 @@ export default {
uni.$api.boutiqueApi
.statByStatus({
...this.searchObj,
keyword: this.keyword
keyword: this.keyword,
sceneType: 1
})
.then(result => {
const labelList = ['totalCount', 'waitUpgradeCount', 'upgradedCount', 'notUpgradeCount']
......@@ -709,6 +718,24 @@ export default {
margin-left: toRpx(20);
}
}
.nothing {
width: 100%;
height: toRpx(228);
flex-direction: column;
margin-top: toRpx(76);
font-size: toRpx(24);
color: #999999;
box-sizing: border-box;
&.big-height {
height: toRpx(234);
}
.icon {
width: toRpx(288);
height: toRpx(144);
margin-bottom: toRpx(4);
}
}
}
.footer-box {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!