|
<scroll-view class="list" scroll-y>
<text class="list-title">{{ api.pageParam.accessName }} 巡检项目</text>
<view class="list-item" v-for="(item,index) in this.data.inspectionlist">
<view class="goods-info" data-index={index} @click="showdefectV">
<text class="goods-title">{{ item.inspectionItem }}</text>
<view class="goods-main">
<text class="goods-title1">{{ item.equipmentName }}</text>
<img data-index={index} class="num-btn num-increase" @click="showdefectV"
src="../../images/icon__preorder-list--item-arrow.png" />
</view>
</view>
<view id={"view"+item.id} class={item.flag>0?'show':'none'}>
<!-- <dxx-loading loadingtext="录音..." :show="recordFlag" @closeview="touchend(index)"></dxx-loading> -->
<view class="goods-main">
<textarea id={"remark"+item.id} class="order-note-input" placeholder="如需录入请按住说话"
maxlength="100" />
</view>
<view class="goods-main">
<view id={item.id} class="main-cart-btn" @click="touchstart(item.id)">
<text class="main-cart-btn-text">{{ isEdit ? '按住 说话' : '松开 结束' }}</text>
</view>
<img src="../../images/read_str.png" alt="" class="record1" style={{ item.mp3Path!=""
? 'display:flex' : 'display:none' }} @click="readMp3(item.mp3Path)" />
<img src="../../images/upload.png" alt="" class="record1" style={{ item.mp3Path!=""
? 'display:flex' : 'display:none' }} @click="uploadFile(item)" />
</view>
</view>
</view>
</scroll-view> |
|