157 lines
8.5 KiB
Plaintext
157 lines
8.5 KiB
Plaintext
<view class="container">
|
|
<view class="inner30">
|
|
<view class="pl40 pr40 pt10 pb10 relative ulib-r10 box-shadow-000-10-10 overflowhidden">
|
|
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
|
<view class="absolute left-0 box-middle">客户姓名</view>
|
|
<view>
|
|
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入客户姓名" bindinput='inputTx' data-key="name" name='name' value='{{name}}' />
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
|
<view class="absolute left-0 box-middle">手机号码</view>
|
|
<view>
|
|
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="number" placeholder="请输入客户手机号" bindinput='inputTx' data-key="mobile" name='mobile' value='{{mobile}}' />
|
|
</view>
|
|
</view>
|
|
<!--
|
|
<view class="relative bbs-1-eb pl190 last-b-none">
|
|
<view class="absolute left-0 box-middle font-28 color-333">品牌归属</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker bindchange="changeCbrand" value="{{c_brandIndex}}" range="{{c_brands}}">
|
|
<text class="color-ccc" wx:if="{{c_brandIndex == -1}}">请选择</text>
|
|
<text wx:else>{{c_brands[c_brandIndex]}}</text>
|
|
<i class="iconfont ml5 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 color-333">车辆品牌</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker bindchange="changeBrand" value="{{brandIndex}}" range="{{brandArray}}">
|
|
<text class="color-ccc" wx:if="{{brandIndex == -1}}">请选择</text>
|
|
<text wx:else>{{brandArray[brandIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{brandIndex != -1}}">
|
|
<view class="absolute left-0 box-middle font-28 color-333">车系车型</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666 text-nowrap">
|
|
<picker bindchange="changeModel" value="{{modelIndex}}" range="{{modelArray}}">
|
|
<text class="color-ccc" wx:if="{{modelIndex == -1}}">请选择</text>
|
|
<text wx:else>{{modelArray[modelIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{modelIndex != -1}}">
|
|
<view class="absolute left-0 box-middle font-28 color-333">车辆版本</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666 text-nowrap">
|
|
<picker bindchange="changeLevel" value="{{levelIndex}}" range="{{levelArray}}">
|
|
<text class="color-ccc" wx:if="{{levelIndex == -1}}">请选择</text>
|
|
<text wx:else>{{levelArray[levelIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{modelIndex != -1}}">
|
|
<view class="absolute left-0 box-middle font-28 color-333">车身颜色</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666 text-nowrap">
|
|
<picker bindchange="changeColor" value="{{colorIndex}}" range="{{colorArray}}">
|
|
<text class="color-ccc" wx:if="{{colorIndex == -1}}">请选择</text>
|
|
<text wx:else>{{colorArray[colorIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view> -->
|
|
<block wx:if="{{sources.length>0}}">
|
|
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
|
<view class="absolute left-0 box-middle">客户来源</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker bindchange="changeOf2" value="{{of2Index}}" range="{{of2Arr}}">
|
|
<text class="color-ccc" wx:if="{{of2Index == -1}}">请选择</text>
|
|
<text wx:else>{{of2Arr[of2Index]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
<view class="relative bbs-1-eb last-b-none pl140 font-28">
|
|
<view class="absolute left-0 box-middle">所在城市</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker bindchange="changeCity" value="{{cityIndex}}" range="{{cityArr}}">
|
|
<text class="color-ccc" wx:if="{{cityIndex == -1}}">请选择</text>
|
|
<text wx:else>{{cityArr[cityIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl140 font-28" wx:if="{{city_id}}">
|
|
<view class="absolute left-0 box-middle">所在地区</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker bindchange="changeCounty" value="{{countyIndex}}" range="{{countyArr}}">
|
|
<text class="color-ccc" wx:if="{{countyIndex == -1}}">请选择</text>
|
|
<text wx:else>{{countyArr[countyIndex]}}</text>
|
|
<i class="iconfont ml5 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
|
<view class="absolute left-0 box-middle">是否添加个微</view>
|
|
<view class="relative pt30 pb30 text-right">
|
|
<switch class="{{baseinfo.wxgr==1?'opacity-50':''}}" checked="{{wxgr==1}}" bindchange="switchWxgr" type="switch" color='#36afa2' disabled='{{baseinfo.wxgr==1}}' style="zoom:0.8" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="mt30 text-center" wx:if="{{wxgr==1}}">
|
|
<view class="inline-block img-250x150 relative ulib-r10 overflowhidden">
|
|
<block wx:if="{{wxgrimg_url}}">
|
|
<view class="inline-block bg-f8 img-250x150 relative ulib-r10 overflowhidden">
|
|
<i class="absolute top-0 right-0 bg-000-op50 iconfont icon-shuaxin inner10 font-26 color-fff ulib-rtr10 ulib-rbl10 z-index-1" bindtap="chooseImg" data-type="gw_img"></i>
|
|
<image class='block wp100 img-250x150 ulib-r10' src='{{wxgrimg_url}}' mode='aspectFit' bindtap="previewImage" data-type="gw_img"></image>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="inline-block bg-f8 img-250x150 relative ulib-r10 overflowhidden" bindtap="chooseImg" data-type="gw_img">
|
|
<view class="absolute left-0 right-0 box-middle color-ccc">
|
|
<i class="iconfont icon-paizhao font-42"></i>
|
|
<view class="mt10 font-22">上传个微截图</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
|
|
<block wx:for='{{taglList}}' wx:for-item='list' wx:for-index='i' wx:key='i'>
|
|
<view class="relative mt30">
|
|
<view class="font-28">
|
|
<text class="text-middle">{{list.name}}</text>
|
|
<text class="text-middle font-24" wx:if="{{list.type=='radio'}}">(单选)</text>
|
|
<text class="text-middle font-24" wx:if="{{list.type=='checkbox'}}">(多选)</text>
|
|
</view>
|
|
<view class="fn-clear" wx:if="{{list.type=='radio'}}">
|
|
<block wx:for='{{list.list}}' wx:for-item='option' wx:for-index='j' wx:key='j'>
|
|
<view class="inline-block space-nowrap mt20 mr20 pt15 pb15 pl30 pr30 font-22 ulib-r10 {{option.checked?'bg-36afa2 color-fff':'bg-f6 color-666'}}" bindtap="radioPicker" data-i="{{i}}" data-j="{{j}}">
|
|
{{option.name}}
|
|
</view>
|
|
</block>
|
|
</view>
|
|
<view class="fn-clear" wx:if="{{list.type=='checkbox'}}">
|
|
<block wx:for='{{list.list}}' wx:for-item='option' wx:for-index='j' wx:key='j'>
|
|
<view class="inline-block space-nowrap mt20 mr20 pt15 pb15 pl30 pr30 font-22 ulib-r10 {{option.checked?'bg-36afa2 color-fff':'bg-f6 color-666'}}" bindtap="checkPicker" data-i="{{i}}" data-j="{{j}}">
|
|
{{option.name}}
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
<view class="mt60 pl60 pr60">
|
|
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" disabled="{{submitFlag}}" bindtap="putAppCustomerData">
|
|
确认
|
|
</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<lcb-footer></lcb-footer>
|
|
<lcb-backChannel></lcb-backChannel> |