feat:增加ballot页面按钮鼠标移入样式

This commit is contained in:
songwc
2022-09-19 17:30:28 +08:00
2 changed files with 725 additions and 862 deletions

View File

@@ -173,12 +173,12 @@ export default {
}
.detailinfo {
width: calc(100% + 20px);
width: 100%;
margin-top: 20px;
display: flex;
.detail {
flex: 1;
margin-right: 20px;
// margin-right: 20px;
.detailT {
height: 1000px;
background: #ffffff;
@@ -299,6 +299,7 @@ export default {
margin-right: 48px;
margin-top: 43px;
.allbox1 {
margin-right: 22px;
background: linear-gradient(
0deg,
rgba(160, 193, 230, 0) 0%,
@@ -306,6 +307,7 @@ export default {
);
}
.allbox2 {
margin-right: 22px;
background: linear-gradient(
0deg,
rgba(177, 219, 229, 0) 0%,
@@ -320,7 +322,8 @@ export default {
);
}
.item {
width: 410px;
// width: 410px;
width: calc(100% - 44px);
height: 149px;
text-align: center;
border-radius: 4px;

View File

@@ -7,7 +7,6 @@
<div>管理者进阶-腾飞班</div>
<div style="margin-left: 6px; margin-right: 6px">/</div>
<div style="font-weight: 700; font-size: 16px">辩论详情</div>
<div class="preNext">
<button class="btn btn01"></button>
<span class="content">上一个</span>
@@ -22,14 +21,12 @@
<!-- 详细信息 -->
<div class="detailinfo">
<div class="detail">
<div class="detailT">
<div style="margin-left: 48px; margin-right: 48px">
<!-- 左侧 -->
<div
style="margin-left: 48px; margin-right: 48px; background-color: pink"
>
<div class="title">
<img
width="20px"
height="20px"
src="../../assets/image/yuan.png"
/>
<img width="20px" height="20px" src="../../assets/image/yuan.png" />
<div class="text">参与情况</div>
<div class="box"></div>
</div>
@@ -50,11 +47,8 @@
</div>
<div class="vsbox">
<div class="yes">
<div class="choose" style="color: #fe6a64; font-size: 14px">
<div
class="infor"
style="padding-top: 26px; margin-left: 42px"
>
<!-- <div class="choose" style="color: #fe6a64; font-size: 14px">
<div class="infor" style="padding-top: 26px; margin-left: 42px">
<span>*&nbsp;已选择正方观点</span>
<span>2022.7.1</span>
</div>
@@ -75,10 +69,7 @@
<div class="line"></div>
<div class="xiongming">
<div class="xmheader" style="">
<img
class="imgstyle"
src="../../assets/image/avator.png"
/>
<img class="imgstyle" src="../../assets/image/avator.png" />
<div
style="
display: inline-block;
@@ -103,10 +94,7 @@
<div class="line" style="margin-top: 10px"></div>
<div class="xiongming">
<div class="xmheader" style="">
<img
class="imgstyle"
src="../../assets/image/avator.png"
/>
<img class="imgstyle" src="../../assets/image/avator.png" />
<div
style="
display: inline-block;
@@ -134,10 +122,7 @@
<div class="line" style="margin-top: 10px"></div>
<div class="xiongming">
<div class="xmheader" style="">
<img
class="imgstyle"
src="../../assets/image/avator.png"
/>
<img class="imgstyle" src="../../assets/image/avator.png" />
<div
style="
display: inline-block;
@@ -166,7 +151,7 @@
</div>
</div>
<div class="jindu1"></div>
<div class="jindu2"></div>
<div class="jindu2"></div> -->
</div>
<div class="vs clearfix">
<img
@@ -184,11 +169,8 @@
</div>
</div>
<div class="no">
<div class="choose" style="color: #58a4e8; font-size: 14px">
<div
class="infor"
style="padding-top: 26px; margin-left: 42px"
>
<!-- <div class="choose" style="color: #58a4e8; font-size: 14px">
<div class="infor" style="padding-top: 26px; margin-left: 42px">
<span>*&nbsp;已选择反方观点</span>
<span>2022.7.1</span>
</div>
@@ -209,10 +191,7 @@
<div class="line"></div>
<div class="xiongming">
<div class="xmheader" style="">
<img
class="imgstyle"
src="../../assets/image/avator.png"
/>
<img class="imgstyle" src="../../assets/image/avator.png" />
<div
style="
display: inline-block;
@@ -237,10 +216,7 @@
<div class="line" style="margin-top: 10px"></div>
<div class="xiongming">
<div class="xmheader" style="">
<img
class="imgstyle"
src="../../assets/image/avator.png"
/>
<img class="imgstyle" src="../../assets/image/avator.png" />
<div
style="
display: inline-block;
@@ -268,10 +244,7 @@
<div class="line" style="margin-top: 10px"></div>
<div class="xiongming">
<div class="xmheader" style="">
<img
class="imgstyle"
src="../../assets/image/avator.png"
/>
<img class="imgstyle" src="../../assets/image/avator.png" />
<div
style="
display: inline-block;
@@ -300,17 +273,16 @@
</div>
</div>
<div class="jindu1"></div>
<div class="jindu2"></div>
<div class="jindu2"></div> -->
</div>
</div>
</div>
<div class="right">
<!-- 左侧 -->
</div>
<!-- 右侧 -->
<!-- <div class="right">
<div class="righttitle">
<img
width="20px"
height="20px"
src="../../assets/image/yuan.png"
/>
<img width="20px" height="20px" src="../../assets/image/yuan.png" />
<div class="text">辩论时间</div>
<div class="box"></div>
</div>
@@ -331,11 +303,7 @@
</div>
</div>
<div class="righttitle">
<img
width="20px"
height="20px"
src="../../assets/image/yuan.png"
/>
<img width="20px" height="20px" src="../../assets/image/yuan.png" />
<div class="text">辩论说明</div>
<div class="box"></div>
</div>
@@ -345,9 +313,8 @@
我们将选 取最高选项的两个做后续讲解
</div>
</div>
</div>
</div>
</div>
</div> -->
<!-- 右侧 -->
</div>
<!-- 详细信息 -->
</div>
@@ -418,101 +385,22 @@ export default {
}
.detailinfo {
width: calc(100% + 20px);
<<<<<<< HEAD
// width: calc(100% + 20px);
// width: calc(100%);
=======
width: 100%;
>>>>>>> 52b6d3fe7525cbcd7226c2cdfd69cbd044a1670b
margin-top: 20px;
// height: 10px;
display: flex;
.detail {
flex: 1;
margin-right: 20px;
.detailT {
// height: 1000px;
background: #ffffff;
border-radius: 8px;
color: rgba(51, 51, 51, 1);
display: flex;
.right {
.righttitle {
display: flex;
padding-top: 39px;
position: relative;
.text {
margin-left: 8px;
font-size: 16px;
color: rgba(51, 51, 51, 1);
font-weight: 800;
}
.box {
width: 75px;
height: 10px;
background-color: rgba(36, 120, 255, 0.15);
position: absolute;
left: 23px;
top: 53px;
}
}
.timebox {
width: 417px;
height: 149px;
background: linear-gradient(90deg, #b6c6e1 0%, #89aed6 100%);
border-radius: 4px;
margin-top: 42px;
}
.clearfix:before,
.clearfix:after {
content: "";
display: table;
clear: both;
}
.innertime {
margin-top: 17px;
margin-left: 55px;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 24px;
}
.endtime {
margin-left: 10px;
margin-top: 16px;
width: 397px;
height: 81px;
background: #f2f5f7;
border-radius: 0px 8px 0px 8px;
.endtimetext {
margin-top: 25px;
margin-left: 46px;
.te {
font-size: 28px;
font-family: PingFang SC;
font-weight: 800;
color: #4a9cf8;
line-height: 24px;
}
}
}
.explain {
margin-top: 30px;
width: 416px;
background: #f2f5f7;
border-radius: 8px;
}
.explaincontent {
width: 368px;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: #333330;
line-height: 24px;
margin-left: 24px;
margin-top: 47px;
margin-bottom: 47px;
}
}
.detail {
flex: 1;
// margin-right: 20px;
// height: 1000px;
.title {
display: flex;
align-items: center;
@@ -536,9 +424,9 @@ export default {
.all {
display: flex;
justify-content: space-between;
width: 1280px;
margin-top: 43px;
.allbox1 {
margin-right: 22px;
background: linear-gradient(
0deg,
rgba(160, 193, 230, 0) 0%,
@@ -546,6 +434,7 @@ export default {
);
}
.allbox2 {
margin-right: 22px;
background: linear-gradient(
0deg,
rgba(177, 219, 229, 0) 0%,
@@ -560,7 +449,7 @@ export default {
);
}
.item {
width: 410px;
width: calc(100% - 44px);
height: 149px;
text-align: center;
border-radius: 4px;
@@ -579,12 +468,13 @@ export default {
}
.vsbox {
display: flex;
width: 1280px;
margin-top: 26px;
justify-content: space-between;
width: 100%;
background-color: red;
.yes {
position: relative;
width: 435px;
width: calc((100% - 297px) / 2);
.choose {
width: 435px;
height: 66px;
@@ -757,7 +647,7 @@ export default {
.no {
position: relative;
width: 435px;
width: calc((100% - 297px) / 2);
.choose {
width: 435px;
height: 66px;
@@ -894,114 +784,84 @@ export default {
}
}
}
.detailB {
min-height: 363px;
background: #ffffff;
border-radius: 8px;
margin-top: 20px;
.el-tabs__item {
height: 69px;
padding: 25px 7px 0px 52px;
font-size: 14px;
font-weight: 500;
}
.el-tabs__nav-wrap::after {
background-color: rgba(56, 125, 247, 0.2);
}
.enclosure {
height: 89px;
margin-left: 51px;
margin-right: 40px;
// border-bottom: 1px solid rgba(56, 125, 247, 0.2);
.right {
margin-right: 45px;
.righttitle {
display: flex;
justify-content: space-between;
align-items: center;
.enclosureL {
display: flex;
align-items: center;
font-size: 14px;
font-weight: 400;
color: #677d86;
line-height: 24px;
}
.download {
display: flex;
align-items: center;
padding-top: 39px;
position: relative;
.text {
margin-left: 8px;
font-size: 16px;
font-weight: 400;
color: #2478ff;
line-height: 24px;
cursor: pointer;
color: rgba(51, 51, 51, 1);
font-weight: 800;
}
.box {
width: 75px;
height: 10px;
background-color: rgba(36, 120, 255, 0.15);
position: absolute;
left: 23px;
top: 53px;
}
}
.work {
margin-left: 51px;
margin-right: 40px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 37px;
.timebox {
width: 417px;
height: 149px;
background: linear-gradient(90deg, #b6c6e1 0%, #89aed6 100%);
border-radius: 4px;
margin-top: 42px;
}
.work .question {
.clearfix:before,
.clearfix:after {
content: "";
display: table;
clear: both;
}
.innertime {
margin-top: 17px;
margin-left: 55px;
font-size: 14px;
font-family: PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 24px;
}
.endtime {
margin-left: 10px;
margin-top: 16px;
width: 397px;
height: 81px;
background: #f2f5f7;
border-radius: 0px 8px 0px 8px;
.endtimetext {
margin-top: 25px;
margin-left: 46px;
.te {
font-size: 28px;
font-family: PingFang SC;
font-weight: 800;
color: #4a9cf8;
line-height: 24px;
}
}
}
.explain {
margin-top: 30px;
width: 416px;
background: #f2f5f7;
border-radius: 8px;
}
.explaincontent {
width: 368px;
font-size: 16px;
font-family: PingFang SC;
font-weight: 500;
color: #333330;
line-height: 18px;
}
.work .active {
width: 82px;
height: 28px;
background: linear-gradient(90deg, #a5d4e0 0%, #b4dce6 100%);
border-radius: 4px;
font-size: 14px;
font-weight: 500;
color: #ffffff;
line-height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
margin-right: 11px;
}
.work .unactive {
width: 80px;
height: 26px;
border: 1px solid #a5d4e0;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
color: #a5d4e0;
line-height: 24px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 11px;
cursor: pointer;
}
.work .btncolor {
background: linear-gradient(90deg, #84aad2 0%, #a4c5e9 100%);
}
.work .bordercolor {
border: 1px solid #85aad2;
}
.work .fontcolor {
color: rgba(133, 170, 210, 1);
}
.work .submit {
width: 126px;
height: 46px;
background: #2478ff;
box-shadow: 0px 1px 8px 0px rgba(56, 125, 247, 0.7);
border-radius: 4px;
font-size: 16px;
font-weight: 800;
color: #ffffff;
line-height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
margin-left: 24px;
margin-top: 47px;
margin-bottom: 47px;
}
}
}