添加直营店铺的团购订单

This commit is contained in:
wangxiaowei
2026-05-09 10:37:10 +08:00
parent 09a0037b70
commit 031327ac76

View File

@ -6,6 +6,39 @@
} }
}</route> }</route>
<template>
<view>
<!-- 导航栏 -->
<view>
<navbar title="门店管理" custom-class="!bg-white" icon-left-color="#fff"/>
</view>
<!-- 功能卡片网格 -->
<view class="px-30rpx pt-40rpx">
<view class="text-center mt-40rpx" v-if="!auth">
暂无权限操作
</view>
<view class="grid grid-cols-2 gap-30rpx" v-if="auth">
<view v-for="item in storeMenus" :key="item.id"
class="flex flex-col items-center rounded-16rpx bg-white p-40rpx"
@click="Store.handleClickMenu(item)">
<!-- 图标区域 -->
<view
class="mb-24rpx h-160rpx w-160rpx flex items-center justify-center rounded-16rpx bg-[#F0F9FF]">
<wd-img width="120rpx" height="120rpx" :src="item.icon" mode="aspectFit" />
</view>
<!-- 标题 -->
<view class="text-30rpx text-[#303133] leading-42rpx">
{{ item.title }}
</view>
</view>
</view>
</view>
</view>
</template>
<script lang="ts" setup> <script lang="ts" setup>
import { router } from '@/utils/tools' import { router } from '@/utils/tools'
import { useStoreStore } from '@/store' import { useStoreStore } from '@/store'
@ -41,6 +74,12 @@
title: '订单续订', title: '订单续订',
icon: `${OSS}images/store/store/renew.png`, icon: `${OSS}images/store/store/renew.png`,
path: '/pages/store/renew', path: '/pages/store/renew',
},
{
id: 5,
title: '团购订单',
icon: `${OSS}images/store/store/group.png`,
path: '/pages/store/renew',
}, },
]) ])
@ -61,38 +100,6 @@
} }
</script> </script>
<template>
<view>
<!-- 导航栏 -->
<view>
<navbar title="门店管理" custom-class="!bg-white" icon-left-color="#fff"/>
</view>
<!-- 功能卡片网格 -->
<view class="px-30rpx pt-40rpx">
<view class="text-center mt-40rpx" v-if="!auth">
暂无权限操作
</view>
<view class="grid grid-cols-2 gap-30rpx" v-if="auth">
<view v-for="item in storeMenus" :key="item.id"
class="flex flex-col items-center rounded-16rpx bg-white p-40rpx"
@click="Store.handleClickMenu(item)">
<!-- 图标区域 -->
<view
class="mb-24rpx h-160rpx w-160rpx flex items-center justify-center rounded-16rpx bg-[#F0F9FF]">
<wd-img width="120rpx" height="120rpx" :src="item.icon" mode="aspectFit" />
</view>
<!-- 标题 -->
<view class="text-30rpx text-[#303133] leading-42rpx">
{{ item.title }}
</view>
</view>
</view>
</view>
</view>
</template>
<style lang="scss"> <style lang="scss">
page { page {
background-color: $cz-page-background; background-color: $cz-page-background;