|
@@ -38,15 +38,15 @@
|
|
|
<view class="visit-time">
|
|
<view class="visit-time">
|
|
|
{{item.visitTime.substr(5,11)}}
|
|
{{item.visitTime.substr(5,11)}}
|
|
|
|
|
|
|
|
- <text v-if="Number(item.balance) > 0" class="positive">{{ parseFloat(item.balance) }}</text>
|
|
|
|
|
|
|
+ <text v-if="Number(item.balance) > 0" class="positive">余额{{ parseFloat(item.balance) }}</text>
|
|
|
<text v-if="Number(item.balance) < 0" class="negative">-{{ parseFloat(Math.abs(item.balance)) }}</text>
|
|
<text v-if="Number(item.balance) < 0" class="negative">-{{ parseFloat(Math.abs(item.balance)) }}</text>
|
|
|
|
|
|
|
|
<block v-if="item.passStatus == 1">
|
|
<block v-if="item.passStatus == 1">
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 10000" style="font-size:24upx;margin-left:15upx;color:green;font-weight:bold;">没有下过单</text>
|
|
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 7" style="font-size:24upx;margin-left:15upx;color:green;font-weight:bold;">超1周未下单</text>
|
|
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 30" style="font-size:24upx;margin-left:15upx;color:green;font-weight:bold;">超1个月未下单</text>
|
|
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 180" style="font-size:24upx;margin-left:15upx;color:green;font-weight:bold;">超半年未下单</text>
|
|
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 365" style="font-size:24upx;margin-left:15upx;color:green;font-weight:bold;">超1年未下单</text>
|
|
|
|
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 10000" style="margin-left:20upx;color:green;">没有下过单</text>
|
|
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 7" style="margin-left:20upx;color:green;">超1周未下单</text>
|
|
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 30" style="margin-left:20upx;color:green;">超1个月未下单</text>
|
|
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 180" style="margin-left:20upx;color:green;">超半年未下单</text>
|
|
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 365" style="margin-left:20upx;color:green;">超1年未下单</text>
|
|
|
</block>
|
|
</block>
|
|
|
<block v-else>
|
|
<block v-else>
|
|
|
<text style="font-size:28upx;margin-left:20upx;color:#3385FF;font-weight:bold;">待审核</text>
|
|
<text style="font-size:28upx;margin-left:20upx;color:#3385FF;font-weight:bold;">待审核</text>
|
|
@@ -226,6 +226,7 @@ export default {
|
|
|
padding: 12upx 0;
|
|
padding: 12upx 0;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
|
|
.user-avatar {
|
|
.user-avatar {
|
|
|
width: 80upx;
|
|
width: 80upx;
|
|
@@ -234,6 +235,7 @@ export default {
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
margin-left: 16upx;
|
|
margin-left: 16upx;
|
|
|
margin-right: 16upx;
|
|
margin-right: 16upx;
|
|
|
|
|
+ flex-shrink: 0; /* 防止头像被挤压 */
|
|
|
|
|
|
|
|
.avatar-img {
|
|
.avatar-img {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -247,7 +249,8 @@ export default {
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
height: 80upx;
|
|
height: 80upx;
|
|
|
- padding-right: 210upx;
|
|
|
|
|
|
|
+ padding-right: 150upx; /* 减小右侧内边距,给名字留出更多空间 */
|
|
|
|
|
+ min-width: 0; /* 确保flex子元素可以正确缩小 */
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.user-main {
|
|
.user-main {
|
|
@@ -259,14 +262,13 @@ export default {
|
|
|
|
|
|
|
|
.user-name {
|
|
.user-name {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
- font-size: 28upx;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
|
|
+ font-size: 34upx;
|
|
|
color: #333;
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
margin-right: 10upx;
|
|
margin-right: 10upx;
|
|
|
- max-width: calc(100% - 160upx);
|
|
|
|
|
|
|
+ max-width: calc(100% - 50upx); /* 进一步增加名字显示的最大宽度 */
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.right-info {
|
|
.right-info {
|
|
@@ -277,13 +279,13 @@ export default {
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
align-items: flex-end;
|
|
align-items: flex-end;
|
|
|
gap: 4upx;
|
|
gap: 4upx;
|
|
|
- width: 200upx;
|
|
|
|
|
|
|
+ width: 80upx; /* 进一步减小宽度以给名字留出更多空间 */
|
|
|
z-index: 1;
|
|
z-index: 1;
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.positive {
|
|
.positive {
|
|
|
- color: #049E2C;
|
|
|
|
|
|
|
+ color: #3385FF;
|
|
|
margin-left:20upx;
|
|
margin-left:20upx;
|
|
|
font-weight:bold;
|
|
font-weight:bold;
|
|
|
}
|
|
}
|
|
@@ -305,6 +307,7 @@ export default {
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
|
|
+ font-size:28upx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.member-icon {
|
|
.member-icon {
|