修改实验面板样式bug

以及其他的页面样式
20240205
e 3 years ago
parent 129343af4b
commit baf62a6791
  1. 9
      src/components/case/index.vue
  2. 8
      src/pages/counter/list/index.vue
  3. 23
      src/pages/lobbyManager/list/index.vue

@ -97,7 +97,10 @@
<el-tab-pane label="实验要求" name="second"> <el-tab-pane label="实验要求" name="second">
<el-collapse v-model="activeNames" accordion> <el-collapse v-model="activeNames" accordion>
<div v-for="(item,index) in requires" :key="index"> <div v-for="(item,index) in requires" :key="index">
<el-collapse-item :title="item.name" :name="item.id"> <el-collapse-item :name="item.id">
<template slot="title" style='line-height: 0px;font-size: 18px'>
<i class='el-icon-s-ticket'></i> {{ item.name }}
</template>
<div class="break-all" v-html="item.experimentalRequirements"></div> <div class="break-all" v-html="item.experimentalRequirements"></div>
</el-collapse-item> </el-collapse-item>
</div> </div>
@ -917,6 +920,8 @@ export default {
border-bottom: none; border-bottom: none;
} }
.el-collapse-item__header { .el-collapse-item__header {
font-size: 17px;
line-height: 0px;
border-bottom: none; border-bottom: none;
} }
.el-tabs__content { .el-tabs__content {
@ -978,7 +983,7 @@ export default {
z-index: 1001; z-index: 1001;
} }
img{ img{
height: 150px; height: 200px;
cursor: pointer; cursor: pointer;
} }
} }

@ -2280,16 +2280,16 @@ export default {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 94px; width: 80px;
height: 200px; height: 180px;
cursor: pointer; cursor: pointer;
z-index: 998; z-index: 998;
background: url(../../../assets/img/sth-bg.png) 0 0 / cover no-repeat; background: url(../../../assets/img/sth-bg.png) 0 0/100% 100% no-repeat;
span { span {
width: 30px; width: 30px;
margin-bottom: 10px; margin-bottom: 10px;
color: #fff; color: #fff;
font-size: 30px; font-size: 26px;
text-align: center; text-align: center;
} }
.icon { .icon {

@ -65,7 +65,7 @@
<ul class="list"> <ul class="list">
<li :class="{checked: checkList.includes(1)}" @click="checkData(1)"> <li :class="{checked: checkList.includes(1)}" @click="checkData(1)">
<el-image <el-image
style="margin-top: -10" style="margin-top: -10px"
:src="elImg[0]" :src="elImg[0]"
:fit="elImgFit" :fit="elImgFit"
></el-image> ></el-image>
@ -309,6 +309,10 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap{ .wrap{
background: rgb(245,246,248);
width:100%;
//min-height:900px;
overflow:hidden;
.sth{ .sth{
position: absolute; position: absolute;
&.cp{ &.cp{
@ -334,9 +338,8 @@ export default {
} }
.manager{ .manager{
top: 68px; top: 68px;
// top: 0; left: 10%;
left: 0; width: 80%;
width: 100%;
height: calc(100% - 68px); height: calc(100% - 68px);
} }
} }
@ -353,13 +356,14 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
li{ li{
width: 280px; width: 200px;
margin-right: 50px; margin-right: 50px;
text-align: center; text-align: center;
color: #fff; color: #fff;
font-size: 32px; font-size: 32px;
line-height: 94px; line-height: 94px;
background: url(../../../assets/img/lobby-btn-bg.png) 0 0/cover no-repeat; background: url(../../../assets/img/lobby-btn-bg.png) 0 0/cover no-repeat;
background-size: 100% 100%;
cursor: pointer; cursor: pointer;
&:last-child{ &:last-child{
margin-right: 0; margin-right: 0;
@ -387,13 +391,14 @@ export default {
cursor: pointer; cursor: pointer;
background-color: rgba(216,216,216,0.10); background-color: rgba(216,216,216,0.10);
&:first-child{ &:first-child{
margin: 0 50px 50px 0; margin: 0 0px 50px 0;
} }
&:last-child{ &:last-child{
margin-left: 50px; margin-left: 50px;
} }
img{ img{
width: 40%; width: 30%;
margin: 0;
//height: 154px; //height: 154px;
//margin: 0 45px; //margin: 0 45px;
} }
@ -402,6 +407,7 @@ export default {
color: #000; color: #000;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
padding: 0 20px;
} }
&.checked{ &.checked{
background: rgba(97,145,255,0.10) url(../../../assets/svg/checked.svg) 96% 7%/auto no-repeat; background: rgba(97,145,255,0.10) url(../../../assets/svg/checked.svg) 96% 7%/auto no-repeat;
@ -439,7 +445,8 @@ export default {
overflow: hidden; overflow: hidden;
padding: 10px; padding: 10px;
&>img { &>img {
max-width: 90%; width: 100%;
//max-width: 90%;
} }
&>.el-image { &>.el-image {
width: 90%; width: 90%;

Loading…
Cancel
Save