14 changed files with 160 additions and 65 deletions
Split View
Diff Options
-
6api/moment.js
-
15components/button/index.wxss
-
51components/date-picker/index.wxml
-
7components/date-picker/index.wxss
-
12pages/agent/fragment/index.js
-
1pages/agent/fragment/index.wxml
-
2pages/article/feedback/index.js
-
50pages/index/index.js
-
5pages/index/index.json
-
37pages/index/index.wxml
-
4pages/index/index.wxss
-
26pages/mall/fragment/index.js
-
7pages/mall/fragment/index.wxml
-
2pages/moment/fragment/index.js
@ -1,45 +1,22 @@ |
|||
<wux-popup |
|||
position="bottom" |
|||
visible="{{ popupVisible }}" |
|||
hasHeader="{{ false }}" |
|||
hasFooter="{{ false }}" |
|||
mountOnEnter="{{ false }}" |
|||
safeArea="bottom" |
|||
bind:close="close" |
|||
bind:closed="onClosed" |
|||
> |
|||
<wux-popup position="bottom" visible="{{ popupVisible }}" hasHeader="{{ false }}" hasFooter="{{ false }}" |
|||
mountOnEnter="{{ false }}" safeArea="bottom" bind:close="close" bind:closed="onClosed"> |
|||
<view class="{{ classes.wrap }}" wx:if="{{ mounted }}"> |
|||
<view class="{{ classes.toolbar }}" wx:if="{{ toolbar }}" catchtouchmove="noop"> |
|||
<view class="{{ classes.inner }}"> |
|||
<view class="{{ classes.cancel }}" hover-class="{{ classes.hover }}" bindtap="onCancel" wx:if="{{ toolbar.cancelText }}">{{ toolbar.cancelText }}</view> |
|||
<view class="{{ classes.cancel }}" hover-class="{{ classes.hover }}" bindtap="onCancel" |
|||
wx:if="{{ toolbar.cancelText }}">{{ toolbar.cancelText }}</view> |
|||
<view class="{{ classes.title }}">{{ toolbar.title }}</view> |
|||
<view class="{{ classes.confirm }}" hover-class="{{ classes.hover }}" bindtap="onConfirm" wx:if="{{ toolbar.confirmText }}">{{ toolbar.confirmText }}</view> |
|||
<view class="{{ classes.confirm }}" hover-class="{{ classes.hover }}" bindtap="onConfirm" |
|||
wx:if="{{ toolbar.confirmText }}">{{ toolbar.confirmText }}</view> |
|||
</view> |
|||
</view> |
|||
<wux-date-picker-view |
|||
id="wux-picker" |
|||
multiPickerPrefixCls="{{ multiPickerPrefixCls }}" |
|||
pickerPrefixCls="{{ pickerPrefixCls }}" |
|||
value="{{ inputValue }}" |
|||
itemHeight="{{ itemHeight }}" |
|||
itemStyle="{{ itemStyle }}" |
|||
indicatorStyle="{{ indicatorStyle }}" |
|||
indicatorClass="{{ indicatorClass }}" |
|||
maskStyle="{{ maskStyle }}" |
|||
maskClass="{{ maskClass }}" |
|||
labelAlign="{{ labelAlign }}" |
|||
mode="{{ mode }}" |
|||
minuteStep="{{ minuteStep }}" |
|||
use12Hours="{{ use12Hours }}" |
|||
minDate="{{ minDate }}" |
|||
maxDate="{{ maxDate }}" |
|||
minHour="{{ minHour }}" |
|||
maxHour="{{ maxHour }}" |
|||
minMinute="{{ minMinute }}" |
|||
maxMinute="{{ maxMinute }}" |
|||
lang="{{ lang }}" |
|||
bind:valueChange="onValueChange" |
|||
/> |
|||
<wux-date-picker-view id="wux-picker" multiPickerPrefixCls="{{ multiPickerPrefixCls }}" |
|||
pickerPrefixCls="{{ pickerPrefixCls }}" value="{{ inputValue }}" itemHeight="{{ itemHeight }}" |
|||
itemStyle="{{ itemStyle }}" indicatorStyle="{{ indicatorStyle }}" indicatorClass="{{ indicatorClass }}" |
|||
maskStyle="{{ maskStyle }}" maskClass="{{ maskClass }}" labelAlign="{{ labelAlign }}" mode="{{ mode }}" |
|||
minuteStep="{{ minuteStep }}" use12Hours="{{ use12Hours }}" minDate="{{ minDate }}" maxDate="{{ maxDate }}" |
|||
minHour="{{ minHour }}" maxHour="{{ maxHour }}" minMinute="{{ minMinute }}" maxMinute="{{ maxMinute }}" |
|||
lang="{{ lang }}" bind:valueChange="onValueChange" /> |
|||
</view> |
|||
</wux-popup> |
|||
<slot></slot> |
|||
<slot></slot> |
|||
@ -1,12 +1,15 @@ |
|||
{ |
|||
"usingComponents": { |
|||
"mall": "/pages/moment/fragment/index", |
|||
"moment": "/pages/moment/fragment/index", |
|||
"article": "/pages/mall/fragment/index", |
|||
"agent": "/pages/agent/fragment/index", |
|||
"home": "/pages/home/index/index", |
|||
"wux-date-picker": "/components/date-picker/index", |
|||
"wux-image": "/components/image/index", |
|||
"wux-dialog": "/components/dialog/index", |
|||
"wux-grids": "/components/grids/index", |
|||
"wux-grid": "/components/grid/index", |
|||
"wux-button": "/components/button/index", |
|||
"wux-popup": "/components/popup/index" |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save