submit
This commit is contained in:
parent
93fe808801
commit
44a29836fb
@ -6,14 +6,13 @@
|
||||
activeColor="#EB783C"
|
||||
open-type="reLaunch"
|
||||
text="选票"
|
||||
|
||||
>
|
||||
<div style="width: 52rpx;height: 52rpx">
|
||||
<img v-if="acc===0" style="width: 100%;height: 100%" src="../../static/zu618.png" alt="">
|
||||
<img v-else style="width: 100%;height: 100%" src="../../static/zu759@3x (1).png" alt="">
|
||||
</div>
|
||||
</tm-tabbar-item>
|
||||
<tm-tabbar-item @click="acc = 1" activeColor="#EB783C" text="我的" >
|
||||
<tm-tabbar-item @click="acc = 1" activeColor="#EB783C" text="我的">
|
||||
<div style="width: 52rpx;height: 52rpx">
|
||||
<img v-if="acc===0" style="width: 100%;height: 100%" src="../../static/zu628.png" alt="">
|
||||
<img v-else style="width: 100%;height: 100%" src="../../static/zu-44.png" alt="">
|
||||
@ -23,7 +22,7 @@
|
||||
</tm-app>
|
||||
</template>
|
||||
<script setup>
|
||||
import {ref, getCurrentInstance, defineProps, defineEmits, watch,} from 'vue'
|
||||
import {ref, defineEmits, watch,} from 'vue'
|
||||
import tmApp from '@/tmui/components/tm-app/tm-app.vue'
|
||||
import tmTabbar from '@/tmui/components/tm-tabbar/tm-tabbar.vue'
|
||||
import tmTabbarItem from '@/tmui/components/tm-tabbar-item/tm-tabbar-item.vue'
|
||||
|
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<div :style="{height:`${ztHehight}px`}"></div>
|
||||
<home v-if="acc===0"/>
|
||||
<mine v-if="acc===1"/>
|
||||
<self-tabbar v-model="acc"></self-tabbar>
|
||||
@ -11,4 +12,5 @@ import mine from '../mine/index.vue'
|
||||
import selfTabbar from '../../components/self-tabbar/index.vue'
|
||||
import {ref} from "vue";
|
||||
const acc=ref(0)
|
||||
const ztHehight=uni.getSystemInfoSync().statusBarHeight
|
||||
</script>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<div>mineminemineminemineminemineminemineminemineminemineminemineminemineminemineminemineminemine</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user