基本调试
This commit is contained in:
parent
bb450be04f
commit
149838c727
@ -13,8 +13,11 @@
|
|||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
<view class="navigation">
|
<view class="navigation">
|
||||||
<view @click="changeCurrent(index)" class="nav-item" v-for="(item,index) in navicationList" :key="index">
|
<view @click="changeCurrent(index)" class="nav-item"
|
||||||
|
:class="current===index?'nav-item-selected':''"
|
||||||
|
v-for="(item,index) in navicationList" :key="index">
|
||||||
<image :src="fileUrl+(current===index?item.select:item.icon)"></image>
|
<image :src="fileUrl+(current===index?item.select:item.icon)"></image>
|
||||||
|
<text>{{ item.name }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<Loading :show="loading" />
|
<Loading :show="loading" />
|
||||||
@ -128,32 +131,45 @@ export default {
|
|||||||
.mobile-index{
|
.mobile-index{
|
||||||
position: relative;
|
position: relative;
|
||||||
// width: 100%;
|
// width: 100%;
|
||||||
// min-height: 100vh;
|
min-height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
flex-direction: column;
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
height: 100%;
|
||||||
.upage{
|
.upage{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: calc(100vh - 114rpx - constant(safe-area-inset-bottom));
|
||||||
|
height: calc(100vh - 114rpx - env(safe-area-inset-bottom));
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.navigation{
|
.navigation{
|
||||||
width: 80%;
|
width: 100%;
|
||||||
height: 128rpx;
|
// height: 126rpx;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 15rpx;
|
bottom: 0;
|
||||||
z-index: 85;
|
z-index: 90;
|
||||||
display: flex;
|
display: flex;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border-radius: 40rpx;
|
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
padding: 25rpx;
|
padding-top: 18rpx;
|
||||||
|
padding-bottom: calc(10rpx + constant(safe-area-inset-bottom));
|
||||||
|
padding-bottom: calc(10rpx + env(safe-area-inset-bottom));
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-size: cover;
|
border-top: 2rpx solid #E6E6E6;
|
||||||
filter: drop-shadow(0 0 10rpx rgba(0,0,0,0.4));
|
.nav-item-selected{
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
.nav-item{
|
.nav-item{
|
||||||
width: 54rpx;
|
font-family: Source Han Sans SC;
|
||||||
height: 85rpx;
|
font-size: 26rpx;
|
||||||
|
color: #666666;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
image{
|
image{
|
||||||
width: 100%;
|
width: 42rpx;
|
||||||
height: 100%;
|
height: 42rpx;
|
||||||
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
14
package.json
Normal file
14
package.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "utils",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"dependencies": {
|
||||||
|
"jsencrypt": "^3.3.2"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user