4 changed files with 52 additions and 45 deletions
-
4src/main.js
-
36src/views/common/selectDiv.vue
-
32src/views/common/yzz.vue
-
25src/views/modules/sampleManagement/technicalSpecificationList/technicalSpecificationList.vue
@ -0,0 +1,36 @@ |
|||
<template> |
|||
<div class="mod-config"> |
|||
<div style="float:left; margin-top: 10px; font-size: 13px"> |
|||
<label style="color: gray">共</label> |
|||
<label style="color: #17B3A3">{{ length1 }}</label> |
|||
<label style="color: gray"> 条 记 录,已 选 </label> |
|||
<label style="color: #17B3A3">{{ length2 }}</label> |
|||
<label style="color: gray"> 条</label> |
|||
</div> |
|||
|
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'yzz', |
|||
data () { |
|||
return { |
|||
length1:0, |
|||
length2:0, |
|||
} |
|||
}, |
|||
methods: { |
|||
setLengthAll(num){ |
|||
this.length1=num |
|||
}, |
|||
setLengthselected(num){ |
|||
this.length2=num |
|||
}, |
|||
}, |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
|
|||
</style> |
|||
@ -1,32 +0,0 @@ |
|||
<template> |
|||
<div class="tag"> |
|||
<span class="tag-label">大傻逼</span> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'yzz', |
|||
props: { |
|||
label: { |
|||
type: String, |
|||
required: true |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
.tag { |
|||
display: inline-block; |
|||
background-color: #007bff; |
|||
color: #fff; |
|||
border-radius: 4px; |
|||
padding: 4px 8px; |
|||
margin-right: 8px; |
|||
} |
|||
|
|||
.tag-label { |
|||
font-size: 14px; |
|||
} |
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue