diff --git a/src/apps/AppVillageDiscuss/Add.vue b/src/apps/AppVillageDiscuss/Add.vue index cf175989..48c34ef2 100644 --- a/src/apps/AppVillageDiscuss/Add.vue +++ b/src/apps/AppVillageDiscuss/Add.vue @@ -32,6 +32,53 @@ + +
+
+
+ + +
+ +
+
+
+ +
+
+
{{ item }}
+ +
+
+ + +
+ +
+
+ +
+ + +
添加选项
+
+
+ +
提交方式
+
+
单选
+ +
多选
+
+ +
+ +
+ 匿名提交 + + +
+
保存
@@ -60,6 +107,10 @@ export default { second: false, timestamp: true, }, + opts: 0, + checked: true, + list: [], + content: '', } }, computed: { ...mapState(['user']) }, @@ -114,6 +165,18 @@ export default { }) }, + addOpts() { + if (!this.content) { + return this.$u.toast('请输入选项内容') + } + this.list.push(this.content) + this.content = '' + }, + + del(index) { + this.list.splice(index, 1) + }, + areaSelect(e) { console.log(e) this.form.areaId = e @@ -156,7 +219,7 @@ export default { diff --git a/src/apps/AppVillageDiscuss/img/1.png b/src/apps/AppVillageDiscuss/img/1.png new file mode 100644 index 00000000..f207b6c8 Binary files /dev/null and b/src/apps/AppVillageDiscuss/img/1.png differ diff --git a/src/apps/AppVillageDiscuss/img/11.png b/src/apps/AppVillageDiscuss/img/11.png new file mode 100644 index 00000000..e2bdce3b Binary files /dev/null and b/src/apps/AppVillageDiscuss/img/11.png differ diff --git a/src/apps/AppVillageDiscuss/img/2.png b/src/apps/AppVillageDiscuss/img/2.png new file mode 100644 index 00000000..477552d1 Binary files /dev/null and b/src/apps/AppVillageDiscuss/img/2.png differ diff --git a/src/apps/AppVillageDiscuss/img/22.png b/src/apps/AppVillageDiscuss/img/22.png new file mode 100644 index 00000000..955dd729 Binary files /dev/null and b/src/apps/AppVillageDiscuss/img/22.png differ