From 94596756df6da51d1ed164f3925db3ceea5e2b0e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 17 Mar 2021 18:16:11 +0800
Subject: [PATCH] 分销订单0317

---
 zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-update.html |  113 ++++++++++++++++++++++++++++++++------------------------
 1 files changed, 64 insertions(+), 49 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-update.html b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-update.html
index d972e1b..f4ff3e9 100644
--- a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-update.html
+++ b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-update.html
@@ -31,43 +31,57 @@
         }
         .el-aside {
             color: #333;
-            line-height: 50px;
+            line-height: 15px;
         }
         .el-main {
             color: #333;
-            line-height: 50px;
+            line-height: 15px;
+        }
+        .box-card {
+            width: 160px;
+            border-radius: 5px;
+            color: #ffffff;
+            padding: 5px 5px;
+            margin-right: 20px;
+            cursor: pointer;
+            float: right;
+        }
+        .el-card__body {
+            padding: 0px;
         }
     </style>
 </head>
 
 <body>
 <div class="ibox-content" id="app" v-cloak>
-    <el-row>
-        <p class="el-big-title">个人详情</p>
-    </el-row>
     <el-container>
-        <el-aside width="200px" style="display:flex;align-items: center;">
-            <el-avatar :size="100" :src="basicdetail.avatarUrl" style="display:flex;align-items: center;margin-left: 50px"></el-avatar>
+        <el-aside width="60px" style="display:flex;align-items: center;">
+            <el-avatar :size="50" :src="basicdetail.avatarUrl" style="display:flex;align-items: center;margin-left: 10px"></el-avatar>
         </el-aside>
         <el-main>
-            <el-row style="display:flex;align-items: center;">
-                <el-col :span="3" style="display:flex;align-items: center;">
+            <el-row style="display:flex;align-items: center;padding: 10px;">
+                <el-col :span="8" style="display:flex;align-items: center;">
                     <span style="font-size: 20px;">{{basicdetail.nickname}} </span>
                 </el-col>
-                <el-col :span="3">
-
+                <el-col :span="6">
                     <el-select v-model="basicdetail.grade" @focus="getDatalist()" @change="changeSaleManGrade(basicdetail.grade)" placeholder="请选择" filterable allow-create>
                         <el-option v-for="item in salemanGradeList " :key="item.id" :label="item.name" :value="item.id"></el-option>
                     </el-select>
                 </el-col>
-                <el-col :span="18">
+                <el-col :span="10">
                 </el-col>
             </el-row>
-            <el-row style="display:flex;">
+            <el-row style="display:flex;padding: 5px;">
                 <el-col>
                     <span>
                         手机号码:{{basicdetail.phone}}   |
-                        加入时间:{{basicdetail.createTime}}   |
+                        加入时间:{{basicdetail.createTime}}
+                    </span>
+                </el-col>
+            </el-row>
+            <el-row style="display:flex;padding: 5px;">
+                <el-col>
+                    <span>
                         邀请人:{{basicdetail.parentUser}}   |
                         来源:
                             <span v-if="basicdetail.applyWay == 1">自主申请</span>
@@ -82,35 +96,30 @@
                 </el-col>
             </el-row>
         </el-main>
+        <el-main>
+            <el-row>
+                <el-row style="display:flex;align-items: center;text-align: center;">
+                    <el-card class="box-card" style="background-color: #0f9aef;">
+                        <div style="padding:10px;font-size: 20px;">{{basicdetail.lowerLevelNum}}人</div>
+                        <div>绑定客户</div>
+                    </el-card >
+                    <el-card class="box-card" style="background: #67C23A;">
+                        <div style="padding:10px;font-size: 20px;">{{basicdetail.invitedNum}}人</div>
+                        <div>邀请下级</div>
+                    </el-card >
+                    <el-card class="box-card" style="background: rgb(121, 187, 255);">
+                        <div style="padding:10px;font-size: 20px;">{{basicdetail.totalRevenue}}元</div>
+                        <div>累计收益</div>
+                    </el-card >
+                    <el-card class="box-card" style="background: rgb(93 191 45);">
+                        <div style="padding:10px;font-size: 20px;">{{basicdetail.balance}}元</div>
+                        <div>待结算</div>
+                    </el-card >
+                </el-row>
+            </el-row>
+        </el-main>
     </el-container>
