From 70cab5fb1e9b5f6b81a9af9f9d1eef75a323dfa1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 30 十二月 2021 16:05:07 +0800
Subject: [PATCH] #
---
static/img/out_btn.png | 0
views/index.html | 5 +++--
static/css/main.css | 12 ++++++++++--
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/static/css/main.css b/static/css/main.css
index 714b2ff..bc3870c 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -15,6 +15,7 @@
}
#sidebar-btn {
+ display: none;
position: absolute;
top: 37.5%;
left: 100%;
@@ -103,8 +104,8 @@
.task-confirm {
float: right;
width: 20%;
- background-color: #f8f8f8;
- /*box-shadow: 5px 5px 5px #999999 inset;*/
+ background-color: #eaeaea;
+ box-shadow: 2px 5px 10px rgb(193, 193, 193) inset;
border-radius: 50px;
text-align: center;
height: 40px;
@@ -112,6 +113,13 @@
margin-right: 10px;
cursor: pointer;
transition:all 300ms;
+ background-repeat: no-repeat;
+ background-position: top center;
+ background-size: 50% 50%;;
+ background-position-x: center;
+ background-position-y: center;
+ background-image: url("../img/out_btn.png");
+ /*background-image: linear-gradient(to bottom, red , yellow);*/
}
.task-confirm:hover {
opacity: 0.9;
diff --git a/static/img/out_btn.png b/static/img/out_btn.png
new file mode 100644
index 0000000..1046ac2
--- /dev/null
+++ b/static/img/out_btn.png
Binary files differ
diff --git a/views/index.html b/views/index.html
index 157092f..0450705 100644
--- a/views/index.html
+++ b/views/index.html
@@ -28,7 +28,7 @@
<!-- 鎺у埗闈㈡澘 -->
<div id="sidebar">
- <button id="sidebar-btn" onclick="sidebar()">闅愯棌</button>
+ <button id="sidebar-btn" onclick="sidebar()">灞曠ず</button>
<div class="sidebar-contain" >
<div class="sidebar-header">
<div class="t">涓壃绔嬪簱</div>
@@ -247,7 +247,7 @@
}, 1);
$(document).on('click','.btn-word', function () {
- fullScreen()
+ fullScreen();
$("#mask").fadeOut(1, function () { // 3000
$("#menu").addClass("show");
setTimeout(function () {
@@ -256,6 +256,7 @@
$("#ship-info-btn .btn-word").text("浣撻獙璋冨害涓栫晫");
$("#ship-info-btn").data("type", 2).addClass("show");
$("#ship-info-btn #btn-lock").css("z-index", "10");
+ $('#sidebar-btn').show();
}
$("#menu li").css("transition", "all 200ms !important");
setTimeout(function () {
--
Gitblit v1.9.1