Browse Source

商品列表,订单列表操作按钮调整

zhengjinyi 5 năm trước cách đây
mục cha
commit
971f3de046

+ 1 - 0
src/views/dashboard/admin/components/HotGoods.vue

@@ -74,6 +74,7 @@ export default {
     height: 100%;
     overflow: hidden;
     overflow-y: auto;
+    margin-top: 10px;
   }
   .span-name{
       word-break:break-all;

+ 2 - 1
src/views/dashboard/admin/index.vue

@@ -26,7 +26,7 @@
           </div>
           <div class="chartText">
             <p>应收金额</p>
-            <p class="money">¥{{ numFormat(payTotalFee) }}元</p>
+            <p class="money">¥{{ payTotalFee | toThousandFilter }}元</p>
           </div>
           <raddar-chart v-if="isRequest" :receivab="ReceivableData" />
         </div>
@@ -273,6 +273,7 @@ export default {
     .chart-title{
       height: 48px;
       line-height: 48px;
+      border-bottom: 1px solid #dfe6ec;
       span{
         text-align: left;
         font-size: 14px;

+ 2 - 2
src/views/goods/list.vue

@@ -120,8 +120,8 @@
       </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template slot-scope="{row}">
-          <el-button type="primary" size="mini" style="width: 80px;margin:5px 0 0 0;" @click="handleEdit(row)">编辑</el-button>
-          <el-button :type="row.validFlag*1 === 1 ? 'danger' : 'success'" size="mini" style="width: 80px;margin:5px 0 0 0;" @click="handleSwitch(row)">{{ row.validFlag*1 === 1 ? '下架' : '上架' }}</el-button>
+          <el-button type="primary" size="mini" style="width: 70px;margin:5px 0 0 0;" @click="handleEdit(row)">编辑</el-button>
+          <el-button :type="row.validFlag*1 === 1 ? 'danger' : 'success'" size="mini" style="width: 70px;margin:5px 0 0 0;" @click="handleSwitch(row)">{{ row.validFlag*1 === 1 ? '下架' : '上架' }}</el-button>
         </template>
       </el-table-column>
     </el-table>

+ 2 - 2
src/views/order/list.vue

@@ -162,10 +162,10 @@
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
         <template slot-scope="{row}">
           <router-link :to="'/order/detail/' + row.orderID ">
-            <el-button type="primary" size="mini" style="width: 80px;margin:5px 0 0 0;">查看详情</el-button>
+            <el-button type="primary" size="mini" style="width: 70px;margin:5px 0 0 0;">查看详情</el-button>
           </router-link>
           <el-dropdown>
-            <el-button type="success" size="mini" style="width: 80px;margin:5px 0 0 0;">
+            <el-button type="success" size="mini" style="width: 70px;margin:5px 0 0 0;">
               功能<i class="el-icon-arrow-down el-icon--right" />
             </el-button>
             <el-dropdown-menu slot="dropdown">