This commit is contained in:
liuye
2022-02-10 16:34:36 +08:00
parent cf4fa7623a
commit 71a82839d9
8 changed files with 67 additions and 12 deletions

View File

@@ -24,6 +24,9 @@
</div>
<AiEmpty v-if="!list.length" :noPermit="true" />
<div class="footer-btn" @click="toAddList">我添加的</div>
<AiFixedBtn>
<div class="addBtn iconfont iconfont-iconfangda" @tap="gotoAdd()"/>
</AiFixedBtn>
</div>
</template>
@@ -79,6 +82,9 @@ export default {
// })
uni.navigateTo({url: `./myAddList`})
},
gotoAdd() {
uni.navigateTo({ url: './add' })
}
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
@@ -178,5 +184,18 @@ export default {
::v-deep .u-search{
margin-bottom: 0!important;
}
.addBtn {
width: 96px;
height: 96px;
flex-shrink: 0;
background: $uni-color-primary;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
font-size: 48px;
color: #fff;
border-radius: 50%;
justify-content: center;
align-items: center;
display: flex;
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB