Files
lichebao/pages/customer/index.wxml
T
2021-07-04 18:09:48 +08:00

202 lines
10 KiB
Plaintext

<view class="container">
<view>
<view style="padding-top:110rpx"></view>
<view class="fixed top-0 left-0 right-0 bg-fff z-index-1">
<view class="mt5 fn-flex font-32 color-666 text-center" wx:if="{{tab.length<5}}">
<block wx:for='{{tab}}' wx:key='list'>
<view class="fn-flex-item pl20 pr20 tabmenu2 {{status_pid == item.id?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
<view class="relative">{{item.title}}</view>
</view>
</block>
</view>
<scroll-view class="mt5 font-28 color-666 text-center space-nowrap" scroll-x="true" wx:else>
<block wx:for='{{tab}}' wx:key='list'>
<view class="pl20 pr20 tabmenu2 {{status_pid == item.id?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab" >
<view class="relative">{{item.title}}</view>
</view>
</block>
</scroll-view>
</view>
</view>
<view class="pl40 pb15 fn-clear">
<view class="fn-fl">
<text class="text-middle">共<text class="color-f9394d">{{total}}</text>条</text>
<picker class="inline-block text-middle bg-f6 ml20 pt5 pb5 pl15 pr15 ulib-r750 font-22" mode="date" value="{{r_time}}" bindchange="bindEndDateChange">
<text class="color-666" wx:if="{{r_time == ''}}">建卡日期</text>
<text wx:else>{{r_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
<view class="fn-fr pr180 relative">
<text bindtap="showSort" class="inner5 iconfont icon-gaojisousuo ml10"></text>
<view bindtap="pushLink" data-url="/pages/customer/addCard/index" class="absolute right-0 box-middle pt5 pb5 pl10 pr30 space-nowrap bg-333 font-22 color-fff ulib-rl750"><i class="iconfont mr5 icon-jia"></i>客户建卡</view>
</view>
</view>
<view class="mt10 pl30 pr30">
<block wx:for='{{list}}' wx:key='index'>
<view class="inner40 relative ulib-r10 box-shadow-lightGray mb30 overflowhidden" bindtap="pushLink" data-url="{{item.url}}">
<view class="relative pr180">
<view class="font-32">
<text>{{item.cust_name}}</text>
<text>(*382)</text>
<text class="iconfont icon-xingxing ml10"></text>
</view>
<view class="text-nowrap">
<text class="inline-block mr10 pt5 pb5 pl10 pr10 bg-666 font-18 color-fff ulib-r750">H级客户</text>
<text class="inline-block mr10 pt5 pb5 pl10 pr10 bg-666 font-18 color-fff ulib-r750">H级客户</text>
<text class="inline-block mr10 pt5 pb5 pl10 pr10 bg-666 font-18 color-fff ulib-r750">H级客户</text>
<text class="inline-block mr10 pt5 pb5 pl10 pr10 bg-666 font-18 color-fff ulib-r750">H级客户</text>
...
</view>
<view class="absolute right-0 box-middle">
<view class="inline-block relative img-55x55 bg-333 font-28 color-fff mr30 ulib-r750" catchtap="showMessage" data-id="{{item.id}}">
<i class="absolute box-center-middle iconfont icon-liuyan"></i>
</view>
<view class="inline-block relative img-55x55 bg-333 font-28 color-fff ulib-r750" wx:if="{{item.disabled == 0}}" catchtap="{{item.call_type == 'xz'?'callXz':'call'}}" data-id="{{item.id}}" data-type="{{item.type}}">
<i class="absolute box-center-middle iconfont icon-dianhua"></i>
</view>
</view>
</view>
<view class="mt25 fn-clear font-28">
<view class="fn-fl">品牌车型</view>
<view class="fn-fr wp60 text-nowrap text-right color-666">东风EX1</view>
</view>
<view class="mt25 fn-clear font-28">
<view class="fn-fl">品牌车型</view>
<view class="fn-fr wp60 text-nowrap text-right color-666">东风EX1</view>
</view>
<view class="mt25 fn-clear font-28">
<view class="fn-fl">品牌车型</view>
<view class="fn-fr wp60 text-nowrap text-right color-666">东风EX1</view>
</view>
<view class="mt25 fn-clear font-28">
<view class="fn-fl">品牌车型</view>
<view class="fn-fr wp60 text-nowrap text-right color-666">东风EX1</view>
</view>
</view>
</block>
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
</view>
</view>
<lcb-footer></lcb-footer>
<lcb-msg isShow="{{isShowMessage}}">
<view slot="content">
<view class="inner40">
<textarea class="wp100 inner20 bds-1-eb font-28 ulib-r10" placeholder-class="color-ccc" maxlength='100' placeholder="请输入短信内容" bindinput='inputTx' data-key="uname" name='uname' value='{{uname}}' />
</view>
<view class="fn-flex bts-1-eb text-center font-32 color-666">
<view class="fn-flex-item pt25 pb25" bindtap="hideMessage">取消</view>
<view class="fn-flex-item bls-1-eb pt25 pb25 color-36afa2" bindtap="hideMessage">确定</view>
</view>
</view>
</lcb-msg>
<view class="search-sort {{!isClickSort?'fn-hide':''}} {{!isShowSort?'sortout':'sortin'}} bg-fff fixed top-0 bottom-0 z-index-2 ulib-rl20 overflowhidden">
<scroll-view class="wp100" scroll-y="true" style="height:100%">
<view class="inner30">
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">建卡开始时间</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">建卡结束时间</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pt30 pb30 last-b-none">
<view class="font-22">常用时间段</view>
<view class="fn-clear">
<block wx:for="{{timeSlot}}" wx:key='index'>
<view class="inline-block radio-btn mt20 mr20 pt15 pb15 pl25 pr25 ulib-r10 font-28 {{timeSlotIndex == index?'bg-333 color-fff':'bg-f8'}}" bindtap="radioPicker" data-type="timeSlot" data-index="{{index}}">
{{item.title}}
</view>
</block>
</view>
</view>
<view class="relative bbs-1-eb pt30 pb30 last-b-none">
<view class="font-22">是否试驾</view>
<view class="fn-clear">
<block wx:for="{{testDrive}}" wx:key='index'>
<view class="inline-block radio-btn mt20 mr20 pt15 pb15 pl25 pr25 ulib-r10 font-28 {{testDriveIndex == index?'bg-333 color-fff':'bg-f8'}}" bindtap="radioPicker" data-type="testDrive" data-index="{{index}}">
{{item.title}}
</view>
</block>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">意向等级</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">意向车名</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">车型级别</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">客户来源</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28">到店次数</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{c_time}}" bindchange="bindStartDateChange">
<text class="color-ccc" wx:if="{{c_time == ''}}">请选择</text>
<text wx:else>{{c_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
</view>
<view class="pt50 pb100"></view>
</scroll-view>
<view class="absolute left-0 bottom-0 right-0 fn-flex pt20 pb20 pl60 pr60 bg-fff-op90 text-center">
<view class="fn-flex-item mr20 pt15 pb15 bds-2-36afa2 font-32 color-36afa2 ulib-r750" bindtap="resetsearch">重置</view>
<view class="fn-flex-item ml20 pt15 pb15 bg-36afa2 font-32 color-fff ulib-r750" bindtap="hidesearch">确定</view>
</view>
</view>
<view class="search-bg fixed left-0 right-0 top-0 bottom-0" hidden="{{!isShowSort}}" style="background-color:rgba(0,0,0,.5);" bindtap="hidesearch"></view>