2023-02-03 10:05:19 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="main">
|
|
|
|
|
<!-- 头部 -->
|
2023-02-03 14:19:23 +08:00
|
|
|
|
<status-nav></status-nav>
|
2023-02-03 10:05:19 +08:00
|
|
|
|
<!-- 计算器 -->
|
|
|
|
|
<view class="calculator-bg">
|
|
|
|
|
<view class="bg-img">
|
|
|
|
|
<image src="/static/count-bg.png" mode="widthFix"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="calculator calculator-other" style="padding-top: 0;">
|
2023-02-03 11:48:52 +08:00
|
|
|
|
<view class="iframe-box">
|
|
|
|
|
<iframe src="https://www.baidu.com" frameborder="0"></iframe>
|
2023-02-03 10:05:19 +08:00
|
|
|
|
</view>
|
2023-02-03 14:19:23 +08:00
|
|
|
|
<!-- 导航 -->
|
|
|
|
|
<tabbar :current='3'></tabbar>
|
2023-02-03 10:05:19 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 轮播 -->
|
|
|
|
|
<view class="banner">
|
|
|
|
|
<swiper-pull></swiper-pull>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 底部 -->
|
|
|
|
|
<view class="footer">
|
|
|
|
|
<text>中国绿色碳汇基金会低碳旅游专项基金监制,北京凯来美气候技术咨询有限公司开发。</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2023-02-03 14:19:23 +08:00
|
|
|
|
import statusNav from '@/components/status-nav/status-nav.vue';
|
|
|
|
|
import tabbar from '@/components/tabbar/tabbar.vue';
|
2023-02-03 10:05:19 +08:00
|
|
|
|
import swiperPull from '@/components/swiper/swiper-pull.vue';
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
2023-02-03 14:19:23 +08:00
|
|
|
|
statusNav,
|
|
|
|
|
tabbar,
|
2023-02-03 10:05:19 +08:00
|
|
|
|
swiperPull
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
statusHeight: uni.getSystemInfoSync().statusBarHeight, //状态栏高度
|
|
|
|
|
member: 0, //家庭成员
|
|
|
|
|
total: 0, //总计
|
|
|
|
|
subTotal: [], //小计
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad(op) {
|
2023-02-03 14:19:23 +08:00
|
|
|
|
if (uni.getStorageSync('allTotal')) {
|
|
|
|
|
this.total = uni.getStorageSync('allTotal');
|
2023-02-03 10:05:19 +08:00
|
|
|
|
}
|
|
|
|
|
if (uni.getStorageSync('subTotal')) {
|
|
|
|
|
this.subTotal = uni.getStorageSync('subTotal');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2023-02-03 18:02:22 +08:00
|
|
|
|
|
2023-02-03 10:05:19 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
</style>
|