94 lines
1.8 KiB
Vue
94 lines
1.8 KiB
Vue
<template>
|
|
<view class="">
|
|
<view class="tabbar">
|
|
<view class="" style="padding-top:var(--status-bar-height) ;">
|
|
</view>
|
|
|
|
<view class="" style="display: flex;">
|
|
<u--image src="/static/img/FH.png" width="50.82rpx" height="50.82rpx" alt=""></u--image>
|
|
<view class="scoll-list">
|
|
<view v-for="(item,index) in list" :key="index" class="scoll-list-li">
|
|
{{item.tit}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view style="background-color: #34D190;">
|
|
<view class="" style="padding-top:var(--status-bar-height) ;">
|
|
</view>
|
|
<view class="" style="height: 100rpx;">
|
|
|
|
</view>
|
|
</view>
|
|
<!-- 种植户首页 -->
|
|
<planting></planting>
|
|
<!-- 卖鱼的首页 -->
|
|
<fishing v-if='false'></fishing>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import {
|
|
reactive,
|
|
ref
|
|
} from 'vue';
|
|
import {
|
|
companyMine
|
|
} from "@/api/test.js";
|
|
import {
|
|
counterStore
|
|
} from '@/store/counter'
|
|
import {
|
|
onLoad
|
|
} from "@dcloudio/uni-app"
|
|
import planting from "@/components/index/planting.vue"
|
|
import fishing from "@/components/index/fishing.vue"
|
|
const list = reactive([{
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, {
|
|
tit: "土地种植管理"
|
|
}, ])
|
|
</script>
|
|
<style lang="scss">
|
|
.tabbar {
|
|
z-index: 999;
|
|
background-color: #34D190;
|
|
position: fixed;
|
|
padding: 20rpx 0;
|
|
|
|
.scoll-list {
|
|
white-space: nowrap;
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
width: 100%;
|
|
|
|
|
|
.scoll-list-li {
|
|
display: inline-block;
|
|
margin-right: 20px;
|
|
white-space: normal;
|
|
font-size: 33.29rpx;
|
|
transform: skewX(-10deg);
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
</style> |