Browse Source

上传

master
前端-胡立永 5 months ago
parent
commit
5109c36b57
4 changed files with 21 additions and 17 deletions
  1. +21
    -14
      components/base/tabbar.vue
  2. +0
    -1
      pages/index/center.vue
  3. +0
    -1
      pages/index/index.vue
  4. +0
    -1
      pages/index/order.vue

+ 21
- 14
components/base/tabbar.vue View File

@ -1,18 +1,21 @@
<template>
<view class="tabbar">
<view
:class="{item : true, active : select == index}"
v-for="(item, index) in list"
:key="index"
v-if="!item.isNotShop || !userShop"
@click="toPath(item, index)">
<view class="icon">
<image :src="select == index ?
item.selectedIconPath :
item.iconPath" class="icon-image" mode=""></image>
</view>
<view class="title">
{{ item.title }}
<view class="">
<view class="tabbar-box"></view>
<view class="tabbar">
<view
:class="{item : true, active : select == index}"
v-for="(item, index) in list"
:key="index"
v-if="!item.isNotShop || !userShop"
@click="toPath(item, index)">
<view class="icon">
<image :src="select == index ?
item.selectedIconPath :
item.iconPath" class="icon-image" mode=""></image>
</view>
<view class="title">
{{ item.title }}
</view>
</view>
</view>
</view>
@ -78,6 +81,10 @@
</script>
<style scoped lang="scss">
.tabbar-box{
height: 120rpx;
padding-bottom: env(safe-area-inset-bottom);
}
.tabbar{
position: fixed;
width: 750rpx;


+ 0
- 1
pages/index/center.vue View File

@ -227,7 +227,6 @@
<style scoped lang="scss">
.page {
padding-bottom: 200rpx;
.warp {
display: flex;


+ 0
- 1
pages/index/index.vue View File

@ -292,7 +292,6 @@
margin: 20rpx;
}
.page{
padding-bottom: 200rpx;
& /deep/ .uv-icon__icon{
font-size: 30rpx !important;
}


+ 0
- 1
pages/index/order.vue View File

@ -152,7 +152,6 @@
<style scoped lang="scss">
.page{
padding-bottom: 200rpx;
}
.list {
.item {


Loading…
Cancel
Save