From dcb4805669e0d4a06aee5e30b231085262956430 Mon Sep 17 00:00:00 2001 From: lixiang <935448346@qq.com> Date: Thu, 24 Oct 2024 18:11:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9=EF=BC=9B?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=94=AF=E4=BB=98=E5=89=8D=E5=87=86=E5=A4=87?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/main.js | 4 + ruoyi-ui/src/router/index.js | 5 + ruoyi-ui/src/views/system/goods/index.vue | 28 ++- .../src/views/system/userFront/details.vue | 34 ++-- ruoyi-ui/src/views/system/userFront/index.vue | 123 ++++++++++--- .../src/views/system/userFront/payBefore.vue | 174 ++++++++++++++++++ 6 files changed, 323 insertions(+), 45 deletions(-) create mode 100644 ruoyi-ui/src/views/system/userFront/payBefore.vue diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index ebd94b9d..ae033d19 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -37,6 +37,7 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +import * as ElementUI from "element-ui"; // 全局方法挂载 Vue.prototype.getDicts = getDicts @@ -84,3 +85,6 @@ new Vue({ store, render: h => h(App) }) + +// 全局取消点击dialog以外部分关闭弹窗 +ElementUI.Dialog.props.closeOnClickModal.default = false diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 36c79424..5233eca9 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -76,6 +76,11 @@ export const constantRoutes = [ component: () => import('@/views/system/userFront/details'), hidden: true }, + { + path: '/cusDetPay/:id', + component: () => import('@/views/system/userFront/payBefore'), + hidden: true + }, { path: '', component: Layout, diff --git a/ruoyi-ui/src/views/system/goods/index.vue b/ruoyi-ui/src/views/system/goods/index.vue index d47057a6..2f728918 100644 --- a/ruoyi-ui/src/views/system/goods/index.vue +++ b/ruoyi-ui/src/views/system/goods/index.vue @@ -88,8 +88,20 @@ - - + + + + + +