detail.wxml
6.36 KB
<view class="main data-v-3d8fdd57"><view class="toptitle data-v-3d8fdd57"><view data-event-opts="{{[['tap',[['ht',['$event']]]]]}}" class="toptitle_left data-v-3d8fdd57" bindtap="__e"><u-icon vue-id="746c4e8f-1" name="arrow-left" color="#fff" size="20" class="data-v-3d8fdd57" bind:__l="__l"></u-icon></view><view class="toptitle_title data-v-3d8fdd57"> 备件详情 </view></view><view style="padding:10px;background-color:#fff;border-radius:5px;margin-bottom:15px;" class="data-v-3d8fdd57"><u-subsection vue-id="746c4e8f-2" list="{{list}}" fontSize="14" activeColor="#0052D8" current="{{current}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-3d8fdd57" bind:__l="__l"></u-subsection></view><block wx:if="{{current==0}}"><view class="box data-v-3d8fdd57"><view class="tips data-v-3d8fdd57"><view class="tip data-v-3d8fdd57"></view><view class="tiptitle data-v-3d8fdd57"> 基础资料 </view></view><view class="box_item data-v-3d8fdd57"><view class="f1 data-v-3d8fdd57">备件名称</view><view class="f2 data-v-3d8fdd57">{{info.mc}}</view></view><view class="box_item data-v-3d8fdd57"><view class="f1 data-v-3d8fdd57">所属设备</view><view class="f2 data-v-3d8fdd57">{{info.sssb==null?'':info.sssb}}</view></view><view class="box_item data-v-3d8fdd57"><view class="f1 data-v-3d8fdd57">备件编号</view><view class="f2 data-v-3d8fdd57">{{info.bh==null?'':info.bh}}</view></view><view class="box_item data-v-3d8fdd57"><label class="f1 _span data-v-3d8fdd57">备件位置</label><label class="f2 _span data-v-3d8fdd57">{{info.bjwz==null?"":info.bjwz}}</label></view><view class="box_item data-v-3d8fdd57" style="display:flex;flex-direction:column;align-items:flex-start;"><view class="f1 data-v-3d8fdd57" style="margin-bottom:15px;">备件介绍</view><view class="f2 data-v-3d8fdd57"><rich-text nodes="{{info.sbjs}}"></rich-text></view></view><view class="box_item data-v-3d8fdd57"><view class="f1 data-v-3d8fdd57">更换指引</view><view class="f2 data-v-3d8fdd57">{{info.ghzy==null?'':info.ghzy}}</view></view><view class="box_item data-v-3d8fdd57"><view class="f1 data-v-3d8fdd57">订货周期</view><view class="f2 data-v-3d8fdd57">{{info.dhzq==null?'':info.dhzq}}</view></view></view></block><block wx:if="{{current==1}}"><view class="box1 data-v-3d8fdd57"><view class="tips data-v-3d8fdd57"><view class="tip data-v-3d8fdd57"></view><view class="tiptitle data-v-3d8fdd57"> 随机工具 </view></view><block wx:for="{{info.sjbj}}" wx:for-item="item" wx:for-index="__i0__"><view class="box_item1 data-v-3d8fdd57"><view class="left data-v-3d8fdd57"><view class="left_image data-v-3d8fdd57"><block wx:if="{{item.type=='pdf'}}"><image src="../../../static/PDF.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='doc'||item.type=='docx'}}"><image src="../../../static/WORD.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='xlsx'||item.type=='xls'}}"><image src="../../../static/WORD.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='png'||item.type=='jpg'||item.type=='jpeg'}}"><image src="../../../static/img/picture.png" mode class="data-v-3d8fdd57"></image></block></view><view class="l_title data-v-3d8fdd57"><view class="l_title_f1 data-v-3d8fdd57">{{''+item.name+''}}</view></view></view><view data-event-opts="{{[['tap',[['ylwj',['$0','$1'],[[['info.sjbj','',__i0__,'url']],[['info.sjbj','',__i0__,'type']]]]]]]}}" class="right data-v-3d8fdd57" bindtap="__e"><u-button vue-id="{{'746c4e8f-3-'+__i0__}}" size="small" type="primary" text="查看" class="data-v-3d8fdd57" bind:__l="__l"></u-button></view></view></block></view></block><block wx:if="{{current==2}}"><view class="box1 data-v-3d8fdd57"><view class="tips data-v-3d8fdd57"><view class="tip data-v-3d8fdd57"></view><view class="tiptitle data-v-3d8fdd57"> 一年备件 </view></view><block wx:for="{{info.ynbj}}" wx:for-item="item" wx:for-index="__i1__"><view class="box_item1 data-v-3d8fdd57"><view class="left data-v-3d8fdd57"><view class="left_image data-v-3d8fdd57"><block wx:if="{{item.type=='pdf'}}"><image src="../../../static/PDF.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='doc'||item.type=='docx'}}"><image src="../../../static/WORD.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='xlsx'||item.type=='xls'}}"><image src="../../../static/WORD.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='png'||item.type=='jpg'||item.type=='jpeg'}}"><image src="../../../static/img/picture.png" mode class="data-v-3d8fdd57"></image></block></view><view class="l_title data-v-3d8fdd57"><view class="l_title_f1 data-v-3d8fdd57">{{''+item.name+''}}</view></view></view><view data-event-opts="{{[['tap',[['ylwj',['$0','$1'],[[['info.ynbj','',__i1__,'url']],[['info.ynbj','',__i1__,'type']]]]]]]}}" class="right data-v-3d8fdd57" bindtap="__e"><u-button vue-id="{{'746c4e8f-4-'+__i1__}}" size="small" type="primary" text="查看" class="data-v-3d8fdd57" bind:__l="__l"></u-button></view></view></block></view></block><block wx:if="{{current==3}}"><view class="box1 data-v-3d8fdd57"><view class="tips data-v-3d8fdd57"><view class="tip data-v-3d8fdd57"></view><view class="tiptitle data-v-3d8fdd57"> 两年备件 </view></view><block wx:for="{{info.lnbj}}" wx:for-item="item" wx:for-index="__i2__"><view class="box_item1 data-v-3d8fdd57"><view class="left data-v-3d8fdd57"><view class="left_image data-v-3d8fdd57"><block wx:if="{{item.type=='pdf'}}"><image src="../../../static/PDF.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='doc'||item.type=='docx'}}"><image src="../../../static/WORD.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='xlsx'||item.type=='xls'}}"><image src="../../../static/WORD.png" mode class="data-v-3d8fdd57"></image></block><block wx:if="{{item.type=='png'||item.type=='jpg'||item.type=='jpeg'}}"><image src="../../../static/img/picture.png" mode class="data-v-3d8fdd57"></image></block></view><view class="l_title data-v-3d8fdd57"><view class="l_title_f1 data-v-3d8fdd57">{{''+item.name+''}}</view></view></view><view data-event-opts="{{[['tap',[['ylwj',['$0','$1'],[[['info.lnbj','',__i2__,'url']],[['info.lnbj','',__i2__,'type']]]]]]]}}" class="right data-v-3d8fdd57" bindtap="__e"><u-button vue-id="{{'746c4e8f-5-'+__i2__}}" size="small" type="primary" text="查看" class="data-v-3d8fdd57" bind:__l="__l"></u-button></view></view></block></view></block></view>