@@ -194,4 +194,12 @@ userstoreListView: function(data) {
})
this.getHexiaoList();
},
+
+ //清除日期
+ toCloseDet: function (e) {
+ this.setData({
+ date: '',
+ })
+ this.getHexiaoList();
+ },
@@ -15,6 +15,7 @@
<view class="picker" wx:else>{{date}}</view>
</picker>
</view>
+ <view class="search-text-close" catchtap="toCloseDet">⊗</view>
<view class="writeOff-content" wx:for="{{hexiaoList}}" wx:key="index" data-ordersn="{{item.orderSn}}">
@@ -72,6 +72,13 @@ page{
color: #A0A0A0;
}
+.search-text-close{
+ width: 34rpx;
+ font-size: 34rpx;
+ font-weight: 500;
+ color: #A0A0A0;
+}
.writeOff-content{
width: 750rpx;
margin-top: 8rpx;