From 13b61655131000f2df1fa756e3ebaa89b818e0b7 Mon Sep 17 00:00:00 2001 From: libowei <3423564950@qq.com> Date: Fri, 8 Dec 2023 16:34:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 2 +- .../teacher_teachers/components/slander.vue | 249 ------------------ .../teacher_teachers/teacher_writeadd.vue | 57 ++-- 3 files changed, 42 insertions(+), 266 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 930e143..2986464 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -42,7 +42,7 @@ const install = (Vue, vm) => { // 所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值 // const token = uni.getStorageSync('token'); - const token = " Bearer d61c0fee9e404290b8e4ad7bd0167656" + const token = " Bearer 0b34feaf02224ccb9d4e09730ab68c35" // console.log("我是token", token) config.header.Authorization = token; diff --git a/pages_teacher/teacher_teachers/components/slander.vue b/pages_teacher/teacher_teachers/components/slander.vue index de32443..e69de29 100644 --- a/pages_teacher/teacher_teachers/components/slander.vue +++ b/pages_teacher/teacher_teachers/components/slander.vue @@ -1,249 +0,0 @@ - - - - - diff --git a/pages_teacher/teacher_teachers/teacher_writeadd.vue b/pages_teacher/teacher_teachers/teacher_writeadd.vue index 93e77e7..eef2e3e 100644 --- a/pages_teacher/teacher_teachers/teacher_writeadd.vue +++ b/pages_teacher/teacher_teachers/teacher_writeadd.vue @@ -34,22 +34,22 @@ {{item.label}} - 串题 - 跟读 - 模考 + 串题 + 跟读 + 模考 - + {{items.topicEn}} - - 串题 - 跟读 - 模考 + + 串题 + 跟读 + 模考 @@ -141,7 +141,6 @@ "level": 0, "isNew": 0 }, - //口语 slander: [], part2:false, grizzly:true, @@ -157,8 +156,13 @@ { id: 2, name: 'Part2' + }, + { + id: 3, + name: 'Part3' } ], + userId:null } }, components:{ @@ -222,7 +226,13 @@ this.part2=true this.grizzly = false this.getList() - } else { + } + else if (id == 3) { + this.postdata.part = "part3" + this.part2=true + this.grizzly = false + this.getList() + }else { this.postdata.part = "part1" this.part2= false this.grizzly = true @@ -230,6 +240,13 @@ } }) }, + clicking(target, type) { + if (target.active === type) { + this.$set(target, 'active', null); + } else { + this.$set(target, 'active', type); + } + }, radioGroupChange() { } @@ -345,6 +362,7 @@ } .unite { + width: 270rpx; font-size: 28rpx; font-family: 'PingFang'; font-weight: 800; @@ -367,7 +385,8 @@ margin-left: 8rpx; } - .blue { + .highlighted { + background: rgba(45, 124, 230, 0.1); border-radius: 12rpx 12rpx 12rpx 12rpx; color: #2D7CE6; @@ -426,6 +445,11 @@ } .unite { + width: 290rpx; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + -webkit-line-clamp: 1; font-size: 28rpx; font-family: 'PingFang'; font-weight: 800; @@ -436,7 +460,7 @@ .pull_Down { position: absolute; - bottom: -130rpx; + bottom: -184rpx; left: 50%; margin-left: -79rpx; box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.25); @@ -503,10 +527,10 @@ color: rgba(101,116,140,0.8); margin-left: 15rpx; } - .blue { - background: rgba(45, 124, 230, 0.1); - color: #2D7CE6; - } + .active { + background: rgba(45, 124, 230, 0.1); + color: #2D7CE6; + } } .pull_down{ display: flex; @@ -514,6 +538,7 @@ width: 100rpx; font-size: 24rpx; } + }