155 lines
8.7 KiB
Plaintext
155 lines
8.7 KiB
Plaintext
<view class="container">
|
|
<view class="inner30">
|
|
|
|
<view class="pl40 pr40 pt40 relative ulib-r10 box-shadow-000-10-10 overflowhidden">
|
|
|
|
<view class="font-28 text-center text-bold">交强险</view>
|
|
<view class="mt30 pb30 text-center">
|
|
<view class="inline-block img-300x200 relative ulib-r10 overflowhidden">
|
|
<block wx:if="{{insurance_img.value}}">
|
|
<view class="inline-block bg-f8 img-300x200 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="insurance_img"></i>
|
|
<image class='block wp100 img-h-200 ulib-r10' src='{{insurance_img.img}}' mode='aspectFit' bindtap="previewImage" data-type="insurance_img"></image>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="inline-block bg-f8 img-300x200 relative ulib-r10 overflowhidden" bindtap="chooseImg" data-type="insurance_img">
|
|
<view class="absolute left-0 right-0 box-middle color-ccc">
|
|
<i class="iconfont icon-paizhao font-48"></i>
|
|
<view class="mt10 font-22">上传交强险</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="relative bg-f8 mb40 inner40 ulib-r10 overflowhidden font-28" wx:if="{{insurance_img.value&&!isEditInsurance}}">
|
|
<view class="sellout-tip font-24" bindtap="optEditInsurance">修改</view>
|
|
<view class="relative font-28">
|
|
保险公司:{{insurance_img.product}}
|
|
</view>
|
|
<view class="mt20 relative font-28">
|
|
生效日期:{{insurance_img.date}}
|
|
</view>
|
|
<view class="mt20 relative font-28">
|
|
保险金额:{{insurance_img.price}}元
|
|
</view>
|
|
</view>
|
|
<view wx:elif="{{insurance_img.value}}">
|
|
<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="insurance_product" name='insurance_product' value='{{insurance_product}}' always-embed='{{true}}' />
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
|
<view class="absolute left-0 box-middle">生效日期</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker mode="date" value="{{insurance_date}}" bindchange="selectDate" data-type="insurance">
|
|
<text class="color-ccc" wx:if="{{insurance_date == ''}}">请选择</text>
|
|
<text wx:else>{{insurance_date}}</text>
|
|
<i class="iconfont ml10 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl140 pr40 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="digit" placeholder="请输入保险金额" bindinput='inputTx' data-key="insurance_price" name='insurance_price' value='{{insurance_price}}' always-embed='{{true}}' />
|
|
</view>
|
|
<view class="absolute right-0 box-middle">元</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pt30 pb30 text-center font-28">
|
|
<button class="inline-block text-middle font-22 color-fff ulib-r10 btn-36afa2" hover-class="btn-36afa2-hover" bindtap="putAppCusorderdataInfo" data-type="insurance">确定修改</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="mt50 pl40 pr40 pt40 relative ulib-r10 box-shadow-000-10-10 overflowhidden">
|
|
<view class="font-28 text-center text-bold">商业险</view>
|
|
<view class="mt30 pb30 text-center">
|
|
<view class="inline-block img-300x200 relative ulib-r10 overflowhidden">
|
|
<block wx:if="{{business_img.value}}">
|
|
<view class="inline-block bg-f8 img-300x200 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="business_img"></i>
|
|
<image class='block wp100 img-h-200 ulib-r10' src='{{business_img.img}}' mode='aspectFit' bindtap="previewImage" data-type="business_img"></image>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="inline-block bg-f8 img-300x200 relative ulib-r10 overflowhidden" bindtap="chooseImg" data-type="business_img">
|
|
<view class="absolute left-0 right-0 box-middle color-ccc">
|
|
<i class="iconfont icon-paizhao font-48"></i>
|
|
<view class="mt10 font-22">上传商业险</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="relative bg-f8 mb40 inner40 ulib-r10 overflowhidden font-28" wx:if="{{business_img.value&&!isEditBusiness}}">
|
|
<view class="sellout-tip font-24" bindtap="optEditBusiness">修改</view>
|
|
<view class="relative font-28">
|
|
保险公司:{{business_img.product}}
|
|
</view>
|
|
<view class="mt20 relative font-28">
|
|
生效日期:{{business_img.date}}
|
|
</view>
|
|
<view class="mt20 relative font-28">
|
|
保险金额:{{business_img.price}}元
|
|
</view>
|
|
</view>
|
|
<view wx:elif="{{business_img.value}}">
|
|
<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="business_product" name='business_product' value='{{business_product}}' always-embed='{{true}}' />
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl180 font-28">
|
|
<view class="absolute left-0 box-middle">生效日期</view>
|
|
<view class="pt30 pb30 text-right font-28 color-666">
|
|
<picker mode="date" value="{{business_date}}" bindchange="selectDate" data-type="business">
|
|
<text class="color-ccc" wx:if="{{business_date == ''}}">请选择</text>
|
|
<text wx:else>{{business_date}}</text>
|
|
<i class="iconfont ml10 icon-gengduo"></i>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pl140 pr40 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="digit" placeholder="请输入保险金额" bindinput='inputTx' data-key="business_price" name='business_price' value='{{business_price}}' always-embed='{{true}}' />
|
|
</view>
|
|
<view class="absolute right-0 box-middle">元</view>
|
|
</view>
|
|
<view class="relative bbs-1-eb last-b-none pt30 pb30 text-center font-28">
|
|
<button class="inline-block text-middle font-22 color-fff ulib-r10 btn-36afa2" hover-class="btn-36afa2-hover" bindtap="putAppCusorderdataInfo" data-type="business">确定修改</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class="mt50 pt40 relative ulib-r10 box-shadow-000-10-10 overflowhidden">
|
|
<view class="font-28 text-center text-bold">其他保险</view>
|
|
<view class="mt30 pb30 text-center">
|
|
<scroll-view class="space-nowrap" scroll-x="true">
|
|
<block wx:for='{{ins_img}}' wx:for-item='ins_img' wx:key='index'>
|
|
<view class="inline-block bg-f8 img-300x200 ml10 mr10 relative ulib-r10 overflowhidden">
|
|
<i class="absolute top-0 right-0 bg-000-op50 iconfont icon-guanbi1 inner10 font-26 color-fff ulib-rtr10 ulib-rbl10 z-index-1" bindtap="delImg" data-type="ins_img" data-index="{{index}}" ></i>
|
|
<image class='block wp100 img-h-200 ulib-r10' src='{{ins_img.img}}' mode='aspectFit' bindtap="previewImage" data-type="ins_img" data-current="{{ins_img.img}}"></image>
|
|
</view>
|
|
</block>
|
|
<block wx:if="{{ins_img.length<10}}">
|
|
<view class="inline-block bg-f8 img-300x200 ml10 mr10 relative ulib-r10 overflowhidden" bindtap="chooseImg" data-type="ins_img">
|
|
<view class="absolute left-0 right-0 box-middle color-ccc">
|
|
<i class="iconfont icon-paizhao font-48"></i>
|
|
<view class="mt10 font-22">上传其它保险</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
</view> |