Lou
2024-03-18 f213111dcc9744ea98bea32aeaf79fa1a978cee9
更新
5 files modified
15 ■■■■■ changed files
components/tabBar/tabBar.vue 7 ●●●● patch | view | raw | blame | history
pages.json 2 ●●● patch | view | raw | blame | history
pages/home/index.vue 2 ●●● patch | view | raw | blame | history
pages/statistics/index.vue 2 ●●● patch | view | raw | blame | history
pages/user/center.vue 2 ●●● patch | view | raw | blame | history
components/tabBar/tabBar.vue
@@ -74,7 +74,7 @@
            'curRole.roleName': {
                handler(newVal) {
                    if (newVal == "民警") {
                        this.roleType == 2
                        this.roleType = 2
                    }
                },
                deep: true,
@@ -98,10 +98,7 @@
                deep: true,
                immediate: true
            },
            isShowTabbarItem: {
                deep: true,
                immediate: true
            }
        },
        mounted() {
pages.json
@@ -931,7 +931,7 @@
        "backgroundColor": "#4586FE"
    },
    "tabBar": {
        "custom": true,
        // "custom": true,
        "color": "#AFB8C3",
        "selectedColor": "#5086FA",
        "borderStyle": "white",
pages/home/index.vue
@@ -263,7 +263,7 @@
                @close="selectBoxShow = false" :show="selectBoxShow" keyName="name" ref="uPicker" :columns="siteColumns"
                @confirm="confirmSite" @change="changeSite" @cancel="selectBoxShow = false"></u-picker>
        </view>
        <tabBar :current="0" :isShowTabbarItem="roleType == 3?true:false" />
        <!-- <tabBar :current="0" /> -->
    </view>
</template>
pages/statistics/index.vue
@@ -163,7 +163,7 @@
            </view>
        </view>
        <tabBar :current="1" />
        <!-- <tabBar :current="1" /> -->
    </view>
</template>
pages/user/center.vue
@@ -67,7 +67,7 @@
                </u-cell>
            </u-cell-group>
        </view>
        <tabBar :current="2" />
        <!-- <tabBar :current="2" /> -->
    </view>
</template>