| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <template>
- <view class="container">
- <image class="bg" src="/static/image/bg_bench.png" mode="widthFix"></image>
- <view class="status_bar" :style="{height: statusBarHeight}"></view>
- <view class="content">
- <view class="title">工作台</view>
- <view class="summary-section ">
- <view class="summary-header">
- <view class="summary-indicator"></view>
- <text class="summary-title">互联网</text>
- </view>
- <view class="list">
- <view class="item" @click="navTo('/pages_task/xlTask')">
- <image class="icon" src="/static/image/xl.png"></image>
- <text>XL任务</text>
- </view>
- <view class="item" @click="navTo('/pages_speaker/index')">
- <image class="icon" src="/static/image/speaker.png" ></image>
- <text>讲者管理</text>
- </view>
- </view>
- <view class="summary-header">
- <view class="summary-indicator"></view>
- <text class="summary-title">行政管理</text>
- </view>
- <view class="list">
- <view class="item" @click="navTo('/pages_task/approvalCenter')">
- <image class="icon" src="/static/image/approval.png"></image>
- <text>审批中心</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- // 状态栏的高度
- // statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
- statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px',
- }
- },
- computed: {
- },
- watch: {
- },
- onLoad() {
- },
- onReachBottom() {},
- methods: {
- navTo(url) {
- uni.navigateTo({
- url: url
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- position: relative;
- .bg {
- width: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .content {
- width: 100%;
- height: 100%;
- position: relative;
- z-index: 2;
- .title {
- font-weight: 600;
- font-size: 36rpx;
- color: #333333;
- height: 88rpx;
- text-align: center;
- line-height: 88rpx;
- }
- .summary-section {
- padding: 32rpx 24rpx;
- display: flex;
- flex-direction: column;
- .summary-header {
- display: flex;
- align-items: center;
- margin-bottom: 24rpx;
- .summary-indicator {
- width: 6rpx;
- height: 32rpx;
- background: #388BFF;
- border-radius: 40rpx;
- margin-right: 16rpx;
- }
- .summary-title {
- font-size: 36rpx;
- font-weight: bold;
- color: #333;
- }
- }
- }
- .list {
- display: flex;
- align-items: center;
- margin-bottom: 40rpx;
- .item {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- width: 170rpx;
- height: 184rpx;
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- font-size: 28rpx;
- color: #333333;
- .icon {
- width: 88rpx;
- height: 88rpx;
- margin-bottom: 16rpx;
- }
- }
- }
- }
- }
- </style>
|