diff --git a/src/views/ballot/BallotPage.vue b/src/views/ballot/BallotPage.vue
index 6f7f1fd..0dc0704 100644
--- a/src/views/ballot/BallotPage.vue
+++ b/src/views/ballot/BallotPage.vue
@@ -25,13 +25,14 @@
class="img2"
style="margin-right: 11px; cursor: pointer"
src="../../assets/image/return.png"
- />返回返回
+
-
【投票】{{ state.dataInfo?.voteName }}
+ 【投票】{{ dataInfo?.voteName }}
@@ -49,40 +50,26 @@
- {{
- state.dataInfo.numberOfInvolved ||
- state.dataInfo.numberOfInvolved == 0
- ? state.dataInfo.numberOfInvolved
- : "-"
- }}
+ {{ dataInfo.numberOfInvolved || "-" }}
参与数
- {{
- state.dataInfo.votesTotal || state.dataInfo.votesTotal == 0
- ? state.dataInfo.votesTotal
- : "-"
- }}
+ {{ dataInfo.votesTotal || "-" }}
总票数
- {{
- state.dataInfo.numberOfBrowse ||
- state.dataInfo.numberOfBrowse == 0
- ? state.dataInfo.numberOfBrowse
- : "-"
- }}
+ {{ dataInfo.numberOfBrowse || "-" }}
浏览数
参与投票
@@ -90,20 +77,19 @@
{{ index + 1 }}、
{{ item.voteStemName }}
-
+
-
@@ -156,24 +137,11 @@
display: flex;
justify-content: center;
margin-top: 30px;
- "
- >
+ ">
@@ -188,29 +156,13 @@
- {{
- state.dataInfo?.voteStartTime
- }} 至 {{
- state.dataInfo?.voteEndTime
- }}
+ {{dataInfo?.voteStartTime }} 至 {{dataInfo?.voteEndTime }}
距离结束还有
{{
- parseInt(
- dayjs(state.dataInfo?.voteEndTime).diff(
- dayjs(),
- "minute"
- ) / 60
- )
- }} 小时 {{
- dayjs(state.dataInfo?.voteEndTime).diff(dayjs(), "minute") %
- 60
- }} 分钟
-
+ parseInt(dayjs(dataInfo?.voteEndTime).diff(dayjs(), "minute") / 60)}} 小时
{{dayjs(dataInfo?.voteEndTime).diff(dayjs(), "minute") % 60 }} 分钟
@@ -224,35 +176,24 @@
+ v-html="dataInfo?.voteExplain||'暂无说明'">
-
@@ -400,6 +255,7 @@ const submitVote = () => {
display: table;
clear: both;
}
+
.moreactive {
.crumb {
color: #fff;
@@ -408,9 +264,11 @@ const submitVote = () => {
line-height: 24px;
position: relative;
}
+
.return {
position: absolute;
right: 10%;
+
.text {
text-align: center;
display: flex;
@@ -418,9 +276,11 @@ const submitVote = () => {
align-items: center;
}
}
+
.preNext {
position: absolute;
right: 0px;
+
.content {
font-size: 14px;
color: #fff;
@@ -431,6 +291,7 @@ const submitVote = () => {
top: -6px;
cursor: pointer;
}
+
.btn {
width: 23px;
height: 23px;
@@ -438,13 +299,16 @@ const submitVote = () => {
border: 0;
cursor: pointer;
}
+
.btn01 {
background-image: url("../../assets/image/prev.png");
}
+
.btn02 {
background-image: url("../../assets/image/next.png");
}
}
+
.debateTitle {
margin-top: 15px;
font-size: 20px;
@@ -454,10 +318,12 @@ const submitVote = () => {
color: #fff;
margin-left: -10px;
}
+
.detailinfo {
width: 100%;
margin-top: 20px;
display: flex;
+
.detail {
flex: 1;
// margin-right: 20px;
@@ -468,23 +334,28 @@ const submitVote = () => {
color: rgba(51, 51, 51, 1);
display: flex;
padding-bottom: 20px;
+
.left {
margin-left: 48px;
flex: 1;
}
+
.right {
width: 417px;
margin-right: 48px;
+
.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;
@@ -494,6 +365,7 @@ const submitVote = () => {
top: 53px;
}
}
+
.timebox {
width: 417px;
height: 149px;
@@ -501,6 +373,7 @@ const submitVote = () => {
border-radius: 4px;
margin-top: 42px;
}
+
.innertime {
margin-top: 17px;
margin-left: 55px;
@@ -509,6 +382,7 @@ const submitVote = () => {
color: #ffffff;
line-height: 24px;
}
+
.endtime {
margin-left: 10px;
margin-top: 16px;
@@ -516,9 +390,11 @@ const submitVote = () => {
height: 81px;
background: #f2f5f7;
border-radius: 0px 8px 0px 8px;
+
.endtimetext {
margin-top: 25px;
margin-left: 46px;
+
.te {
font-size: 28px;
font-weight: 800;
@@ -527,6 +403,7 @@ const submitVote = () => {
}
}
}
+
.explain {
margin-top: 30px;
width: 416px;
@@ -534,6 +411,7 @@ const submitVote = () => {
background: #f2f5f7;
border-radius: 8px;
}
+
.explaincontent {
width: 368px;
font-size: 16px;
@@ -544,18 +422,21 @@ const submitVote = () => {
margin-top: 47px;
}
}
+
.title {
display: flex;
align-items: center;
padding-top: 39px;
position: relative;
}
+
.title .text {
margin-left: 8px;
font-size: 16px;
color: rgba(51, 51, 51, 1);
font-weight: 800;
}
+
.title .box {
width: 75px;
height: 10px;
@@ -564,47 +445,54 @@ const submitVote = () => {
left: 23px;
top: 53px;
}
+
.all {
display: flex;
justify-content: space-between;
// width: 1280px;
margin-right: 48px;
margin-top: 43px;
+
.allbox1 {
margin-right: 22px;
background: linear-gradient(
- 0deg,
- rgba(160, 193, 230, 0) 0%,
- rgba(161, 195, 231, 0.2) 100%
+ 0deg,
+ rgba(160, 193, 230, 0) 0%,
+ rgba(161, 195, 231, 0.2) 100%
);
}
+
.allbox2 {
margin-right: 22px;
background: linear-gradient(
- 0deg,
- rgba(177, 219, 229, 0) 0%,
- rgba(172, 216, 227, 0.2) 100%
+ 0deg,
+ rgba(177, 219, 229, 0) 0%,
+ rgba(172, 216, 227, 0.2) 100%
);
}
+
.allbox3 {
background: linear-gradient(
- 0deg,
- rgba(195, 209, 234, 0) 0%,
- rgba(191, 206, 231, 0.2) 100%
+ 0deg,
+ rgba(195, 209, 234, 0) 0%,
+ rgba(191, 206, 231, 0.2) 100%
);
}
+
.item {
// width: 410px;
width: calc(100% - 44px);
height: 149px;
text-align: center;
border-radius: 4px;
+
.item1 {
color: #089dff;
font-size: 24px;
font-weight: bold;
margin-top: 36px;
}
+
.item2 {
color: #333330;
font-size: 14px;
@@ -612,6 +500,7 @@ const submitVote = () => {
}
}
}
+
.join {
// width: 1280px;
margin-right: 48px;
@@ -621,6 +510,7 @@ const submitVote = () => {
margin-top: 32px;
margin-left: 21px;
flex: 1;
+
.stem {
display: flex;
font-size: 16px;
@@ -628,30 +518,48 @@ const submitVote = () => {
color: #333330;
line-height: 38px;
}
+
.options {
display: flex;
align-items: center;
flex-wrap: wrap;
}
+
.radio {
margin-top: 14px;
margin-left: -16px;
position: relative;
+ .radio-img{
+ display: flex;
+ align-items: center;
+ }
}
+
.radio label {
+ width:100%;
line-height: 20px;
position: relative;
- display: flex;
- align-items: center;
+ text-align: center;
+ display: grid;
+ grid-template-columns: 40px 1fr;
+ justify-content: center;
+ height: 35px;
font-weight: normal;
+
.opt-text {
+ justify-self: stretch;
font-size: 14px;
font-weight: bold;
color: #333330;
- line-height: 18px;
- margin-left: 10px;
+ align-self: center;
+ overflow: hidden;
+ white-space: nowrap;
+ cursor: pointer;
+ text-overflow: ellipsis;
+ text-align: left;
}
}
+
.radio .option {
width: 19px;
height: 18px;
@@ -659,21 +567,24 @@ const submitVote = () => {
// top: 1px;
// // top: 32px;
// left: 0px;
- background-size: cover;
+ background-size: 100%;
background: url(../../assets/image/noselect.png) no-repeat;
- background-size: cover;
}
+
.radio input[type="radio"] {
display: inline-block;
margin-right: -3px;
opacity: 0;
}
+
.radio input[type="radio"]:checked + div {
background: url(../../assets/image/select.png) no-repeat;
background-size: cover;
}
+
.imgcontent {
display: flex;
+
.imgone {
width: 140px;
height: 140px;
@@ -683,6 +594,7 @@ const submitVote = () => {
background-position: center;
}
}
+
.ontitle {
margin-top: 27px;
font-size: 14px;
@@ -690,20 +602,24 @@ const submitVote = () => {
}
}
}
+
.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;
@@ -712,6 +628,7 @@ const submitVote = () => {
display: flex;
justify-content: space-between;
align-items: center;
+
.enclosureL {
display: flex;
align-items: center;
@@ -720,6 +637,7 @@ const submitVote = () => {
color: #677d86;
line-height: 24px;
}
+
.download {
display: flex;
align-items: center;
@@ -730,6 +648,7 @@ const submitVote = () => {
cursor: pointer;
}
}
+
.work {
margin-left: 51px;
margin-right: 40px;
@@ -738,12 +657,14 @@ const submitVote = () => {
align-items: center;
margin-top: 37px;
}
+
.work .question {
font-size: 14px;
font-weight: 500;
color: #333330;
line-height: 18px;
}
+
.work .active {
width: 82px;
height: 28px;
@@ -759,6 +680,7 @@ const submitVote = () => {
cursor: pointer;
margin-right: 11px;
}
+
.work .unactive {
width: 80px;
height: 26px;
@@ -774,15 +696,19 @@ const submitVote = () => {
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;