Commit ac7aec34 authored by 张海景's avatar 张海景

update:修改侧边栏和logo宽度

parent 59d0b6fe
<template> <template>
<view class="common-container"> <view class="common-container">
<!-- <u-button @click="handleTest">跳转测试</u-button> -->
<view class="header"> <view class="header">
<image mode="widthFix" class="header-logo" style="width: 110px;margin: 10px auto;display: block;" <image mode="widthFix" class="header-logo" style="width: 100px;margin: 10px auto;display: block;"
src="/static/logo.png"></image> src="/static/logo.png"></image>
<TabHeader></TabHeader> <TabHeader></TabHeader>
<view class="setting-body" <view class="setting-body"
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
import QcContent from "../mes/qc/index.vue" import QcContent from "../mes/qc/index.vue"
import ProdReport from "../mes/prodReport/index.vue" import ProdReport from "../mes/prodReport/index.vue"
import DictData from '@/components/DictData' import DictData from '@/components/DictData'
import UButton from '../../uview-ui/components/u-button/u-button.vue'
export default { export default {
name: 'HomePage', name: 'HomePage',
...@@ -63,7 +65,8 @@ ...@@ -63,7 +65,8 @@
ProContent, ProContent,
GxContent, GxContent,
QcContent, QcContent,
ProdReport ProdReport,
UButton
}, },
data() { data() {
return { return {
...@@ -97,6 +100,11 @@ ...@@ -97,6 +100,11 @@
uni.$off('changeWorkunit'); uni.$off('changeWorkunit');
}, },
methods: { methods: {
handleTest() {
uni.navigateTo({
url:'/pages/test/test'
})
},
//用户部分点击 //用户部分点击
handleUserTaped() { handleUserTaped() {
console.log("TAPED") console.log("TAPED")
...@@ -198,7 +206,7 @@ ...@@ -198,7 +206,7 @@
} }
.header { .header {
width: 120px; width: 110px;
background-color: #132138; background-color: #132138;
color: aliceblue; color: aliceblue;
font-size: 25px; font-size: 25px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment