login路由修正和h5界面适配
This commit is contained in:
parent
a272a73b3a
commit
f34035aebd
20
pages.json
20
pages.json
|
|
@ -3,10 +3,16 @@
|
|||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"lazyCodeLoading": "requiredComponents",
|
||||
"entryPagePath": "pages/login/index", // 专门指定登录页为初始页
|
||||
"entryPagePath": "pages/nearbystores/index", // 专门指定登录页为初始页
|
||||
"pages": [{
|
||||
"path": "pages/nearbystores/index",
|
||||
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
|
|
@ -21,14 +27,8 @@
|
|||
"navigationBarTextStyle": "#FFFFFF",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},{
|
||||
"path": "pages/nearbystores/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},{
|
||||
},
|
||||
{
|
||||
"path": "pages/my",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ page {
|
|||
}
|
||||
.subRow view{
|
||||
padding-right: 20px;
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.topLeft{
|
||||
font-size: 21px;
|
||||
|
|
@ -224,7 +224,7 @@ page {
|
|||
color: #522510;
|
||||
}
|
||||
.bottomRight{
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
font-weight: 1000;
|
||||
color: #522510;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@
|
|||
</view>
|
||||
<!-- 右侧图标 -->
|
||||
<view class="tubiao">
|
||||
<view class="">
|
||||
<view class="tubiao-item">
|
||||
<image v-if="false" src="https://api.ccttiot.com/smartmeter/img/static/uEC23p8oHigfvliOKvkL" mode=""></image>
|
||||
<image src="https://api.ccttiot.com/smartmeter/img/static/u0xTi5R31GxYwd7WxRhy" mode=""></image>
|
||||
</view>
|
||||
<view class="">
|
||||
<view class="tubiao-item">
|
||||
<image src="https://api.ccttiot.com/image-1753692152175.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -170,6 +170,25 @@ import { navigateToPage } from "../../utils/router.js";
|
|||
page {
|
||||
background-color: #fff;
|
||||
}
|
||||
.page {
|
||||
/* H5环境下的优化 */
|
||||
/* #ifdef H5 */
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
/* #endif */
|
||||
}
|
||||
.bj{
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
/* H5环境下的背景优化 */
|
||||
/* #ifdef H5 */
|
||||
object-fit: cover;
|
||||
/* #endif */
|
||||
}
|
||||
.bot{
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
|
|
@ -289,6 +308,16 @@ import { navigateToPage } from "../../utils/router.js";
|
|||
padding: 0 30rpx;
|
||||
box-sizing: border-box;
|
||||
justify-content: space-between;
|
||||
/* H5环境下的透明度和触摸优化 */
|
||||
/* #ifdef H5 */
|
||||
background: transparent;
|
||||
pointer-events: none;
|
||||
/* #endif */
|
||||
.tubiao-item {
|
||||
/* #ifdef H5 */
|
||||
pointer-events: auto;
|
||||
/* #endif */
|
||||
}
|
||||
image{
|
||||
width: 82rpx;
|
||||
height: 82rpx;
|
||||
|
|
@ -304,6 +333,11 @@ import { navigateToPage } from "../../utils/router.js";
|
|||
display: flex;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
/* H5环境下的透明度和触摸优化 */
|
||||
/* #ifdef H5 */
|
||||
background: transparent;
|
||||
pointer-events: none;
|
||||
/* #endif */
|
||||
.ggimg {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
|
|
@ -326,14 +360,6 @@ import { navigateToPage } from "../../utils/router.js";
|
|||
color: #522510;
|
||||
}
|
||||
}
|
||||
.bj{
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bot .list .li image {
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user