Commit 5805edcc by agan

添加返回按钮

parent 1fc3c551
...@@ -100,8 +100,10 @@ ...@@ -100,8 +100,10 @@
width: 10rem; width: 10rem;
height: 42.333rem; height: 42.333rem;
background: url(../img/new2/guide1.png) no-repeat; background: url(../img/new2/guide1.png) no-repeat;
background-size: 100% 100%; background-size: contain;
margin: 0 auto; margin: 0 auto;
position: relative;
padding-bottom: 2.133rem;
} }
.iosDown2 { .iosDown2 {
background: url(../img/new2/dbutton2.png) no-repeat; background: url(../img/new2/dbutton2.png) no-repeat;
...@@ -132,8 +134,32 @@ ...@@ -132,8 +134,32 @@
width: 10rem; width: 10rem;
height: 53.907rem; height: 53.907rem;
background: url(../img/new2/guide2.png) no-repeat; background: url(../img/new2/guide2.png) no-repeat;
background-size: 100% 100%; background-size: contain;
margin: 0 auto; margin: 0 auto;
position: relative;
padding-bottom: 2.133rem;
}
.goBack{
width: 10rem;
height: 2.133rem;
position: fixed;
bottom: 0;
background-color: #ea277d;
}
.backBtn{
width: 7.173rem;
height: 1.333rem;
line-height: 1.333rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: url(../img/new2/button.png);
background-size: 100% 100%;
text-align: center;
font-size: 0.56rem;
color: #ea277d;
} }
.layer-box { .layer-box {
width: 7.2rem; width: 7.2rem;
......
...@@ -23,7 +23,11 @@ ...@@ -23,7 +23,11 @@
</head> </head>
<body> <body>
<div class="guide1bg"></div> <div class="guide1bg">
<div class="goBack">
<a class="backBtn" href="javascript:history.back(-1);">返回</a>
</div>
</div>
</body> </body>
......
...@@ -23,7 +23,11 @@ ...@@ -23,7 +23,11 @@
</head> </head>
<body> <body>
<div class="guide2bg"></div> <div class="guide2bg">
<div class="goBack">
<a class="backBtn" href="javascript:history.back(-1);">返回</a>
</div>
</div>
</body> </body>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<div class="iosDown1"></div> <div class="iosDown1"></div>
<a href="./guide/guide1.html" class="guide1">安裝教程></a> <a href="./guide/guide1.html" class="guide1">安裝教程></a>
<div class="iosDown2"></div> <div class="iosDown2"></div>
<a href="./guide/guide1.html" class="guide2">安裝教程></a> <a href="./guide/guide2.html" class="guide2">安裝教程></a>
</div> </div>
</body> </body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment