我的团队细节优化
parent
7ea71fcf5e
commit
e2b293a2b5
|
|
@ -7,6 +7,12 @@
|
|||
.nav-search .multiple-picker .item {
|
||||
width: calc(50% - 24rpx);
|
||||
}
|
||||
.nav-search .multiple-picker .remove {
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
padding: 14rpx 10rpx 0 10rpx;
|
||||
}
|
||||
.nav-search .search-submit-list {
|
||||
right: 20rpx;
|
||||
bottom: 15rpx;
|
||||
|
|
|
|||
|
|
@ -5,16 +5,22 @@
|
|||
<view class="margin-top oh">
|
||||
<view class="fl margin-top">注册时间:</view>
|
||||
<view class="multiple-picker fl tc">
|
||||
<view class="item br dis-inline-block tl fl">
|
||||
<view class="item br dis-inline-block tl fl pr">
|
||||
<picker mode="date" data-value="team_search_user_time_start" @change="search_cholce_event" class="padding-sm radius">
|
||||
<view :class="(nav_search_value.team_search_user_time_start || null) == null ? 'cr-grey' : ''">{{nav_search_value.team_search_user_time_start || '开始时间'}}</view>
|
||||
</picker>
|
||||
<view v-if="(nav_search_value.team_search_user_time_start || null) != null" class="pa bs-bb remove" data-value="team_search_user_time_start" @tap.stop="search_date_remove_event">
|
||||
<icon type="clear" size="26rpx"></icon>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dis-inline-block cr-grey-white margin-top-sm">-</view>
|
||||
<view class="item br dis-inline-block tl fr">
|
||||
<view class="item br dis-inline-block tl fr pr">
|
||||
<picker mode="date" data-value="team_search_user_time_end" @change="search_cholce_event" class="padding-sm">
|
||||
<view :class="(nav_search_value.team_search_user_time_end || null) == null ? 'cr-grey' : ''">{{nav_search_value.team_search_user_time_end || '结束时间'}}</view>
|
||||
</picker>
|
||||
<view v-if="(nav_search_value.team_search_user_time_end || null) != null" class="pa bs-bb remove" data-value="team_search_user_time_end" @tap.stop="search_date_remove_event">
|
||||
<icon type="clear" size="26rpx"></icon>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<checkbox-group class="dis-inline-block fr margin-top-xs" data-value="team_search_user_time_reverse" @change="search_cholce_event">
|
||||
|
|
@ -26,16 +32,22 @@
|
|||
<view class="margin-top oh">
|
||||
<view class="fl margin-top">下单时间:</view>
|
||||
<view class="multiple-picker fl tc">
|
||||
<view class="item br dis-inline-block tl fl">
|
||||
<view class="item br dis-inline-block tl fl pr">
|
||||
<picker mode="date" data-value="team_search_order_time_start" @change="search_cholce_event" class="padding-sm radius">
|
||||
<view :class="(nav_search_value.team_search_order_time_start || null) == null ? 'cr-grey' : ''">{{nav_search_value.team_search_order_time_start || '开始时间'}}</view>
|
||||
</picker>
|
||||
<view v-if="(nav_search_value.team_search_order_time_start || null) != null" class="pa bs-bb remove" data-value="team_search_order_time_start" @tap.stop="search_date_remove_event">
|
||||
<icon type="clear" size="26rpx"></icon>
|
||||
</view>
|
||||
</view>
|
||||
<view class="dis-inline-block cr-grey-white margin-top-sm">-</view>
|
||||
<view class="item br dis-inline-block tl fr">
|
||||
<view class="item br dis-inline-block tl fr pr">
|
||||
<picker mode="date" data-value="team_search_order_time_end" @change="search_cholce_event" class="padding-sm">
|
||||
<view :class="(nav_search_value.team_search_order_time_end || null) == null ? 'cr-grey' : ''">{{nav_search_value.team_search_order_time_end || '结束时间'}}</view>
|
||||
</picker>
|
||||
<view v-if="(nav_search_value.team_search_order_time_end || null) != null" class="pa bs-bb remove" data-value="team_search_order_time_end" @tap.stop="search_date_remove_event">
|
||||
<icon type="clear" size="26rpx"></icon>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<checkbox-group class="dis-inline-block fr margin-top-xs" data-value="team_search_order_time_reverse" @change="search_cholce_event">
|
||||
|
|
@ -113,10 +125,10 @@
|
|||
content_list: [
|
||||
{name: "消费订单", field: "order_count", unit: "条", default: 0},
|
||||
{name: "消费金额", field: "order_total", unit: "元", default: 0},
|
||||
{name: "最后消费时间", field: "order_last_time", default: ''},
|
||||
{name: "最后下单时间", field: "order_last_time", default: ''},
|
||||
{name: "下级订单", field: "find_order_count", unit: "条", default: 0},
|
||||
{name: "下级消费", field: "find_order_total", unit: "元", default: 0},
|
||||
{name: "下级最后消费时间", field: "find_order_last_time", default: ''},
|
||||
{name: "下级最后下单时间", field: "find_order_last_time", default: ''},
|
||||
{name: "下级用户", field: "referrer_count", unit: "个", default: 0}
|
||||
|
||||
],
|
||||
|
|
@ -343,6 +355,16 @@
|
|||
});
|
||||
},
|
||||
|
||||
// 日期移除事件
|
||||
search_date_remove_event(e) {
|
||||
var value = e.currentTarget.dataset.value;
|
||||
var temp_data = this.nav_search_value;
|
||||
temp_data[value] = '';
|
||||
this.setData({
|
||||
nav_search_value: temp_data
|
||||
});
|
||||
},
|
||||
|
||||
// 搜索重置事件
|
||||
search_reset_event(e) {
|
||||
var temp_data = this.nav_search_value;
|
||||
|
|
|
|||
Loading…
Reference in New Issue