diff --git a/CoreCms.Net.Uni-App/CoreShop/core/enum/home.enum.ts b/CoreCms.Net.Uni-App/CoreShop/core/enum/home.enum.ts index 35865558..87d4e0de 100644 --- a/CoreCms.Net.Uni-App/CoreShop/core/enum/home.enum.ts +++ b/CoreCms.Net.Uni-App/CoreShop/core/enum/home.enum.ts @@ -1,75 +1,87 @@ export enum WidgetCodeEnum { - /** 图片 */ - imgSingle = 'imgSingle', - /** 服务商品 */ - service = 'service', - /** 图片轮播 */ - imgSlide = 'imgSlide', - /** 公告 */ - notice = 'notice', - /** 优惠券 */ - coupon = 'coupon', - /** 拼团 */ - pinTuan = 'pinTuan', - /** 搜索 */ - search = 'search', - /** 宫格自定义导航 */ - navBar = 'navBar', - /** 商品选项卡 */ - goodTabBar = 'goodTabBar', - /** 文章 */ - article = 'article', - /** 文章分类 */ - articleClassify = 'articleClassify', - /** 视频 */ - video = 'video', - /** 商品 */ - goods = 'goods', - /** 浏览记录 */ - record = 'record', - /** 空格 */ - blank = 'blank', - /** 多行文本输入区 */ - textarea = 'textarea', - /** 图片集 */ - imgWindow = 'imgWindow', - /** 文本内容 */ - content = 'content', - /** 团购 */ - groupPurchase = 'groupPurchase', - /** 秒杀 */ - seckill = 'seckill', - /** 弹窗广告 */ - adpop = 'adpop', + /** 图片 */ + imgSingle = 'imgSingle', + /** 服务商品 */ + service = 'service', + /** 图片轮播 */ + imgSlide = 'imgSlide', + /** 公告 */ + notice = 'notice', + /** 优惠券 */ + coupon = 'coupon', + /** 拼团 */ + pinTuan = 'pinTuan', + /** 搜索 */ + search = 'search', + /** 宫格自定义导航 */ + navBar = 'navBar', + /** 商品选项卡 */ + goodTabBar = 'goodTabBar', + /** 文章 */ + article = 'article', + /** 文章分类 */ + articleClassify = 'articleClassify', + /** 视频 */ + video = 'video', + /** 商品 */ + goods = 'goods', + /** 浏览记录 */ + record = 'record', + /** 空格 */ + blank = 'blank', + /** 多行文本输入区 */ + textarea = 'textarea', + /** 图片集 */ + imgWindow = 'imgWindow', + /** 文本内容 */ + content = 'content', + /** 团购 */ + groupPurchase = 'groupPurchase', + /** 秒杀 */ + seckill = 'seckill', + /** 弹窗广告 */ + adpop = 'adpop', } /** nav页面导航类型 */ export enum NavLinkEnum { - /** URL链接 */ - urlLink = 1, - /** 商品 */ - shop = 2, - /** 文章 */ - article = 3, - /** 文章分类 */ - articleCategory = 4, - /** 智能表单 */ - intelligentForms = 5, - /** 商品分类 */ - shopCategory = 6, - /** 跳转小程序 */ - wxMiNiProgram = 7, + /** URL链接 */ + urlLink = 1, + /** 商品 */ + shop = 2, + /** 文章 */ + article = 3, + /** 文章分类 */ + articleCategory = 4, + /** 智能表单 */ + intelligentForms = 5, + /** 商品分类 */ + shopCategory = 6, + /** 跳转小程序 */ + wxMiNiProgram = 7, }; /** 底部导航栏 */ export enum RouteSwitchTabEnum { - /** 首页 */ - home = 'home', - /** 商品分类 */ - classify = 'classify', - /** 购物车 */ - cart = 'cart', - /** 个人中心 */ - member = 'member', + /** 首页 */ + home = 'home', + /** 商品分类 */ + classify = 'classify', + /** 购物车 */ + cart = 'cart', + /** 个人中心 */ + member = 'member', +} + +/** 底部导航栏页面路由 */ +export enum RouteSwitchNameEnum { + /** 首页 */ + home = '/pages/home/home', + /** 商品分类 */ + classify = '/pages/classify/classify', + /** 购物车 */ + cart = '/pages/cart/cart', + /** 个人中心 */ + member = '/pages/member/member', } \ No newline at end of file diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-adpop/home-adpop.vue b/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-adpop/home-adpop.vue index 10dd4a4b..3f3cb5f7 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-adpop/home-adpop.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-adpop/home-adpop.vue @@ -1,39 +1,55 @@ \ No newline at end of file