diff --git a/.env.development b/.env.development index c1c01366..6ee69cc3 100644 --- a/.env.development +++ b/.env.development @@ -15,13 +15,13 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # h5专用地址 -VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' +# VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' # VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002' # dev # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # sit -# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' +VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' # UAT # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' @@ -30,6 +30,7 @@ VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001' # VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' # VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' + # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' # 张建成 # VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605' diff --git a/src/components/course-item/course-item.vue b/src/components/course-item/course-item.vue index 40e24717..a0b4dba4 100644 --- a/src/components/course-item/course-item.vue +++ b/src/components/course-item/course-item.vue @@ -9,7 +9,7 @@ {{itemInfo.crsName}} - {{item.tagName}} + {{item.tagName}} 更新:{{itemInfo.mtTime}} @@ -135,6 +135,11 @@ text-overflow: ellipsis; max-width: 200rpx; box-sizing: border-box; + &.active-tag{ + background-color: #ffa150; + color: #fff; + border: 2rpx solid #ffa150; + } } } } diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue index 64a6608e..69f2381e 100644 --- a/src/pages/course/components/touchBtn.vue +++ b/src/pages/course/components/touchBtn.vue @@ -16,7 +16,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -101,7 +101,8 @@ const showTalkingModel = ref(false) const keyboardIsShow = ref(false) - + const talkModelRef= ref() + watch(() => showTalkingModel.value, (val) => val ? talkModelRef.value.open() : talkModelRef.value.close()) watch(() => props.isLoading, () => {}, { deep: true, immediate: true @@ -253,6 +254,8 @@ } } // #endif + // setTimeout(()=> {talkModelRef.value.open()}, 2000) + }) // 录音结束 diff --git a/src/pages/course/index.vue b/src/pages/course/index.vue index 25652b4a..cf821602 100644 --- a/src/pages/course/index.vue +++ b/src/pages/course/index.vue @@ -48,21 +48,23 @@ @@ -556,13 +558,45 @@ import { onShow } from "@dcloudio/uni-app" .tags-view{ height: 84rpx; display: block; - padding: 20rpx 120rpx 20rpx 20rpx; + padding: 15rpx 120rpx 15rpx 20rpx; box-sizing: border-box; white-space: nowrap; border-bottom: 2rpx solid #eee; .tags-item{ margin-right: 30rpx; display: inline-block; + &.active-tags-item{ + position: relative; + overflow: hidden; + border-radius: 4rpx; + overflow: hidden; + &::before{ + content: ''; + display: block; + width: 40rpx; + height: 40rpx; + position: absolute; + right: -20rpx; + bottom: -20rpx; + transform: rotateZ(-45deg); + background-color: #06f; + overflow: hidden; + z-index: 10; + } + &::after{ + content: ''; + display: block; + width: 8rpx; + height: 4rpx; + position: absolute; + right: 3rpx; + bottom: 8rpx; + transform: rotateZ(-45deg); + border-left: 1px solid #fff; + border-bottom: 1px solid #fff; + z-index: 11; + } + } ::v-deep .uv-tags{ padding: 0 20rpx; .uv-tags__text{ diff --git a/src/pages/index/dialog.vue b/src/pages/index/dialog.vue index 491b990c..aff3e114 100644 --- a/src/pages/index/dialog.vue +++ b/src/pages/index/dialog.vue @@ -655,7 +655,7 @@ ...t, hotContent: t.refineContent } - }) + }).filter(t=> t.refineContent) }) } const loadData = async () => {