fix: 修复 footer 点击

master
XuPeng 2020-12-17 11:06:21 +08:00
parent 162f53a17c
commit dfa2ebfcf8
3 changed files with 4 additions and 4 deletions

1
.gitignore vendored 100644
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -113,11 +113,10 @@ input {
.page-foot{
/* margin: 50px 0 0 0; */
margin: 50px 0 0 0;
margin: 50px 0;
margin-bottom: constant(safe-area-inset-bottom);
margin-bottom: env(safe-area-inset-bottom);
/* padding-bottom: 15px; */
padding-bottom: 15px;
padding-bottom: 30px;
text-align: center;
color: #1aad19;
font-size: 0;

View File

@ -1,5 +1,5 @@
<template name="foot">
<navigator class="page-foot" openType="switchTab" url="/pages/component/index" hover-class="none">
<navigator class="page-foot" openType="switchTab" url="/pages/component/index/index" hover-class="none">
<image class="icon-foot" src="../../../image/icon_foot.png"></image>
</navigator>
</template>