瀏覽代碼

弹框居中

chenrui 4 年之前
父節點
當前提交
1d68cf6e6a

+ 1 - 0
src/views/SetmealSales/SetmealDetailModal.vue

@@ -5,6 +5,7 @@
       class="DetailsSetmealModal"
       title="套餐购买详情"
       width="80%"
+      centered
       :footer="null"
       :destroyOnClose="true"
       @cancel="isShow=false"

+ 1 - 0
src/views/SetmealSales/SetmealItemDetailModal.vue

@@ -3,6 +3,7 @@
     class="setmealItemDetailModal"
     title="查看"
     width="80%"
+    centered
     :footer="null"
     :destroyOnClose="true"
     @cancel="isShow=false"

+ 1 - 0
src/views/SetmealSales/SetmealPayMoney.vue

@@ -3,6 +3,7 @@
     class="setmealPayMoneyModal"
     title="套餐收款"
     width="60%"
+    centered
     :footer="null"
     :destroyOnClose="true"
     @cancel="isShow = false"

+ 2 - 1
src/views/power/role/menuModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="roleName" v-model="isshow" @cancle="cancel">
+    <a-modal class="modalBox" :title="roleName" centered v-model="isshow" @cancle="cancel">
       <a-form class="form-box" style="max-height: 600px;" :form="form" @submit="handleSubmit">
 
         <a-tree
@@ -104,6 +104,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '确定取消吗?',
         okText: '确定',
         cancelText: '取消',

+ 2 - 1
src/views/power/role/roleList.vue

@@ -177,7 +177,8 @@ export default {
     delect (row) {
       const _this = this
       this.$confirm({
-        title: '警告',
+        title: '提示',
+        centered: true,
         content: '删除后无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 2 - 1
src/views/power/role/roleModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="titleText" v-model="isshow" @cancle="cancel">
+    <a-modal class="modalBox" :title="titleText" centered v-model="isshow" @cancle="cancel">
       <a-form :form="form" @submit="handleSubmit">
         <!-- 用户名称 -->
         <a-form-item label="角色名称" :label-col="{ span: 5 }" :wrapper-col="{ span: 14 }">
@@ -120,6 +120,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '确定取消吗?',
         okText: '确定',
         cancelText: '取消',

+ 2 - 1
src/views/power/user/userList.vue

@@ -180,7 +180,8 @@ export default {
     delect (row) {
       const _this = this
       this.$confirm({
-        title: '警告',
+        title: '提示',
+        centered: true,
         content: '删除后无法恢复,确认删除?',
         okText: '确定',
         cancelText: '取消',

+ 2 - 1
src/views/power/user/userModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="titleText" v-model="isshow" @cancle="cancel">
+    <a-modal class="modalBox" :title="titleText" centered v-model="isshow" @cancle="cancel">
       <a-form :form="form" @submit="handleSubmit">
         <a-row :gutter="24">
           <a-col :span="12">
@@ -187,6 +187,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '提示',
+        centered: true,
         content: '确定取消吗?',
         okText: '确定',
         cancelText: '取消',