|
@@ -4,8 +4,10 @@
|
|
|
<div :class="'alert-message-item ' + (isShow ? '' : (index < 5 ? 'show' + index : 'show'))" v-for="(item,index) in messageList" :key="index">
|
|
<div :class="'alert-message-item ' + (isShow ? '' : (index < 5 ? 'show' + index : 'show'))" v-for="(item,index) in messageList" :key="index">
|
|
|
<i class="el-icon-warning"></i>
|
|
<i class="el-icon-warning"></i>
|
|
|
<div class="alert-message-text" :title="item">{{item}}</div>
|
|
<div class="alert-message-text" :title="item">{{item}}</div>
|
|
|
- <i class="el-icon-arrow-down" style="font-weight: bold;" @click="switchShow" v-if="!isShow"></i>
|
|
|
|
|
- <i class="el-icon-arrow-up" style="font-weight: bold;" @click="switchShow" v-else-if="index==0"/>
|
|
|
|
|
|
|
+ <template v-if="messageList.length > 1">
|
|
|
|
|
+ <i class="el-icon-arrow-down" style="font-weight: bold;" @click="switchShow" v-if="!isShow"></i>
|
|
|
|
|
+ <i class="el-icon-arrow-up" style="font-weight: bold;" @click="switchShow" v-else-if="index==0"/>
|
|
|
|
|
+ </template>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|