This commit is contained in:
木瓜一块八 2025-08-27 14:02:22 +08:00
parent a621c6402a
commit 0772dd8750
4 changed files with 25 additions and 2 deletions

View File

@ -106,7 +106,7 @@ router.beforeEach(async (to, from, next) => {
// NProgress.done(); // NProgress.done();
// return // return
// } // }
if (to.path.includes("/ncmatchHome")||to.path.includes("/kyyForm") || to.path.includes("/screen") || to.path.includes("/beforeLogin") || to.path.includes("/wxDetailPage") || to.path.includes("/wxPage") || to.path.includes("/login") || to.path.includes("/homePage") || to.path.includes("/registrationPage") || to.path.includes("/payPage") || to.path.includes("/paySuccess") || to.path.includes("/homePageImage")) { if (to.path.includes("/demoDify")||to.path.includes("/ncmatchHome")||to.path.includes("/kyyForm") || to.path.includes("/screen") || to.path.includes("/beforeLogin") || to.path.includes("/wxDetailPage") || to.path.includes("/wxPage") || to.path.includes("/login") || to.path.includes("/homePage") || to.path.includes("/registrationPage") || to.path.includes("/payPage") || to.path.includes("/paySuccess") || to.path.includes("/homePageImage")) {
console.log("to", to) console.log("to", to)
try { try {
if (to.path.includes("/beforeLogin") || to.path.includes("/registrationPage")) { if (to.path.includes("/beforeLogin") || to.path.includes("/registrationPage")) {

View File

@ -65,6 +65,12 @@ export const constantRoutes = [
component: () => import('@/views/beforeLogin/index.vue'), component: () => import('@/views/beforeLogin/index.vue'),
hidden: true hidden: true
}, },
{
path: '/demoDify',
name: 'DemoDify',
title: 'DemoDify',
component: () => import('@/views/demoDify/index.vue'),
},
{ {
path: '/wxPage', path: '/wxPage',

View File

@ -0,0 +1,17 @@
<template>
<div>
<iframe
src="http://aigc.smartcrec.com/chatbot/HKghmPZLD4JczCXc"
style="width: 100%; height: 100%; min-height: 700px"
frameborder="0"
allow="microphone">
</iframe>
</div>
</template>
<script>
export default {
name: 'DemoDify',
}
</script>

View File

@ -248,7 +248,7 @@ export default {
}else if(item.favorite=='0'){ }else if(item.favorite=='0'){
reqPublishProductCollect({ reqPublishProductCollect({
productid:item.productid, productid:item.productid?item.productid:item.id,
favorite_type:item.publish_type favorite_type:item.publish_type
}).then(res=>{ }).then(res=>{
item.favorite='1' item.favorite='1'