+
+
+
+
@@ -302,7 +367,8 @@ const cancelCollection = (token, index) => {
.content {
width: 100%;
- height: 100%;
+ height: 479px;
+ // height: 100%;
// background: #000000;
overflow: auto;
// padding-right: 13px;
@@ -337,12 +403,14 @@ const cancelCollection = (token, index) => {
line-height: 20px;
font-size: 14px;
margin-bottom: 10px;
+ width: 550px;
}
.message {
color: #7f7f7f;
line-height: 22px;
font-size: 13px;
margin-bottom: 6px;
+ width: 550px;
}
.data {
@@ -363,6 +431,13 @@ const cancelCollection = (token, index) => {
cursor: pointer;
}
+ .halving-line {
+ margin: 0 20px;
+ width: 1px;
+ height: 13px;
+ border-right: 1px solid #d7d7d7;
+ }
+
.anonymous-box {
.text {
font-size: 13px;
diff --git a/components/Report.vue b/components/Report.vue
index 51dcdad..2658f04 100644
--- a/components/Report.vue
+++ b/components/Report.vue
@@ -56,10 +56,7 @@ const alertSubmit = () => {
}).then(res => {
checkList.value = []
reportAlertShow.value = false
- ElMessage({
- message: res.message || "举报成功",
- type: "success",
- })
+ ElMessage.success(res.message || "举报成功")
})
}
diff --git a/components/top-head.vue b/components/top-head.vue
index 4df5412..96c939a 100644
--- a/components/top-head.vue
+++ b/components/top-head.vue
@@ -17,20 +17,18 @@
+
+
-->
-
{{ item.title }}
-
+ {{ item.title || item.data?.title }}
+
- 30人参与 | 投票已结束
- | 我已投:不懂,围观学习
+ {{ item.votes || item.data?.votes || 0 }}人参与 | {{ handleDeadline(item.deadline || item?.data?.deadline) }}结束
+ | 我已投:{{ item.optionvalue || item?.data?.optionvalue }}
-
-
-
-
{{ item["anonymous"] == 1 ? "匿名" : "公开" }}
-
-
+
+
+
-
-
- 公开发表
-
-
+
+
+
+
+ 匿名发表
-
+
+
- {{ item["anonymous"] == 1 ? "匿名" : "公开" }}
+
+
+
+
+ 公开发表
+
+
+
匿名发表
+ 我的收藏
-
我的收藏
- 我参与的投票
- 我发起的投票
+ {{ item.name }}