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.
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
<u-navbar :is-back="false" back-text="返回">
|
|
|
|
<view class="flex justify-center flex-1">
|
|
|
|
<view>我是标题</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: 'Title',
|
|
|
|
data() {
|
|
|
|
return { title: '加载中...' };
|
|
|
|
},
|
|
|
|
|
|
|
|
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>
|