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.

44 lines
1.2 KiB

<template>
<view>
<u-navbar :is-back="false" back-text="返回" class="overflow-hidden">
<view class="flex justify-start px-3 font-bold" style="width: 460rpx">
<view class="truncate">{{ project.name }}</view>
</view>
<view class="mr-2" slot="right">
<u-icon class="m-1" name="xuanzhong2" custom-prefix="custom-icon" size="20px" @click="lwbs"></u-icon>
<u-icon class="m-1" name="shuaxin1" custom-prefix="custom-icon" size="20px" @click="projectOverview"></u-icon>
<u-icon class="m-1" name="home" custom-prefix="custom-icon" size="20px" @click="statistics"></u-icon>
<u-icon class="m-1" name="xuanxiang" custom-prefix="custom-icon" size="20px" @click="operation"></u-icon>
</view>
</u-navbar>
</view>
</template>
<script>
import { mapState } from 'vuex';
export default {
name: 'ProjectTitle',
computed: mapState('project', ['project']),
methods: {
// LWBS提示
lwbs() {
this.$t.ui.showToast('LWBS');
},
//项目概览
projectOverview() {
this.$t.ui.showToast('项目概览');
},
//统计
statistics() {
this.$t.ui.showToast('统计');
},
//操作
operation() {
this.$t.ui.showToast('操作');
},
},
};
</script>