Browse Source

移除创建时间

xiaohaizhao 1 year ago
parent
commit
3a6b0c9a3a
2 changed files with 0 additions and 22 deletions
  1. 0 8
      packageA/activity/index.js
  2. 0 14
      packageA/activity/index.wxml

+ 0 - 8
packageA/activity/index.js

@@ -35,8 +35,6 @@ Page({
             type: 1,
             "where": {
                 "condition": "",
-                "startdate": "",
-                "enddate": "",
                 "status": "",
             },
             "sort": []
@@ -47,8 +45,6 @@ Page({
             typeActive: "",
             status: ['新建', '发布', '结束'], //状态项
             statusActive: "",
-            startdate: "",
-            enddate: ""
         }
     },
     onLoad(options) {
@@ -75,8 +71,6 @@ Page({
         if (data) {
             content.where.type = data.typeActive
             content.where.status = data.statusActive;
-            content.where.startdate = data.startdate;
-            content.where.enddate = data.enddate;
         }
         _Http.basic({
             "id": 20221101095102,
@@ -272,8 +266,6 @@ Page({
                 this.setData({
                     'filter.statusActive': "",
                     'filter.typeActive': "",
-                    'filter.startdate': "",
-                    'filter.enddate': "",
                 });
                 this.getList(true, this.data.filter)
                 break;

+ 0 - 14
packageA/activity/index.wxml

@@ -29,20 +29,6 @@
             <van-button custom-class='but {{filter.statusActive==item?"active":""}}' wx:for="{{filter.status}}" wx:key="item" bindtap="selectStatus" data-item="{{item}}">{{item}}</van-button>
         </view>
     </view>
-    <view class="groud">
-        <view class="label">
-            时间范围
-        </view>
-        <view class="content time">
-            <picker mode="date" bindchange='changeDate' data-name="startdate">
-                <view class="tbox">{{filter.startdate||'开始时间'}}</view>
-            </picker>
-            <view class="partition">-</view>
-            <picker mode="date" bindchange='changeDate' data-name="enddate">
-                <view class="tbox">{{filter.enddate||"结束时间"}}</view>
-            </picker>
-        </view>
-    </view>
 </Yl_filtrate>
 
 <!-- 浮动按钮 -->