|
|
@@ -26,9 +26,6 @@
|
|
|
|
|
|
<view class="today-stats">
|
|
|
<view class="stat-item">
|
|
|
- <view class="stat-icon">
|
|
|
- <image class="stat-icon-img" :src="`${constant.hostUrl}/image/ghs/home/shop2.png`" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
<view class="stat-content">
|
|
|
<view class="stat-value">{{ $util.numberFormat(data.todayData.visit) || 0 }}</view>
|
|
|
<view class="stat-label">访客</view>
|
|
|
@@ -36,9 +33,6 @@
|
|
|
</view>
|
|
|
|
|
|
<navigator url="/admin/home/order" open-type="switchTab" class="stat-item">
|
|
|
- <view class="stat-icon">
|
|
|
- <image class="stat-icon-img" :src="`${constant.hostUrl}/image/ghs/home/shop2.png`" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
<view class="stat-content">
|
|
|
<view class="stat-value">{{ $util.numberFormat(data.todayData.order) || 0 }}</view>
|
|
|
<view class="stat-label">订单</view>
|
|
|
@@ -46,9 +40,6 @@
|
|
|
</navigator>
|
|
|
|
|
|
<view class="stat-item">
|
|
|
- <view class="stat-icon">
|
|
|
- <image class="stat-icon-img" :src="`${constant.hostUrl}/image/ghs/home/shop2.png`" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
<view class="stat-content">
|
|
|
<view class="stat-value">{{ $util.numberFormat(yesterdayIncome) || 0 }}</view>
|
|
|
<view class="stat-label">昨日收入</view>
|
|
|
@@ -926,11 +917,9 @@ export default {
|
|
|
|
|
|
.stat-item {
|
|
|
flex: 1;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
padding: 20upx 0;
|
|
|
position: relative;
|
|
|
+ text-align: center;
|
|
|
|
|
|
&:not(:last-child)::after {
|
|
|
content: '';
|
|
|
@@ -947,33 +936,19 @@ export default {
|
|
|
opacity: 0.8;
|
|
|
}
|
|
|
|
|
|
- .stat-icon {
|
|
|
- width: 80upx;
|
|
|
- height: 80upx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- margin-right: 20upx;
|
|
|
-
|
|
|
- .stat-icon-img {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
.stat-content {
|
|
|
- text-align: left;
|
|
|
+ text-align: center;
|
|
|
|
|
|
.stat-value {
|
|
|
- font-size: 32upx;
|
|
|
+ font-size: 36upx;
|
|
|
font-weight: 600;
|
|
|
color: #333;
|
|
|
- margin-bottom: 4upx;
|
|
|
+ margin-bottom: 8upx;
|
|
|
}
|
|
|
|
|
|
.stat-label {
|
|
|
- font-size: 24upx;
|
|
|
- color: #999;
|
|
|
+ font-size: 26upx;
|
|
|
+ color: #666;
|
|
|
}
|
|
|
}
|
|
|
}
|