YY 2 jaren geleden
bovenliggende
commit
993987f5bb

+ 15 - 1
src/views/platmanag/goods/index.vue

@@ -9,6 +9,7 @@
           element-loading-text="拼命加载中"
           element-loading-spinner="el-icon-loading"
         >
+          <el-col :span="24" class="one"> <span>商品管理</span> </el-col>
           <search-1
             :form="searchInfo"
             @onSubmit="toSearch"
@@ -393,4 +394,17 @@ export default {
 };
 </script>
 
-<style lang="less" scoped></style>
+<style lang="less" scoped>
+.one {
+  margin: 0 0 10px 0;
+
+  span:nth-child(1) {
+    font-size: 20px;
+    font-weight: 700;
+    margin-right: 10px;
+  }
+}
+.el-col {
+  margin: 10px 0;
+}
+</style>

+ 14 - 0
src/views/platmanag/goods/spec.vue

@@ -13,6 +13,8 @@
           </el-col>
         </el-col>
       </el-row>
+      <el-col :span="24" class="one"> <span>规格管理</span> </el-col>
+
       <data-search :fields="searchFields" v-model="searchInfo" @query="search">
         <template #status>
           <el-option v-for="i in statusList" :key="i.model" :label="i.label" :value="i.value"></el-option>
@@ -231,4 +233,16 @@ export default {
     line-height: 30px;
   }
 }
+.one {
+  margin: 0 0 10px 0;
+
+  span:nth-child(1) {
+    font-size: 20px;
+    font-weight: 700;
+    margin-right: 10px;
+  }
+}
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 3 - 0
src/views/platmanag/goodsRate/index.vue

@@ -120,4 +120,7 @@ export default {
     margin: 0 0 10px 0;
   }
 }
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 32 - 11
src/views/platmanag/goodsTags/index.vue

@@ -20,19 +20,24 @@
               </el-breadcrumb>
             </el-col>
           </el-col>
+          <el-col :span="24" class="one"> <span>商品标签</span> </el-col>
           <!-- 查询 -->
-          <data-search :fields="searchFields" v-model="searchInfo" @query="search">
-            <template #status>
-              <el-option v-for="i in statusList" :key="i.model" :label="i.label" :value="i.value"></el-option>
-            </template>
-          </data-search>
+          <el-col :span="24">
+            <data-search :fields="searchFields" v-model="searchInfo" @query="search">
+              <template #status>
+                <el-option v-for="i in statusList" :key="i.model" :label="i.label" :value="i.value"></el-option>
+              </template>
+            </data-search>
+          </el-col>
           <!-- 添加 -->
-          <data-btn :fields="btnFields" @add="toAdd" />
-          <data-table ref="dataTable" :fields="fields" :opera="opera" :data="list" :total="total" @edit="toEdit" @delete="toDelete" @query="search">
-            <template #code="{ row, item }">
-              <el-link type="primary" @click="toData(row)">{{ row[item.model] }}</el-link>
-            </template>
-          </data-table>
+          <el-col :span="24"><data-btn :fields="btnFields" @add="toAdd" /></el-col>
+          <el-col :span="24">
+            <data-table ref="dataTable" :fields="fields" :opera="opera" :data="list" :total="total" @edit="toEdit" @delete="toDelete" @query="search">
+              <template #code="{ row, item }">
+                <el-link type="primary" @click="toData(row)">{{ row[item.model] }}</el-link>
+              </template>
+            </data-table>
+          </el-col>
         </el-col>
       </el-row>
     </span>
@@ -149,6 +154,10 @@ export default {
       this.data.pop();
       this.search();
     },
+    toBack() {
+      this.view = 'list';
+      this.form = {};
+    },
   },
   metaInfo() {
     return { title: this.$route.meta.title };
@@ -164,4 +173,16 @@ export default {
     line-height: 30px;
   }
 }
+.one {
+  margin: 0 0 10px 0;
+
+  span:nth-child(1) {
+    font-size: 20px;
+    font-weight: 700;
+    margin-right: 10px;
+  }
+}
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 5 - 1
src/views/platmanag/notice/detail.vue

@@ -144,4 +144,8 @@ export default {
 };
 </script>
 
-<style lang="less" scoped></style>
+<style lang="less" scoped>
+.el-col {
+  margin: 10px 0;
+}
+</style>

+ 3 - 0
src/views/platmanag/notice/index.vue

@@ -136,4 +136,7 @@ export default {
     margin: 0 0 10px 0;
   }
 }
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 5 - 2
src/views/platmanag/notice/notice.vue

@@ -9,9 +9,9 @@
         element-loading-spinner="el-icon-loading"
       >
         <span v-if="view === 'list'">
-          <el-row>
+          <el-col :span="24">
             <el-col :span="2"><el-button type="primary" size="mini" @click="toBack()">返回</el-button></el-col>
-          </el-row>
+          </el-col>
           <el-col :span="24" class="one"> <span>系统消息管理</span> </el-col>
           <data-search :fields="searchFields" v-model="searchInfo" @query="search">
             <template #status>
@@ -181,4 +181,7 @@ export default {
     margin: 0 0 10px 0;
   }
 }
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 3 - 0
src/views/platmanag/order/index.vue

@@ -229,4 +229,7 @@ export default {
     margin: 0 0 10px 0;
   }
 }
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 9 - 0
src/views/platmanag/sales/index.vue

@@ -143,8 +143,17 @@ export default {
 <style lang="less" scoped>
 .one {
   margin: 0 0 10px 0;
+
+  span:nth-child(1) {
+    font-size: 20px;
+    font-weight: 700;
+    margin-right: 10px;
+  }
 }
 .two {
   margin: 0 0 10px 0;
 }
+.el-col {
+  margin: 10px 0;
+}
 </style>

+ 3 - 0
src/views/platmanag/storeAcc/index.vue

@@ -202,4 +202,7 @@ export default {
 .thr {
   margin: 0 0 10px 0;
 }
+.el-col {
+  margin: 10px 0;
+}
 </style>