From 0278ac1a90c553a7e4500bb6f74e5b6403bd2ee4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?=
=?UTF-8?q?=E9=98=B4?= <185154740@qq.com>
Date: Fri, 7 Jan 2022 16:47:47 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E9=80=89=E5=A4=9A=E9=80=89=E9=A2=9C?=
=?UTF-8?q?=E8=89=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/apps/AppVillageDiscuss/Add.vue | 69 +++++++++++++++++++++++++++---
1 file changed, 63 insertions(+), 6 deletions(-)
diff --git a/src/apps/AppVillageDiscuss/Add.vue b/src/apps/AppVillageDiscuss/Add.vue
index d24acc91..5c7d3f70 100644
--- a/src/apps/AppVillageDiscuss/Add.vue
+++ b/src/apps/AppVillageDiscuss/Add.vue
@@ -35,6 +35,12 @@
+
+

+
{{ item }}
+
+
+

@@ -42,6 +48,12 @@
+
+
+

+
+
添加选项
+
@@ -49,6 +61,7 @@
{{ item }}
+

@@ -66,9 +79,9 @@
提交方式
@@ -165,6 +178,9 @@ export default {
return this.$u.toast('请输入多选选项')
}
+ if (this.form.contents) {
+ this.list.push(this.form.contents)
+ }
if (this.opts == 1) {
var lists = []
this.list.map((item, index) => {
@@ -365,12 +381,22 @@ export default {
box-sizing: border-box;
margin: 54px 32px 38px 32px;
.leftopt {
- background: pink;
- padding: 36px 126px 34px 128px;
+ // background: pink;
+ width: 320px;
+ height: 112px;
+ line-height: 112px;
+ background: #f5f5f5;
+ border-radius: 4px;
+ text-align: center;
}
.rightopt {
- background: brown;
- padding: 36px 126px 34px 128px;
+ // background: brown;
+ width: 320px;
+ height: 112px;
+ line-height: 112px;
+ background: #f5f5f5;
+ border-radius: 4px;
+ text-align: center;
}
}
@@ -477,5 +503,36 @@ export default {
// width: 100px;
// }
// }
+
+ .current {
+ color: #1174fe;
+ background: #e7f1fe !important;
+ position: relative;
+
+ &:before {
+ position: absolute;
+ display: block;
+ content: ' ';
+ bottom: 0;
+ right: 0;
+ border: 24px solid #1576fe;
+ border-top-color: transparent;
+ border-left-color: transparent;
+ border-radius: inherit;
+ z-index: 1;
+ }
+
+ &:after {
+ position: absolute;
+ display: block;
+ content: '✓';
+ bottom: 0;
+ right: 0;
+ color: #fff;
+ z-index: 2;
+ line-height: normal;
+ font-weight: normal;
+ }
+ }
}