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