Procházet zdrojové kódy

基础资料样式修改

lichao před 3 roky
rodič
revize
8125011de5

+ 43 - 3
src/views/maintenance/priceLibrary/detailsPage.vue

@@ -16,16 +16,16 @@
           type="primary"
           :disabled="disabled"
           @click="editCustomer"
+          size="small"
           :loading="subLoading"
           v-if="detailData.status != 1"
-          size="small"
           >{{ form.id ? "确认修改" : "确认新增" }}
         </el-button>
       </div>
     </div>
-    <div class="customer-main">
+    <div style="margin-top: 60px;margin-bottom:35px">
       <containerTitle title="基础信息"></containerTitle>
-      <basic-container>
+      <basic-container style="margin-bottom: 10px">
         <avue-form ref="form" v-model="form" :option="option">
           <template slot="corpId">
             <select-component
@@ -390,6 +390,46 @@ export default {
 </script>
 
 <style lang="scss" scoped>
+.customer-head {
+  position: fixed;
+  top: 105px;
+  width: 100%;
+  margin-left: -10px;
+  height: 62px;
+  background: #ffffff;
+  box-shadow: 0 4px 12px 0px rgba(232, 232, 235, 1);
+  z-index: 999;
+}
+
+.customer-back {
+  cursor: pointer;
+  line-height: 62px;
+  font-size: 16px;
+  color: #323233;
+  font-weight: 400;
+}
+
+.back-icon {
+  line-height: 64px;
+  font-size: 20px;
+  margin-right: 8px;
+}
+.sell-customer-btn {
+  position: fixed;
+  right: 244px;
+  top: 115px;
+}
+.copy-customer-btn {
+  position: fixed;
+  right: 140px;
+  top: 115px;
+}
+
+.add-customer-btn {
+  position: fixed;
+  right: 36px;
+  top: 115px;
+}
 ::v-deep .el-form-item {
   margin-bottom: 8px;
 }

+ 1 - 26
src/views/maintenance/salesPolicy/detailsPageEdit.vue

@@ -11,6 +11,7 @@
           class="el-button--small-yh add-customer-btn"
           type="primary"
           :disabled="disabled"
+          size="small"
           @click="editCustomer"
       >{{ form.id ? '确认修改' : '确认新增' }}
       </el-button>
@@ -670,26 +671,6 @@ export default {
 </script>
 
 <style lang="scss" scoped>
-.customer-head {
-  position: fixed;
-  top: 105px;
-  width: 100%;
-  margin-left: -10px;
-  height: 62px;
-  background: #ffffff;
-  box-shadow: 0 4px 12px 0px rgba(232, 232, 235, 1);
-  z-index: 999;
-  /* display: flex;
-  justify-content: left; */
-}
-
-.customer-back {
-  cursor: pointer;
-  line-height: 62px;
-  font-size: 16px;
-  color: #323233;
-  font-weight: 400;
-}
 
 .back-icon {
   line-height: 64px;
@@ -697,12 +678,6 @@ export default {
   margin-right: 8px;
 }
 
-.add-customer-btn {
-  position: fixed;
-  right: 36px;
-  top: 115px;
-}
-
 ::v-deep .el-form-item {
   margin-bottom: 0;
 }