浏览代码

drawer update

marymelisa 4 年之前
父节点
当前提交
4714d412ac

+ 10 - 0
src/common/components/drawer/index.vue

@@ -112,6 +112,16 @@ export default defineComponent({
         width: 580px !important;
     }
 }
+.bottomWidth {
+    .position(fixed, 101px, 0, auto, auto);
+    width: 765px;
+    height: 396px;
+    background: transparent;
+    z-index: 10;
+    .ant-drawer-content-wrapper {
+        width: 765px !important;
+    }
+}
 .tradeDialog {
     .position(fixed, 116px, 0, auto, auto);
     width: 467px;

+ 7 - 1
src/views/order/performance_information/components/components/detail/index.vue

@@ -1,6 +1,12 @@
 <template>
     <!-- 履约明细-->
-    <Drawer :title="'履约明细'" :placement="'bottom'" :visible="visible" @cancel="cancel">
+    <Drawer
+        :title="'履约明细'"
+        :placement="'right'"
+        class="bottomWidth"
+        :visible="visible"
+        @cancel="cancel"
+    >
         <!-- <div class="listed">
       <div class="condition">
         <a-button class="conditionBtn">{{selectedRow.deliverygoodsname}}</a-button>