58 lines
2.5 KiB
Plaintext
58 lines
2.5 KiB
Plaintext
<view class="page">
|
||
<view class="cs-bar">
|
||
<view class="cs-btn" bindtap="openMiniKefu">小程序客服</view>
|
||
<view class="cs-btn cs-wx" bindtap="openWxKefu">微信客服</view>
|
||
</view>
|
||
|
||
<view class="section">
|
||
<view class="label">投诉类型</view>
|
||
<view class="type-row">
|
||
<view
|
||
wx:for="{{types}}"
|
||
wx:key="value"
|
||
class="type-chip {{leixing==item.value?'on':''}}"
|
||
data-v="{{item.value}}"
|
||
bindtap="onPickType"
|
||
>{{item.label}}</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="section" wx:if="{{leixing==1}}">
|
||
<view class="label">订单ID <text class="req">*</text></view>
|
||
<input class="input" placeholder="请输入或粘贴订单ID" value="{{order_id}}" bindinput="onOrderId"/>
|
||
</view>
|
||
<view class="section" wx:if="{{leixing==2}}">
|
||
<view class="label">充值记录ID <text class="req">*</text></view>
|
||
<input class="input" placeholder="请输入充值记录ID" value="{{chongzhi_id}}" bindinput="onChongzhiId"/>
|
||
<view class="link" bindtap="goChongzhiList">去充值记录复制 →</view>
|
||
</view>
|
||
<view class="section" wx:if="{{leixing==3}}">
|
||
<view class="label">罚单ID <text class="req">*</text></view>
|
||
<input class="input" placeholder="请输入罚单ID" value="{{fadan_id}}" bindinput="onFadanId"/>
|
||
<view class="link" bindtap="goPenalty">去罚款页查看 →</view>
|
||
</view>
|
||
<view class="section" wx:if="{{leixing==4}}">
|
||
<view class="label">管事ID(选填)</view>
|
||
<input class="input" placeholder="被投诉管事UID,可不填" value="{{guanshi_id}}" bindinput="onGuanshiId"/>
|
||
</view>
|
||
|
||
<view class="section">
|
||
<view class="label">投诉说明 <text class="req">*</text></view>
|
||
<textarea class="textarea" maxlength="500" placeholder="请详细描述问题" value="{{shuoming}}" bindinput="onShuoming"/>
|
||
</view>
|
||
|
||
<view class="section">
|
||
<view class="label">证据图片(最多{{maxImages}}张)</view>
|
||
<view class="img-row">
|
||
<view class="img-item" wx:for="{{images}}" wx:key="*this">
|
||
<image src="{{item}}" mode="aspectFill" bindtap="preview" data-url="{{item}}"/>
|
||
<view class="del" data-i="{{index}}" catchtap="delImg">×</view>
|
||
</view>
|
||
<view class="img-add" wx:if="{{images.length < maxImages}}" bindtap="chooseImg">+</view>
|
||
</view>
|
||
</view>
|
||
|
||
<button class="submit" loading="{{submitting}}" bindtap="submit">提交投诉</button>
|
||
<view class="foot-link" bindtap="goMyList">查看我的投诉记录</view>
|
||
</view>
|