shish 2 лет назад
Родитель
Сommit
08f1c00e68
2 измененных файлов с 8 добавлено и 10 удалено
  1. 4 5
      ghs/src/views/in/add.vue
  2. 4 5
      ghs/src/views/order/add.vue

+ 4 - 5
ghs/src/views/in/add.vue

@@ -20,7 +20,7 @@
       <audio ref="noStockPlay"><source src="@/static/noStock.mp3" type="audio/mpeg"></audio>
       <audio ref="successPlay"><source src="@/static/success1.mp3" type="audio/mpeg"></audio>
       <el-table ref="singleTable" :data="selectList" highlight-current-row border :header-cell-style="{background:'#fdfdfd', color: '#01060a', fontWeight:800}" 
-      class="tableBox active" @row-click="pickModifyItem" height="70vh">
+      class="tableBox active" @row-click="pickModifyItem" height="70vh" style="width:60vw;margin:0 auto;">
         <el-table-column prop="id" label="编号" width="110" align="center"></el-table-column>
 
         <el-table-column prop="cover" label="图片" align="center" width="110">
@@ -54,7 +54,7 @@
       </el-table>
     </div>
     <div class="seek-list-box" v-if="!$util.isEmpty(getItemList) && showGetItemList == true">
-      <el-table ref="showItemRef" :data="getItemList" highlight-current-row style="width:82vw" border :header-cell-style="{background:'#fdfdfd', color: '#666'}" 
+      <el-table ref="showItemRef" :data="getItemList" highlight-current-row style="width:50vw" border :header-cell-style="{background:'#fdfdfd', color: '#666'}" 
       class="tableBox active" height="70vh" @row-click="pickAddItem">
         <el-table-column prop="className" label="分类" align="center" width="130"></el-table-column>
         <el-table-column prop="cover" label="图片" align="center" width="110">
@@ -824,7 +824,7 @@ export default {
     .tor {
       line-height: 40px;
       color: #999;
-      padding-left: 10px;
+      text-align: center;
       font-size: 16px;
       span{
         margin-right: 60px;
@@ -834,8 +834,7 @@ export default {
   .seek-list-box{
     position: absolute;
     bottom: 70px;
-    right: 10vw;
-    width: 72vw;
+    right: 20vw;
     min-height: 310px;
     overflow: hidden;
     z-index:9999;

+ 4 - 5
ghs/src/views/order/add.vue

@@ -20,7 +20,7 @@
       <audio ref="noStockPlay"><source src="@/static/noStock.mp3" type="audio/mpeg"></audio>
       <audio ref="successPlay"><source src="@/static/success1.mp3" type="audio/mpeg"></audio>
       <el-table ref="singleTable" :data="selectList" highlight-current-row border :header-cell-style="{background:'#fdfdfd', color: '#01060a', fontWeight:800}" 
-      class="tableBox active" @row-click="pickModifyItem" height="70vh">
+      class="tableBox active" @row-click="pickModifyItem" height="70vh" style="width:60vw;margin:0 auto;">
         <el-table-column prop="id" label="编号" width="110" align="center"></el-table-column>
 
         <el-table-column prop="cover" label="图片" align="center" width="110">
@@ -54,7 +54,7 @@
       </el-table>
     </div>
     <div class="seek-list-box" v-if="!$util.isEmpty(getItemList) && showGetItemList == true">
-      <el-table ref="showItemRef" :data="getItemList" highlight-current-row style="width:82vw" border :header-cell-style="{background:'#fdfdfd', color: '#666'}" 
+      <el-table ref="showItemRef" :data="getItemList" highlight-current-row style="width:50vw" border :header-cell-style="{background:'#fdfdfd', color: '#666'}" 
       class="tableBox active" height="70vh" @row-click="pickAddItem">
         <el-table-column prop="className" label="分类" align="center" width="130"></el-table-column>
         <el-table-column prop="cover" label="图片" align="center" width="110">
@@ -843,7 +843,7 @@ export default {
     .tor {
       line-height: 40px;
       color: #999;
-      padding-left: 10px;
+      text-align: center;
       font-size: 16px;
       span{
         margin-right: 60px;
@@ -853,8 +853,7 @@ export default {
   .seek-list-box{
     position: absolute;
     bottom: 70px;
-    right: 10vw;
-    width: 72vw;
+    right: 20vw;
     min-height: 310px;
     overflow: hidden;
     z-index:9999;