项目正常启动
This commit is contained in:
40
App.uvue
40
App.uvue
@@ -1,5 +1,11 @@
|
||||
<template>
|
||||
<view class="app-root">
|
||||
<view class="dev-probe">APP 已挂载(dev probe)</view>
|
||||
<view class="dev-nav">
|
||||
<a class="dev-nav-btn" href="#/pages/user/boot">去启动页 boot</a>
|
||||
<a class="dev-nav-btn" href="#/pages/user/login">去登录 login</a>
|
||||
<a class="dev-nav-btn" href="#/pages/mall/consumer/index">去商城首页</a>
|
||||
</view>
|
||||
<slot />
|
||||
</view>
|
||||
</template>
|
||||
@@ -11,4 +17,38 @@
|
||||
.app-root {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.dev-probe {
|
||||
position: fixed;
|
||||
left: 16rpx;
|
||||
top: 16rpx;
|
||||
z-index: 999999;
|
||||
padding: 10rpx 14rpx;
|
||||
border-radius: 12rpx;
|
||||
background: rgba(17, 24, 39, 0.82);
|
||||
color: #fff;
|
||||
font-size: 22rpx;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.dev-nav {
|
||||
position: fixed;
|
||||
left: 16rpx;
|
||||
top: 64rpx;
|
||||
z-index: 999999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10rpx;
|
||||
}
|
||||
|
||||
.dev-nav-btn {
|
||||
display: inline-block;
|
||||
padding: 10rpx 14rpx;
|
||||
border-radius: 12rpx;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
color: #111827;
|
||||
font-size: 22rpx;
|
||||
border: 2rpx solid rgba(17, 24, 39, 0.12);
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user