@smt-ui-template/page-fund

smt-ui-template 公积金查询模板

Usage no npm install needed!

<script type="module">
  import smtUiTemplatePageFund from 'https://cdn.skypack.dev/@smt-ui-template/page-fund';
</script>

README

模版名称

gov-page-fund

解释:

公积金查询模板

使用说明

  • 该模版要求的最低基础库版本为3.105。
  • 该模版使用了es6语法,需要开启开发者工具的增强编译,操作步骤: 开启说明;同时也需开启上传代码时样式自动补全
  • 该模版展现的数据皆为测试数据,使用的测试数据皆放在utils/mock.js文件里,开发者可以按需修改为自己项目所需的格式和数据。
  • 针对公积金场景的政务服务模板,包含账户信息、对账单、缴存提取明细等页面,以及金额脱敏、列表展开/收起等功能,可根据实际业务需求使用。

目录结构

.
├── README.md                           // 模版说明文档
├── package.json                        // 包配置
├── project.swan.json                   // 项目配置文件
├── app.json                            // 小程序配置文件
├── app.css                             // 小程序全局样式
├── app.js                              // 小程序全局逻辑
├── atomic-index.json                   // 模板配置信息
└── @smt-ui-template-page-frame     // 模板文件
    ├── common                          // 公共文件
        ├── images                      // 图片
        └── styles                      // 样式
               └── index.css            // 样式
    ├── components                      // 组件
            └── card                    // 卡片组件
    ├── pages                           // 模板页面
    │   ├── index                       // 公积金查询首页
    │   ├── billinfo                    // 账户信息、对账单页面
    │   ├── detail                      // 对账单详情
    │   └── access                      // 缴存明细
    └── utils                           // 模板工具
        ├── mock.js                     // 查询结果页面测试数据
        └── index.js                    // 获取页面数据的方法