diff --git a/alipay/app.js b/alipay/app.js
index 4d8c5492c..4f45a4ad8 100755
--- a/alipay/app.js
+++ b/alipay/app.js
@@ -41,6 +41,7 @@ App({
"answer_list": "问答",
"user_answer_list": "我的留言",
"user": "用户中心",
+ "goods_category": "分类",
},
// 请求地址
diff --git a/alipay/app.json b/alipay/app.json
index 1690b3981..5a6f7b4b5 100755
--- a/alipay/app.json
+++ b/alipay/app.json
@@ -1,6 +1,7 @@
{
"pages": [
"pages/index/index",
+ "pages/goods-category/goods-category",
"pages/user/user",
"pages/web-view/web-view",
"pages/login/login",
@@ -26,7 +27,7 @@
},
"tabBar": {
"textColor": "#8a8a8a",
- "selectedColor": "#ff6482",
+ "selectedColor": "#d2364c",
"backgroundColor": "#fff",
"items": [
{
@@ -36,7 +37,7 @@
"name": "首页"
},
{
- "pagePath": "pages/answer-list/answer-list",
+ "pagePath": "pages/goods-category/goods-category",
"icon": "/images/nav-icon-answer.png",
"activeIcon": "/images/nav-icon-answer-active.png",
"name": "分类"
diff --git a/alipay/node_modules/mini-antui/CHANGELOG.md b/alipay/node_modules/mini-antui/CHANGELOG.md
new file mode 100644
index 000000000..dd519ab98
--- /dev/null
+++ b/alipay/node_modules/mini-antui/CHANGELOG.md
@@ -0,0 +1,207 @@
+## 0.4.3
+
+`2018-11-07`
+
+- **Enhancement**
+ - `tabs`新增`tabBarCls`tabBar自定义样式class
+ - `tabs`新增`duration`控制滑动动画时长
+ - `calendar`date参数兼容IOS格式要求
+
+## 0.4.2
+
+`2018-10-31`
+
+- **Enhancement**
+ - `amount-input`组件type属性新增`digit`类型
+ - `vtabs`新增`activeTab`,`onTabClick`和`onChange`属性([#125](https://github.com/ant-mini-program/mini-antui/issues/125))
+
+## 0.4.1
+
+`2018-10-29`
+
+- **Enhancement**
+ - `notice`新增`enableMarquee`和`marqueeProps`属性([#140](https://github.com/ant-mini-program/mini-antui/issues/140))
+
+- **Bug Fix**
+ - 修复`message`type为`fail`时的白屏问题([#152](https://github.com/ant-mini-program/mini-antui/issues/152))
+
+## 0.4.0
+
+`2018-10-23`
+
+- **Feature**
+ - 新增`am-checkbox`组件
+ - 新增`badge`组件
+
+- **Enhancement**
+ - `calendar`组件`tabs`属性新增`disable`字段,新增`onSelectHasDisableDat`属性([#108](https://github.com/ant-mini-program/mini-antui/issues/108))
+
+- **Bug Fix**
+ - 修复`vtabs`在安卓下出现滚动误差的问题
+ - 修复`tabs`在`tabs`属性变化时没有重新计算宽度导致的滚动不正常问题
+
+## 0.3.13
+
+`2018-10-18`
+
+- **Bug Fix**
+ - 修复`swipe-action`在didUpdate时陷入死循环的问题
+ - 修复`vtabs`tabs数据变化没有响应的问题
+
+## 0.3.12
+
+`2018-10-12`
+
+- **Enhancement**
+ - `vtabs`新增`badgeType`和`badgeText`属性([#92](https://github.com/ant-mini-program/mini-antui/issues/92))
+
+## 0.3.11
+
+`2018-10-10`
+
+- **Bug Fix**
+ - 修复`search-bar`在IPhone X下面出现滚动的问题([#113](https://github.com/ant-mini-program/mini-antui/issues/113))
+ - 修复`stepper`在重置初始值时操作按钮状态不改变的bug([#111](https://github.com/ant-mini-program/mini-antui/issues/111))
+
+- **Enhancement**
+ - `page-result`图标升级到最新版本
+ - `input-item`增大清除icon点击响应范围
+
+## 0.3.10
+
+`2018-10-08`
+
+- **Enhancement**
+ - 解决`list`,`input-item`在安卓下线条较粗的问题
+
+## 0.3.9
+
+`2018-09-27`
+
+- **Bug Fix**
+ - 修复`input-item`在失去焦点时清除按钮仍旧显示的问题
+
+## 0.3.8
+
+`2018-09-26`
+
+- **Bug Fix**
+ - 修复`filter`组件单选时需要反选取消选择的问题
+
+- **Feature**
+ - 新增`picker-item`组件
+
+- **Enhancement**
+ - `tabs`新增`activeCls`属性,用来表示激活tabbar的自定义class([#87](https://github.com/ant-mini-program/mini-antui/issues/87))
+ - `input-item`新增`clear`、`onClear`属性,组件内支持清除输入功能([#84](https://github.com/ant-mini-program/mini-antui/issues/84))
+ - `list-item` onClick回调新增target参数,用来支持自定义dataset([#85](https://github.com/ant-mini-program/mini-antui/issues/85))
+
+## 0.3.7
+
+`2018-09-25`
+
+- **Bug Fix**
+ - 修复了`input-item`组件在失去焦点等事件中无dataset的问题([#66](https://github.com/ant-mini-program/mini-antui/issues/66))
+ - 修复`popup`组件mask定位为absolut导致的页面滚动时mask跟着滚动的bug
+
+- **Enhancement**
+ - `popup`新增disableScroll属性以适应不同业务场景
+ - 完善`swipe-action`的示例代码
+ - 文档更新,添加体验二维码
+
+## 0.3.6
+
+`2018-09-13`
+
+- **Enhancement**
+ - 新增tips组件的类型
+
+## 0.3.5
+
+`2018-08-29`
+
+- **Bug Fix**
+ - 修复`search-bar`点击icon无效的bug
+ - 修复`search-bar`苹果输入法中间态无法清除placeholder的bug
+
+- **Enhancement**
+ - 优化`list`组件样式
+
+## 0.3.4
+
+`2018-08-16`
+
+- **Enhancement**
+ - 优化`tabs`组件闪烁问题
+ - `face-detection`组件增加最小旋转角度属性
+
+## 0.3.3
+
+`2018-08-10`
+
+- **Feature**
+ - `tabs`组件新增`activeTab`属性,用来指定当前激活tab
+
+## 0.3.2
+
+`2018-08-07`
+
+- **Feature**
+ - 新增`popup`弹出菜单组件
+ - `face-detection`组件新增活体检测功能
+
+## 0.3.1
+
+`2018-07-27`
+
+- **Feature**
+ - `face-detection`组件新增`appName`和`serviceName`字段
+
+## 0.3.0
+
+`2018-07-26`
+
+- **Feature**
+ - 新增`face-detection`组件
+ - 新增`footer`组件
+ - `page-result`组件增加slot,方便开发者个性化定制区域内容
+
+- **Enhancement**
+ - 优化`calendar`组件在初次渲染时的闪烁问题
+ - 优化`swipe-action`右侧按钮宽度自适应文本内容
+
+
+## 0.2.0
+
+`2018-07-11`
+
+- **Feature**
+
+ - 新增`vtab组件`
+
+- **Enhancement**
+
+ - 优化`swipe-action`组件性能
+ - 解决`tabs`组件在初次渲染时的页面闪烁问题
+
+## 0.1.0
+
+`2018-06-21`
+
+
+- **Feature**
+
+ - 新增`steps`、`popover`、`amount-input`、`calendar`组件;
+ - `tabs`组件`tabs`属性新增`badgeType`属性、新增`showPlus`、`onPlusClick`属性
+ - `modal`组件新增`closeType`属性,以适应不同的背景颜色
+
+- **Bug Fix**
+
+ - 修复`grid`、`modal`、`input-item`组件样式问题
+
+
+## 0.0.13
+
+`2018-05-09`
+
+首次发布小程序版antui组件库
diff --git a/alipay/node_modules/mini-antui/LICENSE b/alipay/node_modules/mini-antui/LICENSE
new file mode 100644
index 000000000..55687a991
--- /dev/null
+++ b/alipay/node_modules/mini-antui/LICENSE
@@ -0,0 +1,22 @@
+MIT LICENSE
+
+Copyright (c) 2018-present Alipay.com, https://www.alipay.com/
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/alipay/node_modules/mini-antui/README.md b/alipay/node_modules/mini-antui/README.md
new file mode 100644
index 000000000..222a470c4
--- /dev/null
+++ b/alipay/node_modules/mini-antui/README.md
@@ -0,0 +1,52 @@
+
+
+
+
+# mini-antui
+
+## 链接
+- [mini-antui官网文档](https://docs.alipay.com/mini/component-ext/overview-ext-common)
+- [支付宝小程序](https://mini.open.alipay.com/channel/miniIndex.htm)
+- [开发工具](https://docs.alipay.com/mini/ide/overview)
+
+## 特性
+
+- 基于`Advance Design`设计规范
+- 使用[支付宝小程序](https://mini.open.alipay.com/channel/miniIndex.htm)开发
+
+## 预览
+
+用[小程序开发者工具](https://docs.alipay.com/mini/ide/overview)打开项目
+
+## 安装
+
+```bash
+$ npm install mini-antui --save
+```
+
+## 使用
+
+在页面json中文件中进行注册,如card组件的注册如下所示:
+
+```json
+{
+ "usingComponents": {
+ "card": "mini-antui/es/card/index",
+ }
+}
+```
+
+在axml文件中进行调用:
+```html
+
+```
+
+## 贡献
+
+如果你有好的意见或建议,欢迎给我们提[issue](https://github.com/ant-mini-program/mini-antui/issues)。
diff --git a/alipay/node_modules/mini-antui/es/_util/fmtEvent.js b/alipay/node_modules/mini-antui/es/_util/fmtEvent.js
new file mode 100644
index 000000000..713153c4a
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/_util/fmtEvent.js
@@ -0,0 +1,14 @@
+var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
+
+export default function fmtEvent(props, e) {
+ var dataset = {};
+ for (var key in props) {
+ if (/data-/gi.test(key)) {
+ dataset[key.replace(/data-/gi, '')] = props[key];
+ }
+ }
+ return _extends({}, e, {
+ currentTarget: { dataset: dataset },
+ target: { dataset: dataset, targetDataset: dataset }
+ });
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/am-checkbox/index.acss b/alipay/node_modules/mini-antui/es/am-checkbox/index.acss
new file mode 100644
index 000000000..863b1ffb9
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/am-checkbox/index.acss
@@ -0,0 +1,68 @@
+.am-checkbox {
+ position: relative;
+ height: 22px;
+ width: 22px;
+ display: inline-block;
+}
+
+.am-checkbox-value {
+ position: absolute;
+ z-index: 1;
+ border-radius: 50%;
+ opacity: 0;
+}
+
+.am-checkbox-synthetic {
+ position: absolute;
+ z-index: 2;
+ pointer-events: none;
+ top: 0;
+ left: 0;
+ border-radius: 50%;
+ height: 100%;
+ width: 100%;
+}
+
+.am-checkbox-synthetic::before {
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 200%;
+ width: 200%;
+ display: block;
+ box-sizing: border-box;
+ border-radius: 50%;
+ content: '';
+ transform-origin: 0 0;
+ transform: scale(0.5);
+ border: 1px solid #c9c9c9;
+}
+
+.am-checkbox-value.a-checkbox-checked + .am-checkbox-synthetic::before {
+ background-color: #108ee9;
+ border-color: #108ee9;
+ border-width: 0;
+}
+
+.am-checkbox-value.a-checkbox-checked + .am-checkbox-synthetic::after {
+ position: absolute;
+ display: block;
+ z-index: 999;
+ content: '';
+ top: 4px;
+ right: 8px;
+ width: 5px;
+ height: 10px;
+ border: 2px solid #fff;
+ border-width: 0 1px 1px 0;
+ transform: rotate(45deg);
+}
+
+.am-checkbox-value.a-checkbox-disabled + .am-checkbox-synthetic::before {
+ border: 1px solid #ccc;
+ background-color: #e1e1e1;
+}
+
+.am-checkbox-value.a-checkbox-disabled + .am-checkbox-synthetic::after {
+ border-color: #adadad;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/am-checkbox/index.axml b/alipay/node_modules/mini-antui/es/am-checkbox/index.axml
new file mode 100644
index 000000000..49f693103
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/am-checkbox/index.axml
@@ -0,0 +1,11 @@
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/am-checkbox/index.js b/alipay/node_modules/mini-antui/es/am-checkbox/index.js
new file mode 100644
index 000000000..830153dd4
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/am-checkbox/index.js
@@ -0,0 +1,17 @@
+import fmtEvent from '../_util/fmtEvent';
+
+Component({
+ props: {
+ value: '',
+ checked: false,
+ disabled: false,
+ onChange: function onChange() {},
+ id: ''
+ },
+ methods: {
+ onChange: function onChange(e) {
+ var event = fmtEvent(this.props, e);
+ this.props.onChange(event);
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/am-checkbox/index.json b/alipay/node_modules/mini-antui/es/am-checkbox/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/am-checkbox/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/amount-input/index.acss b/alipay/node_modules/mini-antui/es/amount-input/index.acss
new file mode 100644
index 000000000..85cda0b99
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/amount-input/index.acss
@@ -0,0 +1,95 @@
+.am-amount {
+ box-sizing: border-box;
+ height: 173px;
+ width: 100%;
+ padding: 16px;
+ background: #fff;
+}
+
+.am-amount-title {
+ height: 24px;
+ line-height: 24px;
+ color: #333;
+ font-size: 17px;
+}
+
+.am-amount-synthetic {
+ position: absolute;
+ top: 0;
+ left: 0;
+ display: flex;
+}
+
+.am-amount-input {
+ margin-top: 16px;
+ padding-bottom: 16px;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ height: 48px;
+ position: relative;
+ line-height: 48px;
+ border-bottom: 1rpx solid #eee;
+}
+
+.am-amount-symbol {
+ width: 18px;
+ font-family: PingFang SC;
+ font-size: 30px;
+ color: #333;
+}
+
+.am-amount-placeholder {
+ margin-left: 6px;
+ color: #ccc;
+ font-size: 24px;
+}
+
+.am-amount-value {
+ padding: 0 0 0 24px;
+ box-sizing: border-box;
+ z-index: 2;
+ height: 48px;
+ line-height: 48px;
+ vertical-align: middle;
+ background-color: transparent;
+ font-size: 48px;
+ font-weight: 500;
+}
+
+.am-amount-clear {
+ visibility: hidden;
+ width: 28px;
+ height: 28px;
+}
+
+.am-amount-clear icon {
+ display: flex;
+ height: 100%;
+ justify-content: center;
+ align-items: center;
+}
+
+.am-amount-clear-show {
+ visibility: visible;
+}
+
+.am-amount-footer {
+ padding: 16px 0;
+ display: flex;
+}
+
+.am-amount-extra {
+ flex: 1;
+ height: 20px;
+ line-height: 20px;
+ color: #999;
+ font-size: 14px;
+}
+
+.am-amount-btn {
+ width: 120px;
+ text-align: right;
+ color: #108ee9;
+ font-size: 14px;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/amount-input/index.axml b/alipay/node_modules/mini-antui/es/amount-input/index.axml
new file mode 100644
index 000000000..1a8ce32d3
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/amount-input/index.axml
@@ -0,0 +1,26 @@
+
+ {{title}}
+
+
+ ¥
+ {{placeholder}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/amount-input/index.js b/alipay/node_modules/mini-antui/es/amount-input/index.js
new file mode 100644
index 000000000..7319a473e
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/amount-input/index.js
@@ -0,0 +1,56 @@
+import fmtEvent from '../_util/fmtEvent';
+
+Component({
+ props: {
+ type: 'number',
+ className: '',
+ focus: false,
+ placeholder: '',
+ value: ''
+ },
+ data: {
+ _focus: false
+ },
+ methods: {
+ onInput: function onInput(e) {
+ var event = fmtEvent(this.props, e);
+ if (this.props.onInput) {
+ this.props.onInput(event);
+ }
+ },
+ onConfirm: function onConfirm(e) {
+ var event = fmtEvent(this.props, e);
+ if (this.props.onConfirm) {
+ this.props.onConfirm(event);
+ }
+ },
+ onButtonClick: function onButtonClick() {
+ if (this.onButtonClick) {
+ this.props.onButtonClick();
+ }
+ },
+ onFocus: function onFocus(e) {
+ this.setData({
+ _focus: true
+ });
+ var event = fmtEvent(this.props, e);
+ if (this.props.onFocus) {
+ this.props.onFocus(event);
+ }
+ },
+ onBlur: function onBlur(e) {
+ this.setData({
+ _focus: false
+ });
+ var event = fmtEvent(this.props, e);
+ if (this.props.onBlur) {
+ this.props.onBlur(event);
+ }
+ },
+ onClearTap: function onClearTap() {
+ if (this.props.onClear) {
+ this.props.onClear('');
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/amount-input/index.json b/alipay/node_modules/mini-antui/es/amount-input/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/amount-input/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/badge/index.acss b/alipay/node_modules/mini-antui/es/badge/index.acss
new file mode 100644
index 000000000..6da9ea571
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/badge/index.acss
@@ -0,0 +1,41 @@
+.am-badge {
+ display: inline-block;
+ position: relative;
+ vertical-align: middle;
+ line-height: 1;
+}
+
+.am-badge-text {
+ display: inline-block;
+ position: absolute;
+ right: 0;
+ transform: translate(50%, -50%);
+ top: 0px;
+ min-width: 16px;
+ padding: 0;
+ height: 16px;
+ line-height: 16px;
+ text-align: center;
+ background-color: #FF3B30;
+ border-radius: 16px;
+ color: #fff;
+ font-size: 10px;
+}
+
+.am-badge-text.am-badge-double {
+ padding: 0 4px;
+}
+
+.am-badge-not-a-wrapper .am-badge-text {
+ position: relative;
+ top: auto;
+ right: auto;
+ transform: translateX(0);
+}
+
+.am-badge-text.is-dot {
+ padding: 0;
+ width: 10px;
+ min-width: 10px;
+ height: 10px;
+}
diff --git a/alipay/node_modules/mini-antui/es/badge/index.axml b/alipay/node_modules/mini-antui/es/badge/index.axml
new file mode 100644
index 000000000..d460924f5
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/badge/index.axml
@@ -0,0 +1,10 @@
+
+
+ {{typeof text === 'number' && text > overflowCount ? overflowCount + '+' : text }}
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/badge/index.js b/alipay/node_modules/mini-antui/es/badge/index.js
new file mode 100644
index 000000000..626efaf4a
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/badge/index.js
@@ -0,0 +1,8 @@
+Component({
+ props: {
+ className: '',
+ overflowCount: 99,
+ text: '',
+ dot: false
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/badge/index.json b/alipay/node_modules/mini-antui/es/badge/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/badge/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/calendar/index.acss b/alipay/node_modules/mini-antui/es/calendar/index.acss
new file mode 100644
index 000000000..7bc2867d7
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/calendar/index.acss
@@ -0,0 +1,188 @@
+.am-calendar {
+ background-color: #fff;
+ padding-top: 10px;
+}
+
+.am-calendar-months {
+ display: flex;
+ box-sizing: border-box;
+ padding: 0 26px;
+ align-items: center;
+ height: 28px;
+}
+
+.am-calendar-prev-month,
+.am-calendar-next-month {
+ display: flex;
+ width: 40px;
+ font-size: 20px;
+}
+
+.am-calendar-prev-month {
+ justify-content: flex-start;
+}
+
+.am-calendar-next-month {
+ justify-content: flex-end;
+}
+
+.am-calendar-arrow {
+ height: 28px;
+ width: 12px;
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/vYcMhkfyHRIOeVXWdcPe.png');
+ background-size: 8px 14px;
+ background-position: left center;
+ background-repeat: no-repeat;
+}
+
+.am-calendar-arrow.next {
+ transform: rotate(180deg);
+}
+
+.am-calendar-selected-month {
+ flex: 1;
+ text-align: center;
+ font-size: 20px;
+ font-weight: 600;
+ color: #333;
+}
+
+.am-calendar-days {
+ display: flex;
+ padding: 14px 10px 9px;
+ border-bottom: 1rpx solid #eee;
+ height: 20px;
+ line-height: 20px;
+}
+
+.am-calendar-day {
+ flex: 1;
+ text-align: center;
+ color: #333;
+ font-size: 14px;
+}
+
+.am-calendar-dates {
+ display: flex;
+ flex-direction: column;
+}
+
+.am-calendar-week {
+ margin-bottom: 17px;
+ display: flex;
+ flex-direction: row;
+ padding: 0 10px;
+}
+
+.am-calendar-week:first-child {
+ margin-top: 12px;
+}
+
+.am-calendar-date-wrap {
+ position: relative;
+ text-align: center;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ height: 42px;
+ flex: 1;
+}
+
+.am-calendar-date {
+ text-align: center;
+ height: 23px;
+ line-height: 23px;
+ font-size: 19px;
+ font-family: 'Helvetica';
+ color: #333;
+}
+
+.am-calendar-tag {
+ position: absolute;
+ top: 21px;
+ width: 42px;
+ overflow: hidden;
+ text-overflow: hidden;
+ white-space: nowrap;
+ color: #f5a623;
+ font-size: 10px;
+ font-weight: 500;
+}
+
+.am-calendar-today {
+ color: #108ee9;
+}
+
+.am-calendar-gray {
+ color: #ccc;
+}
+
+.am-calendar-selected .am-calendar-block {
+ position: absolute;
+ left: calc(50% - 21px);
+ top: calc(50% - 10px);
+ transform: translateY(-50%);
+ width: 42px;
+ height: 42px;
+ background: #309EF2;
+ border-radius: 2px;
+}
+
+.am-calendar-middle.is-range .am-calendar-block {
+ position: absolute;
+ left: 0;
+ top: calc(50% - 10px);
+ transform: translateY(-50%);
+ height: 42px;
+ background: #309EF2;
+ width: 100%;
+ border-radius: 0;
+}
+
+.am-calendar-start.is-range .am-calendar-block {
+ position: absolute;
+ left: calc(50% - 21px);
+ top: calc(50% - 10px);
+ transform: translateY(-50%);
+ width: 100%;
+ height: 42px;
+ background: #309EF2;
+ border-radius: 2px 0 0 2px;
+}
+
+.am-calendar-end.is-range .am-calendar-block {
+ position: absolute;
+ left: 0;
+ top: calc(50% - 10px);
+ transform: translateY(-50%);
+ width: calc(50% + 21px);
+ height: 42px;
+ background: #309EF2;
+ border-radius: 0 2px 2px 0;
+}
+
+.am-calendar-selected .am-calendar-block.has-tag,
+.am-calendar-start .am-calendar-block.has-tag,
+.am-calendar-middle .am-calendar-block.has-tag,
+.am-calendar-end .am-calendar-block.has-tag {
+ top: calc(50% - 7px);
+}
+
+.am-calendar-selected .am-calendar-date,
+.am-calendar-start .am-calendar-date,
+.am-calendar-middle .am-calendar-date,
+.am-calendar-end .am-calendar-date {
+ position: relative;
+ color: #fff;
+}
+
+.am-calendar-selected .am-calendar-tag,
+.am-calendar-start .am-calendar-tag,
+.am-calendar-middle .am-calendar-tag,
+.am-calendar-end .am-calendar-tag {
+ color: #fff;
+}
+
+.am-calendar-disable .am-calendar-date {
+ color: #999;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/calendar/index.axml b/alipay/node_modules/mini-antui/es/calendar/index.axml
new file mode 100644
index 000000000..43db2c630
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/calendar/index.axml
@@ -0,0 +1,47 @@
+
+
+
+
+
+ {{selectedYear}}年{{selectedMonth + 1}}月
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+ {{item.date}}
+ {{item.disable ? 'disable' : item.tag}}
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/calendar/index.js b/alipay/node_modules/mini-antui/es/calendar/index.js
new file mode 100644
index 000000000..3e4544116
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/calendar/index.js
@@ -0,0 +1,426 @@
+function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
+
+/* eslint-disable complexity, no-param-reassign */
+/* eslint max-depth: [2, 7] */
+var leapYear = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
+var commonYear = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
+var FIRST_MONTH = 0;
+var LAST_MONTH = 11;
+var DAYS_PER_ROW = 7;
+var COLOR_MAP = {
+ 1: '#f5a911',
+ 2: '#e8541e',
+ 3: '#07a89b',
+ 4: '#108ee9',
+ 5: 'rgba(51, 51, 51, 0.4)'
+};
+
+// 获取某月第某天是星期几
+function getDay(month, year, index) {
+ return new Date(year, month, index).getDay();
+}
+
+// 获取某月有几天
+function getMonthLength(month, year) {
+ if (year % 400 === 0 || year % 100 !== 0 && year % 4 === 0) {
+ return leapYear[month];
+ } else {
+ return commonYear[month];
+ }
+}
+
+// 数字补位 1 -> 01
+function prefixNum(num) {
+ if (num < 10) {
+ return '0' + num;
+ } else {
+ return '' + num;
+ }
+}
+
+Component({
+ data: {
+ selectedYear: 0,
+ selectedMonth: 0,
+ currentDate: null,
+ dates: [],
+ blockType: 1 // 1.没有待办纯数字 2.有待办 用于区分不同类型日期块的样式。
+ },
+ props: {
+ className: '',
+ tagData: [],
+ type: 'single'
+ },
+ didMount: function didMount() {
+ this.tapTimes = 1;
+ var date = new Date();
+ date.setHours(0);
+ date.setMinutes(0);
+ date.setSeconds(0);
+ date.setMilliseconds(0);
+ var year = date.getFullYear();
+ var month = date.getMonth();
+
+ this.setData({
+ selectedYear: year,
+ selectedMonth: month,
+ currentDate: date
+ });
+ this.refreshdates(month, year);
+ },
+ didUpdate: function didUpdate() {
+ var dates = this.data.dates;
+
+ var blockType = 1;
+ for (var i = 0; i < dates.length; i++) {
+ for (var j = 0; j < dates[i].length; j++) {
+ if (this.hasTag(dates[i][j])) {
+ blockType = 2;
+ }
+ }
+ }
+
+ this.setData({
+ dates: dates,
+ blockType: blockType
+ });
+ },
+
+ methods: {
+ onPrevMonthTap: function onPrevMonthTap() {
+ var _data = this.data,
+ selectedMonth = _data.selectedMonth,
+ selectedYear = _data.selectedYear;
+
+ var year = selectedYear;
+ var month = selectedMonth;
+ // 如果当前选中是一月份,前一月是去年的12月
+ if (selectedMonth === FIRST_MONTH) {
+ year = selectedYear - 1;
+ month = LAST_MONTH;
+ } else {
+ month = selectedMonth - 1;
+ }
+
+ if (this.props.onMonthChange) {
+ this.props.onMonthChange(month, selectedMonth);
+ }
+
+ this.setData({
+ selectedYear: year,
+ selectedMonth: month
+ });
+
+ this.refreshdates(month, year);
+ },
+ onNextMonthTap: function onNextMonthTap() {
+ var _data2 = this.data,
+ selectedMonth = _data2.selectedMonth,
+ selectedYear = _data2.selectedYear;
+
+ var year = selectedYear;
+ var month = selectedMonth;
+ // 如果当前选中是十二月份,下一月是去年的12月
+ if (selectedMonth === LAST_MONTH) {
+ year = selectedYear + 1;
+ month = FIRST_MONTH;
+ } else {
+ month = selectedMonth + 1;
+ }
+
+ if (this.props.onMonthChange) {
+ this.props.onMonthChange(month, selectedMonth);
+ }
+
+ this.setData({
+ selectedYear: year,
+ selectedMonth: month
+ });
+
+ this.refreshdates(month, year);
+ },
+ refreshdates: function refreshdates(month, year) {
+ this.tapTimes = 1;
+ var _data3 = this.data,
+ selectedYear = _data3.selectedYear,
+ selectedMonth = _data3.selectedMonth,
+ currentDate = _data3.currentDate;
+
+ var firstDay = getDay(month, year, 1);
+ var days = getMonthLength(month, year);
+ var datesArray = [];
+ var currentDateTimeStamp = +currentDate;
+ var num = 0;
+
+ for (var i = 0; i < firstDay; i++) {
+ num += 1;
+ // 如果当前选中的是一月份,前一个月是去年的12月
+ var _year = selectedYear;
+ var _month = selectedMonth;
+
+ if (selectedMonth === 0) {
+ _year = selectedYear - 1;
+ _month = LAST_MONTH;
+ } else {
+ _year = selectedYear;
+ _month = selectedMonth - 1;
+ }
+
+ var date = getMonthLength(_month, _year) - i;
+ datesArray.unshift({
+ year: _year,
+ month: _month,
+ date: date,
+ isToday: false,
+ isGray: true,
+ isSelected: false,
+ tag: ''
+ });
+ }
+
+ for (var _i = 0; _i < days; _i++) {
+ num += 1;
+ var _date = _i + 1;
+ var dateTimeStamp = +new Date(selectedYear, selectedMonth, _date);
+ datesArray.push({
+ year: selectedYear,
+ month: selectedMonth,
+ date: _date,
+ isToday: dateTimeStamp === currentDateTimeStamp,
+ isGray: false,
+ isSelected: dateTimeStamp === currentDateTimeStamp,
+ tag: ''
+ });
+ }
+
+ var nextDate = 0;
+ var daysPerPage = 35;
+
+ if (num > 35) {
+ daysPerPage = 42;
+ }
+
+ for (var _i2 = 0; _i2 < daysPerPage - days - firstDay; _i2++) {
+ // 如果是12月,下月是第二年的1月份
+ nextDate += 1;
+ var _year2 = selectedYear;
+ var _month2 = selectedMonth;
+
+ if (selectedMonth === LAST_MONTH) {
+ _year2 = selectedYear + 1;
+ _month2 = FIRST_MONTH;
+ } else {
+ _year2 = selectedYear;
+ _month2 = selectedMonth + 1;
+ }
+
+ datesArray.push({
+ year: _year2,
+ month: _month2,
+ date: nextDate,
+ isToday: false,
+ isGray: true,
+ isSelected: false,
+ tag: ''
+ });
+ }
+ var blockType = 1;
+ for (var _i3 = 0; _i3 < datesArray.length; _i3++) {
+ if (this.hasTag(datesArray[_i3])) {
+ blockType = 2;
+ }
+ }
+
+ var dates = [];
+ var weekDates = [];
+ for (var _i4 = 0; _i4 < datesArray.length; _i4++) {
+ weekDates.push(datesArray[_i4]);
+ if ((_i4 + 1) % DAYS_PER_ROW === 0) {
+ dates.push([].concat(_toConsumableArray(weekDates)));
+ weekDates = [];
+ }
+ }
+
+ this.setData({
+ dates: dates,
+ blockType: blockType
+ });
+ },
+ hasTag: function hasTag(dateObj) {
+ var tagData = this.props.tagData;
+ // 去重由调用者处理
+
+ if (tagData.length === 0) {
+ dateObj.tag = '';
+ return false;
+ }
+ return tagData.some(function (item) {
+ var dateArr = item.date.split('-');
+ var dateStr = [];
+ // 兼容ios下new Date('2018-1-1')格式返回invalid Date的问题
+ for (var i = 0; i < dateArr.length; i++) {
+ dateStr.push(dateArr[i].length > 1 ? dateArr[i] : '0' + dateArr[i]);
+ }
+
+ var date = new Date(dateStr.join('-'));
+ if (dateObj.year === date.getFullYear() && dateObj.month === date.getMonth() && dateObj.date === date.getDate()) {
+ dateObj.tag = item.tag;
+ dateObj.color = COLOR_MAP[item.tagColor];
+ dateObj.disable = item.disable;
+ return true;
+ } else {
+ dateObj.tag = '';
+ return false;
+ }
+ });
+ },
+ getDateGap: function getDateGap(day1, day2) {
+ var date1 = +new Date(day1.year, prefixNum(day1.month), prefixNum(day1.date));
+ var date2 = +new Date(day2.year, prefixNum(day2.month), prefixNum(day2.date));
+ return (date1 - date2) / (24 * 3600 * 1000);
+ },
+ makeDate: function makeDate(dateObj) {
+ return new Date(dateObj.year + '-' + prefixNum(dateObj.month + 1) + '-' + prefixNum(dateObj.date));
+ },
+ onDateTap: function onDateTap(event) {
+ var dates = this.data.dates;
+ var _event$currentTarget$ = event.currentTarget.dataset,
+ year = _event$currentTarget$.year,
+ month = _event$currentTarget$.month,
+ date = _event$currentTarget$.date;
+ var type = this.props.type;
+
+
+ if (type === 'range') {
+ if (this.tapTimes % 2 === 0) {
+ this.tapTimes += 1;
+ this.endDate = { year: year, month: month, date: date };
+ var dateGap = this.getDateGap(this.startDate, this.endDate);
+
+ if (dateGap > 0) {
+ var _ref = [this.endDate, this.startDate];
+ this.startDate = _ref[0];
+ this.endDate = _ref[1];
+ }
+
+ var hasDisable = false;
+ for (var i = 0; i < dates.length; i++) {
+ for (var j = 0; j < dates[i].length; j++) {
+ var dateObj = dates[i][j];
+ dateObj.isStart = false;
+ dateObj.isMiddle = false;
+ dateObj.isEnd = false;
+
+ var startDateGap = this.getDateGap(dateObj, this.startDate);
+ var endDateGap = this.getDateGap(dateObj, this.endDate);
+
+ if (dateObj.year === year && dateObj.month === month && dateObj.date === date && dateObj.disable) {
+ hasDisable = true;
+ }
+ if (startDateGap > 0 && endDateGap < 0) {
+ if (dateObj.disable) {
+ hasDisable = true;
+ }
+
+ if (dateGap !== 0) {
+ if (j === 0) {
+ dateObj.isStart = true;
+ } else if (j === 6) {
+ dateObj.isEnd = true;
+ } else {
+ dateObj.isMiddle = true;
+ }
+ } else {
+ dateObj.isSelected = true;
+ }
+ }
+
+ if (this.startDate.year === dateObj.year && this.startDate.month === dateObj.month && this.startDate.date === dateObj.date && dateGap !== 0) {
+ if (j === 6) {
+ dateObj.isSelected = true;
+ } else {
+ dateObj.isStart = true;
+ }
+ }
+
+ if (this.endDate.year === dateObj.year && this.endDate.month === dateObj.month && this.endDate.date === dateObj.date && dateGap !== 0) {
+ if (j === 0) {
+ dateObj.isSelected = true;
+ } else {
+ dateObj.isEnd = true;
+ }
+ }
+ }
+ }
+ if (hasDisable) {
+ this.props.onSelectHasDisableDate([this.makeDate(this.startDate), this.makeDate(this.endDate)]);
+ return;
+ }
+
+ if (this.props.onSelect) {
+ this.props.onSelect([this.makeDate(this.startDate), this.makeDate(this.endDate)]);
+ }
+ } else {
+ var isDisable = false;
+ for (var _i5 = 0; _i5 < dates.length; _i5++) {
+ for (var _j = 0; _j < dates[_i5].length; _j++) {
+ var _dateObj = dates[_i5][_j];
+ if (_dateObj.year === year && _dateObj.month === month && _dateObj.date === date) {
+ if (_dateObj.disable) {
+ console.log(1111);
+ isDisable = true;
+ _dateObj.isSelected = false;
+ } else {
+ _dateObj.isSelected = true;
+ }
+ _dateObj.isStart = false;
+ _dateObj.isMiddle = false;
+ _dateObj.isEnd = false;
+ } else {
+ _dateObj.isSelected = false;
+ _dateObj.isStart = false;
+ _dateObj.isMiddle = false;
+ _dateObj.isEnd = false;
+ }
+ }
+ }
+ if (!isDisable) {
+ this.tapTimes += 1;
+ }
+ this.startDate = { year: year, month: month, date: date };
+ }
+
+ this.setData({
+ dates: dates
+ });
+ } else {
+ var _isDisable = false;
+ for (var _i6 = 0; _i6 < dates.length; _i6++) {
+ for (var _j2 = 0; _j2 < dates[_i6].length; _j2++) {
+ var _dateObj2 = dates[_i6][_j2];
+ if (_dateObj2.year === year && _dateObj2.month === month && _dateObj2.date === date) {
+ _dateObj2.isSelected = true;
+ if (_dateObj2.disable) {
+ _isDisable = true;
+ }
+ } else {
+ _dateObj2.isSelected = false;
+ }
+ }
+ }
+
+ if (_isDisable) {
+ return;
+ }
+
+ this.setData({
+ dates: dates
+ });
+
+ if (this.props.onSelect) {
+ this.props.onSelect([this.makeDate({ year: year, month: month, date: date }), undefined]);
+ }
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/calendar/index.json b/alipay/node_modules/mini-antui/es/calendar/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/calendar/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/card/index.acss b/alipay/node_modules/mini-antui/es/card/index.acss
new file mode 100644
index 000000000..fda8d87a2
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/card/index.acss
@@ -0,0 +1,72 @@
+.am-card {
+ display: flex;
+ background-color: #fff;
+ border-radius: 4px;
+ margin: 6px 10px;
+ align-items: center;
+ min-height: 81px;
+ flex-direction: column;
+ padding: 0 16px;
+}
+
+.am-card.am-card-active {
+ background: #D9D9D9;
+}
+
+.am-card-body {
+ display: flex;
+ align-items: center;
+ width: 100%;
+ padding: 16px 0;
+}
+
+.am-card-content {
+ flex: 1;
+ min-width: 100px;
+}
+
+.am-card-title {
+ font-size: 18px;
+ line-height: 25px;
+ color: #333;
+ margin-bottom: 4px;
+}
+
+.am-card-subtitle {
+ font-size: 14px;
+ line-height: 20px;
+ color: #999;
+ margin-bottom: 2px;
+}
+
+.am-card-thumb {
+ margin-right: 10px;
+ width: 48px;
+ height: 48px;
+ border-radius: 2px;
+}
+
+.am-card-arrow {
+ width: 13px;
+ height: 13px;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAaCAYAAAC+aNwHAAAAkElEQVR4AWJwL/BhAJRWByYAgkAUhmdpkDZxlJZqD9UpXCPyBUTEga9+4IkI94F1XaWUTdH+a67inPOhjP2OgD+IFoTcm1GY3khrbfGAGFG6kBmAkPCw1rq6iBYb0VkEzJD+hHQWAz6iJBtQdP8YiQEbUQNiAF0BP0T+Gnkj8VbmHxMq5gOFjzQ+VPlYxz+WEyrVzhdMcxADAAAAAElFTkSuQmCC") center center no-repeat;
+ background-size: 8px 13px;
+}
+
+.am-card-footer {
+ display: flex;
+ width: 100%;
+ align-items: center;
+ border-top: 1rpx solid #eee;
+ padding: 10px 0;
+ margin: -4px 0 0;
+ font-size: 14px;
+ line-height: 20px;
+ color: #999;
+}
+
+.am-card-footer image {
+ width: 14px;
+ height: 14px;
+ margin-right: 4px;
+}
diff --git a/alipay/node_modules/mini-antui/es/card/index.axml b/alipay/node_modules/mini-antui/es/card/index.axml
new file mode 100644
index 000000000..67c388bbe
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/card/index.axml
@@ -0,0 +1,19 @@
+
+
+
+
+ {{title}}
+ {{subTitle}}
+ {{title}}
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/card/index.js b/alipay/node_modules/mini-antui/es/card/index.js
new file mode 100644
index 000000000..a4da35930
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/card/index.js
@@ -0,0 +1,16 @@
+Component({
+ props: {
+ title: '',
+ onClick: function onClick() {},
+ info: ''
+ },
+ methods: {
+ onCardClick: function onCardClick() {
+ var _props = this.props,
+ info = _props.info,
+ onClick = _props.onClick;
+
+ onClick({ info: info });
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/card/index.json b/alipay/node_modules/mini-antui/es/card/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/card/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/face-detection/index.axml b/alipay/node_modules/mini-antui/es/face-detection/index.axml
new file mode 100644
index 000000000..9c51ad9b6
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/face-detection/index.axml
@@ -0,0 +1,8 @@
+
+appName and serviceName is required
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/face-detection/index.js b/alipay/node_modules/mini-antui/es/face-detection/index.js
new file mode 100644
index 000000000..ceccaeecc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/face-detection/index.js
@@ -0,0 +1,107 @@
+Component({
+ props: {
+ facing: 'front',
+ appName: '',
+ serviceName: '',
+ useLiveFaceCheck: false,
+ minRotate: -1
+ },
+ didMount: function didMount() {
+ this.webViewContext = my.createWebViewContext('am-face-detection');
+ this.doFaceLeftResolve = null;
+ this.isDidFaceLeftResolve = false;
+ this.doFaceRightResolve = null;
+ this.isDidFaceRightResolve = false;
+ },
+ didUnMount: function didUnMount() {
+ this.webViewContext.postMessage({ action: 'releaseCamera' });
+ },
+
+ methods: {
+ doLeftFaceCheck: function doLeftFaceCheck() {
+ var _this = this;
+
+ return new Promise(function (resolve, reject) {
+ _this.isDidFaceLeftResolve = false;
+ _this.webViewContext.postMessage({ action: 'doFaceLeft', data: { minRotate: _this.props.minRotate } });
+ _this.doFaceLeftResolve = resolve;
+ setTimeout(function () {
+ if (!_this.isDidFaceLeftResolve) {
+ reject();
+ }
+ }, 30000);
+ });
+ },
+ doRightFaceCheck: function doRightFaceCheck() {
+ var _this2 = this;
+
+ return new Promise(function (resolve, reject) {
+ _this2.isDidFaceRightResolve = false;
+ _this2.webViewContext.postMessage({ action: 'doFaceRight', data: { minRotate: _this2.props.minRotate } });
+ _this2.doFaceRightResolve = resolve;
+ setTimeout(function () {
+ if (!_this2.isDidFaceRightResolve) {
+ reject();
+ }
+ }, 30000);
+ });
+ },
+ onMessage: function onMessage(e) {
+ var _this3 = this;
+
+ var _props = this.props,
+ onFaceStatusChange = _props.onFaceStatusChange,
+ onFail = _props.onFail,
+ onSuccessBtnTap = _props.onSuccessBtnTap;
+ var _e$detail = e.detail,
+ action = _e$detail.action,
+ data = _e$detail.data;
+
+
+ if (action === 'resignSuccessBtnClick') {
+ if (onSuccessBtnTap) {
+ onSuccessBtnTap();
+ }
+ }
+
+ if (action === 'faceRotated' && data.forward === 'left') {
+ this.isDidFaceLeftResolve = true;
+ this.doFaceLeftResolve(data.imageBase64);
+ return;
+ }
+
+ if (action === 'faceRotated' && data.forward === 'right') {
+ this.isDidFaceRightResolve = true;
+ this.doFaceRightResolve(data.imageBase64);
+ return;
+ }
+
+ if (action === 'captureImage') {
+ if (onFaceStatusChange) {
+ var promise = onFaceStatusChange({
+ imageBase64: data.imageBase64,
+ faceRect: data.faceRect
+ }, {
+ doLeftFaceCheck: this.doLeftFaceCheck.bind(this),
+ doRightFaceCheck: this.doRightFaceCheck.bind(this)
+ });
+
+ if (promise instanceof Promise) {
+ promise.then(function () {
+ _this3.webViewContext.postMessage({ action: 'requestSuccess' });
+ })['catch'](function () {
+ _this3.webViewContext.postMessage({ action: 'requestFailure' });
+ });
+ } else {
+ this.webViewContext.postMessage({ action: 'requestSuccess' });
+ }
+ }
+ } else {
+ /* eslint-disable */
+ if (onFail) {
+ onFail({ code: data.code, message: data.message });
+ }
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/face-detection/index.json b/alipay/node_modules/mini-antui/es/face-detection/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/face-detection/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/filter/filter-item/index.acss b/alipay/node_modules/mini-antui/es/filter/filter-item/index.acss
new file mode 100644
index 000000000..f1376f2bc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/filter-item/index.acss
@@ -0,0 +1,26 @@
+.am-filter-item-wrap {
+ padding: 7px 6px;
+ min-width: 33.3%;
+ max-width: 180px;
+ overflow: hidden;
+ float: left;
+ display: list-item;
+ box-sizing: border-box;
+}
+
+.am-filter-item {
+ font-size: 14px;
+ height: 36px;
+ line-height: 36px;
+ background: #f5f5f5;
+ border-radius: 2px;
+ text-align: center;
+ padding: 0 20px;
+ box-sizing: border-box;
+}
+
+.am-filter-click {
+ color: #108EE9;
+ background: #e1f2fe url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAfCAYAAACLSL/LAAAEgElEQVRYhc2Xa0wcVRTH/2cXdi2F0pe29RWMNbHBpLWf2qQmWqma4Ftj1ZBqfcQYjUmlobESP2hDfTT9ILGaaEEECQ0qjy5uNgUDRGiatsG0JNpStaAujy6wsO+d2Xv8MDN3ZhekSHndZLObe+fO/Oac//nfs8TMWEyj3SvS3jnuLU5baBDrqL+kZO1p8JZf9sWeWjRgpWeit773o7fJH1HvAoBFAbbHM7rlSOeoK64kVhlzCwp2sl9QSYtvl+vXQBnANuvagoGd6FMdha7Bg+e90bdBABgAEUAABIMWoioru2PLi9xDNQPjyoMAAIOBWf6e94h90BFa/1Grzx2KifU6TfIFRADmGezFRv99VV3jjQnBmRKCoaXPGHrU5gWsY1DQfrfv9fbLkc/kpKErKxCg64zmHqz+kurc6/GV/u6Lv6pFyALALFOn0+mwcyz+I13R1cXNI3WjEXWb8dwkoUseAYD0b8xtKvf+FNxQemrsRFwVN0kRUWoQjAhKv5ArcwL2eK0/v/Fi+HtmdspUTZZCZg3IWgT6dbbJbjzT0dInbHcf9e1ruBh2MeBM0g+R/uSJn5wVaViXaTevI5o9sOrflIxdx4erfhlSPpQZMTJHeqpInySzJDetc+Dky2uxeqk96X6zksqDp6JrSzrGm4IxsTkZRE8RA6bOIFN5/21O1O28HllOm/kC+to1g73iCW/6+lzQk0iIG7SHUnLFGSPFKp7PXYLyx1bBYScMBBIYDCd0drr2qry3xv9MW2+sGiC7WVl6ytgSIcOf9AgWbsnEJ3nZICL0janI+2YIQyHTw2asMdefqv2Oo/4DbX8px0BklzoGmYZpzFm6BgLj8APZOLRjOYgIPcMK7ikfRM+IKkU/47Pyi24ls7gt+O1wWH1UEsgUWUAAXS/aT4edUPHICjybmwEA6B6KY0flFQyEdFOVkdbf7/84f9HP0Vs+PRPyxFTeICf1/SXbMlCQex0AoOJ8BO93BKEktLVl6UDd0yuxPccJADjtjeOh6isYiZhtjqlLbW7aYE82BLfW98TcDM5OhtJe08ZARX4mCnKXAADODigoaPRjLCrg3rkSG9ekAwDa+2J4uGYYgbgw9yfBaVqbFtjmqrHdXQPKV5jMkOVNARsYFfnLZOQiCmM0KnBjluZRnj+ieKJ2GBHVstey31rNU4Idu6CmF7YGDv0TSLx1VXrjKGFGRX6WjJwxfrgQwXN1o4iLVAhLNcr5Kezi47Ox7AOdoe8CMZF3VSgJBwgivNAUAAAJV9kdwW6XHwlhORKsp4O1N5uqKl9rjtxedi7crArOmTaU4fYMCEDCBeKMNzzjYCbT07QNgEhpX4nl8oRU5tWOb2/pUxrBvHTaUMZIqTCbDmn2WfiPFBpFIK2jX4rZ3SvozrKxN1t6480zggKSTZIIwnpoG3/NpBnD7DisZysRQLZWYmZ82a049rcHPveFxUszAkodk3apk3gWW6Jlin8ETtqY9m5nfM3h04G6qMJbZwUKmNgMSj6yCD2130c/QK1woAj7bv77X8e4TyVCc9zHAAAAAElFTkSuQmCC') right bottom no-repeat;
+ background-size: 17px 13px;
+}
diff --git a/alipay/node_modules/mini-antui/es/filter/filter-item/index.axml b/alipay/node_modules/mini-antui/es/filter/filter-item/index.axml
new file mode 100644
index 000000000..0d80d98e8
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/filter-item/index.axml
@@ -0,0 +1,3 @@
+
+ {{value}}
+
diff --git a/alipay/node_modules/mini-antui/es/filter/filter-item/index.js b/alipay/node_modules/mini-antui/es/filter/filter-item/index.js
new file mode 100644
index 000000000..a9235c643
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/filter-item/index.js
@@ -0,0 +1,87 @@
+import lifecycle from '../mixins/lifecycle';
+
+Component({
+ mixins: [lifecycle],
+ data: {
+ confirmStyle: ''
+ },
+
+ props: {
+ className: '',
+ item: '',
+ id: '',
+ value: '',
+ selected: false,
+ onChange: function onChange() {}
+ },
+
+ didMount: function didMount() {
+ var _data = this.data,
+ results = _data.results,
+ items = _data.items;
+ var _props = this.props,
+ selected = _props.selected,
+ id = _props.id,
+ value = _props.value;
+
+ if (selected) {
+ results.push({ id: id, value: value });
+ items.push(this);
+ this.setData({
+ confirmStyle: true
+ });
+ }
+ },
+
+
+ methods: {
+ handleClick: function handleClick() {
+ var _props2 = this.props,
+ id = _props2.id,
+ value = _props2.value,
+ onChange = _props2.onChange;
+ var confirmStyle = this.data.confirmStyle;
+ var _data2 = this.data,
+ results = _data2.results,
+ items = _data2.items,
+ commonProps = _data2.commonProps;
+
+ if (commonProps.max === 1) {
+ if (confirmStyle === '') {
+ items.forEach(function (element) {
+ element.setData({
+ confirmStyle: ''
+ });
+ });
+ results.splice(0, results.length);
+ confirmStyle = true;
+ results.push({ id: id, value: value });
+ items.push(this);
+ onChange(results);
+ }
+ this.setData({
+ confirmStyle: confirmStyle
+ });
+ return;
+ }
+ if (confirmStyle === '' && results.length < commonProps.max) {
+ confirmStyle = true;
+ results.push({ id: id, value: value });
+ items.push(this);
+ } else {
+ confirmStyle = '';
+ results.some(function (key, index) {
+ if (JSON.stringify(key) === JSON.stringify({ id: id, value: value })) {
+ results.splice(index, 1);
+ return true;
+ } else {
+ return false;
+ }
+ });
+ }
+ this.setData({
+ confirmStyle: confirmStyle
+ });
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/filter/filter-item/index.json b/alipay/node_modules/mini-antui/es/filter/filter-item/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/filter-item/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/filter/index.acss b/alipay/node_modules/mini-antui/es/filter/index.acss
new file mode 100644
index 000000000..6aa088d80
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/index.acss
@@ -0,0 +1,59 @@
+.am-filter-show {
+ height: 100vh;
+ display: block;
+ position: relative;
+}
+
+.am-filter-hide {
+ display: none;
+}
+
+.am-filter-mask, .am-filter-document {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
+
+.am-filter-mask {
+ background: rgba(0, 0, 0, 0.65);
+}
+
+.am-filter-content {
+ background: #ffffff;
+ display: flex;
+ flex-direction: column;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+
+.am-filter-list {
+ flex: 1;
+ padding: 10px 5px 23px;
+ overflow-x: hidden;
+ min-height: 200px;
+ overflow-y: scroll;
+ max-height: 515px;
+ box-sizing: border-box;
+}
+
+.am-filter-btn {
+ width: 100%;
+ display: flex;
+}
+
+.am-filter-default, .am-filter-primary {
+ flex: 1;
+ height: 48px;
+ font-size: 18px;
+ box-sizing: border-box;
+ width: 50%;
+ border: 0;
+ border-radius: 0;
+}
+
+.am-filter-default {
+ border-top: 1px solid #eeeeee;
+ border-right: none;
+}
diff --git a/alipay/node_modules/mini-antui/es/filter/index.axml b/alipay/node_modules/mini-antui/es/filter/index.axml
new file mode 100644
index 000000000..0e2bb004c
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/index.axml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/filter/index.js b/alipay/node_modules/mini-antui/es/filter/index.js
new file mode 100644
index 000000000..bb681ee2b
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/index.js
@@ -0,0 +1,40 @@
+import lifecycle from './mixins/lifecycle';
+
+Component({
+ mixins: [lifecycle],
+ data: {
+ maxHeight: 0
+ },
+ props: {
+ className: '',
+ onChange: function onChange() {},
+ max: 10000
+ },
+ didMount: function didMount() {
+ var commonProps = this.data.commonProps;
+ var max = this.props.max;
+
+ commonProps.max = max;
+ },
+
+ methods: {
+ resetFn: function resetFn() {
+ var _data = this.data,
+ items = _data.items,
+ results = _data.results;
+
+ items.forEach(function (element) {
+ element.setData({
+ confirmStyle: ''
+ });
+ });
+ results.splice(0, results.length);
+ },
+ confirmFn: function confirmFn() {
+ var onChange = this.props.onChange;
+ var results = this.data.results;
+
+ onChange(results);
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/filter/index.json b/alipay/node_modules/mini-antui/es/filter/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/filter/mixins/lifecycle.js b/alipay/node_modules/mini-antui/es/filter/mixins/lifecycle.js
new file mode 100644
index 000000000..4288863c4
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/filter/mixins/lifecycle.js
@@ -0,0 +1,18 @@
+export default {
+ data: {
+ results: [],
+ items: [],
+ commonProps: {
+ max: 10000
+ }
+ },
+
+ didUnmount: function didUnmount() {
+ var _data = this.data,
+ items = _data.items,
+ results = _data.results;
+
+ results.splice(0, results.length);
+ items.splice(0, items.length);
+ }
+};
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/footer/index.acss b/alipay/node_modules/mini-antui/es/footer/index.acss
new file mode 100644
index 000000000..1792210ae
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/footer/index.acss
@@ -0,0 +1,31 @@
+.am-footer-links {
+ display: flex;
+ justify-content: center;
+}
+
+.am-footer-link {
+ height: 17px;
+ line-height: 17px;
+ color: #108ee9;
+ font-size: 12px;
+}
+
+.am-footer-link::after {
+ content: '|';
+ padding: 0 5px;
+ height: 17px;
+ color: #ccc;
+}
+
+.am-footer-link:last-child::after {
+ display: none;
+}
+
+.am-footer-copyright {
+ margin-top: 3px;
+ height: 17px;
+ line-height: 17px;
+ color: #ccc;
+ font-size: 14px;
+ text-align: center;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/footer/index.axml b/alipay/node_modules/mini-antui/es/footer/index.axml
new file mode 100644
index 000000000..e0d5ccef6
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/footer/index.axml
@@ -0,0 +1,8 @@
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/footer/index.js b/alipay/node_modules/mini-antui/es/footer/index.js
new file mode 100644
index 000000000..cb7485f9f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/footer/index.js
@@ -0,0 +1,5 @@
+Component({
+ props: {
+ className: ''
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/footer/index.json b/alipay/node_modules/mini-antui/es/footer/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/footer/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/grid/index.acss b/alipay/node_modules/mini-antui/es/grid/index.acss
new file mode 100644
index 000000000..b170d798f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/grid/index.acss
@@ -0,0 +1,223 @@
+.am-grid {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ background-color: white;
+}
+
+.am-grid-4 {
+ padding-top: 7px;
+ padding-bottom: 7px;
+}
+
+.am-grid-5 {
+ padding-top: 6px;
+ padding-bottom: 7px;
+}
+
+.am-grid-item {
+ text-align: center;
+ position: relative;
+}
+
+.am-grid-3 .am-grid-border {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ height: 100%;
+ border-bottom: 1rpx solid #eee;
+ border-right: 1rpx solid #eee;
+ box-sizing: border-box;
+}
+
+.am-grid-3 .am-grid-right {
+ border-right: none;
+}
+
+.am-grid-3 .am-grid-bottom {
+ border-bottom: none;
+}
+
+.am-grid-3 .am-grid-top {
+ height: calc(100% - 15px);
+}
+
+.am-grid-item-wrapper {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ height: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+}
+
+.am-grid-2 .am-grid-item-wrapper {
+ flex-direction: row;
+ justify-content: flex-start;
+}
+
+.am-grid-icon-container {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.am-grid-icon {
+ flex: 1;
+ width: 36px;
+ height: 36px;
+}
+
+.am-grid-text-wrapper {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+}
+
+.am-grid-3 .am-grid-text-wrapper {
+ align-items: center;
+}
+
+.am-grid-3 .am-grid-text {
+ height: 20px;
+ line-height: 20px;
+}
+
+.am-grid-3 .am-grid-desc {
+ height: 17px;
+ line-height: 17px;
+}
+
+.am-grid-text {
+ color: #333;
+ font-size: 14px;
+ line-height: 1;
+ margin-top: 14px;
+}
+
+.am-grid-desc {
+ color: #999;
+ font-size: 12px;
+}
+
+.am-grid-2 .am-grid-item.has-desc {
+ padding-top: 70px;
+}
+
+.am-grid-3 .am-grid-item {
+ padding-top: 125px;
+}
+
+.am-grid-3.am-grid-no-line {
+ padding: 8px 16px 0 16px;
+}
+
+.am-grid-no-line .am-grid-item {
+ padding-top: 110px;
+}
+
+.am-grid-2 .am-grid-item {
+ padding-top: 64px;
+}
+
+
+.am-grid-4 .am-grid-item {
+ padding-top: 68px;
+}
+
+.am-grid-4.circular .am-grid-item {
+ padding-top: 82px;
+}
+
+.am-grid-3 {
+ padding: 0 16px;
+}
+
+.am-grid-3 .am-grid-text {
+ margin-top: 12px;
+}
+
+.am-grid-no-line .am-grid-border {
+ border-right: none;
+ border-bottom: none;
+}
+
+.am-grid-4.circular {
+ padding-top: 3px;
+}
+
+.am-grid-4.circular .am-grid-icon-container {
+ margin-top: 13px;
+ padding: 8px;
+ border-radius: 50%;
+ background-color: #D8D8D8;
+}
+
+.am-grid-2 .am-grid-icon-container {
+ margin-left: 16px;
+}
+
+.am-grid-2 .am-grid-icon {
+ width: 28px;
+ height: 28px;
+}
+
+.am-grid-4 .am-grid-icon-container {
+ margin-top: 7px;
+}
+
+.am-grid-4 .am-grid-icon {
+ height: 28px;
+ width: 28px;
+}
+
+.am-grid-4.circular .am-grid-icon {
+ width: 26px;
+ height: 26px;
+ flex: 1;
+}
+
+.am-grid-4.circular .am-grid-text {
+ height: 16px;
+ line-height: 16px;
+}
+
+.am-grid-5 .am-grid-item {
+ padding-top: 75px;
+}
+
+.am-grid-5 .am-grid-icon {
+ border-radius: 50%;
+ width: 43px;
+ height: 43px;
+}
+
+.am-grid-2 .am-grid-text {
+ margin-top: 0;
+ margin-left: 12px;
+ height: 24px;
+ line-height: 24px;
+ font-size: 17px;
+}
+
+.am-grid-2 .am-grid-desc {
+ margin-left: 12px;
+ height: 16px;
+ line-height: 16px;
+}
+
+.am-grid-4 .am-grid-text {
+ font-size: 13px;
+ height: 13px;
+ line-height: 13px;
+ margin-top: 7px;
+}
+.am-grid-5 .am-grid-text {
+ font-size: 12px;
+ margin-top: 7px;
+}
+
diff --git a/alipay/node_modules/mini-antui/es/grid/index.axml b/alipay/node_modules/mini-antui/es/grid/index.axml
new file mode 100644
index 000000000..c92ca5b85
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/grid/index.axml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+ {{item.text}}
+ {{item.desc}}
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/grid/index.js b/alipay/node_modules/mini-antui/es/grid/index.js
new file mode 100644
index 000000000..2f075a2cb
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/grid/index.js
@@ -0,0 +1,32 @@
+Component({
+ data: {
+ bottomIndex: 0
+ },
+ props: {
+ columnNum: 3,
+ circular: false,
+ list: [],
+ onGridItemClick: function onGridItemClick() {},
+ hasLine: true
+ },
+ didMount: function didMount() {
+ var _props = this.props,
+ list = _props.list,
+ columnNum = _props.columnNum;
+
+ var rows = list.length / columnNum;
+ this.setData({
+ bottomIndex: Math.floor(rows) === rows ? (rows - 1) * columnNum : Math.floor(rows) * columnNum
+ });
+ },
+
+ methods: {
+ onGridItemClick: function onGridItemClick(e) {
+ this.props.onGridItemClick({
+ detail: {
+ index: e.target.dataset.index
+ }
+ });
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/grid/index.json b/alipay/node_modules/mini-antui/es/grid/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/grid/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/input-item/index.acss b/alipay/node_modules/mini-antui/es/input-item/index.acss
new file mode 100644
index 000000000..91c0a63a6
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/input-item/index.acss
@@ -0,0 +1,74 @@
+.am-input-item {
+ display: flex;
+ align-items: center;
+ background: #fff;
+ padding-left: 15px;
+}
+
+.am-input-item .a-input-content {
+ padding-left: 2px;
+}
+
+.am-input-line {
+ position: relative;
+ flex: 1;
+ display: flex;
+ align-items: center;
+ padding-right: 15px;
+ min-height: 47px;
+ overflow: hidden;
+}
+
+.am-input-label {
+ min-width: 80px;
+ margin-right: 2px;
+ color: #333;
+}
+
+.am-input-content {
+ flex: 1;
+ display: flex;
+ height: 33px;
+ color: #000;
+ text-align: left;
+}
+
+.am-input-content .a-input-wrap {
+ flex: 1;
+}
+
+.am-input-clear {
+ display: flex;
+ height: 33px;
+ width: 33px;
+ justify-content: center;
+ align-items: center;
+}
+
+.am-input-clear.show {
+ visibility: visible;
+}
+
+.am-input-clear.hidden {
+ visibility: hidden;
+ pointer-events: none;
+}
+
+.am-input-line-bottom::after {
+ content: '';
+ display: block;
+ position: absolute;
+ width: 100%;
+ height: 1px;
+ transform: scaleY(0.5);
+ left: 0;
+ bottom: 0;
+ right: auto;
+ top: auto;
+ background-color: #eee;
+}
+
+/* 最后一行 */
+.am-input-item.last .am-input-line-bottom::after {
+ display: none;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/input-item/index.axml b/alipay/node_modules/mini-antui/es/input-item/index.axml
new file mode 100644
index 000000000..6a6bc47b5
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/input-item/index.axml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/input-item/index.js b/alipay/node_modules/mini-antui/es/input-item/index.js
new file mode 100644
index 000000000..8c0052a03
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/input-item/index.js
@@ -0,0 +1,59 @@
+import fmtEvent from '../_util/fmtEvent';
+
+Component({
+ props: {
+ className: '',
+ labelCls: '',
+ inputCls: '',
+ last: false,
+ value: '',
+ name: '',
+ type: 'text',
+ password: false,
+ placeholder: '',
+ placeholderClass: '',
+ placeholderStyle: '',
+ disabled: false,
+ maxlength: 140,
+ focus: false,
+ clear: false, // 是否带清除功能
+ syncInput: false,
+ enableNative: false, // 兼容安卓input的输入bug
+ onInput: function onInput() {},
+ onConfirm: function onConfirm() {},
+ onFocus: function onFocus() {},
+ onBlur: function onBlur() {},
+ onClear: function onClear() {}
+ },
+ data: {
+ _focus: false
+ },
+ methods: {
+ onBlur: function onBlur(e) {
+ this.setData({
+ _focus: false
+ });
+ var event = fmtEvent(this.props, e);
+ this.props.onBlur(event);
+ },
+ onConfirm: function onConfirm(e) {
+ var event = fmtEvent(this.props, e);
+ this.props.onConfirm(event);
+ },
+ onFocus: function onFocus(e) {
+ this.setData({
+ _focus: true
+ });
+ var event = fmtEvent(this.props, e);
+ this.props.onFocus(event);
+ },
+ onInput: function onInput(e) {
+ var event = fmtEvent(this.props, e);
+ this.props.onInput(event);
+ },
+ onClear: function onClear(e) {
+ var event = fmtEvent(this.props, e);
+ this.props.onClear(event);
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/input-item/index.json b/alipay/node_modules/mini-antui/es/input-item/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/input-item/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/list/index.acss b/alipay/node_modules/mini-antui/es/list/index.acss
new file mode 100644
index 000000000..abce0fe4f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/index.acss
@@ -0,0 +1,39 @@
+.am-list-header,
+.am-list-footer {
+ font-size: 14px;
+ color: #888;
+}
+
+.am-list-header {
+ padding: 16px 16px 8px;
+}
+
+.am-list-body {
+ position: relative;
+}
+
+.am-list-body::before {
+ position: absolute;
+ content: '';
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 1px;
+ transform: scaleY(0.5);
+ background-color: #eee;
+}
+
+.am-list-body::after {
+ position: absolute;
+ content: '';
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 1px;
+ transform: scaleY(0.5);
+ background-color: #eee;
+}
+
+.am-list-footer {
+ padding: 8px 16px 16px 16px;
+}
diff --git a/alipay/node_modules/mini-antui/es/list/index.axml b/alipay/node_modules/mini-antui/es/list/index.axml
new file mode 100644
index 000000000..cf509812e
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/index.axml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/list/index.js b/alipay/node_modules/mini-antui/es/list/index.js
new file mode 100644
index 000000000..cb7485f9f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/index.js
@@ -0,0 +1,5 @@
+Component({
+ props: {
+ className: ''
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/list/index.json b/alipay/node_modules/mini-antui/es/list/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/list/list-item/index.acss b/alipay/node_modules/mini-antui/es/list/list-item/index.acss
new file mode 100644
index 000000000..cad5d3323
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/list-item/index.acss
@@ -0,0 +1,127 @@
+.am-list-item {
+ display: flex;
+ align-items: center;
+ background: #fff;
+ padding-left: 16px;
+ font-size: 15px;
+ line-height: 1.4;
+ color: #333;
+}
+
+/* hover 样式 */
+.am-list-item-hover {
+ background-color: #f8f8f8;
+}
+
+.am-list-prefix {
+ margin-right: 16px;
+}
+
+.am-list-thumb {
+ width: 30px;
+ height: 30px;
+ margin-right: 16px;
+}
+
+.am-list-line {
+ position: relative;
+ flex: 1;
+ display: flex;
+ align-items: center;
+ align-self: stretch;
+ padding-right: 15px;
+ min-height: 52px;
+ overflow: hidden;
+}
+
+.am-list-content,
+.am-list-extra {
+ line-height: 1.5;
+ width: auto;
+ padding-top: 7px;
+ padding-bottom: 7px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.am-list-content {
+ flex: 1;
+ color: #000;
+ font-size: 17px;
+ text-align: left;
+}
+
+.am-list-extra {
+ flex-basis: 36%;
+ color: #888;
+ font-size: 16px;
+ text-align: right;
+}
+
+.am-list-brief {
+ color: #888;
+ font-size: 14px;
+}
+
+.am-list-wrap .am-list-content,
+.am-list-wrap .am-list-extra {
+ white-space: normal;
+}
+
+.am-list-arrow {
+ display: block;
+ width: 15px;
+ height: 15px;
+ margin-left: 8px;
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/nGMpTwTjtKMbOeeQIucS.png');
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
+
+.am-list-arrow-empty {
+ visibility: hidden;
+}
+
+.am-list-line-bottom::after {
+ content: '';
+ display: block;
+ position: absolute;
+ width: 100%;
+ height: 1px;
+ background: #eee;
+ transform: scaleY(0.5);
+ left: 0;
+ bottom: 0;
+ right: auto;
+ top: auto;
+}
+
+/* 子元素垂直对齐 */
+.am-list-top .am-list-line {
+ align-items: flex-start;
+}
+
+.am-list-middle .am-list-line {
+ align-items: center;
+}
+
+.am-list-bottom .am-list-line {
+ align-items: flex-end;
+}
+
+/* 多行 */
+.am-list-multiple .am-list-line {
+ padding: 6px 15px 6px 0;
+}
+
+.am-list-multiple .am-list-thumb {
+ width: 36px;
+ height: 36px;
+}
+
+/* 最后一行 */
+.am-list-item.last .am-list-line-bottom::after {
+ display: none;
+}
diff --git a/alipay/node_modules/mini-antui/es/list/list-item/index.axml b/alipay/node_modules/mini-antui/es/list/list-item/index.axml
new file mode 100644
index 000000000..3c751535c
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/list-item/index.axml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/list/list-item/index.js b/alipay/node_modules/mini-antui/es/list/list-item/index.js
new file mode 100644
index 000000000..803d13b98
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/list-item/index.js
@@ -0,0 +1,32 @@
+Component({
+ props: {
+ className: '',
+ align: false,
+ disabled: false,
+ multipleLine: false,
+ wrap: false
+ },
+ didMount: function didMount() {
+ this.dataset = {};
+ for (var key in this.props) {
+ if (/data-/gi.test(key)) {
+ this.dataset[key.replace(/data-/gi, '')] = this.props[key];
+ }
+ }
+ },
+
+ methods: {
+ onItemTap: function onItemTap(ev) {
+ var _props = this.props,
+ onClick = _props.onClick,
+ disabled = _props.disabled;
+
+ if (onClick && !disabled) {
+ onClick({
+ index: ev.target.dataset.index,
+ target: { dataset: this.dataset }
+ });
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/list/list-item/index.json b/alipay/node_modules/mini-antui/es/list/list-item/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/list/list-item/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/message/index.acss b/alipay/node_modules/mini-antui/es/message/index.acss
new file mode 100644
index 000000000..7ad2f0be2
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/message/index.acss
@@ -0,0 +1,33 @@
+.am-message {
+ background-color: #fff;
+ border-bottom: 1rpx solid #eeeeee;
+ margin-bottom: 30px;
+ padding: 30px 15px;
+ text-align: center;
+ height: 199px;
+ box-sizing: border-box;
+}
+.am-message .am-icon {
+ display: block;
+}
+.am-message-main {
+ font-size: 20px;
+ margin: 16px 0 9px;
+ line-height: 28px;
+}
+.am-message-sub {
+ padding: 0 30px;
+ font-size: 14px;
+ line-height: 19px;
+ margin-top: 6px;
+ color: #999;
+}
+.am-button-wrap{
+ padding: 0 15px;
+}
+.am-button-wrap .a-button {
+ margin-bottom: 15px;
+}
+.am-button-wrap .a-button:last-child {
+ margin-bottom: 0;
+}
diff --git a/alipay/node_modules/mini-antui/es/message/index.axml b/alipay/node_modules/mini-antui/es/message/index.axml
new file mode 100644
index 000000000..3eb529863
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/message/index.axml
@@ -0,0 +1,27 @@
+
+
+
+ {{title}}
+
+
+ {{subTitle}}
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/message/index.js b/alipay/node_modules/mini-antui/es/message/index.js
new file mode 100644
index 000000000..48ca2900f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/message/index.js
@@ -0,0 +1,17 @@
+Component({
+ props: {
+ className: "",
+ type: "success",
+ title: "",
+ onTapMain: function onTapMain() {},
+ onTapSub: function onTapSub() {}
+ },
+ methods: {
+ tapMain: function tapMain() {
+ this.props.onTapMain();
+ },
+ tapSub: function tapSub() {
+ this.props.onTapSub();
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/message/index.json b/alipay/node_modules/mini-antui/es/message/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/message/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/modal/index.acss b/alipay/node_modules/mini-antui/es/modal/index.acss
new file mode 100644
index 000000000..14b5dcd0d
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/modal/index.acss
@@ -0,0 +1,118 @@
+.am-modal-show {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
+.am-modal-hide {
+ display: none;
+}
+.am-modal-mask,
+.am-modal-document {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
+.am-modal-mask {
+ background-color: rgba(0, 0, 0, 0.75);
+}
+.am-modal-document {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+.am-modal {
+ background-color: #fff;
+ border-radius: 2px;
+ width: 270px;
+ position: relative;
+}
+.am-modal-image {
+ display: flex;
+ justify-content: center;
+}
+.am-modal-image-md,
+.am-modal-image-sm {
+ margin-top: 24px;
+}
+
+.am-modal-image-lg image {
+ width: 270px;
+ height: 156px;
+}
+.am-modal-image-md image {
+ width: 134px;
+ height: 134px;
+}
+.am-modal-image-sm image {
+ width: 65px;
+ height: 65px;
+}
+.am-modal-header {
+ font-size: 18px;
+ line-height: 21px;
+ text-align: center;
+ color: #333;
+ font-weight: 600;
+ padding-top: 22px;
+}
+.am-modal-body {
+ margin-top: 8px;
+ overflow: hidden;
+ max-width: 270px;
+ padding: 0 16px;
+ line-height: 20px;
+ text-align: center;
+ color: #333;
+ font-size: 14px;
+}
+
+.am-modal-footer {
+ margin-top: 12px;
+ height: 50px;
+ line-height: 50px;
+ border-top: 1rpx solid #ddd;
+ font-size: 18px;
+ color: #108ee9;
+ text-align: center;
+}
+.am-modal-close {
+ position: absolute;
+ display: block;
+ right: 0;
+ top: 0;
+ height: 48px;
+ width: 48px;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAANlBMVEVMaXGIiIiJiYmJiYn///+IiIiIiIiRkZGJiYmJiYmIiIiZmZmIiIiIiIiLi4uJiYmIiIiIiIif033nAAAAEXRSTlMA3vWjAZv1FdRBcAq0vhZmK7msGmgAAABnSURBVHhe7dEpFoAwEATRTliysIS5/2VReS16xiEp+2XhuQqC2nngshp4262j1Omq2wq6q3Rf6arionRVdaq4qjpVneo71fOUqerJbAkVLRv/eBcW/nEvfPD3/4szPHhXGzj6VPWBF66vCbNK4YfYAAAAAElFTkSuQmCC") center no-repeat;
+ background-size: 16px 16px;
+}
+
+.am-close-white {
+ background: url("https://gw.alipayobjects.com/zos/rmsportal/fdmdsySxNBrpcVBVGEUM.png") center no-repeat;;
+ background-size: 16px 16px;
+}
+
+.am-modal-close-active,
+.am-modal-footer-active {
+ background-color: rgba(37,39,40,.05);
+}
+
+.am-modal-document-advice .am-modal {
+ padding-top: 0;
+ width: auto;
+}
+.am-modal-document-advice .am-modal-body {
+ padding: 0;
+ max-width: 319px;
+}
+
+.am-modal-document-advice .am-modal-close {
+ top: -50px;
+ height: 27px;
+ width: 27px;
+ background-size: 27px 27px;
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAEMElEQVR4AWKgJvj//z8roFl7cJJdiaM4/mbtvbZt27Zt27ZtrvLfvu8iVWe77tSmJ/lNMlWfQtLICXo6wARswRk8wUf8RAt+4TOe4wJ2YAaqkujfIsx8XEMTggK04j5WojbtQBXYhF8I8viCh7iJy7iBB3iPtjx1mnEQdcUOVIKl+IzA8QEHMBFVEY70SGzHcwSO39iCimKEGoeXCMRP7MDwmG33wzp8gHvU51uGWoYW55TZi5qE+ynrCvjDCbgXJUmfegedTs6gj/HZUY3dzs68huqkGr8pDbdgaZGv6YnO0XuFfnGPlIb6hnEpjcD98Uq25W3BfwvO6fcKfVP+e6lydvQtlPgPFHqkNFS64Sqdv4ZDvkN6i1xT4zI20+mDbxJuWdTr6oVU0oEiS+HGys7/hbqeKizRIV3XZTDcRtnWAz1NcT7Ln2+fjAcrx0e5ZPrlK7gJQZd9KW1sNeajX8Tyi2Sbz+ZL/1PmfrUeM/zT+IaxCRyBw/iLu1HCUSbnjJID3QLzZOUOj43Zh78I8BoT4oaSie+6iHXnyrbvcldek5XDPTaoN24h0HAxQ33DeuSi/rfJDe5Hdzb9110RP5x9KGnnqvQ/JFw4QRYelPLxwxmHkraWSt9rwoWbZeFEKZ9sOINQ0l699Hs+XHhaFnbd6xiEMwilP7nzfh4ueBSORFIubrjbbjiLUPqTmf9f5DTpIy1ocOQmGoTSPo93O/Pk7vS2FjQI9xF/DEKF/e2Xvnq3L2hGgCta0CKcQSjta0e3GYhMpW4aTVT3oFk6fYnRBn3tlT76/Ccz5IcGofSa+ukOKAn3d1Tar2lf8Mxj1hFnmrTJf4bi1ecVuYUpaV9wXjqrMAq1Hjn0tgrX3lbYZrhgu3Q02ipUjOlX1IlwCwJcDhdOk052WoayCkfd2dLWpnBhlaR9aR3KIpwzLRylK+7Jiv5moTymXx79l8iI+wMlunK5NL7eIpTVkaPsRKl72F1ZjWaZ+pRHbHQWHvmGihDuIaYVcJM56l8FDkiBDZ5Pjr9hFXIJ3BX8wCaURKgzXrb5dr5Ctfjl86TKYFrUiIEeZ8wjCTZCVhk+W7TfCXPdZ4pRnwa3YnJGQ/XGV30K7LsnfmJAxkJVyPy23Q6fyrud4bc6I6FyuOi8ky7x/dPTYfQ2qjIQap/zlrWq0FejL6WhF+iX4umnR+oH+sdpsC9eS4PfMT6FN5jPnVBjk3q1c8P5JGITyos0pH/z/xTC75o7gEB8wmKUGH3b8djp76rFda6vcn86Hb7AfFTFbLsUk3AdgWjBDpRYnx612BdOmkUzrmEZGjwGqLk4oztMnEW/ND5LOON+dyg+4hZO4AB2YR+O4SreojVP3dsYkfaf5gDswAcEMXzHYYzK4hxuEFbhLJ7KI21XM17hEjZilM01ZP8NVCP6ozeqkbPu93+pG3nJRlqdHgAAAABJRU5ErkJggg==");
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/modal/index.axml b/alipay/node_modules/mini-antui/es/modal/index.axml
new file mode 100644
index 000000000..135b4c636
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/modal/index.axml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/modal/index.js b/alipay/node_modules/mini-antui/es/modal/index.js
new file mode 100644
index 000000000..3fbc09b26
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/modal/index.js
@@ -0,0 +1,24 @@
+Component({
+ props: {
+ className: '',
+ topImageSize: 'md',
+ showClose: true,
+ closeType: '0'
+ },
+ methods: {
+ onModalClick: function onModalClick() {
+ var onModalClick = this.props.onModalClick;
+
+ if (onModalClick) {
+ onModalClick();
+ }
+ },
+ onModalClose: function onModalClose() {
+ var onModalClose = this.props.onModalClose;
+
+ if (onModalClose) {
+ onModalClose();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/modal/index.json b/alipay/node_modules/mini-antui/es/modal/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/modal/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/notice/index.acss b/alipay/node_modules/mini-antui/es/notice/index.acss
new file mode 100644
index 000000000..1d24ffc09
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/notice/index.acss
@@ -0,0 +1,76 @@
+.am-notice {
+ width: 100%;
+ height: 36px;
+ box-sizing: border-box;
+ line-height: 36px;
+ display: flex;
+ background-color: #fefceb;
+ overflow: hidden;
+ font-size: 13px;
+ color: #f76a24;
+}
+
+.am-notice-thumb {
+ padding-left: 16px;
+ width: 19px;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAYFBMVEVMaXH4biD/dSn3biD2cib/dDj3biD3biD4biD4byP/lUD3biD4biH4biH3biD5byH4biD4cCH3biH3bST2byT4biH3biD3cSP3biD0bSH6cCL4biH3biL3biH4biL4biGKhhI5AAAAIHRSTlMA4A3wGAj3+rRQBJOsn+o/zUtcKBzH1TKILzZvU796aUQsa54AAAEeSURBVHgBfdNVlt0wFETRElhlZvaD+c+yta7SSYznewstY99aqwkPNYbMcd/XUTHGbTOZvTzQlcZFaUF+kHhQ0OUVjumYroWAZCQZ99hla5YVAgC6zLGcEEqtb1JUC/4CTwaqLpyspFT3+B8gyjla+EpKucYeIBrClZC7MwmYXimAznEVEJ3AyLcGULC4AUkpsy800TVAZ9gAUFxvAGaZPWZ7ByrWsontDjQcnkHG7HGJJFxByeUafCgTVCzTazAwSwHkwq6A7cJJXC/rOOdYZqePZRVn+FpHqbZ7YEfWYW7d972tjg+mUVS7R9fXNM0v0O2bHOz50X4D+DrSbOnp2WfkLGBm/bG4aCPzVpZ4+DWNBw9NiizwVF/kPXb9AFr1D7ArYO8yAAAAAElFTkSuQmCC") center no-repeat;
+ background-size: 18px auto;
+ background-position: center right;
+}
+
+.am-notice-content {
+ flex: 1;
+ width: 100%;
+ margin-left: 9px;
+ margin-right: 10px;
+ overflow: hidden;
+}
+
+.am-notice-marquee {
+ position: relative;
+ height: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ display: inline-block;
+}
+
+.am-notice-operation {
+ padding-right: 16px;
+}
+
+.am-notice-link {
+ display: block;
+ height: 100%;
+ color: #f85800;
+}
+
+.am-notice-link::after {
+ content: "";
+ display: inline-block;
+ width: 6px;
+ height: 6px;
+ border: 1px solid #f76a24;
+ border-top: 0 none;
+ border-left: 0 none;
+ margin-left: 6px;
+ margin-right: 2px;
+ margin-bottom: 1px;
+ transform: rotate(315deg)
+}
+
+.am-notice-closable {
+ width: 10px;
+ height: 100%;
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/mLiemrUlPGVwIGXQdWDx.png');
+ background-size: contain;
+ background-position: center;
+ background-repeat: no-repeat;
+}
+
+.am-notice-operation-text {
+ display: block;
+ height: 100%;
+ color: #e14f00
+ ;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/notice/index.axml b/alipay/node_modules/mini-antui/es/notice/index.axml
new file mode 100644
index 000000000..b53f62c86
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/notice/index.axml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+ {{action}}
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/notice/index.js b/alipay/node_modules/mini-antui/es/notice/index.js
new file mode 100644
index 000000000..36bbf1c20
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/notice/index.js
@@ -0,0 +1,123 @@
+Component({
+ props: {
+ className: '',
+ mode: '', // closable,link
+ action: '', // 文本按钮
+ show: true, // 是否显示
+ enableMarquee: false, // 是否开启marquee
+ onClick: function onClick() {},
+ marqueeProps: {
+ loop: false,
+ leading: 500,
+ trailing: 800,
+ fps: 40
+ }
+ },
+ data: {
+ animatedWidth: 0,
+ overflowWidth: 0
+ },
+ didMount: function didMount() {
+ if (this.props.enableMarquee) {
+ this._measureText();
+ this._startAnimation();
+ }
+ },
+ didUpdate: function didUpdate() {
+ this._measureText();
+ if (this.props.enableMarquee && !this._marqueeTimer) {
+ this._measureText();
+ this._startAnimation();
+ }
+ },
+ didUnmount: function didUnmount() {
+ if (this._marqueeTimer) {
+ clearTimeout(this._marqueeTimer);
+ this._marqueeTimer = null;
+ }
+ },
+
+ methods: {
+ _measureText: function _measureText() {
+ var _this = this;
+
+ // 计算文本所占据的宽度,计算需要滚动的宽度
+ my.createSelectorQuery().select('.am-notice-marquee-' + this.$id).boundingClientRect().select('.am-notice-content-' + this.$id).boundingClientRect().exec(function (ret) {
+ var overflowWidth = ret && ret[0] && ret[1] && ret[0].width - ret[1].width || 0;
+ _this.setData({
+ overflowWidth: overflowWidth
+ });
+ });
+ },
+ _startAnimation: function _startAnimation() {
+ var _this2 = this;
+
+ if (this._marqueeTimer) {
+ clearTimeout(this._marqueeTimer);
+ }
+
+ var _props$marqueeProps = this.props.marqueeProps,
+ loop = _props$marqueeProps.loop,
+ fps = _props$marqueeProps.fps,
+ trailing = _props$marqueeProps.trailing,
+ leading = _props$marqueeProps.leading;
+
+ var TIMEOUT = 1 / fps * 1000;
+ var isLeading = this.data.animatedWidth === 0;
+ var timeout = isLeading ? leading : TIMEOUT;
+
+ var animate = function animate() {
+ var overflowWidth = _this2.data.overflowWidth;
+
+ var animatedWidth = _this2.data.animatedWidth + 1;
+ var isRoundOver = animatedWidth > overflowWidth;
+
+ if (isRoundOver) {
+ if (loop) {
+ animatedWidth = 0;
+ } else {
+ return;
+ }
+ }
+
+ if (isRoundOver && trailing) {
+ _this2._marqueeTimer = setTimeout(function () {
+ _this2.setData({
+ animatedWidth: animatedWidth
+ });
+
+ _this2._marqueeTimer = setTimeout(animate, TIMEOUT);
+ }, trailing);
+ } else {
+ _this2.setData({
+ animatedWidth: animatedWidth
+ });
+
+ _this2._marqueeTimer = setTimeout(animate, TIMEOUT);
+ }
+ };
+
+ if (this.data.overflowWidth !== 0) {
+ this._marqueeTimer = setTimeout(animate, timeout);
+ }
+ },
+ onNoticeTap: function onNoticeTap() {
+ var _props = this.props,
+ mode = _props.mode,
+ onClick = _props.onClick;
+
+ if (mode === 'link' && typeof onClick === 'function') {
+ onClick();
+ }
+ },
+ onOperationTap: function onOperationTap() {
+ var _props2 = this.props,
+ mode = _props2.mode,
+ onClick = _props2.onClick;
+
+ if (mode === 'closable' && typeof onClick === 'function') {
+ onClick();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/notice/index.json b/alipay/node_modules/mini-antui/es/notice/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/notice/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/page-result/index.acss b/alipay/node_modules/mini-antui/es/page-result/index.acss
new file mode 100644
index 000000000..004cd6216
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/page-result/index.acss
@@ -0,0 +1,88 @@
+.am-page-result {
+ background: #fff;
+ height: 100vh;
+ overflow: hidden;
+}
+
+.am-page-result-pic {
+ width: 220px;
+ height: 220px;
+ margin: 22px auto 0;
+ background-position: center bottom;
+ background-repeat: no-repeat;
+ background-size: contain;
+}
+
+.page-network {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-network.png");
+}
+
+.page-error {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-busy.png");
+}
+
+.page-busy {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-excption.png");
+}
+
+.page-empty {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-not-found.png");
+}
+
+.page-logoff {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-logout.png");
+}
+
+.am-page-result-title {
+ margin: 25px auto 0;
+ text-align: center;
+ font-size: 20px;
+ color: #333;
+}
+
+.am-page-result-brief {
+ margin: 16px auto;
+ font-size: 14px;
+ color: #888;
+ max-width: 266px;
+ text-align: center;
+}
+
+.am-local-page {
+ height: 100%;
+}
+
+.am-local-page .am-page-result-pic {
+ width: 90px;
+ height: 90px;
+ margin: 24px auto 0;
+ background-size: contain;
+}
+
+.am-local-page .am-page-result-brief {
+ margin-bottom: 30px;
+ font-size: 14px;
+ color: #999;
+ max-width: 266px;
+ text-align: center;
+}
+
+.am-local-page .page-empty {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-not-found-sm.png");
+}
+
+.am-local-page .page-error {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-busy-sm.png");
+}
+
+.am-local-page .page-network {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-network-sm.png");
+}
+
+.am-local-page .page-busy {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-excption-sm.png");
+}
+
+.am-local-page .page-logoff {
+ background-image: url("https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/i/error-logout-sm.png");
+}
diff --git a/alipay/node_modules/mini-antui/es/page-result/index.axml b/alipay/node_modules/mini-antui/es/page-result/index.axml
new file mode 100644
index 000000000..4c7f5d697
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/page-result/index.axml
@@ -0,0 +1,6 @@
+
+
+ {{title}}
+ {{brief}}
+
+
diff --git a/alipay/node_modules/mini-antui/es/page-result/index.js b/alipay/node_modules/mini-antui/es/page-result/index.js
new file mode 100644
index 000000000..3bd42c3ce
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/page-result/index.js
@@ -0,0 +1,7 @@
+Component({
+ props: {
+ className: '',
+ type: 'network',
+ local: false
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/page-result/index.json b/alipay/node_modules/mini-antui/es/page-result/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/page-result/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/picker-item/index.acss b/alipay/node_modules/mini-antui/es/picker-item/index.acss
new file mode 100644
index 000000000..72c0511cc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/picker-item/index.acss
@@ -0,0 +1,84 @@
+.am-picker-item {
+ display: flex;
+ align-items: center;
+ background: #fff;
+ padding-left: 15px;
+}
+
+.am-picker-line {
+ position: relative;
+ flex: 1;
+ display: flex;
+ align-items: center;
+ padding-right: 15px;
+ min-height: 47px;
+ overflow: hidden;
+}
+
+.am-picker-label {
+ min-width: 80px;
+ margin-right: 2px;
+ color: #333;
+}
+
+.am-picker-wrapper {
+ display: flex;
+ flex: 1;
+ height: 33px;
+ align-items: center;
+}
+
+.am-picker-content {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ height: 33px;
+ color: #000;
+ text-align: left;
+}
+
+.am-picker-clear {
+ display: flex;
+}
+
+.am-picker-line-bottom::after {
+ content: '';
+ display: block;
+ position: absolute;
+ width: 100%;
+ height: 1px;
+ transform: scaleY(0.5);
+ left: 0;
+ bottom: 0;
+ right: auto;
+ top: auto;
+ background-color: #eee;
+}
+
+/* 最后一行 */
+.am-picker-item.last .am-picker-line-bottom::after {
+ display: none;
+}
+
+.am-picker-text {
+ padding-left: 8px;
+}
+
+.am-picker-content-placeholder {
+ color: #ccc;
+}
+
+.am-picker-content-value {
+ color: #333;
+}
+
+.am-picker-arrow {
+ display: block;
+ width: 13px;
+ height: 13px;
+ margin-left: 8px;
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/nGMpTwTjtKMbOeeQIucS.png');
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/picker-item/index.axml b/alipay/node_modules/mini-antui/es/picker-item/index.axml
new file mode 100644
index 000000000..00902d58f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/picker-item/index.axml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+ {{value.length > 0 ? value : placeholder}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/picker-item/index.js b/alipay/node_modules/mini-antui/es/picker-item/index.js
new file mode 100644
index 000000000..f732912e1
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/picker-item/index.js
@@ -0,0 +1,16 @@
+import fmtEvent from '../_util/fmtEvent';
+
+Component({
+ props: {
+ className: '',
+ value: '',
+ placeholder: '',
+ onSelect: function onSelect() {}
+ },
+ methods: {
+ onPickerTap: function onPickerTap(e) {
+ var event = fmtEvent(this.props, e);
+ this.props.onPickerTap(event);
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/picker-item/index.json b/alipay/node_modules/mini-antui/es/picker-item/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/picker-item/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popover/index.acss b/alipay/node_modules/mini-antui/es/popover/index.acss
new file mode 100644
index 000000000..39dddb58a
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/index.acss
@@ -0,0 +1,171 @@
+.am-popover {
+ position: relative;
+}
+.am-popover-mask {
+ position: fixed;
+ top: 0;
+ right: 0;
+ left: 0;
+ bottom: 0;
+ background-color: rgba(0, 0, 0, 0.3);
+ height: 100%;
+ z-index: 99;
+}
+.am-popover-content {
+ position: absolute;
+ z-index: 100;
+ border-radius: 4px;
+ font-size: 14px;
+ color: #333;
+}
+.border-true {
+ border: 1px solid #ddd;
+}
+.am-popover-inner {
+ position: relative;
+ color: #000;
+ background-color: #fff;
+ border-radius: 3px;
+}
+/* popover position: top */
+.am-popover-placement-top {
+ top: -7px;
+ left: 50%;
+ transform: translate(-50%, -100%);
+}
+.am-popover-placement-topLeft {
+ top: -7px;
+ left: 0;
+ transform: translate(0, -100%);
+}
+.am-popover-placement-topRight {
+ top: -7px;
+ right: 0;
+ transform: translate(0, -100%);
+}
+/* popover position: right */
+.am-popover-placement-right {
+ top: 50%;
+ right: -7px;
+ transform: translate(100%, -50%);
+}
+.am-popover-placement-rightTop {
+ top: 0;
+ right: -7px;
+ transform: translateX(100%);
+}
+.am-popover-placement-rightBottom {
+ bottom: 0;
+ right: -7px;
+ transform: translateX(100%);
+}
+/* popover position: bottom */
+.am-popover-placement-bottom {
+ bottom: -7px;
+ left: 50%;
+ transform: translate(-50%, 100%);
+}
+.am-popover-placement-bottomRight {
+ bottom: -7px;
+ right: 0;
+ transform: translateY(100%);
+}
+.am-popover-placement-bottomLeft {
+ bottom: -7px;
+ left: 0;
+ transform: translateY(100%);
+}
+/* popover position: left */
+.am-popover-placement-left {
+ top: 50%;
+ left: -7px;
+ transform: translate(-100%, -50%);
+}
+.am-popover-placement-leftTop {
+ top: 0;
+ left: -7px;
+ transform: translateX(-100%);
+}
+.am-popover-placement-leftBottom {
+ bottom: 0;
+ left: -7px;
+ transform: translateX(-100%);
+}
+/* arrow style start */
+.am-popover-arrow {
+ position: absolute;
+ width: 7px;
+ height: 7px;
+ background-color: #fff;
+ z-index: 0;
+ /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.21); */
+}
+/* arrow position: top */
+.am-popover-placement-top .am-popover-arrow,
+.am-popover-placement-topLeft .am-popover-arrow,
+.am-popover-placement-topRight .am-popover-arrow {
+ transform: translateY(50%) rotate(45deg);
+ bottom: 0;
+}
+.am-popover-placement-top .am-popover-arrow {
+ transform: translate(-50%, 50%) rotate(45deg);
+ left: 50%;
+}
+.am-popover-placement-topRight .am-popover-arrow {
+ right: 16px;
+}
+.am-popover-placement-topLeft .am-popover-arrow {
+ left: 16px;
+}
+/* arrow position: right */
+.am-popover-placement-right .am-popover-arrow,
+.am-popover-placement-rightTop .am-popover-arrow,
+.am-popover-placement-rightBottom .am-popover-arrow {
+ transform: translateX(-50%) rotate(45deg);
+ left: 0;
+}
+.am-popover-placement-right .am-popover-arrow {
+ transform: translate(-50%, -50%) rotate(45deg);
+ top: 50%;
+}
+.am-popover-placement-rightBottom .am-popover-arrow {
+ bottom: 16px;
+}
+.am-popover-placement-rightTop .am-popover-arrow {
+ top: 16px;
+}
+/* arrow position: bottom */
+.am-popover-placement-bottom .am-popover-arrow,
+.am-popover-placement-bottomLeft .am-popover-arrow,
+.am-popover-placement-bottomRight .am-popover-arrow {
+ transform: translateY(-50%) rotate(45deg);
+ top: 0;
+}
+.am-popover-placement-bottom .am-popover-arrow {
+ transform: translate(-50%, -50%) rotate(45deg);
+ left: 50%;
+}
+.am-popover-placement-bottomLeft .am-popover-arrow {
+ left: 16px;
+}
+.am-popover-placement-bottomRight .am-popover-arrow {
+ right: 16px;
+}
+/* arrow position: left */
+.am-popover-placement-left .am-popover-arrow,
+.am-popover-placement-leftTop .am-popover-arrow,
+.am-popover-placement-leftBottom .am-popover-arrow {
+ transform: translateX(50%) rotate(45deg);
+ right: 0;
+}
+.am-popover-placement-left .am-popover-arrow {
+ transform: translate(50%, -50%) rotate(45deg);
+ top: 50%;
+}
+.am-popover-placement-leftTop .am-popover-arrow {
+ top: 16px;
+}
+.am-popover-placement-leftBottom .am-popover-arrow {
+ bottom: 16px;
+}
+/* arrow style end */
diff --git a/alipay/node_modules/mini-antui/es/popover/index.axml b/alipay/node_modules/mini-antui/es/popover/index.axml
new file mode 100644
index 000000000..d0b95c3c9
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/index.axml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popover/index.js b/alipay/node_modules/mini-antui/es/popover/index.js
new file mode 100644
index 000000000..b008b305f
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/index.js
@@ -0,0 +1,15 @@
+Component({
+ props: {
+ show: false,
+ className: '',
+ showMask: true,
+ position: 'bottomRight'
+ },
+ methods: {
+ onMaskClick: function onMaskClick() {
+ if (this.props.onMaskClick && typeof this.props.onMaskClick === 'function') {
+ this.props.onMaskClick();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popover/index.json b/alipay/node_modules/mini-antui/es/popover/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/popover/popover-item/index.acss b/alipay/node_modules/mini-antui/es/popover/popover-item/index.acss
new file mode 100644
index 000000000..e74576c76
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/popover-item/index.acss
@@ -0,0 +1,16 @@
+.am-popover-item {
+ min-width: 80px;
+ max-width: 170px;
+ height: 39px;
+ margin: 0 10px;
+ line-height: 39px;
+ font-size: 14px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ color: #333;
+ text-align: center;
+}
+.am-popover-item:not(:last-child) {
+ border-bottom: 1px solid #eee;
+}
diff --git a/alipay/node_modules/mini-antui/es/popover/popover-item/index.axml b/alipay/node_modules/mini-antui/es/popover/popover-item/index.axml
new file mode 100644
index 000000000..810ea4c36
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/popover-item/index.axml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/popover/popover-item/index.js b/alipay/node_modules/mini-antui/es/popover/popover-item/index.js
new file mode 100644
index 000000000..6b2e5cb58
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/popover-item/index.js
@@ -0,0 +1,12 @@
+Component({
+ props: {
+ className: ''
+ },
+ methods: {
+ onItemClick: function onItemClick() {
+ if (this.props.onItemClick && typeof this.props.onItemClick === 'function') {
+ this.props.onItemClick();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popover/popover-item/index.json b/alipay/node_modules/mini-antui/es/popover/popover-item/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popover/popover-item/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popup/index.acss b/alipay/node_modules/mini-antui/es/popup/index.acss
new file mode 100644
index 000000000..e0cd78583
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popup/index.acss
@@ -0,0 +1,57 @@
+.am-popup-content {
+ position: fixed;
+}
+
+.am-popup-mask {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background-color: rgba(0, 0, 0, 0.75);
+ opacity: 0;
+ pointer-events: none;
+}
+
+.am-popup-left {
+ transform: translateX(-100%);
+ left: 0;
+ top: 0;
+ bottom: 0;
+}
+
+.am-popup-right {
+ transform: translateX(100%);
+ right: 0;
+ top: 0;
+ bottom: 0;
+}
+
+.am-popup-top {
+ top: 0;
+ width: 100vw;
+ transform: translateY(-100%);
+}
+
+.am-popup-bottom {
+ bottom: 0;
+ width: 100vw;
+ transform: translateY(100%);
+}
+
+.am-popup-show .am-popup-content {
+ transform: none;
+}
+
+.am-popup-show .am-popup-mask {
+ opacity: 1;
+ pointer-events: auto;
+}
+
+.am-popup.animation .am-popup-content {
+ transition: all 0.15s linear;
+}
+
+.am-popup.animation .am-popup-mask {
+ transition: all 0.15s linear;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popup/index.axml b/alipay/node_modules/mini-antui/es/popup/index.axml
new file mode 100644
index 000000000..d7b797a5d
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popup/index.axml
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popup/index.js b/alipay/node_modules/mini-antui/es/popup/index.js
new file mode 100644
index 000000000..3f7fc6054
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popup/index.js
@@ -0,0 +1,20 @@
+Component({
+ props: {
+ className: '',
+ show: false,
+ position: 'bottom',
+ mask: true,
+ animation: true,
+ disableScroll: true
+ },
+ methods: {
+ onMaskTap: function onMaskTap() {
+ var onClose = this.props.onClose;
+
+
+ if (onClose) {
+ onClose();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/popup/index.json b/alipay/node_modules/mini-antui/es/popup/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/popup/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/search-bar/index.acss b/alipay/node_modules/mini-antui/es/search-bar/index.acss
new file mode 100644
index 000000000..86753057e
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/search-bar/index.acss
@@ -0,0 +1,90 @@
+.am-search {
+ height: 44px;
+ display: flex;
+ align-items: center;
+ padding: 0 0 0 12px;
+ background: #ffffff;
+ overflow: hidden;
+}
+
+.am-search-input {
+ display: flex;
+ position: relative;
+ height: 28px;
+ line-height: 28px;
+ flex: 1;
+ background: rgba(0, 0, 0, 0.05);
+ border-radius: 2px;
+}
+
+.am-search-synthetic {
+ display: flex;
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 28px;
+ line-height: 28px;
+ padding-left: 14px;
+}
+
+.am-search-synthetic-placeholder {
+ width: 100px;
+ font-size: 14px;
+ color: #999999;
+}
+
+.am-search-synthetic-icon {
+ height: 14px;
+ width: 14px;
+ display: inline-block;
+ background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjhweCIgaGVpZ2h0PSIyOHB4IiB2aWV3Qm94PSIwIDAgMjggMjgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDQ5LjMgKDUxMTY3KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5TaGFwZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSLnu4Tku7blupPlj4rmoIfms6giIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLlhbbku5YiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zMDUzLjAwMDAwMCwgLTgwMi4wMDAwMDApIiBmaWxsPSIjQjJCMkIyIj4KICAgICAgICAgICAgPGcgaWQ9IuaQnOe0ouWFpeWPoyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjk5My4wMDAwMDAsIDczMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJpb3M25bqU55So5Lit5b+D5a+86IiqIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNODYuMDc4NDMwOCw5OCBMNzkuNDkwMTk1Niw5MC45MjE0MzUyIEM3Ny41MTU1MTcyLDkyLjQ2MTY5OTYgNzQuNDEyMzk5OCw5My45NzQ0NzcxIDcxLjczNzAyMTQsOTMuOTc0NDc3MSBDNjUuMjU0ODk0LDkzLjk3NDQ3NzEgNjAsODguNjA3NTY1OCA2MCw4MS45ODczNTg2IEM2MCw3NS4zNjcxNTE0IDY1LjI1NDg5NCw3MCA3MS43MzcwMjE0LDcwIEM3OC4yMTg2NzQzLDcwIDgzLjQ3MzU2ODIsNzUuMzY2NjcxMiA4My40NzM1NjgyLDgxLjk4NzExODUgQzgzLjQ3MzU2ODIsODQuNTk3NjkxMyA4Mi42NDc1ODIyLDg3LjAwNjU0NTcgODEuMjU5OTQ0Nyw4OC45NzQ1MDEzIEw4OCw5NS44MzcwMTA3IEw4Ni4wNzg0MzA4LDk4IFogTTcxLjczNzA1MjgsNzIuNTA2MTAzNyBDNjYuNjA5NDg0NCw3Mi41MDYxMDM3IDYyLjQ1MjgyNjgsNzYuNzUwNjY3MSA2Mi40NTI4MjY4LDgxLjk4NzEwNzkgQzYyLjQ1MjgyNjgsODcuMjIzNTQ4NyA2Ni42MDkyMzY3LDkxLjQ2ODYxMzYgNzEuNzM3MDUyOCw5MS40Njg2MTM2IEM3Ni44NjMzODI0LDkxLjQ2ODYxMzYgODEuMDE5NzkyMyw4Ny4yMjM1NDg3IDgxLjAxOTc5MjMsODEuOTg3MTA3OSBDODEuMDE5NzkyMyw3Ni43NTA2NjcxIDc2Ljg2MzM4MjQsNzIuNTA2MTAzNyA3MS43MzcwNTI4LDcyLjUwNjEwMzcgTDcxLjczNzA1MjgsNzIuNTA2MTAzNyBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+');
+ background-size: contain;
+ margin-right: 6px;
+ vertical-align: -2px;
+}
+
+.am-search-value {
+ flex: 1;
+ height: 28px;
+ font-size: 14px;
+ padding: 0 0 0 34px;
+ background: transparent;
+ box-sizing: border-box;
+}
+
+.am-search-clear {
+ visibility: hidden;
+ width: 28px;
+ height: 28px;
+}
+
+.am-search-clear icon {
+ display: flex;
+ height: 100%;
+ justify-content: center;
+ align-items: center;
+}
+
+.am-search-clear-show {
+ visibility: visible;
+}
+
+.am-search-cancel {
+ margin-right: -48px;
+ opacity: 0;
+ color: #108ee9;
+ font-size: 16px;
+ width: 64px;
+ height: 28px;
+ line-height: 28px;
+ text-align: center;
+}
+
+.am-search-anim {
+ transition: margin-right 0.3s, opacity 0.3s;
+}
+
+.am-search-repos {
+ margin-right: 0;
+ opacity: 1;
+}
diff --git a/alipay/node_modules/mini-antui/es/search-bar/index.axml b/alipay/node_modules/mini-antui/es/search-bar/index.axml
new file mode 100644
index 000000000..c18b3bfb6
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/search-bar/index.axml
@@ -0,0 +1,29 @@
+
+
+
+
+
+ {{placeholder}}
+
+
+
+
+
+
+
+ 取消
+
diff --git a/alipay/node_modules/mini-antui/es/search-bar/index.js b/alipay/node_modules/mini-antui/es/search-bar/index.js
new file mode 100644
index 000000000..6d898ed59
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/search-bar/index.js
@@ -0,0 +1,102 @@
+Component({
+ props: {
+ className: '',
+ placeholder: '',
+ focus: false
+ },
+ data: {
+ _value: '',
+ focus: false
+ },
+ didMount: function didMount() {
+ this.setData({
+ _value: 'value' in this.props ? this.props.value : '',
+ focus: this.props.focus
+ });
+ },
+ didUpdate: function didUpdate() {
+ if ('value' in this.props && this.props.value !== this.data._value) {
+ this.setData({
+ _value: this.props.value
+ });
+ }
+ },
+
+ methods: {
+ handleInput: function handleInput(e) {
+ var value = e.detail.value;
+
+
+ if (!('value' in this.props)) {
+ this.setData({
+ _value: value
+ });
+ }
+
+ if (this.props.onInput) {
+ this.props.onInput(value);
+ }
+ },
+ handleClear: function handleClear() {
+ // this.setData({
+ // focus: true,
+ // });
+
+ if (!('value' in this.props)) {
+ this.setData({
+ _value: ''
+ });
+ }
+
+ this.doClear();
+ },
+ doClear: function doClear() {
+ if (this.props.onClear) {
+ this.props.onClear('');
+ }
+
+ if (this.props.onChange) {
+ this.props.onChange('');
+ }
+ },
+ handleFocus: function handleFocus() {
+ this.setData({
+ focus: true
+ });
+
+ if (this.props.onFocus) {
+ this.props.onFocus();
+ }
+ },
+ handleBlur: function handleBlur() {
+ this.setData({
+ focus: false
+ });
+
+ if (this.props.onBlur) {
+ this.props.onBlur();
+ }
+ },
+ handleCancel: function handleCancel() {
+ if (!('value' in this.props)) {
+ this.setData({
+ _value: ''
+ });
+ }
+
+ if (this.props.onCancel) {
+ this.props.onCancel();
+ } else {
+ this.doClear();
+ }
+ },
+ handleConfirm: function handleConfirm(e) {
+ var value = e.detail.value;
+
+
+ if (this.props.onSubmit) {
+ this.props.onSubmit(value);
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/search-bar/index.json b/alipay/node_modules/mini-antui/es/search-bar/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/search-bar/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/stepper/index.acss b/alipay/node_modules/mini-antui/es/stepper/index.acss
new file mode 100644
index 000000000..ec361c7c2
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/stepper/index.acss
@@ -0,0 +1,40 @@
+.am-stepper-content {
+ padding: 10rpx 0;
+ overflow: hidden;
+ text-align: center;
+ line-height: 70rpx;
+ font-size: 40rpx;
+ display: inline-block;
+ width: 245rpx;
+ color: #000;
+}
+
+.am-stepper-reduce {
+ border: #eeeeee solid 1px;
+ border-radius: 10rpx;
+ width: 70rpx;
+ height: 70rpx;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUuNSAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0MDRDMUYwNDI1OTExMUU4OUY0N0VFQzhCQkYwQTYyOCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1ODU0RTgzODI2ODYxMUU4OUY0N0VFQzhCQkYwQTYyOCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjQwNEMxRjAyMjU5MTExRTg5RjQ3RUVDOEJCRjBBNjI4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjQwNEMxRjAzMjU5MTExRTg5RjQ3RUVDOEJCRjBBNjI4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+jjGoUQAAAF5JREFUeNrs2LEJACAMRUF1/xkc0gUiAe3tRLkHFna59teIKD/UyieBgICAgICAgICAgICAgICAgByVu9batkZ+H3t9318NdCAgICAgICAgICAgICAgICAgIPeaAgwAyuE/sx15o0MAAAAASUVORK5CYII=") center center no-repeat;
+ background-size: 40rpx 40rpx;
+ float: left;
+ display: inline-block;
+}
+
+.am-stepper-add {
+ border: #eeeeee solid 1px;
+ border-radius: 4rpx;
+ width: 70rpx;
+ height: 70rpx;
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTMyIDc5LjE1OTI4NCwgMjAxNi8wNC8xOS0xMzoxMzo0MCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUuNSAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1ODU0RTgzRjI2ODYxMUU4OUY0N0VFQzhCQkYwQTYyOCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1ODU0RTg0MDI2ODYxMUU4OUY0N0VFQzhCQkYwQTYyOCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU4NTRFODNEMjY4NjExRTg5RjQ3RUVDOEJCRjBBNjI4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU4NTRFODNFMjY4NjExRTg5RjQ3RUVDOEJCRjBBNjI4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+jv5jrAAAAHdJREFUeNrs2sENgCAMBVDq/jMwpA5QIdERIIivCQdO5SXt5YfIzLJDHWWTmgKJiDq8x4zRapDWJsNogYCAgICAgICAgICAgID8D1J6+PAEEGe/fuzU9/1SFDsCAgICAgICAgICAgICAgKyEuQa3SD811qsbgEGAMVVTz/OpY/oAAAAAElFTkSuQmCC");
+ background-size: 40rpx 40rpx;
+ background-repeat: no-repeat;
+ background-position: center;
+ float: right;
+ display: inline-block;
+}
+
+.am-stepper-input {
+ display: inline-block;
+ width: 70rpx;
+ color: #000;
+}
diff --git a/alipay/node_modules/mini-antui/es/stepper/index.axml b/alipay/node_modules/mini-antui/es/stepper/index.axml
new file mode 100644
index 000000000..7250f39f1
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/stepper/index.axml
@@ -0,0 +1,20 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/stepper/index.js b/alipay/node_modules/mini-antui/es/stepper/index.js
new file mode 100644
index 000000000..53e909789
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/stepper/index.js
@@ -0,0 +1,111 @@
+Component({
+ data: {
+ opaReduce: 1,
+ opaAdd: 1
+ },
+ props: {
+ className: '',
+ min: 0,
+ max: 100000,
+ disabled: false,
+ value: 10,
+ readOnly: false,
+ showNumber: false,
+ step: 1,
+ onChange: function onChange() {}
+ },
+ didMount: function didMount() {
+ var _props = this.props,
+ value = _props.value,
+ min = _props.min,
+ max = _props.max;
+
+ this.setData({
+ value: Math.min(Math.max(min, value), max)
+ });
+ },
+ didUpdate: function didUpdate(preProps) {
+ var _props2 = this.props,
+ value = _props2.value,
+ min = _props2.min,
+ max = _props2.max;
+
+ if (preProps.value !== value) {
+ var newValue = Math.min(Math.max(min, value), max);
+ this.setData({
+ value: newValue
+ });
+ this.resetFn(newValue);
+ }
+ },
+
+ methods: {
+ changeFn: function changeFn(ev) {
+ var _props3 = this.props,
+ min = _props3.min,
+ max = _props3.max,
+ onChange = _props3.onChange,
+ disabled = _props3.disabled,
+ readOnly = _props3.readOnly,
+ step = _props3.step;
+
+ var evType = ev.target.dataset.type;
+ var _data = this.data,
+ opaReduce = _data.opaReduce,
+ opaAdd = _data.opaAdd,
+ value = _data.value;
+
+ var enable = disabled || readOnly;
+ if (!enable) {
+ if (evType === 'reduce') {
+ if (value > min) {
+ opaAdd = 1;
+ value = Math.max(min, value - step);
+ opaReduce = value === min ? 0.4 : 1;
+ }
+ } else {
+ /* eslint-disable no-lonely-if */
+ if (value < max) {
+ opaReduce = 1;
+ value = Math.min(value + step, max);
+ opaAdd = value === max ? 0.4 : 1;
+ }
+ }
+ this.setData({
+ value: value,
+ opaAdd: opaAdd,
+ opaReduce: opaReduce
+ });
+ onChange(value);
+ }
+ },
+ onBlur: function onBlur(event) {
+ var value = event.detail.value;
+
+ this.resetFn(value);
+ },
+ resetFn: function resetFn(value) {
+ var _props4 = this.props,
+ max = _props4.max,
+ min = _props4.min,
+ onChange = _props4.onChange;
+
+ var calculatedVal = value;
+ var opaAdd = 1;
+ var opaReduce = 1;
+ if (value >= max) {
+ calculatedVal = max;
+ opaAdd = 0.4;
+ } else if (value <= min) {
+ calculatedVal = min;
+ opaReduce = 0.4;
+ }
+ this.setData({
+ value: calculatedVal,
+ opaAdd: opaAdd,
+ opaReduce: opaReduce
+ });
+ onChange(calculatedVal);
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/stepper/index.json b/alipay/node_modules/mini-antui/es/stepper/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/stepper/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/steps/index.acss b/alipay/node_modules/mini-antui/es/steps/index.acss
new file mode 100644
index 000000000..9bb638690
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/steps/index.acss
@@ -0,0 +1,139 @@
+/* horizontal steps style */
+.am-hor-steps {
+ padding: 20px 50px 10px 50px;
+ background-color: #fff;
+ overflow: hidden;
+ white-space: nowrap;
+}
+.am-hor-step {
+ display: inline-block;
+ white-space: normal;
+ text-align: center;
+ vertical-align: top;
+}
+.am-hor-step-line {
+ position: relative;
+ margin: 6px 0;
+ height: 2px;
+ background-color: #ccc;
+}
+.am-hor-step-line.is-active {
+ background-color: #108ee9;
+}
+.am-hor-step-line.is-last {
+ background-color: transparent;
+}
+.am-hor-step-icon {
+ position: absolute;
+ top: 50%;
+ left: 0;
+ width: 10px;
+ height: 10px;
+ transform: translate(-50%, -50%);
+ border-radius: 999px;
+ background-color: #ccc;
+}
+.am-hor-step-icon.is-active {
+ background-color: #108ee9;
+}
+.am-hor-step-text {
+ margin-top: 20px;
+ padding: 0 5px;
+ max-width: 90px;
+ transform: translateX(-50%);
+}
+.am-hor-step-title {
+ font-size: 12px;
+ color: #333;
+}
+.am-hor-step-description {
+ margin-top: 6px;
+ font-size: 12px;
+ color: #999;
+}
+
+/* vertical steps style */
+.am-vertical-steps {
+ padding: 20px 30px 0 30px;
+ background-color: #fff;
+}
+.am-vertical-step {
+ display: flex;
+}
+.am-vertical-step-left {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ width: 24px;
+ margin-right: 20px;
+}
+/* line 包含 top 和 bottom 两块, 整体下移20px, 保证和原点无缝衔接 */
+.am-vertical-step-line {
+ position: relative;
+ top: 10px;
+ width: 2px;
+ background-color: #ccc;
+}
+.am-vertical-step-line-top {
+ flex: 1;
+}
+/* 60px 是 am-vertical-step-text的margin-bottom的40px加上line的下移20px,保证line-top底部和右侧文字底布对齐*/
+.am-vertical-step-line-bottom {
+ height: 30px;
+ width: 2px;
+ background-color: #ccc;
+}
+.am-vertical-step-line.is-active {
+ background-color: #108ee9;
+}
+.am-vertical-step-icon {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ transform: translateX(-50%);
+ border-radius: 999px;
+}
+.am-vertical-step-icon.is-normal {
+ top: 5px;
+ background-color: #ccc;
+ width: 10px;
+ height: 10px;
+}
+.am-vertical-step-icon.is-active,
+.am-vertical-step-icon.is-fail {
+ width: 24px;
+ height: 24px;
+ background-color: #fff;
+}
+.am-vertical-step-right {
+ flex: 1;
+ margin-bottom: 20px;
+}
+.am-vertical-step-title {
+ margin-bottom: 4px;
+ font-size: 17px;
+ color: #333;
+}
+.am-vertical-step-title.is-active {
+ color: #108ee9;
+}
+.am-vertical-step-title.is-fail {
+ color: #F4333C;
+}
+.am-vertical-step-description {
+ font-size: 14px;
+ color: #888;
+}
+.am-vertical-placeholder {
+ height: 20px;
+}
+.am-vertical-placeholder-line {
+ position: absolute;
+ left: 50%;
+ transform: translateX(-50%);
+ height: 100%;
+ width: 2px;
+ background-color: #ccc;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/steps/index.axml b/alipay/node_modules/mini-antui/es/steps/index.axml
new file mode 100644
index 000000000..0eb2f4b17
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/steps/index.axml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+ {{item.description}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+ {{item.description}}
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/steps/index.js b/alipay/node_modules/mini-antui/es/steps/index.js
new file mode 100644
index 000000000..1b5293ff0
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/steps/index.js
@@ -0,0 +1,9 @@
+Component({
+ props: {
+ className: '',
+ activeIndex: 1,
+ failIndex: 0,
+ direction: 'horizontal',
+ items: []
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/steps/index.json b/alipay/node_modules/mini-antui/es/steps/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/steps/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/swipe-action/index.acss b/alipay/node_modules/mini-antui/es/swipe-action/index.acss
new file mode 100644
index 000000000..346576555
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/swipe-action/index.acss
@@ -0,0 +1,40 @@
+.am-swipe {
+ position: relative;
+ overflow: hidden;
+}
+.am-swipe-content {
+ position: relative;
+ transition: all 250ms;
+}
+.am-swiping .am-swipe-content {
+ transition: none;
+}
+.am-swipe-right {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ display: flex;
+ right: 0;
+}
+.am-swipe-btn {
+ padding: 0 14px;
+ justify-content: center;
+ align-items: center;
+ display: flex;
+ color: #fff;
+}
+.am-swipe-btn-delete {
+ background-color: rgb(244, 51, 60);
+}
+.am-swipe-btn-edit {
+ background-color: #108ee9;
+}
+
+//=== v2 ===
+.am-swipe-movable-area {
+ position: absolute;
+}
+
+.am-swipe-movable-area .am-swipe-content {
+ transition: none;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/swipe-action/index.axml b/alipay/node_modules/mini-antui/es/swipe-action/index.axml
new file mode 100644
index 000000000..842d052ba
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/swipe-action/index.axml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+ {{item.text}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.text}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/swipe-action/index.js b/alipay/node_modules/mini-antui/es/swipe-action/index.js
new file mode 100644
index 000000000..d65ec3bcb
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/swipe-action/index.js
@@ -0,0 +1,237 @@
+var windowWidth = my.getSystemInfoSync().windowWidth;
+var isV2 = +my.SDKVersion.split('.').join('') > 1112;
+
+Component({
+ data: {
+ leftPos: 0,
+ swiping: false,
+ holdSwipe: true,
+ viewWidth: windowWidth,
+ x: 0,
+ actionWidth: 0,
+ transitionVal: 'none'
+ },
+ props: {
+ className: '',
+ right: [],
+ restore: false,
+ index: null,
+ height: 52,
+ enableNew: false
+ },
+ didMount: function didMount() {
+ var _this = this;
+
+ var enableNew = this.props.enableNew;
+
+ var useV2 = isV2 && enableNew;
+ this.btnWidth = 0;
+ this.setData({
+ useV2: useV2
+ });
+ this.setBtnWidth();
+ if (useV2) {
+ setTimeout(function () {
+ _this.setData({
+ transitionVal: 'transform 100ms'
+ });
+ }, 500);
+ }
+ },
+ didUpdate: function didUpdate(_prevProps, prevData) {
+ var restore = this.props.restore;
+ var _data = this.data,
+ holdSwipe = _data.holdSwipe,
+ useV2 = _data.useV2;
+
+ if (restore === true && _prevProps.restore !== restore || prevData.holdSwipe === true && holdSwipe === false) {
+ this.setData({
+ leftPos: 0,
+ swiping: false,
+ x: this.btnWidth // V2
+ });
+ }
+
+ if (!useV2) {
+ this.setBtnWidth();
+ }
+ },
+
+ methods: {
+ setBtnWidth: function setBtnWidth() {
+ var _this2 = this;
+
+ my.createSelectorQuery().select('.am-swipe-right-' + this.$id).boundingClientRect().exec(function (ret) {
+ _this2.btnWidth = ret && ret[0] && ret[0].width || 0;
+ if (isV2 && _this2.props.enableNew) {
+ _this2.setData({
+ actionWidth: _this2.btnWidth,
+ x: _this2.btnWidth
+ });
+ }
+ });
+ },
+ onSwipeTap: function onSwipeTap() {
+ if (!this.data.swiping) {
+ this.setData({
+ leftPos: 0,
+ swiping: false,
+ x: 0
+ });
+ }
+ },
+ onSwipeStart: function onSwipeStart(e) {
+ this.touchObject = {
+ startX: e.touches[0].pageX,
+ startY: e.touches[0].pageY
+ };
+ var _props = this.props,
+ index = _props.index,
+ onSwipeStart = _props.onSwipeStart;
+
+ if (onSwipeStart) {
+ onSwipeStart({ index: index });
+ }
+ },
+ onSwipeMove: function onSwipeMove(e) {
+ var touchObject = this.touchObject;
+
+ var touchePoint = e.touches[0];
+ var leftPos = this.data.leftPos;
+
+
+ touchObject.endX = touchePoint.pageX;
+
+ // 首次触发时,计算滑动角度
+ if (touchObject.direction === undefined) {
+ var direction = 0;
+
+ var xDist = touchObject.startX - touchePoint.pageX || 0;
+ var yDist = touchObject.startY - touchePoint.pageY || 0;
+
+ var r = Math.atan2(yDist, xDist);
+ var swipeAngle = Math.round(r * 180 / Math.PI);
+
+ if (swipeAngle < 0) {
+ swipeAngle = 360 - Math.abs(swipeAngle);
+ }
+ if (swipeAngle <= 45 && swipeAngle >= 0) {
+ direction = 1;
+ }
+ if (swipeAngle <= 360 && swipeAngle >= 315) {
+ direction = 1;
+ }
+ if (swipeAngle >= 135 && swipeAngle <= 225) {
+ direction = -1;
+ }
+
+ touchObject.direction = direction;
+ }
+
+ // 通过角度判断是左右方向
+ if (touchObject.direction !== 0) {
+ var newLeftPos = leftPos;
+ // 滑动距离
+ var distance = touchObject.endX - touchObject.startX;
+ // 左划
+ if (distance < 0) {
+ newLeftPos = Math.max(distance, -this.btnWidth);
+ // 右划
+ } else {
+ newLeftPos = 0;
+ }
+ if (Math.abs(distance) > 10) {
+ this.setData({
+ leftPos: newLeftPos,
+ swiping: distance < 0
+ });
+ }
+ }
+ },
+ onSwipeEnd: function onSwipeEnd(e) {
+ var touchObject = this.touchObject;
+
+ if (touchObject.direction !== 0) {
+ var touchePoint = e.changedTouches[0];
+
+ touchObject.endX = touchePoint.pageX;
+
+ var leftPos = this.data.leftPos;
+
+ var distance = touchObject.endX - touchObject.startX;
+ var newLeftPos = leftPos;
+ if (distance < 0) {
+ if (Math.abs(distance + leftPos) > this.btnWidth * 0.7) {
+ newLeftPos = -this.btnWidth;
+ } else {
+ newLeftPos = 0;
+ }
+ }
+ this.setData({
+ leftPos: newLeftPos,
+ swiping: false
+ });
+ }
+ },
+ onChange: function onChange() {
+ if (!this.data.swiping) {
+ this.setData({
+ swiping: true
+ });
+ }
+ },
+ onChangeEnd: function onChangeEnd(e) {
+ var _this3 = this;
+
+ var actionWidth = this.data.actionWidth;
+ var x = e.detail.x;
+
+ this.setData({
+ x: x < actionWidth / 2 ? -1 : actionWidth - 1,
+ swiping: false
+ }, function () {
+ _this3.setData({
+ x: _this3.data.x === -1 ? 0 : actionWidth
+ });
+ });
+ },
+ done: function done() {
+ var _this4 = this;
+
+ this.setData({
+ holdSwipe: true
+ }, function () {
+ _this4.setData({
+ holdSwipe: false
+ });
+ });
+ },
+ onItemClick: function onItemClick(e) {
+ var _this5 = this;
+
+ var onRightItemClick = this.props.onRightItemClick;
+ var holdSwipe = this.data.holdSwipe;
+
+ if (onRightItemClick) {
+ var index = e.target.dataset.index;
+
+ onRightItemClick({
+ index: index,
+ extra: this.props.extra,
+ detail: this.props.right[index],
+ done: this.done.bind(this)
+ });
+ }
+
+ if (!this.data.swiping && holdSwipe === false) {
+ setTimeout(function () {
+ _this5.setData({
+ leftPos: 0,
+ swiping: false,
+ x: 0
+ });
+ }, 300);
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/swipe-action/index.json b/alipay/node_modules/mini-antui/es/swipe-action/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/swipe-action/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/tabs/index.acss b/alipay/node_modules/mini-antui/es/tabs/index.acss
new file mode 100644
index 000000000..825eec5c8
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/index.acss
@@ -0,0 +1,125 @@
+.am-tabs-tab-bar-wrap {
+ width: 100%;
+}
+
+.am-tabs-bar {
+ background: #fff;
+ width: 100%;
+ overflow: hidden;
+ height: 42px;
+ display: flex;
+}
+
+.am-tabs-scroll-left {
+ width: 36px;
+ height: 39px;
+ position: absolute;
+ top: 1px;
+ left: 0;
+ z-index: 99;
+ background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)) left no-repeat;
+ background-size: 100%;
+}
+
+.am-tabs-scroll-right {
+ width: 36px;
+ height: 39px;
+ position: absolute;
+ top: 1px;
+ right: 0;
+ z-index: 99;
+ background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)) left no-repeat;
+ background-size: 100%;
+}
+
+.am-tabs-plus-wrap {
+ display: none;
+ position: relative;
+ width: 24px;
+ height: 43px;
+}
+
+.am-tabs-plus-wrap.show {
+ display: block;
+}
+
+.am-tabs-plus {
+ position: absolute;
+ z-index: 100;
+ top: 4px;
+ left: 0;
+ transform: translateX(-50%);
+ width: 32px;
+ height: 32px;
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/DObPgppwxyNHeejHANtu.png');
+ background-size: 16px 16px;
+ background-position: center;
+ background-repeat: no-repeat;
+}
+
+.am-tabs-bar-content-wrap {
+ position: relative;
+ flex: 1;
+}
+
+.am-tabs-bar-content {
+ width: 100%;
+ height: 50px;
+ overflow-x: auto;
+ overflow-y: hidden;
+ display: flex;
+ flex-direction: row;
+}
+
+.am-tabs-bar-tab {
+ height: 42px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 25%;
+ flex-shrink: 0;
+ font-size: 16px;
+}
+
+.am-tabs-bar-title {
+ height: 42px;
+ line-height: 42px;
+ box-sizing: border-box;
+ position: relative;
+ border-bottom-width: 2px;
+ border-bottom-style: solid;
+ border-bottom-color: transparent;
+}
+
+.am-tabs-bar-badge.dot {
+ position: absolute;
+ top: 3px;
+ right: 0px;
+ transform: translateX(8px);
+}
+
+.am-tabs-bar-badge.text {
+ position: absolute;
+ top: 0px;
+ right: 2px;
+ transform: translateX(100%);
+ height: 16px;
+}
+
+.am-tabs-content-wrap {
+ margin-top: 1px;
+ display: flex;
+ background: #fff;
+ flex-direction: row;
+ overflow: hidden;
+ height: auto;
+}
+
+.am-tabs-content-wrap.fix {
+ height: auto !important;
+}
+
+.am-tabs-slides {
+ display: flex;
+ transition-duration: 500ms;
+}
diff --git a/alipay/node_modules/mini-antui/es/tabs/index.axml b/alipay/node_modules/mini-antui/es/tabs/index.axml
new file mode 100644
index 000000000..1e9bed8e9
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/index.axml
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/tabs/index.js b/alipay/node_modules/mini-antui/es/tabs/index.js
new file mode 100644
index 000000000..7d8a0a4fc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/index.js
@@ -0,0 +1,70 @@
+var _my$getSystemInfoSync = my.getSystemInfoSync(),
+ windowWidth = _my$getSystemInfoSync.windowWidth;
+
+Component({
+ props: {
+ className: '',
+ activeCls: '',
+ tabBarUnderlineColor: '#108ee9', // 选中选项卡下划线颜色
+ tabBarActiveTextColor: '#108ee9', // 选中选项卡字体颜色
+ tabBarInactiveTextColor: '#333333', // 未选中选项卡字体颜色
+ tabBarBackgroundColor: '#ffffff', // 选项卡背景颜色
+ showPlus: false,
+ swipeable: true,
+ activeTab: 0, // 当前激活tab
+ animation: true,
+ tabBarCls: '', // tabbar的自定义样式class
+ duration: 500
+ },
+ data: {
+ windowWidth: windowWidth,
+ tabWidth: 0.25,
+ autoplay: false,
+ animation: false,
+ version: my.SDKVersion
+ },
+ didMount: function didMount() {
+ var _props = this.props,
+ tabs = _props.tabs,
+ animation = _props.animation;
+
+ this.setData({
+ tabWidth: tabs.length > 3 ? 0.25 : 1 / tabs.length,
+ animation: animation,
+ autoplay: true
+ });
+ },
+ didUpdate: function didUpdate(prevProps) {
+ var tabs = this.props.tabs;
+
+ if (prevProps.tabs.length !== tabs.length) {
+ this.setData({
+ tabWidth: tabs.length > 3 ? 0.25 : 1 / tabs.length
+ });
+ }
+ },
+
+ methods: {
+ handleSwiperChange: function handleSwiperChange(e) {
+ var current = e.detail.current;
+
+
+ if (this.props.onChange) {
+ this.props.onChange({ index: current });
+ }
+ },
+ handleTabClick: function handleTabClick(e) {
+ var index = e.target.dataset.index;
+
+
+ if (this.props.onTabClick) {
+ this.props.onTabClick({ index: index });
+ }
+ },
+ handlePlusClick: function handlePlusClick() {
+ if (this.props.onPlusClick) {
+ this.props.onPlusClick();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tabs/index.json b/alipay/node_modules/mini-antui/es/tabs/index.json
new file mode 100644
index 000000000..94f295877
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/index.json
@@ -0,0 +1,6 @@
+{
+ "component": true,
+ "usingComponents": {
+ "badge": "../badge/index"
+ }
+}
diff --git a/alipay/node_modules/mini-antui/es/tabs/tab-content/index.acss b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.acss
new file mode 100644
index 000000000..4b396366e
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.acss
@@ -0,0 +1,9 @@
+.am-tabs-pane-wrap {
+ width: 100vw;
+ height: auto;
+ flex-shrink: 0;
+}
+
+.fix .am-tabs-pane-wrap {
+ position: static;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tabs/tab-content/index.axml b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.axml
new file mode 100644
index 000000000..3562dcc36
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.axml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/alipay/node_modules/mini-antui/es/tabs/tab-content/index.js b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.js
new file mode 100644
index 000000000..df2bc90b4
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.js
@@ -0,0 +1 @@
+Component({});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tabs/tab-content/index.json b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.json
new file mode 100644
index 000000000..467ce2945
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/tab-content/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
diff --git a/alipay/node_modules/mini-antui/es/tabs/util.sjs b/alipay/node_modules/mini-antui/es/tabs/util.sjs
new file mode 100644
index 000000000..22999b02e
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tabs/util.sjs
@@ -0,0 +1,50 @@
+function toIntArray(v) {
+ const ret = [];
+ const version = v.split('.');
+
+ for (let i = 0; i < version.length; i++) {
+ ret.push(parseInt(version[i], 10));
+ }
+
+ return ret;
+}
+
+const calcScrollLeft = (windowWidth, tabWidth, current) => {
+ let scrollInit = current * windowWidth * tabWidth;
+
+ if (current <= 2) {
+ scrollInit = 0;
+ } else {
+ scrollInit = (current - 2) * windowWidth * tabWidth;
+ }
+
+ return scrollInit;
+};
+
+const compareVersion = (v) => {
+ const targetVersion = toIntArray('1.10.0');
+ const version = toIntArray(v);
+ let ret = 0;
+
+ for (let i = 0, n1, n2; i < version.length; i++) {
+ n1 = targetVersion[i];
+ n2 = version[i];
+
+ if (n1 > n2) {
+ ret = -1;
+ break
+ }
+
+ if (n1 < n2) {
+ ret = 1;
+ break;
+ }
+ }
+
+ return ret;
+}
+
+export default {
+ calcScrollLeft,
+ compareVersion,
+};
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.acss b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.acss
new file mode 100644
index 000000000..194dc7e35
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.acss
@@ -0,0 +1,63 @@
+.am-tips-dialog {
+ position: relative;
+ height: 55px;
+ width: 100%;
+ padding: 0 6px;
+ box-sizing: border-box;
+}
+
+.am-tips-dialog-wrap {
+ display: flex;
+ align-items: center;
+ background: #2093E7;
+ box-shadow: 0 3px 3px rgba(0, 127, 255, .24);
+ border-radius: 2px;
+ padding: 0 24px 0 12px;
+ height: 100%;
+}
+
+.am-tips-dialog-rectangle .am-tips-dialog-wrap {
+ padding: 0 16px 0 6px;
+}
+
+.am-tips-dialog-close {
+ margin-left: 5px;
+ margin-right: 11px;
+ height: 20px;
+ width: 20px;
+ background-image: url(https://gw.alipayobjects.com/zos/rmsportal/yIhgeiRsGHxWWrCKNfhc.png);
+ background-size: 50%;
+ background-position: center;
+ background-repeat: no-repeat;
+}
+
+.am-tips-dialog-icon {
+ height: 35px;
+ width: 35px;
+ background-color: #fff;
+ border-radius: 2px;
+ margin-right: 9px;
+}
+
+.am-tips-dialog-icon image {
+ width: 35px;
+ height: 35px;
+}
+
+.am-tips-dialog-content {
+ flex: 1;
+}
+
+.am-tips-dialog-wrap::before {
+ content: '';
+ position: absolute;
+ bottom: -5px;
+ left: 40px;
+ border-left: 10px solid transparent;
+ border-right: 10px solid transparent;
+ border-top: 10px solid #2093E7;
+}
+
+.am-tips-dialog-rectangle .am-tips-dialog-wrap::before {
+ display: none;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.axml b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.axml
new file mode 100644
index 000000000..e039a4729
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.axml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.js b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.js
new file mode 100644
index 000000000..5dd18a6c8
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.js
@@ -0,0 +1,17 @@
+Component({
+ props: {
+ show: true,
+ className: '',
+ type: 'dialog'
+ },
+ methods: {
+ onCloseTap: function onCloseTap() {
+ var onCloseTap = this.props.onCloseTap;
+
+
+ if (onCloseTap) {
+ onCloseTap();
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.json b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-dialog/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-plain/index.acss b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.acss
new file mode 100644
index 000000000..fccfc2181
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.acss
@@ -0,0 +1,38 @@
+.am-tips-plain-favorite {
+ position: fixed;
+ bottom: 10px;
+ padding: 7px 10px;
+ box-sizing: border-box;
+ font-size: 12px;
+}
+
+.am-tips-plain-favorite-wrap {
+ position: relative;
+ background: #2093E7;
+ box-shadow: 0 3px 3px rgba(0, 127, 255, .24);
+ border-radius: 2px;
+ color: #fff;
+ padding: 10px;
+ min-height: 10px;
+}
+
+.am-tips-plain-favorite-content {
+ line-height: 12px;
+ overflow: hidden;
+ height: 12px;
+}
+
+.am-tips-plain-favorite-action:active {
+ background: #0B71BA
+}
+
+.am-tips-plain-favorite-wrap::before {
+ content: '';
+ position: absolute;
+ bottom: -5px;
+ left: 50%;
+ margin-left: -10px;
+ border-left: 10px solid transparent;
+ border-right: 10px solid transparent;
+ border-top: 10px solid #2093E7;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-plain/index.axml b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.axml
new file mode 100644
index 000000000..ca4e30e6c
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.axml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-plain/index.js b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.js
new file mode 100644
index 000000000..1df3957df
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.js
@@ -0,0 +1,31 @@
+Component({
+ data: {
+ show: true
+ },
+ props: {
+ className: '',
+ time: 5000,
+ onClose: function onClose() {}
+ },
+ didMount: function didMount() {
+ var _this = this;
+
+ var show = this.data.show;
+ var time = this.props.time;
+
+ setTimeout(function () {
+ _this.setData({
+ show: false
+ });
+ }, time);
+ },
+
+ methods: {
+ onClose: function onClose() {
+ this.setData({
+ show: false
+ });
+ this.props.onClose();
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/tips/tips-plain/index.json b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/tips/tips-plain/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/index.acss b/alipay/node_modules/mini-antui/es/vtabs/index.acss
new file mode 100644
index 000000000..796131c81
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/index.acss
@@ -0,0 +1,67 @@
+.am-vtabs {
+ width: 100vw;
+ height: 100vh;
+ display: flex;
+ flex-direction: row;
+}
+
+.am-vtabs-bar {
+ width: 110px;
+ overflow: hidden;
+}
+
+.am-vtabs-bar-content {
+ height: 100%;
+ width: 120px;
+}
+
+.am-vtabs-bar-tab {
+ box-sizing: border-box;
+ height: 55px;
+ width: 110px;
+ text-align: center;
+ line-height: 55px;
+ font-size: 14px;
+ border-left-width: 4px;
+ border-left-style: solid;
+ border-left-color: transparent;
+ border-right-width: 4px;
+ border-right-style: solid;
+ border-right-color: transparent;
+ white-space: nowrap;
+ overflow: hidden;
+}
+
+.am-vtabs-bar-title {
+ position: relative;
+ display: inline-block;
+}
+
+.am-vtabs-bar-badge.dot {
+ position: absolute;
+ top: 11px;
+ right: 0px;
+ transform: translateX(8px);
+}
+
+.am-vtabs-bar-badge.text {
+ position: absolute;
+ top: 8px;
+ right: 2px;
+ transform: translateX(100%);
+}
+
+.am-vtabs-content-wrap {
+ overflow: hidden;
+ flex: 1;
+ height: 100%;
+ background-color: #fff;
+}
+
+.am-vtabs-slides {
+ height: 100%;
+}
+
+.am-vtabs-slides.animate {
+ transition-duration: 500ms;
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/index.axml b/alipay/node_modules/mini-antui/es/vtabs/index.axml
new file mode 100644
index 000000000..4292ebdf5
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/index.axml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/index.js b/alipay/node_modules/mini-antui/es/vtabs/index.js
new file mode 100644
index 000000000..ae4c6e8bb
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/index.js
@@ -0,0 +1,153 @@
+Component({
+ data: {
+ tabTop: 0,
+ wrapScrollTop: 0
+ },
+ props: {
+ activeTab: 0,
+ className: '',
+ tabs: [],
+ animated: false,
+ swipeable: true,
+ tabBarActiveTextColor: '#108ee9',
+ tabBarInactiveTextColor: '#333333',
+ tabBarActiveBgColor: '#ffffff',
+ tabBarInactiveBgColor: '#f8f8f8',
+ tabBarlineColor: '#108ee9',
+ onTabClick: function onTabClick() {},
+ onScrollBar: function onScrollBar() {}
+ },
+ didMount: function didMount() {
+ this.isScrolling = false;
+ this.timerId = null;
+ this.calcHeight();
+ },
+ didUpdate: function didUpdate(prevProps) {
+ if (this.props.tabs.length !== prevProps.tabs.length) {
+ this.calcHeight();
+ }
+ },
+ didUnmount: function didUnmount() {
+ if (this.timerId) {
+ clearTimeout(this.timerId);
+ this.timerId = null;
+ }
+ },
+
+ methods: {
+ calcHeight: function calcHeight() {
+ var _this = this;
+
+ var _props = this.props,
+ tabs = _props.tabs,
+ activeTab = _props.activeTab;
+
+ this.anchorMap = {};
+ this.indexMap = {};
+ this.wrapHeight = 0;
+ this.scrollWrapHeight = 0;
+
+ my.createSelectorQuery().select('.am-vtabs-slides').boundingClientRect().exec(function (ret) {
+ _this.wrapHeight = ret[0].height;
+ });
+
+ var cacheHeight = 0;
+
+ var _loop = function _loop(i) {
+ var anchor = tabs[i].anchor;
+ /* eslint-disable no-loop-func */
+
+ my.createSelectorQuery().select('#am-vtab-slide-' + anchor).boundingClientRect().exec(function (ret) {
+ _this.anchorMap[anchor] = cacheHeight;
+ _this.indexMap[i] = cacheHeight;
+ if (activeTab === i) {
+ _this.setData({
+ wrapScrollTop: _this.indexMap[i]
+ });
+ }
+ cacheHeight += ret[0].height;
+ _this.scrollWrapHeight = cacheHeight;
+ });
+ };
+
+ for (var i = 0; i < tabs.length; i++) {
+ _loop(i);
+ }
+ },
+ handleTabClick: function handleTabClick(e) {
+ var _e$target$dataset = e.target.dataset,
+ anchor = _e$target$dataset.anchor,
+ index = _e$target$dataset.index;
+
+
+ if (!this.isScrolling || !this.props.swipeable) {
+ if (this.props.activeTab !== index) {
+ this.props.onTabClick(index);
+ }
+ this.setData({
+ wrapScrollTop: this.anchorMap[anchor]
+ });
+ this.moveScrollBar(index);
+ }
+ },
+ moveScrollBar: function moveScrollBar(current) {
+ var tabTop = void 0;
+
+ if (current < 6) {
+ tabTop = 0;
+ } else {
+ tabTop = (current - 5) * 55;
+ }
+ if (this.props.activeTab !== current) {
+ if (this.props.onChange) {
+ this.props.onChange(current);
+ } else {
+ this.props.onScrollBar(current);
+ }
+ }
+ this.setData({
+ tabTop: tabTop,
+ current: current
+ });
+ },
+ onScroll: function onScroll(e) {
+ var _this2 = this;
+
+ var scrollTop = e.detail.scrollTop;
+
+ var keys = Object.keys(this.anchorMap);
+
+ if (this.timerId) {
+ clearTimeout(this.timerId);
+ this.timerId = null;
+ }
+
+ this.timerId = setTimeout(function () {
+ _this2.isScrolling = false;
+ }, 300);
+
+ var anchorLength = keys.length;
+ for (var i = 0; i < anchorLength; i++) {
+ if (i === anchorLength - 1) {
+ // 如果是最后一个只需满足scrollTop高于当前vtab-content的高度
+ if (scrollTop >= this.anchorMap[keys[i]]) {
+ this.moveScrollBar(i);
+ break;
+ }
+ }
+ if (scrollTop >= Math.floor(this.anchorMap[keys[i]]) && scrollTop < Math.floor(this.anchorMap[keys[i + 1]])) {
+ // 如果没个vtab-content高度小于scroll-view高度,到达底部后就不需要根据scrollTop再去判断左侧的选择项
+ if (scrollTop + this.wrapHeight < this.scrollWrapHeight) {
+ this.moveScrollBar(i);
+ }
+ break;
+ }
+ }
+ },
+ onWrapTouchMove: function onWrapTouchMove() {
+ if (this.props.swipeable) {
+ this.isScrolling = true;
+ }
+ }
+ }
+});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/index.json b/alipay/node_modules/mini-antui/es/vtabs/index.json
new file mode 100644
index 000000000..a30305932
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/index.json
@@ -0,0 +1,6 @@
+{
+ "component": true,
+ "usingComponents": {
+ "badge": "../badge/index"
+ }
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.axml b/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.axml
new file mode 100644
index 000000000..02f912cd5
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.axml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.js b/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.js
new file mode 100644
index 000000000..df2bc90b4
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.js
@@ -0,0 +1 @@
+Component({});
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.json b/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.json
new file mode 100644
index 000000000..32640e0dc
--- /dev/null
+++ b/alipay/node_modules/mini-antui/es/vtabs/vtab-content/index.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/alipay/node_modules/mini-antui/package.json b/alipay/node_modules/mini-antui/package.json
new file mode 100644
index 000000000..3a1c11200
--- /dev/null
+++ b/alipay/node_modules/mini-antui/package.json
@@ -0,0 +1,57 @@
+{
+ "_from": "mini-antui",
+ "_id": "mini-antui@0.4.4",
+ "_inBundle": false,
+ "_integrity": "sha512-mkrn5VF30ojspyVY70Otn91sp0YyJE4j0fvsqqzAaXqOv1fpHROTwLMcIwshi8XcMn9gAxXrdFujJQQo46uh+Q==",
+ "_location": "/mini-antui",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "tag",
+ "registry": true,
+ "raw": "mini-antui",
+ "name": "mini-antui",
+ "escapedName": "mini-antui",
+ "rawSpec": "",
+ "saveSpec": null,
+ "fetchSpec": "latest"
+ },
+ "_requiredBy": [
+ "#USER",
+ "/"
+ ],
+ "_resolved": "https://registry.npmjs.org/mini-antui/-/mini-antui-0.4.4.tgz",
+ "_shasum": "50e84f026e200b1f17f8f8dac9643c3c504f274b",
+ "_spec": "mini-antui",
+ "_where": "/data/www/project/shopxo/alipay",
+ "bugs": {
+ "url": "https://github.com/ant-mini-program/mini-antui/issues"
+ },
+ "bundleDependencies": false,
+ "deprecated": false,
+ "description": "小程序版AntUI",
+ "devDependencies": {
+ "eslint": "^4.19.1",
+ "eslint-config-ali": "^3.1.0",
+ "eslint-plugin-import": "^2.11.0",
+ "pre-commit-eslint": "^0.0.6",
+ "rc-tools": "6.x"
+ },
+ "files": [
+ "es"
+ ],
+ "homepage": "https://github.com/ant-mini-program/mini-antui#readme",
+ "keywords": [
+ "antui",
+ "mini-program"
+ ],
+ "name": "mini-antui",
+ "repository": {
+ "type": "git",
+ "url": "git+ssh://git@github.com/ant-mini-program/mini-antui.git"
+ },
+ "scripts": {
+ "build": "rc-tools run compile && node scripts/cp.js && node scripts/rm.js",
+ "pub": "git push origin && npm run build && npm publish"
+ },
+ "version": "0.4.4"
+}
diff --git a/alipay/package-lock.json b/alipay/package-lock.json
new file mode 100644
index 000000000..dd7c71bed
--- /dev/null
+++ b/alipay/package-lock.json
@@ -0,0 +1,11 @@
+{
+ "requires": true,
+ "lockfileVersion": 1,
+ "dependencies": {
+ "mini-antui": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/mini-antui/-/mini-antui-0.4.4.tgz",
+ "integrity": "sha512-mkrn5VF30ojspyVY70Otn91sp0YyJE4j0fvsqqzAaXqOv1fpHROTwLMcIwshi8XcMn9gAxXrdFujJQQo46uh+Q=="
+ }
+ }
+}
diff --git a/alipay/pages/goods-category/goods-category.acss b/alipay/pages/goods-category/goods-category.acss
new file mode 100644
index 000000000..ed2a27656
--- /dev/null
+++ b/alipay/pages/goods-category/goods-category.acss
@@ -0,0 +1,14 @@
+.content {
+ border-left: 1px solid #eee;
+ height: 100vh;
+ box-sizing: border-box
+}
+.content-items .title {
+ font-size: 32rpx;
+ line-height: 68rpx;
+}
+.content-items {
+ float: left;
+ width: calc(33.33% - 20rpx);
+ padding: 10rpx;
+}
\ No newline at end of file
diff --git a/alipay/pages/goods-category/goods-category.axml b/alipay/pages/goods-category/goods-category.axml
new file mode 100644
index 000000000..145a8491b
--- /dev/null
+++ b/alipay/pages/goods-category/goods-category.axml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+ {{v.name}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/alipay/pages/goods-category/goods-category.js b/alipay/pages/goods-category/goods-category.js
new file mode 100644
index 000000000..f60a6e2a2
--- /dev/null
+++ b/alipay/pages/goods-category/goods-category.js
@@ -0,0 +1,89 @@
+const app = getApp();
+Page({
+ data: {
+ tab_active: 0,
+ tab_active_text_color: '#d2364c',
+ tab_active_line_color: '#d2364c',
+ tabs: [],
+ content: [],
+ data_list_loding_status: 1,
+ data_bottom_line_status: false,
+ data_list: [],
+ params: null,
+ },
+
+ onLoad(params) {
+ this.setData({params: params});
+ this.init();
+ },
+
+ onShow() {
+ my.setNavigationBar({title: app.data.common_pages_title.goods_category});
+ },
+
+ // 获取数据
+ init() {
+ // 加载loding
+ this.setData({
+ data_list_loding_status: 1,
+ });
+
+ // 加载loding
+ my.httpRequest({
+ url: app.get_request_url("GoodsCategory", "Resources"),
+ method: "POST",
+ data: this.data.params,
+ dataType: "json",
+ success: res => {
+ if (res.data.code == 0) {
+ var data = res.data.data;
+
+ // tabs
+ var temp_tabs = [];
+ for(var i in data) {
+ temp_tabs[i] = {"title": data[i]['name']};
+ }
+
+ this.setData({
+ tabs: temp_tabs,
+ content: data.length == 0 ? [] : data[0],
+ data_list: data,
+ data_list_loding_status: data.length == 0 ? 0 : 3,
+ data_bottom_line_status: true,
+ });
+ } else {
+ this.setData({
+ data_list_loding_status: 0,
+ data_bottom_line_status: true,
+ });
+
+ my.showToast({
+ type: "fail",
+ content: res.data.msg
+ });
+ }
+ },
+ fail: () => {
+ this.setData({
+ data_list_loding_status: 2,
+ data_bottom_line_status: true,
+ });
+
+ my.showToast({
+ type: "fail",
+ content: "服务器请求出错"
+ });
+ }
+ });
+ },
+
+ // tab改变
+ change_event(index) {
+ this.setData({
+ tab_active: index,
+ content: this.data.data_list[index],
+ });
+
+ console.log('onChange', index, this.data.content);
+ },
+});
\ No newline at end of file
diff --git a/alipay/pages/goods-category/goods-category.json b/alipay/pages/goods-category/goods-category.json
new file mode 100644
index 000000000..a0f3f5a42
--- /dev/null
+++ b/alipay/pages/goods-category/goods-category.json
@@ -0,0 +1,7 @@
+{
+ "defaultTitle": "小程序AntUI组件库",
+ "usingComponents": {
+ "vtabs": "mini-antui/es/vtabs/index",
+ "vtab-content": "mini-antui/es/vtabs/vtab-content/index"
+ }
+}
\ No newline at end of file
diff --git a/alipay/pages/goods-search/goods-search.js b/alipay/pages/goods-search/goods-search.js
index 9cc5e6d79..a66800867 100755
--- a/alipay/pages/goods-search/goods-search.js
+++ b/alipay/pages/goods-search/goods-search.js
@@ -1,5 +1,4 @@
const app = getApp();
-
Page({
data: {
data_list_loding_status: 1,
@@ -53,7 +52,7 @@ Page({
var params = this.data.params;
params['page'] = this.data.data_page;
my.httpRequest({
- url: app.get_request_url("Index", "GoodsSearch"),
+ url: app.get_request_url("Index", "Search"),
method: "POST",
data: params,
dataType: "json",
diff --git a/alipay/pages/index/index.acss b/alipay/pages/index/index.acss
index 319e3096e..e6e3cf036 100755
--- a/alipay/pages/index/index.acss
+++ b/alipay/pages/index/index.acss
@@ -18,8 +18,8 @@
bottom: 0;
width: 100%;
}
-
-.goods-list {
+.goods-list,
+.goods-list .goods {
overflow: hidden;
}
.floor-left image,
@@ -30,9 +30,6 @@
position: absolute;
}
-.goods-list .goods {
- overflow: hidden;
-}
.goods-list .goods image {
width: 100%;
height: 380rpx;
@@ -70,12 +67,10 @@
.goods-list .goods:nth-child(6) {
border-top: 1px solid #eee;
}
-
.goods-list .goods:nth-child(4),
.goods-list .goods:nth-child(6) {
border-left: 1px solid #eee;
}
-
.goods-list .goods:nth-child(3),
.goods-list .goods:nth-child(4),
.goods-list .goods:nth-child(5),
diff --git a/alipay/pages/index/index.axml b/alipay/pages/index/index.axml
index 1e4fffc52..a7ae13848 100755
--- a/alipay/pages/index/index.axml
+++ b/alipay/pages/index/index.axml
@@ -12,10 +12,12 @@
{{floor.name}}
-
- {{floor.describe}}
-
-
+
+
+ {{floor.describe}}
+
+
+
@@ -30,6 +32,10 @@
+
+
+
+
diff --git a/service/Application/Api/Controller/GoodsSearchController.class.php b/service/Application/Api/Controller/GoodsSearchController.class.php
deleted file mode 100755
index 1bfebac61..000000000
--- a/service/Application/Api/Controller/GoodsSearchController.class.php
+++ /dev/null
@@ -1,126 +0,0 @@
-error(L('common_unauthorized_access'));
- }
- }
-
- /**
- * 商品搜索
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @date 2018-07-12
- * @desc description
- */
- public function Index()
- {
- $m = M('Goods');
-
- // 获取数据
- $number = 10;
- $page = intval(I('page', 1));
- $where = $this->GetIndexWhere();
- $total = $m->alias('g')->join('INNER JOIN __GOODS_CATEGORY_JOIN__ AS gcj ON g.id=gcj.goods_id INNER JOIN __GOODS_CATEGORY__ AS gc ON gcj.category_id=gc.id')->where($where)->count('DISTINCT g.id');
- $page_total = ceil($total/$number);
- $start = intval(($page-1)*$number);
- $field = 'g.id, g.title, g.title_color, g.original_price, g.price, g.images, g.buy_min_number, g.buy_max_number, g.inventory, g.access_count, g.give_integral, gc.name AS category_name';
- $data = $m->alias('g')->join('INNER JOIN __GOODS_CATEGORY_JOIN__ AS gcj ON g.id=gcj.goods_id INNER JOIN __GOODS_CATEGORY__ AS gc ON gcj.category_id=gc.id')->where($where)->field($field)->limit($start, $number)->group('g.id')->order('g.id desc')->select();
-
- // 分类信息
- $category = M('GoodsCategory')->field('id,name,icon,big_images')->where(['id'=>$this->data_post['category_id']])->find();
- if(!empty($category))
- {
- $image_host = C('IMAGE_HOST');
- $category['icon'] = empty($category['icon']) ? null : $image_host.$category['icon'];
- $category['big_images'] = empty($category['big_images']) ? null : $image_host.$category['big_images'];
- }
-
-
- // 返回数据
- $result = [
- 'total' => $total,
- 'page_total' => $page_total,
- 'data' => $this->SetGoodsData($data),
- 'category' => $category,
- ];
- $this->ajaxReturn(L('common_operation_success'), 0, $result);
- }
-
- /**
- * 数据设置
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @datetime 2018-04-13T23:08:38+0800
- * @param [array] $data [数据]
- */
- private function SetGoodsData($data)
- {
- if(!empty($data))
- {
- $images_host = C('IMAGE_HOST');
- foreach($data as &$v)
- {
- $v['images'] = empty($v['images']) ? null : $images_host.$v['images'];
- }
- } else {
- $data = [];
- }
- return $data;
- }
-
- /**
- * 列表条件
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @datetime 2018-04-08T15:13:32+0800
- */
- private function GetIndexWhere()
- {
- $where = array(
- 'g.is_delete_time' => 0,
- 'g.is_shelves' => 1,
- );
-
- // 分类
- if(!empty($this->data_post['category_id']))
- {
- $category = M('GoodsCategory')->where(['pid'=>intval($this->data_post['category_id']), 'is_enable'=>1])->getField('id', true);
- if(empty($category))
- {
- $category = [intval($this->data_post['category_id'])];
- }
- $where['gc.id'] = ['in', $category];
- }
-
- return $where;
- }
-}
-?>
\ No newline at end of file
diff --git a/service/Application/Api/Controller/ResourcesController.class.php b/service/Application/Api/Controller/ResourcesController.class.php
index bd41f0265..985d2465d 100755
--- a/service/Application/Api/Controller/ResourcesController.class.php
+++ b/service/Application/Api/Controller/ResourcesController.class.php
@@ -4,6 +4,7 @@ namespace Api\Controller;
use Service\ResourcesService;
use Service\BannerService;
+use Service\GoodsService;
/**
* 资源
@@ -54,7 +55,6 @@ class ResourcesController extends CommonController
*/
public function HomeBanner()
{
- // 返回数据
$this->ajaxReturn(L('common_operation_success'), 0, BannerService::App());
}
@@ -67,9 +67,20 @@ class ResourcesController extends CommonController
*/
public function HomeNav()
{
- // 返回数据
$this->ajaxReturn(L('common_operation_success'), 0, ResourcesService::AppHomeNav());
}
+ /**
+ * [GoodsCategory 商品分类]
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2018-05-25T11:03:59+0800
+ */
+ public function GoodsCategory()
+ {
+ $this->ajaxReturn(L('common_operation_success'), 0, GoodsService::GoodsCategory());
+ }
+
}
?>
\ No newline at end of file
diff --git a/service/Application/Api/Controller/SearchController.class.php b/service/Application/Api/Controller/SearchController.class.php
new file mode 100755
index 000000000..80315d864
--- /dev/null
+++ b/service/Application/Api/Controller/SearchController.class.php
@@ -0,0 +1,51 @@
+error(L('common_unauthorized_access'));
+ }
+ }
+
+ /**
+ * 商品搜索
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2018-07-12
+ * @desc description
+ */
+ public function Index()
+ {
+ $result = SearchService::GoodsList($this->data_post);
+ $result['category'] = GoodsService::GoodsCategoryRow(['id'=>$this->data_post['category_id']]);
+ $this->ajaxReturn(L('common_operation_success'), 0, $result);
+ }
+}
+?>
\ No newline at end of file
diff --git a/service/Application/Service/SearchService.class.php b/service/Application/Service/SearchService.class.php
index 82b996e6c..067ecbe6a 100755
--- a/service/Application/Service/SearchService.class.php
+++ b/service/Application/Service/SearchService.class.php
@@ -55,7 +55,7 @@ class SearchService
{
$result = [
'page_total' => 0,
- 'total' => 450,
+ 'total' => 0,
'data' => [],
];
$where = [