Refactor(首页):改版重构-界面完成

This commit is contained in:
lifizer
2024-07-30 18:14:59 +08:00
parent b264e04e8f
commit 37fa7fab05
7 changed files with 1682 additions and 884 deletions
+9 -3
View File
@@ -3,7 +3,7 @@
:style="{
'padding-top': (statusBarHeight + 54) + 'px'
}"
class="pages-cart"
class="pages-cart tabbar-page"
>
<u-navbar
:left-icon="selectCount > 0 ? 'trash' : ''"
@@ -213,9 +213,11 @@
v-else
:show-avatar="false"
/>
<xdd-tabbar :curr-index="2" />
</view>
</template>
<script>
import XddTabbar from '@/components/xdd-tabbar'
import {
changeCartNum,
getCartGroup,
@@ -227,7 +229,8 @@ import CheckboxIcon from '@/components/CheckboxIcon.vue'
import { pageListenMixins } from '@/mixins/pageListenMixins'
export default {
components: {
CheckboxIcon
CheckboxIcon,
XddTabbar
},
mixins: [pageListenMixins],
data() {
@@ -633,7 +636,7 @@ view {
.footer-fixed {
position: fixed;
left: 0;
bottom: 0;
bottom: 180rpx;
width: 100vw;
height: 100rpx;
box-shadow: 0 6rpx 12rpx rgba(0, 0, 0, 0.16);
@@ -770,4 +773,7 @@ view {
}
}
}
.tabbar-page {
padding: 0 0 180rpx 0;
}
</style>