添加页面, 组件, 图标

This commit is contained in:
zhengw
2026-01-30 16:29:23 +08:00
parent 85483c7ca2
commit 3c7d7860b1
48 changed files with 1442 additions and 258 deletions

View File

@@ -1,30 +1,27 @@
<page-plugin isAuth="{{authInfo['SF_ERP_SALE_ORDERS_VIEW']}}" loading="{{loading}}"
is-login="{{isLogin}}" bind:handleLogin="handleLogin">
<t-empty wx:if="{{list.length == 0}}" icon="info-circle-filled" description="暂无数据"
style="margin-bottom: 24rpx;" />
<block wx:for="{{ list }}" wx:key="info_process_id">
<card-plugin>
<view slot="header" style="display: flex;justify-content: space-between;width: 100%;">
<text>{{ item.order_no }}</text>
<view
style="font-weight: normal;min-width: 1.5em;border: 1rpx solid #eee;text-align: center;color: #999;border-radius: 25%;">
{{index + 1}}
</view>
<empty-plugin wx:if="{{list.length == 0}}" />
<card-plugin wx:for="{{ list }}" wx:key="order_no">
<view slot="header" style="display: flex;justify-content: space-between;width: 100%;">
<text>{{ item.order_no }}</text>
<view
style="font-weight: normal;min-width: 1.5em;border: 1rpx solid #eee;text-align: center;color: #999;border-radius: 25%;">
{{index + 1}}
</view>
<view slot="content">
<card-item-plugin label="自定义单号" value="{{item.custom_order_no}}" />
<card-item-plugin label="订单类型" value="{{item.category_name}}" />
<card-item-plugin label="经销商名称" value="{{item.custom_name}}" />
<card-item-plugin label="经销商手机" value="{{item.custom_phone}}" />
<card-item-plugin label="客户名称" value="{{item.end_user_name}}" />
<card-item-plugin label="客户手机" value="{{item.end_user_phone}}" />
<card-item-plugin label="客户地址" value="{{item.end_user_address}}" />
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
</view>
<view slot="footer" style="padding-bottom: 16rpx;">
<t-button size="small" theme="primary" bind:tap="onOrderToTop" data-index="{{index}}">移至顶部
</t-button>
</view>
</card-plugin>
</block>
</view>
<view slot="content">
<card-item-plugin label="自定义单号" value="{{item.custom_order_no}}" />
<card-item-plugin label="订单类型" value="{{item.category_name}}" />
<card-item-plugin label="经销商名称" value="{{item.custom_name}}" />
<card-item-plugin label="经销商手机" value="{{item.custom_phone}}" />
<card-item-plugin label="客户名称" value="{{item.end_user_name}}" />
<card-item-plugin label="客户手机" value="{{item.end_user_phone}}" />
<card-item-plugin label="客户地址" value="{{item.end_user_address}}" />
<card-item-plugin label="创建日期" value="{{item.create_date}}" />
</view>
<view slot="footer" class="card-plugin-footer">
<t-button size="small" theme="primary" bind:tap="onOrderToTop" data-index="{{index}}">移至顶部
</t-button>
</view>
</card-plugin>
</page-plugin>