gz_safety_app_项目初始化

This commit is contained in:
binbin_pan 2024-12-17 09:25:52 +08:00
parent a1566e3076
commit 024fb2400a
1 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,10 @@
<view class="status_bar">
<div class="item" @click="goBack"><u-icon name="arrow-left" size="18" v-show="showBack" /></div>
<div class="item">{{ title }}</div>
<div class="item" @click="chickIcon"><u-icon :name="rightIcon" v-if="showRightIcon" size="20"></u-icon></div>
<div class="item" @click="chickIcon">
<u-icon :name="rightIcon" v-if="showRightIcon" size="20"></u-icon>
<u-text v-else-if="showRightText" type="primary" :text="text"></u-text>
</div>
</view>
<div class="status_bar_placeholder"></div>
</div>
@ -35,7 +38,11 @@ export default {
showRightIcon: {
type: Boolean,
default: false
}
},
text: {
type: String,
default: ''
},
},
data() {
return {}