-    <el-row style="padding: 30px;">
-        <el-row :gutter="100">
-            <el-col class="line" :span="6" style="text-align: center">
-                <el-card class="box-card" style="background-color: #eee;border-radius: 30px;">
-                    <div>绑定客户</div>
-                    <div style="padding: 5px;font-size: 18px;">{{basicdetail.lowerLevelNum}}人</div>
-                </el-card >
-            </el-col>
-            <el-col class="line" :span="6" style="text-align: center">
-                <el-card class="box-card" style="background-color: #eee;border-radius: 30px;">
-                    <div>邀请下级</div>
-                    <div style="padding: 5px;font-size: 18px;">{{basicdetail.invitedNum}}人</div>
-                </el-card >
-            </el-col>
-            <el-col class="line" :span="6" style="text-align: center">
-                <el-card class="box-card" style="background-color: #eee;border-radius: 30px;">
-                    <div>累计收益</div>
-                    <div style="padding: 5px;font-size: 18px;">{{basicdetail.totalRevenue}}元</div>
-                </el-card >
-            </el-col>
-            <el-col class="line" :span="6" style="text-align: center">
-                <el-card class="box-card" style="background-color: #eee;border-radius: 30px;">
-                    <div>待结算</div>
-                    <div style="padding: 5px;font-size: 18px;">{{basicdetail.balance}}元</div>
-                </el-card >
-            </el-col>
-        </el-row>
-    </el-row>
+
     <el-row>
         <el-tabs v-model="activeName" >
             <el-tab-pane label="绑定客户" name="first">
@@ -132,7 +141,8 @@
                                 type="selection">
                         </el-table-column>
                         <el-table-column
-                                label="客户">
+                                label="客户"
+                                show-overflow-tooltip>
                             <template slot-scope="scope">
                                 <img :src="scope.row.avatarUrl" width="40" height="40" class="head_pic"/>
                                 {{scope.row.nickname}}
@@ -140,7 +150,8 @@
                         </el-table-column>
                         <el-table-column
                                 prop="createTime"
-                                label="绑定时间">
+                                label="绑定时间"
+                                show-overflow-tooltip>
                         </el-table-column>
                         <el-table-column
                                 label="绑定方式">
@@ -267,7 +278,8 @@
                     <el-table id="proj" :data="orderLevelList.rows"  :height="height" stripe:true  @sort-change="sortChange">
                         <el-table-column
                                 prop="orderNo"
-                                label="订单编号">
+                                label="订单编号"
+                                show-overflow-tooltip>
                         </el-table-column>
                         <el-table-column
                                 prop="orderMoney"
@@ -289,10 +301,12 @@
                         </el-table-column>
                         <el-table-column
                                 prop="storeName"
-                                label="下单门店">
+                                label="下单门店"
+                                show-overflow-tooltip>
                         </el-table-column>
                         <el-table-column
-                                label="客户">
+                                label="客户"
+                                show-overflow-tooltip>
                             <template slot-scope="scope">
                                 <img :src="scope.row.avatarUrl" width="40" height="40" class="head_pic"/>
                                 {{scope.row.nickName}}
@@ -300,7 +314,8 @@
                         </el-table-column>
                         <el-table-column
                                 prop="createTime"
-                                label="时间">
+                                label="时间"
+                                show-overflow-tooltip>
                         </el-table-column>
                         <el-table-column
                                 label="收益类型">
@@ -404,7 +419,7 @@
                 pageSize:10,
                 currentPage:1,
             },
-            height:'calc(100vh - 240px)',
+            height:'calc(100vh - 400px)',
         },
 
         created: function () {

--
Gitblit v1.9.1