From a33bb9acb7a15b83412664123397669633c2a4fe Mon Sep 17 00:00:00 2001
From: "452061493@qq.com" <452061493@qq.com>
Date: Fri, 1 Mar 2024 14:59:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E7=BE=8E=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
static/base_css.css | 58 +++++++++++-------------
subpkg/complete/complete.vue | 19 +++++---
subpkg/list/list.vue | 73 +++++++++++++++++++-----------
subpkg/rechallenge/rechallenge.vue | 46 ++++++++-----------
subpkg/review/review.vue | 43 ++++++++----------
subpkg/role/role.vue | 21 +++++----
6 files changed, 135 insertions(+), 125 deletions(-)
diff --git a/static/base_css.css b/static/base_css.css
index 81791fb..e569621 100644
--- a/static/base_css.css
+++ b/static/base_css.css
@@ -60,12 +60,11 @@ img {
.mainwrap {
margin-top: 90rpx;
padding-bottom: 5%;
- height: calc(100% - 100rpx);
+ height: calc(100% - 260rpx);
width: 100%;
background-image: linear-gradient(to bottom, #bac6fc, transparent 50%);
box-sizing: content-box;
overflow: hidden;
- overflow-y: auto;
}
.topcont {
@@ -216,38 +215,33 @@ h3.contit span {
.secbar {
position: relative;
- top: 35px;
- height: 60px;
+ z-index: 99;
+ top: 90rpx;
width: 100%;
+ height: 90rpx;
background-color: #bac6fc;
}
-.secbar span {
- position: relative;
- top: 10px;
+.secbar label.back {
display: inline-block;
- width: 30px;
- height: 30px;
- line-height: 20em;
- white-space: nowrap;
- overflow: hidden;
- opacity: 0.9;
-}
-
-.secbar .pagetit {
- margin-top: -18px;
-}
-
-.secbar span.back {
- padding-left: 1.25rem;
+ position: relative;
+ top: 12rpx;
left: 4%;
- width: auto;
- font-size: 1.15rem;
- line-height: 30px;
+ padding-left: 1.25rem;
+ width: 60rpx;
+ height: 60rpx;
background: url(/static/images/icon_arb.png) no-repeat left center;
background-size: auto 60%;
}
+.title {
+ margin: -54rpx 0 50rpx;
+ color: #333;
+ font-size: 36rpx;
+ font-weight: bold;
+ text-align: center;
+}
+
.banbox_sec {
position: relative;
top: -10px;
@@ -271,24 +265,24 @@ h3.contit span {
.mainwrap2, .mainwrap3, .tabwrap {
position: relative;
- top: 35px;
- padding: 10px 0;
+ top: 90rpx;
width: 100%;
- height: calc(100% - 100px);
+ height: calc(100% - 200rpx);
background-image: linear-gradient(to bottom, #bac6fc, transparent 40%);
box-sizing: content-box;
- overflow-x: hidden;
- overflow-y: auto;
+ overflow: hidden;
}
-.mainwrap2 {
+.mainwrap3 {
+ top: 0;
+ height: calc(100% - 90rpx);
overflow-y: hidden;
}
.tabwrap {
position: fixed;
- top: 110px;
- height: calc(100% - 140px);
+ top: 220rpx;
+ height: calc(100% - 300rpx);
}
.subsearch {
diff --git a/subpkg/complete/complete.vue b/subpkg/complete/complete.vue
index 2482e03..63255aa 100644
--- a/subpkg/complete/complete.vue
+++ b/subpkg/complete/complete.vue
@@ -6,7 +6,7 @@
-
+
恭喜完成本次演练!
@@ -111,8 +111,8 @@
this.showLayer = false
clearTimeout(this.timer)
}, 1000)
- this.roleId = options.roleId
- this.questionFreId = options.questionFreId
+ //this.roleId = options.roleId
+ //this.questionFreId = options.questionFreId
this.getQuestionList()
this.getRecordList()
},
@@ -241,6 +241,11 @@
}
}
+ .mainwrap3 {
+ top: 56rpx;
+ overflow-y: auto;
+ }
+
.title {
margin: 50rpx 0;
color: #333;
@@ -283,7 +288,7 @@
margin: 2% 3%;
padding: 2%;
width: 90%;
- height: 400rpx;
+ min-height: 400rpx;
background: #fff;
border: 1px solid #18c569;
border-radius: 10px;
@@ -318,14 +323,14 @@
}
view {
color: #666;
- line-height: 1.75;
+ line-height: 1.5;
}
}
.question-record {
- margin: 3% 3% 10%;
+ margin: 3% 3% 5%;
width: 94%;
- height: 35%;
+ height: 25%;
overflow: hidden;
label {
font-size: 32rpx;
diff --git a/subpkg/list/list.vue b/subpkg/list/list.vue
index 4d9f6e3..402e397 100644
--- a/subpkg/list/list.vue
+++ b/subpkg/list/list.vue
@@ -1,6 +1,9 @@
-
-
+
+
+
+ 场景演练
+
@@ -24,6 +27,11 @@
+
+ 消防演练
+ 演练题目:5
+ 演练人次:367
+
@@ -120,21 +128,9 @@
diff --git a/subpkg/rechallenge/rechallenge.vue b/subpkg/rechallenge/rechallenge.vue
index 5e8ca7c..a38cc6a 100644
--- a/subpkg/rechallenge/rechallenge.vue
+++ b/subpkg/rechallenge/rechallenge.vue
@@ -1,9 +1,10 @@
-
+
重新挑战
-
+
+
您上次挑战的场景是“{{sceneName}}”,挑战角色是 “{{roleName}}”,共计{{total}}道题目。您可从第1题开始重新挑战,或者任意选择其中一道题重新挑战。
@@ -63,6 +64,11 @@
}
//uni.$showMsg('数据请求成功!')
},
+ back(){
+ uni.navigateBack({
+ delta:1,//返回层数,2则上上页
+ })
+ },
}
}
@@ -70,34 +76,22 @@