fly 2 周之前
父節點
當前提交
eda49e2fd8
共有 3 個文件被更改,包括 22 次插入31 次删除
  1. 14 28
      src/views/Medical.vue
  2. 4 3
      src/views/Member.vue
  3. 4 0
      src/views/OrderManagement.vue

+ 14 - 28
src/views/Medical.vue

@@ -12,9 +12,9 @@
       <div class="commission-content">
         <span class="commission-title">团队奖励</span>
         <div class="commission-rates">
-          <span class="rate-item">一级<em>5%</em></span>
-          <span class="rate-item">二级<em>3%</em></span>
-          <span class="rate-item">三级<em>1%</em></span>
+          <span class="rate-item">一级5%</span>
+          <span class="rate-item">二级3%</span>
+          <span class="rate-item">三级1%</span>
         </div>
       </div>
     </div>
@@ -107,51 +107,37 @@ export default {
 
 /* 团队奖励卡片 */
 .commission-card {
-  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
-  border: 2px solid #e3e6ea;
+  background: #fff;
   border-radius: 12px;
-  padding: 20px;
-  margin-bottom: 15px;
-  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+  padding: 18px 20px;
+  margin-bottom: 20px;
+  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
 }
 
 .commission-content {
   display: flex;
   align-items: center;
-  justify-content: center;
-  gap: 15px;
 }
 
 .commission-title {
-  color: #d91d42;
-  font-size: 16px;
+  color: #d0021b;
   font-weight: bold;
+  font-size: 16px;
+  margin-right: 24px;
   white-space: nowrap;
 }
 
 .commission-rates {
   display: flex;
-  gap: 15px;
+  gap: 32px;
+  align-items: center;
 }
 
 .rate-item {
-  color: #333;
+  color: #222;
   font-size: 14px;
-  font-weight: 600;
-  display: flex;
-  align-items: center;
-  gap: 5px;
-}
-
-.rate-item em {
-  background: linear-gradient(45deg, #d91d42, #ff4757);
-  color: #fff;
-  font-style: normal;
   font-weight: bold;
-  padding: 3px 8px;
-  border-radius: 12px;
-  font-size: 12px;
-  box-shadow: 0 1px 3px rgba(217, 29, 66, 0.3);
+  letter-spacing: 1px;
 }
 
 /* 项目列表 */

+ 4 - 3
src/views/Member.vue

@@ -80,6 +80,9 @@
           </div>
         </div>
       </div>
+      <div v-else style="text-align:center;color:#fff;margin-top:30px;">
+        暂无该级别会员
+      </div>
     </div>
 
     <!-- Toast 提示 -->
@@ -152,9 +155,7 @@ export default {
     async getTeamData() {
       try {
         const res = await getMyTeam(this.currentLevel);
-        if (res && res.data) {
-          this.teamList = res.data.list || [];
-        }
+        this.teamList = (res && res.data && Array.isArray(res.data.list)) ? res.data.list : [];
       } catch (error) {
         console.error('获取团队数据失败:', error);
         this.teamList = [];

+ 4 - 0
src/views/OrderManagement.vue

@@ -19,6 +19,10 @@
           <span class="label">参与金额</span>
           <span class="value">{{ item.money }}元</span>
         </div>
+        <div class="row">
+          <span class="label">收益比例</span>
+          <span class="value">{{ parseFloat(item.start_output) }}%</span>
+        </div>
         <div class="row">
           <span class="label red">每日分红</span>
           <span class="value red">{{ ((item.money * item.start_output) / 100).toFixed(2) }}元</span>