zhang_li
4 months ago
5 changed files with 73 additions and 7 deletions
@ -0,0 +1,37 @@ |
|||
<template> |
|||
<view class="card_view "> |
|||
<text class="card_level">{{title}}</text> |
|||
<text class="card_big_content" style="font-size: 40rpx;">{{getPriorityName1()}}</text> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import {getPriorityName} from '@/common/directory.js'; |
|||
export default { |
|||
components: { |
|||
}, |
|||
data() { |
|||
return {} |
|||
}, |
|||
props: { |
|||
priority: { |
|||
type: String, |
|||
default:'2' |
|||
}, |
|||
title: { |
|||
type: String, |
|||
default: '优先级' |
|||
}, |
|||
|
|||
}, |
|||
methods:{ |
|||
getPriorityName1(){ |
|||
return getPriorityName(this.priority) |
|||
} |
|||
}, |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
</style> |
Loading…
Reference in new issue