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.
63 lines
1.2 KiB
63 lines
1.2 KiB
<template> |
|
<!--顶部导航栏--> |
|
<view class=""> |
|
<image src="https://zsy-m.mianyang.cn/upload/2022/03/25/0f1c0d9b-b328-46a9-a46d-acdf33275980.jpg" mode="" |
|
style="height: 107vh;width: 100vw;"></image> |
|
</view> |
|
|
|
</template> |
|
|
|
<script> |
|
import LandCost from "../../component/landCost.vue" |
|
import HumanCost from "../../component/humanCost.vue" |
|
import EnergyCost from "../../component/energyCost.vue" |
|
|
|
export default { |
|
components: { |
|
LandCost, |
|
HumanCost, |
|
EnergyCost |
|
}, |
|
data() { |
|
return { |
|
// 当前属于哪一分类 |
|
classify: "", |
|
tabIndex: 1, //选中标签栏的序列 |
|
tabBars: [{ |
|
name: '人力成本', |
|
id: '0' |
|
}, |
|
{ |
|
name: '土地成本', |
|
id: '1' |
|
}, |
|
{ |
|
name: '能源成本', |
|
id: '2' |
|
}, |
|
], |
|
} |
|
}, |
|
methods: { |
|
toggleTab(index) { |
|
this.tabIndex = index; |
|
}, |
|
}, |
|
onShareAppMessage() { |
|
return { |
|
title: "", // 默认是小程序的名称(可以写slogan等) |
|
path: '/pages/IndustrialBase/IndustrialBase', |
|
} |
|
}, |
|
onLoad(options) { |
|
console.log(options); |
|
this.classify = options.id |
|
|
|
} |
|
} |
|
</script> |
|
|
|
|
|
<style lang="scss"> |
|
@import "./IndustrialBase.scss" |
|
</style>
|
|
|