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.
179 lines
3.5 KiB
179 lines
3.5 KiB
<template>
|
|
<view>
|
|
<image class="gzt-image" src="/static/gzt-bg.png"></image>
|
|
<view class="content">
|
|
<view class="header">
|
|
<view class="fill">
|
|
<uni-icons type="left" :size="27" color="@fff" style="padding-left: 12px;"
|
|
@click="backTo"></uni-icons>
|
|
</view>
|
|
<view class="fill title">工作台</view>
|
|
<view class="fill" style="text-align: right;">
|
|
<uni-icons type="contact" :size="27" color="@fff" style="padding-right: 12px;"
|
|
@click="toMine()"></uni-icons>
|
|
</view>
|
|
</view>
|
|
<view class="panel">
|
|
<view class="action">
|
|
<view class="title2">草原核查数据</view>
|
|
<view class="flex" style="margin-top: 24px;">
|
|
<view class="action-btn fill flex" style="margin-right: 12px;justify-content: flex-start;"
|
|
@click="toSjsb">
|
|
<image src="/static/sjsb.png" class="action-img"></image>
|
|
<text class="action-text">数据上报</text>
|
|
<image src="/static/jr.png" class="action-arrow"></image>
|
|
</view>
|
|
<view class="action-btn fill flex" @click="toSjgl">
|
|
<image src="/static/sjgl.png" class="action-img"></image>
|
|
<text class="action-text">数据管理</text>
|
|
<image src="/static/jr.png" class="action-arrow"></image>
|
|
</view>
|
|
</view>
|
|
<view class="flex" style="margin-top: 12px;">
|
|
<view class="action-btn fill flex" style="align-items: center;justify-content: flex-start;"
|
|
@click="toLssjgl">
|
|
<image src="/static/sjgl.png" class="action-img"></image>
|
|
<text class="action-text">临时数据管理</text>
|
|
<image src="/static/jr.png" class="action-arrow"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<uni-drawer ref="drawer" mode="right" :mask-click="false">
|
|
<scroll-view style="height: 100%;" scroll-y="true">
|
|
<button type="primary">关闭Drawer</button>
|
|
</scroll-view>
|
|
</uni-drawer>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
token: ''
|
|
}
|
|
},
|
|
methods: {
|
|
toMine() {
|
|
uni.navigateTo({
|
|
url: '/pages/mine/mine'
|
|
})
|
|
},
|
|
toSjsb() {
|
|
uni.navigateTo({
|
|
url: '/pages/sjsb/sjsb'
|
|
})
|
|
},
|
|
toLssjgl() {
|
|
uni.navigateTo({
|
|
url: '/pages/lssjgl/lssjgl'
|
|
})
|
|
},
|
|
toSjgl() {
|
|
uni.navigateTo({
|
|
url: '/pages/sjgl/sjgl'
|
|
})
|
|
},
|
|
backTo() {
|
|
uni.navigateBack()
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.action-text {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.action-img {
|
|
width: 48px;
|
|
height: 48px;
|
|
margin-bottom: -14px;
|
|
}
|
|
|
|
.action-icon {
|
|
color: #fff;
|
|
|
|
font-size: 27px;
|
|
font-weight: bold;
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.action-arrow {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.action-btn {
|
|
background: #FBFBFD;
|
|
border-radius: 15px;
|
|
padding: 16px 4px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.gzt-image {
|
|
height: 300px;
|
|
width: 100vw;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding-top: 48px;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
color: #fff;
|
|
z-index: 1;
|
|
align-items: center;
|
|
}
|
|
|
|
.title {
|
|
text-align: center;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.fill {
|
|
flex: 1;
|
|
height: 28px;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 20px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.action {
|
|
height: 230px;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
|
border-radius: 20px;
|
|
padding: 24px 12px;
|
|
}
|
|
|
|
.title2 {
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
color: #222222;
|
|
}
|
|
</style> |