91 lines
4.5 KiB
Plaintext
91 lines
4.5 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="fn-flex mt5 pl20 pr20 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 {{key == item.key?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab">
|
|
<view class="relative">{{item.name}}</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
<scroll-view class="mt5 font-32 color-666 text-center space-nowrap" scroll-x="true" wx:else>
|
|
<view class="pl20 inline-block"></view>
|
|
<block wx:for='{{tab}}' wx:key='list'>
|
|
<view class="pl20 pr20 tabmenu2 {{key == item.key?'active color-36afa2':''}}" data-index="{{index}}" bindtap="changeTab" >
|
|
<view class="relative">{{item.name}}</view>
|
|
</view>
|
|
</block>
|
|
<view class="pl40 inline-block"></view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="pl30 relative">
|
|
<view class="wp70 relative">
|
|
<view class="absolute box-center-middle font-22 color-ccc" bindtap="searchFocus" wx:if="{{searchInp.value == '' && searchInp.focus != true}}"><i class="iconfont mr10 icon-sousuo"></i>请输入客户姓名</view>
|
|
<input class="wp100 bg-f6 pl20 pr20 font-22 ulib-r750 text-center" bindinput="searchInput" bindfocus="searchFocus" bindblur="searchBlur" bindconfirm="searchSubmit" style="height:56rpx" type="text" />
|
|
</view>
|
|
<view bindtap="pushLink" data-url="/pages/order/register/index" class="absolute right-0 box-middle pt10 pb10 pl10 pr30 space-nowrap bg-333 font-22 color-fff ulib-rl750"><i class="iconfont mr5 icon-jia"></i>登记订单</view>
|
|
</view>
|
|
|
|
<view class="mt30 pl30 pr30">
|
|
|
|
<block wx:for='{{list}}' wx:key='index'>
|
|
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden" bindtap="pushLink" data-url="/pages/order/detail/index?id={{item.id}}">
|
|
<view class="relative pr180">
|
|
<view class="font-32">
|
|
<text>{{item.name}}</text>
|
|
<text>({{item.mobile}})</text>
|
|
</view>
|
|
<view class="text-nowrap">
|
|
<text class="inline-block mr10 pl10 pr10 bg-666 font-18 color-fff ulib-r750">{{item.status_name}}</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" catchtap="call" data-id="{{item.id}}">
|
|
<i class="absolute box-center-middle iconfont icon-dianhua"></i>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<block wx:for="{{item.other_data}}" wx:for-index='key' wx:for-item='value' wx:key='i'>
|
|
<view class="mt25 fn-clear font-28">
|
|
<view class="fn-fl color-333">{{key}}</view>
|
|
<view class="fn-fr wp60 text-nowrap text-right color-666">{{value}}</view>
|
|
</view>
|
|
</block>
|
|
|
|
</view>
|
|
</block>
|
|
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
|
|
</view>
|
|
|
|
</view>
|
|
<!-- <lcb-footer></lcb-footer> -->
|
|
<lcb-shopTabBarNav currentIndex='2'></lcb-shopTabBarNav>
|
|
|
|
<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="content" name='content' value='{{content}}' />
|
|
</view>
|
|
<view class="fn-flex pl60 pr60 pb50 text-center font-32 color-666">
|
|
<button bindtap="hideMessage" class="fn-flex-item mr20 bds-2-36afa2 btn-no-bg wp100 font-28 color-36afa2 ulib-r750">取消</button>
|
|
<button disabled="{{submitFlag}}" bindtap="postAppSmsCusorder" class="fn-flex-item ml20 btn-36afa2 wp100 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">确定</button>
|
|
</view>
|
|
</view>
|
|
</lcb-msg>
|
|
|
|
<view class="fixedopt">
|
|
<view class="optpin bg-333 relative ulib-r750">
|
|
<view class="absolute top-0 bottom-0 left-0 right-0 z-index-0" bindtap="showMobileMsg">
|
|
<i class="absolute box-center-middle iconfont icon-shouji font-44 color-fff"></i>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<lcb-changeMobile isShow="{{isShowMobile}}"></lcb-changeMobile> |