From c9a49200a7ba7ee3bfdde49ca145167d87e69bec Mon Sep 17 00:00:00 2001 From: libowei <3423564950@qq.com> Date: Fri, 8 Dec 2023 23:02:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E7=9A=84=E5=BC=B9=E6=A1=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Mystudent/addclass.vue | 73 +++++++++++++++++++++++++----------- 1 file changed, 51 insertions(+), 22 deletions(-) diff --git a/pages/Mystudent/addclass.vue b/pages/Mystudent/addclass.vue index 9bdfab7..d8da65d 100644 --- a/pages/Mystudent/addclass.vue +++ b/pages/Mystudent/addclass.vue @@ -210,21 +210,25 @@ - - + + 班级学生 - 点击头像选择班级学员 + 点击头像选择班级学员 + + + - - - - 班级老师 - 点击头像选择班级老师 - - - + + + 班级学生 + 点击头像选择班级学员 + + + + + 添加 @@ -260,17 +264,7 @@ export default { From d147820960a85243af8362121f8b8898899aeadc Mon Sep 17 00:00:00 2001 From: libowei <3423564950@qq.com> Date: Tue, 12 Dec 2023 09:16:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=9A=84=E4=B8=8B=E6=8B=89=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Mystudent/addclass.vue | 60 +++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/pages/Mystudent/addclass.vue b/pages/Mystudent/addclass.vue index d8da65d..cb90847 100644 --- a/pages/Mystudent/addclass.vue +++ b/pages/Mystudent/addclass.vue @@ -205,9 +205,18 @@ 班级标签 - - - + + + + + + + + + + + + @@ -246,25 +255,66 @@ export default { labels:'', // 弹出层的变量 show: false, + // 下拉框 + show2:false, + form:{ + name: '' + }, + list: [ + { + value: '1', + label: '听力' + }, + { + value: '2', + label: '阅读' + }, + { + value: '3', + label: '写作' + }, + { + value: '4', + label: '口语' + } + ], + icons:'arrow-down-fill', + icons_rigth:'arrow-down-fill', + icons_top:'arrow-up-fill', + bgc: { backgroundColor: "#F6F9FC", }, checkindex: 0, + + } }, methods: { // 创建班级点击事件 create(){ this.show = !this.show - console.log('111') + }, + showPopup(){ + this.show2 =!this.show2 + this.icons= this.icons_top + }, + confirm(e){ + this.icons= this.icons_rigth + e.forEach(item=>{ + this.form.name=item.label + }) } + } }