Files
tk-mini-program/pages/Forum/Forum.vue

102 lines
1.8 KiB
Vue
Raw Normal View History

2025-06-06 22:36:41 +08:00
<template>
2025-06-23 22:00:46 +08:00
<view class="forum">
<view class="bg">
<image
class="bgImg"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png"
mode="scaleToFill"
/>
2025-06-06 22:36:41 +08:00
</view>
2025-06-24 14:46:01 +08:00
<view class="title">站内信</view>
2025-06-23 22:00:46 +08:00
</view>
<view class="content">
<view class="building">
<view>
<image
style="width: 500rpx"
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png"
mode="scaleToFill"
/>
2025-06-19 22:27:00 +08:00
</view>
2025-06-24 14:46:01 +08:00
<view class="buildingTitle">暂无数据</view>
2025-06-06 22:36:41 +08:00
</view>
2025-06-23 22:00:46 +08:00
</view>
<view class="tabBar">
2025-06-11 22:16:44 +08:00
<tabBar :tabIndex="1"></tabBar>
2025-06-06 22:36:41 +08:00
</view>
</template>
<script>
import tabBar from "../../components/tabBar/tabBar";
2025-06-23 22:00:46 +08:00
export default {
data() {
return {
title: "Hello",
};
},
onShareAppMessage(res) {
if (res.from === "menu") {
return {
title: "分享",
path: getCurrentPages()[getCurrentPages().length - 1].route,
};
2025-06-06 22:36:41 +08:00
}
2025-06-23 22:00:46 +08:00
},
onLoad() {
// 页面加载时执行
},
methods: {
// 方法定义
},
components: {
tabBar,
},
};
2025-06-06 22:36:41 +08:00
</script>
<style scoped>
.bg {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.bgImg {
width: 100%;
height: 100%;
}
.title {
position: absolute;
top: 120rpx;
left: 345rpx;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
}
2025-06-19 22:27:00 +08:00
/* 建设中 */
2025-06-23 22:00:46 +08:00
.content {
2025-06-19 22:27:00 +08:00
position: absolute;
top: 250rpx;
left: 0rpx;
right: 0rpx;
bottom: 100rpx;
}
2025-06-23 22:00:46 +08:00
.building {
2025-06-19 22:27:00 +08:00
width: 100%;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
2025-06-23 22:00:46 +08:00
.buildingTitle {
2025-06-19 22:27:00 +08:00
font-size: 40rpx;
color: #999999;
font-weight: bold;
text-align: center;
margin-top: 50rpx;
}
2025-06-23 22:00:46 +08:00
</style>