diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue index 46cdd72a..6a6a7243 100644 --- a/src/pages/course/components/touchBtn.vue +++ b/src/pages/course/components/touchBtn.vue @@ -103,14 +103,27 @@ const initRecord = () => { // stopRecord() unref(recordObjCom)?.onStop((res, duration)=>{ audioPath.value = res.tempFilePath - showTalkingModel.value = false if(!isOut.value){ if(startFlag.value !== 2){ - common.msg('说话时间太短,没有听清!') - showTalkingModel.value = false - return + // setTimeout(() => { + // showTalkingModel.value = false + // nextTick(() => { + // // showTalkingModel.value = false + // common.msg('说话时间太短,没有听清!') + // }) + // },100) + closeModel(()=>{ + nextTick(() => { + // showTalkingModel.value = false + common.msg('说话时间太短,没有听清!') + }) + }) + }else{ + closeModel() + emit('uploadVoice', audioPath.value) } - emit('uploadVoice', audioPath.value) + }else{ + closeModel() } }) unref(recordObjCom).onStart(() => { @@ -131,15 +144,21 @@ const startRecord = () => { } const stopRecord = () => { - if(unref(recordObjCom).stop){ try{ - unref(recordObjCom)?.stop() + if(unref(recordObjCom).stop){ + unref(recordObjCom).stop() + }else{ + closeModel() + } }catch{ - showTalkingModel.value = false + closeModel() } - }else{ +} +const closeModel = (cb = () => {}) => { + setTimeout(() => { showTalkingModel.value = false - } + cb && cb() + },100) } // #endif //#ifndef APP-PLUS diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index e28d2642..07d95aa8 100644 --- a/src/pages/course/study.vue +++ b/src/pages/course/study.vue @@ -953,6 +953,7 @@ const chooseRateNow = (item) => { display: flex; flex-direction: column; .body-title{ + height: 150rpx; text-align: center; font-size: 33rpx; @@ -965,9 +966,11 @@ const chooseRateNow = (item) => { // margin-bottom: 23rpx; .arrow-icon{ position: absolute; - left:36rpx; - top:80rpx; + left:21rpx; + top:65rpx; color: #000; + padding: 15rpx; + // background-color: red; } } .study-num{ diff --git a/src/pages/courseDetail/components/comment.vue b/src/pages/courseDetail/components/comment.vue index 1ba652de..ec11be8a 100644 --- a/src/pages/courseDetail/components/comment.vue +++ b/src/pages/courseDetail/components/comment.vue @@ -75,7 +75,7 @@ @click="common.navigateTo('/pages/courseDetail/submit?crsNum='+props.crsNum+'&imgId='+props.imgId)">发布评价 - + diff --git a/src/pages/courseDetail/index.vue b/src/pages/courseDetail/index.vue index f235a184..708c55c8 100644 --- a/src/pages/courseDetail/index.vue +++ b/src/pages/courseDetail/index.vue @@ -148,9 +148,12 @@ .back_div { margin-right: 10rpx; position: fixed; - left: 46rpx; - top: 64rpx; - + left: 25rpx; + top: 45rpx; + // background-color: red; + // width: 60rpx; + // height: 60rpx; + padding: 20rpx; .back-icon { position: relative; width: 40rpx; diff --git a/src/pages/courseDetail/submit.vue b/src/pages/courseDetail/submit.vue index 74acac21..d65eeb6f 100644 --- a/src/pages/courseDetail/submit.vue +++ b/src/pages/courseDetail/submit.vue @@ -251,8 +251,9 @@ align-items: center; .back_div { - margin-right: 10rpx; - + // margin-right: 10rpx; + padding: 15rpx; + // background-color: red; .back-icon { position: relative; width: 40rpx; diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index fce4e24b..9fd514d2 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -525,8 +525,8 @@ position: absolute; overflow: hidden; left: 0; - top: 1%; - height: 102%; + top: 0%; + height: 100%; width: 100%; padding: 0; box-sizing: border-box; @@ -682,7 +682,6 @@ } } } - .router-list { height: 84rpx; padding: 22rpx 30rpx 0; @@ -719,7 +718,7 @@ } .talking-list { - height: calc(100% - 834rpx); + height: calc(100% - 832rpx); padding: 12rpx 24rpx; box-sizing: border-box; diff --git a/src/pages/me/index.vue b/src/pages/me/index.vue index 9a005ea2..ca39711f 100644 --- a/src/pages/me/index.vue +++ b/src/pages/me/index.vue @@ -59,6 +59,7 @@ + @@ -77,6 +78,7 @@ 我的报告 + diff --git a/src/pages/search/search.vue b/src/pages/search/search.vue index fd34b95f..80c3939f 100644 --- a/src/pages/search/search.vue +++ b/src/pages/search/search.vue @@ -62,14 +62,15 @@ } .fixed_search_div { - padding: calc(10rpx + var(--status-bar-height)) 15rpx 24rpx 30rpx; + padding: calc(10rpx + var(--status-bar-height)) 15rpx 24rpx 10rpx; background: linear-gradient(90deg, #F1F7FF 0%, #D8EDFF 50%, #C3E6FF 100%); display: flex; align-items: center; .back_div { - margin-right: 10rpx; - + // margin-right: 10rpx; + padding: 10rpx 10rpx 10rpx 20rpx; + // background-color: red; .back-icon { position: relative; width: 40rpx;