fix: 代码优化

This commit is contained in:
黄泽群
2026-07-22 15:48:18 +08:00
parent c764781fff
commit a971f06267
8 changed files with 46 additions and 19 deletions
+15 -2
View File
@@ -9,9 +9,12 @@
<!-- #endif -->
</Header>
<view class="setting-view">
<view class="name-box">
<view class="name-box" v-if="dataList.length">
<PingItem @ok="onJumpShop" style="margin-top:24rpx" :obj="item" v-for="(item,index) in dataList" :key="index"></PingItem>
</view>
<view class="bottom-scroll-no " v-else>
<text class="text-32" >暂无数据</text>
</view>
</view>
<up-toast ref="uToastRef"></up-toast>
</view>
@@ -75,6 +78,16 @@ export default {
</script>
<style lang="scss" scoped>
.bottom-scroll-no{
width:100%;
position: absolute;
top:50%;
color: #999;
transform: translate(-50%,-50%);
left: 50%;
text-align: center;
}
.bottom-btn{
width: 100%;
margin-bottom:92rpx;
@@ -111,4 +124,4 @@ export default {
}
</style>
</style>