tmp
This commit is contained in:
+18
-5
@@ -15,6 +15,7 @@
|
||||
<text class="level-text">{{profile.level}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<text class="greeting">{{greeting}},{{todayText}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="online-switch" bindtap="toggleOnline">
|
||||
@@ -33,6 +34,7 @@
|
||||
<text class="stat-num">{{todayIncome}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="stat-divider"></view>
|
||||
<view class="stat stat-right">
|
||||
<text class="stat-label">今日接单</text>
|
||||
<view class="stat-value">
|
||||
@@ -47,11 +49,21 @@
|
||||
<view class="section">
|
||||
<text class="section-title">快捷入口</text>
|
||||
<view class="quick-grid card">
|
||||
<view class="quick-item" wx:for="{{quickEntries}}" wx:key="name" bindtap="onEntryTap" data-index="{{index}}">
|
||||
<view class="quick-icon" style="background-color: {{item.color}}1a;">
|
||||
<t-icon name="{{item.icon}}" size="40rpx" color="{{item.color}}" />
|
||||
<view class="quick-row">
|
||||
<view class="quick-item" wx:for="{{quickEntries}}" wx:key="name" wx:if="{{item.type === 'quick'}}" bindtap="onEntryTap" data-index="{{index}}">
|
||||
<view class="quick-icon" style="background-color: {{item.color}}1a;">
|
||||
<t-icon name="{{item.icon}}" size="40rpx" color="{{item.color}}" />
|
||||
</view>
|
||||
<text class="quick-label">{{item.name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="quick-row">
|
||||
<view class="quick-item" wx:for="{{quickEntries}}" wx:key="name" wx:if="{{item.type === 'function'}}" bindtap="onEntryTap" data-index="{{index}}">
|
||||
<view class="quick-icon" style="background-color: {{item.color}}1a;">
|
||||
<t-icon name="{{item.icon}}" size="40rpx" color="{{item.color}}" />
|
||||
</view>
|
||||
<text class="quick-label">{{item.name}}</text>
|
||||
</view>
|
||||
<text class="quick-label">{{item.name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -65,7 +77,7 @@
|
||||
<text class="section-title">近7日订单</text>
|
||||
<view class="view-all" bindtap="viewAllOrders">
|
||||
<text>全部</text>
|
||||
<text class="arrow">→</text>
|
||||
<t-icon name="chevron-right" size="28rpx" color="#a0a3bd" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -86,6 +98,7 @@
|
||||
</view>
|
||||
|
||||
<view class="empty-state" wx:else>
|
||||
<t-icon name="inbox" size="72rpx" color="#d8dde8" />
|
||||
<text class="empty-text">暂无近7日订单</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user