增加下方tab栏

main
26947 2024-06-08 17:17:35 +08:00
parent 40a1a34d1c
commit a66b4fc5c4
5 changed files with 74 additions and 8 deletions

View File

@ -273,6 +273,20 @@
"navigationBarTitleText": "组件"
}
}
,
{
"path": "pages/takeaway/index",
"style": {
"navigationBarTitleText": "外卖"
}
}
,
{
"path": "pages/partJob/index",
"style": {
"navigationBarTitleText": "兼职"
}
}
],
"tabBar": {
@ -282,20 +296,34 @@
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index",
"iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/home_.png",
"iconPath": "static/images/tabbar/tu1-2.png",
"selectedIconPath": "static/images/tabbar/tu1-1.png",
"text": "首页"
}, {
"pagePath": "pages/activity/index",
"iconPath": "static/images/tabbar/tu1-4.png",
"selectedIconPath": "static/images/tabbar/tu1-3.png",
"text": "活动"
}, {
"pagePath": "pages/work/index",
"iconPath": "static/images/tabbar/work.png",
"selectedIconPath": "static/images/tabbar/work_.png",
"text": "工作台"
}, {
}
// , {
// "pagePath": "pages/work/index",
// "iconPath": "static/images/tabbar/work.png",
// "selectedIconPath": "static/images/tabbar/work_.png",
// "text": "工作台"
// }
,{
"pagePath": "pages/partJob/index",
"iconPath": "static/images/tabbar/tu1-6.png",
"selectedIconPath": "static/images/tabbar/tu1-5.png",
"text": "兼职"
}
,{
"pagePath": "pages/takeaway/index",
"iconPath": "static/images/tabbar/tu1-8.png",
"selectedIconPath": "static/images/tabbar/tu1-7.png",
"text": "外卖"
}
, {
"pagePath": "pages/mine/index",
"iconPath": "static/images/tabbar/tu1-10.png",
"selectedIconPath": "static/images/tabbar/tu1-9.png",

19
pages/partJob/index.vue Normal file
View File

@ -0,0 +1,19 @@
<template class="content">
<view class="fixed-header">
兼职
</view>
</template>
<script setup>
import { listInfo, getInfo, delInfo, addInfo, updateInfo } from "@/api/activityInfo/info";
import ActiInfoList from '../common/activityList/index.vue'
import { onShow, onLoad ,onPullDownRefresh} from '@dcloudio/uni-app'
import { getDicts } from "@/api/system/dict/data"
import { ref, reactive, getCurrentInstance, toRefs } from 'vue'
import { useStore } from 'vuex';
import { func } from "uview-plus/libs/function/test";
const { proxy } = getCurrentInstance();
</script>
<style lang="scss">
</style>

19
pages/takeaway/index.vue Normal file
View File

@ -0,0 +1,19 @@
<template class="content">
<view class="fixed-header">
外卖
</view>
</template>
<script setup>
import { listInfo, getInfo, delInfo, addInfo, updateInfo } from "@/api/activityInfo/info";
import ActiInfoList from '../common/activityList/index.vue'
import { onShow, onLoad ,onPullDownRefresh} from '@dcloudio/uni-app'
import { getDicts } from "@/api/system/dict/data"
import { ref, reactive, getCurrentInstance, toRefs } from 'vue'
import { useStore } from 'vuex';
import { func } from "uview-plus/libs/function/test";
const { proxy } = getCurrentInstance();
</script>
<style lang="scss">
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB