init
This commit is contained in:
29
packages/demo/pages/workbench/index.wxml
Normal file
29
packages/demo/pages/workbench/index.wxml
Normal file
@@ -0,0 +1,29 @@
|
||||
<view class="page-shell">
|
||||
<view class="panel workbench-hero">
|
||||
<t-tag theme="success" variant="light">Subpackage</t-tag>
|
||||
<text class="workbench-hero__title">业务工作台示例</text>
|
||||
<text class="section-copy">
|
||||
当前用户:{{currentUser}}。这个页面位于分包中,用来承接持续增长的业务,而不是继续把主包做胖。
|
||||
</text>
|
||||
</view>
|
||||
|
||||
<view class="entry-list">
|
||||
<entry-card
|
||||
wx:for="{{modules}}"
|
||||
wx:key="title"
|
||||
title="{{item.title}}"
|
||||
description="{{item.description}}"
|
||||
badge="{{item.badge}}"
|
||||
actionText="{{item.actionText}}"
|
||||
actionPath="{{item.actionPath}}"
|
||||
bind:action="handleEntryAction"
|
||||
></entry-card>
|
||||
</view>
|
||||
|
||||
<view class="panel todo-panel">
|
||||
<text class="section-title">下一步扩展</text>
|
||||
<view class="todo-list">
|
||||
<text wx:for="{{localTodos}}" wx:key="*this" class="todo-item">{{index + 1}}. {{item}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user