@@ -1,6 +1,6 @@
<template>
<view class="item">
- <view class="i_title">
+ <view class="i_title" v-if="showTitle">
<image src="../../static/imgs/fmcs_title.png"></image>
<text>{{title}}</text>
</view>
@@ -14,6 +14,10 @@
<script>
export default {
props:{
+ showTitle:{
+ typeof:Boolean,
+ default:true
+ },
title:{
typeof:String,
default:''