serviceApply.wxml
5.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!-- 门店信息 -->
<view class="store-box" style="background-image: url({{IMGURL}}equity/claims/service_bg_icon.png?v={{img_version}});">
<view wx:if="{{target}}" class="store-info">
<view class="store-name">{{storeInfo.name}}</view>
<view class="store-address">{{storeInfo.address}}</view>
<view class="store-operate">
<view class="operate-left">
<image webp class="address-img" src="{{IMGURL}}equity/claims/km_icom.png?v={{img_version}}" />
<text bind:tap="openMap" wx:if="{{myLocation.lat}}" class="operate-text">{{storeInfo.kilomiter}}</text>
<text wx:else class="operate-text" bind:tap="authFail">重新定位</text>
</view>
<view bindtap="callPhone" data-item="{{storeInfo.phone}}">
<image webp class="phone-img" src="{{IMGURL}}equity/claims/phone_icon.png?v={{img_version}}" />
<text class="operate-text">{{storeInfo.phone}}</text>
</view>
</view>
</view>
</view>
<!-- 理赔码 -->
<view class="code-box">
<view class="code-info">
<view class="code-title">
<text class="code-title-left">理赔码</text>
<text class="code-title-right">过期后需重新申请服务</text>
</view>
<view class="code-num-box">
<view class="code-number {{!codeStatus ? 'code-number-inactive' : 'code-number-active'}}">
{{hxcode}}
</view>
<view wx:if="{{codeStatus}}" class="code-copy" data-item="{{hxcode}}" bind:tap="setCopyData">
<image webp class="copy-img" src="{{IMGURL}}equity/claims/pre_copy_icon.png?v={{img_version}}" />
<text class="copy-text">复制</text>
</view>
<view class="code-time">
<block wx:if="{{codeStatus}}">
<text class="code-time-num">{{expiredTime}}</text>
<text class="code-text">后失效</text>
</block>
<block wx:else>
<text class="code-number-inactive">已过期</text>
</block>
</view>
</view>
</view>
</view>
<!-- 车辆信息填写 -->
<view class="apply-box">
<form bindsubmit="submitApply">
<view class="apply-info">
<view class='info-list'>
<text class="info-lable">报损车辆</text>
<input class="int-style" name="carName" type='text' placeholder-style='font-size:28rpx;color: #9E9EA8;' placeholder='请输入' value="{{applyInfo.carName}}"></input>
</view>
<!-- 出险时间 -->
<picker mode="multiSelector" value="{{applyInfo.time}}" bindchange="changeDate" range="{{dateTimeArr}}">
<view class='info-list'>
<text class="info-lable">出险时间</text>
<view class="info-content">
<view class="province-placeholder">{{applyInfo.date || '请选择'}}</view>
<view>
<image webp class="select-img" src="{{IMGURL}}equity/claims/pre_date_icon.png?v={{img_version}}" />
</view>
</view>
</view>
</picker>
<!-- 出险地点 -->
<view style="border-bottom: 1rpx solid #F0F0F0;">
<!-- <picker mode="region" name="address" value="{{applyInfo.address}}" bindchange="bindRegionChange"> -->
<view class='info-list address-info' bindtap="showProvince">
<text class="info-lable">出险地点</text>
<view>
<view class="info-content">
<block wx:if="{{!applyInfo.address.length}}">
<view class="province-placeholder">请选择</view>
</block>
<block wx:else>
<view>{{applyInfo.address}}</view>
</block>
<view>
<image webp class="select-img" src="{{IMGURL}}equity/claims/pre_icon_arrow.png?v={{img_version}}" />
</view>
</view>
</view>
</view>
<!-- </picker> -->
<textarea name="detailAddress" bindinput="toFillAdress" class="detail-address" placeholder-style='font-size:28rpx;color: #DFDFDF;' placeholder='详细地点' maxlength="50" value="{{applyInfo.detailAddress}}"></textarea>
</view>
<!-- 车辆图片信息 -->
<view class="photo-info">信息填报</view>
<block wx:for="{{carImgInfo}}">
<view class="photo-text">{{item.secondClassifyName}}</view>
<view class="photo-img-box">
<view data-item="{{index}}" catch:tap="toUploadImage" class="image-box">
<image webp wx:if="{{!item.url}}" class="camera-img" src="{{IMGURL}}equity/claims/pre_photo_icon.png?v={{img_version}}" />
<image webp wx:else class=" image_up_load" src="{{item.url}}" />
<!-- 图片删除 -->
<image webp wx:if="{{item.url}}" data-item="{{index}}" catch:tap="delUploadImage" class="del-img" src="{{IMGURL}}equity/claims/pre_del_icon.png?v={{img_version}}" />
</view>
<view class="image-box">
<image webp bindtap="previewImage" data-current="{{item.exampleUrl}}" src="{{item.exampleUrl}}" />
<image webp class="example-img" src="{{IMGURL}}equity/claims/pre_eg_icon.png?v={{img_version}}" />
</view>
</view>
</block>
<button class="submit-btn" form-type="submit">下一步</button>
</view>
</form>
</view>
<!-- 重新授权定位 -->
<block wx:if="{{showAuth}}">
<authorize scopeType="userLocation" buttonType="openSetting" bindfail="authFail" bindsuccess="authSuccess" show="{{showAuth}}"></authorize>
</block>
<!-- 省市区选择 -->
<area-select provinceShow="{{provinceShow}}" provinceList="{{provinceList}}" bind:cancelProvince="cancelProvince" bind:getProvinceCode="getProvinceCode"></area-select>
<glsx-privacy appletName="广汇车生活"></glsx-privacy>