diff --git a/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts b/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts index 87134c9..ed1b95b 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts @@ -56,3 +56,32 @@ export const getDiyTemplateProperty = async (id: number) => { export const updateDiyTemplateProperty = async (data: DiyTemplateVO) => { return await request.put({ url: `/promotion/diy-template/update-property`, data }) } + + +// 设置商品分类接口 +export const setDiyProjuctClass = async (id) => { + return await request.get({ + url: `/system/dict-data/diy-template-goods?id=` + id + }) +} + +// 获取商品分类接口 +export const getDiyProjuctClass = async () => { + return await request.get({ + url: `/system/dict-data/getGoods` + }) +} + +// 设置主题风格 +export const setDiyZtClass = async (id) => { + return await request.get({ + url: `/system/dict-data/diy-template-theme?id=` + id + }) +} + +// 获取主题风格 +export const getDiyZtClass = async () => { + return await request.get({ + url: `/system/dict-data/getTheme` + }) +} \ No newline at end of file diff --git a/yudao-admin-vue3/src/components/AppLinkInput/data.ts b/yudao-admin-vue3/src/components/AppLinkInput/data.ts index e6424a9..1e636f3 100644 --- a/yudao-admin-vue3/src/components/AppLinkInput/data.ts +++ b/yudao-admin-vue3/src/components/AppLinkInput/data.ts @@ -65,11 +65,11 @@ export const APP_LINK_GROUP_LIST = [ name: '商品搜索', path: '/pages/index/search' }, - { - name: '自定义页面', - path: '/pages/index/page', - type: APP_LINK_TYPE_ENUM.DIY_PAGE_DETAIL - }, + // { + // name: '自定义页面', + // path: '/pages/index/page', + // type: APP_LINK_TYPE_ENUM.DIY_PAGE_DETAIL + // }, { name: '客服', path: '/pages/chat/index' @@ -78,13 +78,25 @@ export const APP_LINK_GROUP_LIST = [ name: '系统设置', path: '/pages/public/setting' }, - { - name: '常见问题', - path: '/pages/public/faq' - }, + // { + // name: '常见问题', + // path: '/pages/public/faq' + // }, { name: '积分商城', - path: '/pages/public/faq' + path: '/pages/index/page?id=3' + }, + { + name:'我的积分', + path:'/pages/user/wallet/score' + }, + { + name:'兑换记录', + path:'/pages/activity/point/exchange_list' + }, + { + name:'积分商品列表', + path:'/pages/activity/point/exchange_listall?id=3' } ] }, @@ -111,11 +123,11 @@ export const APP_LINK_GROUP_LIST = [ path: '/pages/goods/seckill', type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL }, - { - name: '促销列表', - path: '/pages/goods/sales', - type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL - }, + // { + // name: '促销列表', + // path: '/pages/goods/sales', + // type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL + // }, { name: '门店管理', path: '/pages/user/goods_details_store/index', @@ -195,11 +207,12 @@ export const APP_LINK_GROUP_LIST = [ { name: '充值记录', path: '/pages/pay/recharge-log' - }, - { - name: '核销记录', - path: '/pages/pay/recharge-log' } + // , + // { + // name: '核销记录', + // path: '/pages/pay/recharge-log' + // } ] }, { @@ -248,7 +261,19 @@ export const APP_LINK_GROUP_LIST = [ { name: '会员中心', path: '/pages/user/user_vip/index' - } + }, + { + name:'付费会员', + path:'/pages/user/user_vip/list' + }, + { + name:'预约中心', + path:'/pages/subscribe/subscribe' + }, + { + name:'预约记录', + path:'pages/reservation_record/reservation_record' + } ] } // , diff --git a/yudao-admin-vue3/src/components/DiyEditor/index.vue b/yudao-admin-vue3/src/components/DiyEditor/index.vue index c01f6a9..6c64bfe 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/index.vue @@ -69,10 +69,10 @@ -