diff --git a/app.vue b/app.vue index 6ac4428..0f3fa14 100644 --- a/app.vue +++ b/app.vue @@ -1,8 +1,5 @@ diff --git a/components/MyPopup.vue b/components/MyPopup.vue index e3a9c31..25ff53f 100644 --- a/components/MyPopup.vue +++ b/components/MyPopup.vue @@ -9,67 +9,75 @@ -
-
+ +
-
+
-
{{ item.title }}
-
{{ item.message }}
+
{{ item.title || item.data?.title }}
+
{{ item.message || item.data?.message }}
- 30人参与 | 投票已结束 - | 我已投:不懂,围观学习 + {{ item.votes || item.data?.votes || 0 }}人参与 | {{ handleDeadline(item.deadline || item?.data?.deadline) }}结束 + | 我已投:{{ item.optionvalue || item?.data?.optionvalue }}
- -
-
{{ item["anonymous"] == 1 ? "匿名" : "公开" }}
- -
-
-
公开发表
- -
-
-
匿名发表
- + + + +
+ + +
您要删除投票吗?
+
+
删除投票
+
不删除
+
+
@@ -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.name }}
- + + + diff --git a/pages/index.html/index.vue b/pages/index.html/index.vue index e4ad6e7..b9e2467 100644 --- a/pages/index.html/index.vue +++ b/pages/index.html/index.vue @@ -8,6 +8,7 @@
共 {{ count }} 条搜索数据
+
@@ -17,7 +18,7 @@
{{ item["message"] }}
-
+
{{ index + 1 }}
@@ -31,11 +32,11 @@
diff --git a/pages/publish/index.vue b/pages/publish/index.vue index af42e95..5e84b71 100644 --- a/pages/publish/index.vue +++ b/pages/publish/index.vue @@ -21,7 +21,7 @@ 标题
*
- +
@@ -55,7 +55,7 @@
{{ index + 1 }}
- +
@@ -66,7 +66,8 @@
{{ index + 1 }}
- + +
@@ -111,6 +112,7 @@