index$11bae274.wxml
2.63 KB
<template name="index$11bae274">
<view class="_div data-v-3efd7f86 questiondetail" wx:if="{{lists[0]}}">
<view class="_div data-v-3efd7f86 head-title">
{{lists[0] ? lists[0].consultant_Title : ''}}
<view class="_div data-v-3efd7f86 img-box" wx:if="{{imgfiles.length>0}}" style="padding-top: 20rpx;">
<image wx:key="i" key="{{i}}" bindtap="handleProxy" src="{{imgLoaded[i]?item:'/static/imgs/img.png'}}" binderror="handleProxy" mode="aspectFill" data-eventid="{{'0-'+i}}" data-comkey="{{$k}}" wx:for="{{imgfiles}}" wx:for-index="i" wx:for-item="item" class="_img data-v-3efd7f86"></image>
</view>
<view class="_div data-v-3efd7f86 foot"><label class="_span data-v-3efd7f86">咨询者:{{wx_name}}</label>
<view wx:key="j" key="{{j}}" class="_div data-v-3efd7f86 tags" wx:for="{{tags}}" wx:for-index="j" wx:for-item="tag">{{tag? tag: ''}}</view>
</view>
</view>
<view class="_div data-v-3efd7f86 list-item" wx:key="i" key="{{i}}" wx:for="{{lists}}" wx:for-index="i" wx:for-item="item">
<view class="_div data-v-3efd7f86 para-title">
<view class="_div data-v-3efd7f86"></view>{{'第'+sequence[i]+'次提问'}}
</view>
<view class="_div data-v-3efd7f86 text" style="margin-top: 25rpx;">{{item.consultant_Content}}</view>
<view class="_div data-v-3efd7f86 time">{{item.consultant_Date}}</view>
<view wx:if="{{item.is_Replay==1}}" class="_div data-v-3efd7f86">
<view class="_div data-v-3efd7f86 head">
<image class="_img data-v-3efd7f86 photo" src="{{rootAvatar+item.pic}}" mode="aspectFill"></image>{{item.name}}律师的回答
</view>
<view class="_div data-v-3efd7f86 text" style="margin-bottom: 25rpx;">{{item.consultant_Reply}}</view>
<view class="_div data-v-3efd7f86 time">{{item.replay_Date}}</view>
</view>
<form wx:if="{{i+1==lists.length && item.is_Replay!=1}}" bindsubmit="handleProxy" data-eventid="{{'2-'+i}}" data-comkey="{{$k}}" class="_form data-v-3efd7f86">
<view class="_div data-v-3efd7f86 textarea"><textarea placeholder="请输入您要回答的内容" name="text" value="{{text}}" bindinput="handleProxy" maxlength="10000" data-eventid="{{'1-'+i}}" data-comkey="{{$k}}" class="_textarea data-v-3efd7f86" /> <view class="_div data-v-3efd7f86">{{text.length}}/10000</view></view> <view class="_div data-v-3efd7f86 commit"><button form-type="submit" hover-class="fade" disabled="{{commiting}}" class="_button data-v-3efd7f86">提交</button></view></form></view></view><view wx:else class="_div data-v-3efd7f86 LoadingMask"><image src="/static/imgs/loading.png" class="_img data-v-3efd7f86"></image></view></template>