| | |
| | | <search-bar></search-bar> |
| | | <view class="sort-wrap"> |
| | | <view @click="filterCustom(1)"> |
| | | <text>到店排序</text> |
| | | <text class="iconfont iconjiantouarrow486"></text> |
| | | </view> |
| | | <view @click="filterCustom(2)"> |
| | | <text>卡项排序</text> |
| | | <text class="iconfont iconjiantouarrow486"></text> |
| | | <text>本月到店次数</text> |
| | | <text class="iconfont iconjiantouarrow486 gray"></text> |
| | | </view> |
| | | <view @click="filterCustom(3)"> |
| | | <text>全部筛选</text> |
| | | <text class="iconfont iconjiantouarrow486"></text> |
| | | <text>筛选</text> |
| | | <text class="iconfont iconshaixuan gray"></text> |
| | | </view> |
| | | </view> |
| | | <filter-dropdown ref="filterDropdownEl" :list="filterList" :type="filterType"></filter-dropdown> |
| | | <view class="sort-tab"> |
| | | <text class="sort-tab-item">正式客户</text> |
| | | <text class="sort-tab-item">体验客户</text> |
| | | <text class="sort-tab-item">潜在客户</text> |
| | | <text class="sort-tab-item">潜在客户</text> |
| | | </view> |
| | | <view class="flex justify-between" @click="toDetail"> |
| | | <view class="flex-1 mr-10"> |
| | | <view class="member-list flex align-center" v-for="(item, index) in 15"> |
| | |
| | | </view> |
| | | </view> |
| | | <indexed-list></indexed-list> |
| | | </view> |
| | | <view class="quick-entry" @click="addMember"> |
| | | <text class="iconfont iconjiahao"></text> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | this.filterList = this.filter3; |
| | | this.filterType = 0; |
| | | } |
| | | }, |
| | | addMember(){ |
| | | uni.navigateTo({ |
| | | url:'./addMember' |
| | | }) |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | .sort-wrap .iconfont{ |
| | | font-size: 14px; |
| | | color: #999; |
| | | padding-left: 3px; |
| | | } |
| | | .sort-tab{ |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin: 10px 0; |
| | | } |
| | | .sort-tab-item{ |
| | | border:1px solid #EDEAF4; |
| | | font-size: 14px; |
| | | color: #ABB1CC; |
| | | padding: 3px 10px; |
| | | border-radius: 4px; |
| | | box-shadow: 3px 3px 5px #EEEEEE; |
| | | } |
| | | .sort-tab-item.active{ |
| | | border: 1px solid #518EFF; |
| | | color: #518EFF; |
| | | padding-left: 4px; |
| | | } |
| | | .first-name{ |
| | | display: inline-block; |
| | |
| | | padding: 20px 0 20px 5px; |
| | | border-bottom: 1px solid #EDEAF4; |
| | | } |
| | | .quick-entry{ |
| | | position: fixed; |
| | | bottom: 80px; |
| | | right: 15px; |
| | | width: 50px; |
| | | height: 50px; |
| | | line-height: 50px; |
| | | text-align: center; |
| | | border-radius: 50%; |
| | | background: #518EFF; |
| | | color: #FFFFFF; |
| | | box-shadow: 4px 4px 5px #ddd; |
| | | } |
| | | .quick-entry .iconfont{ |
| | | font-size: 24px; |
| | | } |
| | | </style> |