shish 1 ano atrás
pai
commit
e44021c1a5
2 arquivos alterados com 17 adições e 8 exclusões
  1. 16 7
      hdApp/src/admin/home/member.vue
  2. 1 1
      hdApp/src/admin/settle/detail.vue

+ 16 - 7
hdApp/src/admin/home/member.vue

@@ -206,11 +206,11 @@ export default {
    position: relative;
 
    .user-avatar {
-     width: 70upx;
-     height: 70upx;
+     width: 80upx;
+     height: 80upx;
      border-radius: 50%;
      overflow: hidden;
-     margin-left: 20upx;
+     margin-left: 16upx;
      margin-right: 16upx;
 
      .avatar-img {
@@ -224,45 +224,54 @@ export default {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
-     height: 70upx;
-     padding-right: 200upx;
+     height: 80upx;
+     padding-right: 210upx;
    }
 
    .user-main {
      display: flex;
      align-items: flex-start;
      margin-bottom: 4upx;
+     width: 100%;
    }
 
    .user-name {
+     flex: 1;
      font-size: 28upx;
      font-weight: bold;
      color: #333;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
+     margin-right: 10upx;
+     max-width: calc(100% - 160upx);
    }
 
    .right-info {
      position: absolute;
-     right: 60upx;
+     right: 50upx;
      top: 12upx;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4upx;
-     max-width: 160upx;
+     width: 200upx;
      z-index: 1;
+     text-align: right;
    }
 
    .user-balance {
      display: flex;
      align-items: baseline;
+     white-space: nowrap;
+     width: 100%;
+     justify-content: flex-end;
    }
 
    .balance {
      font-size: 26upx;
      font-weight: bold;
+     text-align: right;
    }
 
    .positive {

+ 1 - 1
hdApp/src/admin/settle/detail.vue

@@ -63,7 +63,7 @@
 				<view class="commodity-view">
 					<view class="commodity-list">
 						<view v-for="(s, idx) in detailInfo.orderList" :key="idx" class="commodity-item" >
-							<view class="item-info" @click="pageTo({url: '/pagesOrder/detail?id='+s.id})" >
+							<view class="item-info" @click="pageTo({url: '/admin/order/detail?id='+s.id})" >
 								<view class="info-line">
 									<text class="item-name">{{ s.orderSn }} 时间 {{s.payTime ? s.payTime.substr(5,11):''}}</text>
 									<text class="item-price">