| | |
| | | <template> |
| | | <view class="container"> |
| | | <!-- #ifndef H5 --> |
| | | <view class="status_bar"></view> |
| | | <!-- #endif --> |
| | | <search-bar @confirm="search" :focus="isFocus"></search-bar> |
| | | <view class="sort-wrap"> |
| | | <view @click="showFilterCustom(1)"> |
| | | <text>{{filterText}}</text> |
| | | <text class="iconfont iconjiantouarrow486 gray"></text> |
| | | </view> |
| | | <view @click="showFilterCustom(2)"> |
| | | <text>筛选</text> |
| | | <text class="iconfont iconshaixuan gray"></text> |
| | | |
| | | <view class="sticky-header"> |
| | | <search-bar @confirm="search" :focus="isFocus" class="mt-10"></search-bar> |
| | | <view class="sort-wrap"> |
| | | <view @click="showFilterCustom(1)"> |
| | | <text>{{filterText}}</text> |
| | | <text class="iconfont iconjiantouarrow486 gray"></text> |
| | | </view> |
| | | <view @click="showFilterCustom(2)"> |
| | | <text>筛选</text> |
| | | <text class="iconfont iconshaixuan gray"></text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <filter-dropdown ref="filterDropdownEl" :list="filterList" :filterKey="filterKeys" :type="filterType" @confirm="confirmFilter" @reset="resetFilter"></filter-dropdown> |
| | | <view class="flex justify-between"> |
| | | <view class="content flex justify-between"> |
| | | <view class="flex-1 mr-10"> |
| | | <navigator :url="'./detail?id='+item.id" hover-class="none" class="member-list" v-for="(item, index) in list"> |
| | | <template> |
| | |
| | | </text> |
| | | <text class="font-13 gray">{{$utils.encryptAccount(item.phone)}}</text> |
| | | </view> |
| | | <view> |
| | | <view class="member-list--con-right"> |
| | | <text class="blue">到店{{item.arriveCnt || 0}}次</text> |
| | | <text class="iconfont iconarrow-backimg light-gray"></text> |
| | | </view> |
| | |
| | | queryKey: this.queryKey, |
| | | sort: this.sort |
| | | }, this.filterKeys) |
| | | this.$httpUtils.request('/api/vip/findVipInfoList', parma, 'POST').then((res) => { |
| | | this.$httpUtils.request('/api/vip/findVipInfoList', parma, 'POST', {isShowLoad: true}).then((res) => { |
| | | if(res.status == 200){ |
| | | this.list = res.rows; |
| | | } else { |
| | |
| | | |
| | | <style scoped> |
| | | .container{ |
| | | padding: 10px 10px 0; |
| | | padding: var(--status-bar-height) 10px 0; |
| | | } |
| | | .sticky-header{ |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | right: 0; |
| | | padding: var(--status-bar-height) 10px 0; |
| | | background: #FFFFFF; |
| | | } |
| | | .sort-wrap{ |
| | | display: flex; |
| | |
| | | .sort-wrap .iconfont{ |
| | | font-size: 14px; |
| | | padding-left: 4px; |
| | | } |
| | | .content{ |
| | | padding-top: 92px |
| | | } |
| | | .avatar{ |
| | | display: inline-block; |
| | |
| | | padding: 15px 0 15px 5px; |
| | | border-bottom: 1px solid #EDEAF4; |
| | | } |
| | | .member-list--con-right{ |
| | | width: 90px; |
| | | flex: 0 0 90px; |
| | | text-align: right; |
| | | } |
| | | .member-list .vip-level{ |
| | | border: 1px solid #666; |
| | | margin-left: 10px; |
| | |
| | | border-radius: 12px; |
| | | padding: 2px 12px; |
| | | color: #666666; |
| | | word-break: keep-all; |
| | | } |
| | | .quick-entry{ |
| | | position: fixed; |