zoukankan      html  css  js  c++  java
  • v-for v-if || v-else

            <el-col>
                    <div v-for="item in resultDetail" class="physical-content"  v-if="item.ProjectId!='3' ">
                            <el-col :span="8">
                                <div class="physical-box">
                                    <el-col :span="12" class='physical-icon'>
                                        <img v-bind:src="item.ProjectId | formatIconImg" />
                                    </el-col>
                                    <el-col :span="12" class='physical-text'>
                                        <span>{{ item.Name }}</span><br>
                                        <span v-if="item.IsTest==true " style="color:red">无法测试</span>
                                        <span v-else>{{ item.Result }} {{item.ProjectId|formatUnit}}</span>
                                    </el-col>
                                </div>
                            </el-col>
                        </div>
                    </el-col>
    
    
     <el-button v-if="resultMaster.TestStatus==true" class="btn-css-green" v-on:click="exportReport(resultMaster.ChildName)">导出报告 </el-button >
    <el-button v-else class="btn-css-green-disabled" :disabled="true" >报告导出</el-button>
    
  • 相关阅读:
    索引压缩
    拼写校正
    词典(词汇表)
    Text Relatives II
    Text Relatives
    CoreText
    Quartz2D Text
    PDF Document Creation, Viewing
    Core Graphics Layer Drawing
    Bitmap Images and Image Masks
  • 原文地址:https://www.cnblogs.com/yancongyang/p/7216490.html
Copyright © 2011-2022 走看看