You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
582 B
38 lines
582 B
10 months ago
|
<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>
|