提交 454de184 作者: 方治民

feat(page): 新增公共“开发中”路由页

上级 fb362f3a
......@@ -8,6 +8,23 @@
}
},
// === 空页面(开发中...) ===
{
"path": "pages/common/coding/coding",
"style": {
// #ifdef H5
"titleNView": false,
// #endif
"navigationBarTitleText": "开发中",
"enablePullDownRefresh": false,
"backgroundColorTop": "#FFFFFF",
"backgroundColorBottom": "#FFFFFF",
"backgroundColor": "#FFFFFE",
"mp-alipay": {
"allowsBounceVertical": "YES"
}
}
},
// === 版本更新 ===
{
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
......
<template>
<view class="fui-wrap">
<view class="fui-content__box">
<view class="fui-img__box">
<image :src="`${resUrl}/common/img_coding_3x.png`" class="fui-img" mode="widthFix" />
</view>
<view class="fui-title">开发中</view>
<view class="fui-sub__title">功能开发中,敬请期待!</view>
<view class="fui-btn__box">
<fui-button
text="返回首页"
:size="28"
width="336rpx"
height="84rpx"
radius="100rpx"
background="#fff"
borderColor="#465CFF"
color="#465CFF"
@click="goIndex"
/>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
resUrl: this.fui.resUrl(),
}
},
methods: {
goIndex() {
this.fui.href('/pages/tabbar/index/index', true)
},
},
}
</script>
<style>
page {
background-color: #fff;
font-weight: normal;
}
.fui-content__box {
width: 100%;
position: fixed;
left: 0;
top: 50%;
transform: translateY(-50%);
}
.fui-img__box {
width: 100%;
height: 320rpx;
padding: 0 87rpx;
box-sizing: border-box;
}
.fui-img {
width: 100%;
height: 318rpx;
display: block;
}
.fui-title {
text-align: center;
font-weight: 500;
color: #333333;
padding-top: 48rpx;
}
.fui-sub__title {
text-align: center;
font-size: 24rpx;
font-weight: 400;
color: #b2b2b2;
padding-top: 8rpx;
}
.fui-btn__box {
width: 100%;
display: flex;
justify-content: center;
padding-top: 64rpx;
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论