diff --git a/.env.development b/.env.development index 9518d451..0b7218c4 100644 --- a/.env.development +++ b/.env.development @@ -27,15 +27,15 @@ VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' # 任东 -# 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_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' # VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.144:9602' # 王洋洋 -VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' +# VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.140:9604' # 于嘉文 # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.143:9604' # 孙宇 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/index.vue b/src/pages/course/index.vue index 25652b4a..814c4127 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{