功能:新增微信小程序界面
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
Page({
|
||||
onLoad() {
|
||||
wx.switchTab({
|
||||
url: '/pages/home/index'
|
||||
})
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"navigation-bar": "/components/navigation-bar/navigation-bar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<navigation-bar title="Yumi Nail" back="{{false}}" color="#2d2430" background="#fff7f8"></navigation-bar>
|
||||
<view class="redirect-page">
|
||||
<view class="redirect-card">
|
||||
<view class="redirect-title">正在进入首页</view>
|
||||
<view class="redirect-desc">这个 `pages/index` 是初始化遗留页,当前实际首页是 `pages/home/index`。</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,33 @@
|
||||
page {
|
||||
height: 100vh;
|
||||
background: #fff7f8;
|
||||
}
|
||||
|
||||
.redirect-page {
|
||||
min-height: calc(100vh - 88rpx);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 32rpx;
|
||||
}
|
||||
|
||||
.redirect-card {
|
||||
width: 100%;
|
||||
padding: 40rpx 32rpx;
|
||||
border-radius: 28rpx;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 18rpx 50rpx rgba(122, 67, 88, 0.08);
|
||||
}
|
||||
|
||||
.redirect-title {
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
color: #2d2430;
|
||||
}
|
||||
|
||||
.redirect-desc {
|
||||
margin-top: 18rpx;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.7;
|
||||
color: #8d7a84;
|
||||
}
|
||||
Reference in New Issue
Block a user