diff --git a/.env.development_h5 b/.env.development_h5
index 3b50f23b..713d6e58 100644
--- a/.env.development_h5
+++ b/.env.development_h5
@@ -3,3 +3,11 @@ ENV = 'development'
# 'development'
VITE_APP_BASE_API_Url = ''
+
+VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
+# 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://192.168.247.200'
+# VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.32.154:9602'
+VITE_APP_BASE_H5_API_Url_TRAEXAM = ''http://25.64.32.154:9604'
+# VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.32.154:9605'
\ No newline at end of file
diff --git a/src/components/course-item/course-item.vue b/src/components/course-item/course-item.vue
index 77c2d1c4..e31434b3 100644
--- a/src/components/course-item/course-item.vue
+++ b/src/components/course-item/course-item.vue
@@ -1,15 +1,17 @@
+ {{itemInfo.crsName}}
-
+
+
{{itemInfo.evalGrade}}
- {{itemInfo.crsName}}
- {{item.tagName}}
+
+ {{item.tagName}}
更新:{{itemInfo.mtTime}}
@@ -18,50 +20,50 @@
-
\ No newline at end of file
diff --git a/src/pages/course/index.vue b/src/pages/course/index.vue
index 2a48ae87..46f2fba1 100644
--- a/src/pages/course/index.vue
+++ b/src/pages/course/index.vue
@@ -1,766 +1,904 @@
-
-
-
-
-
-
-
- AI学习
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ AI学习
+
+
+
+
+
+
+
+
+
+ {
showFilterList = !showFilterList
activeTagPop = activeTag
}
- "
- >筛选
-
-
-
-
-
-
- {{ item.label }}
-
-
- {{ itemT.label }}
-
-
-
-
-
- 取消
- 筛选
-
-
-
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
- {{ item.label }}
-
-
-
-
-
-
-
- {{ item.label }}
-
-
-
-
-
- {{ itemT.label }}
-
-
-
-
-
-
-
-
-
-
-
-
+ ">筛选
+
+
+
+
+
+
+ {{ item.label }}
+
+
+ {{ itemT.label }}
+
+
+
+
+
+ 取消
+ 筛选
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+ {{ itemT.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .my_tabs {
+ // 解决这个圆角的图片,开穿透
+ :deep(.uv-tabs__wrapper__nav__line) {
+ height: 30rpx !important;
+ left: 50rpx;
+ background-size: 24rpx !important;
+ background-repeat: no-repeat !important;
+ }
+ }
+ .course-center {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+
+ .top-bg {
+ background-color: #fff;
+ // background: linear-gradient(16deg, rgba(234, 246, 255, 0) 0%, #c3e6ff 100%);
+ height: 480rpx;
+ width: 100%;
+ }
+
+ .bot-bg {
+ background-color: #fff;
+ // background: linear-gradient(136deg, rgba(234, 246, 255, 0) 0%, #c3e6ff 100%);
+ width: 100%;
+ flex: 1;
+ }
+
+ .course-center-body {
+ position: absolute;
+ overflow: hidden;
+ left: 0;
+ top: 0;
+ height: 100%;
+ width: 100%;
+ padding: 0;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ padding-top: v-bind(pageTopPadding);
+
+ // padding-top: var(--status-bar-height);
+ .body-title {
+ height: 90rpx;
+ // background-color: red;
+ text-align: center;
+ font-size: 33rpx;
+ padding-top: 10rpx;
+ line-height: 46rpx;
+ box-sizing: border-box;
+ font-weight: 500;
+ color: #000;
+ position: relative;
+
+ // margin-bottom: 23rpx;
+ .arrow-icon {
+ position: absolute;
+ left: 36rpx;
+ top: 20rpx;
+ color: #000;
+ }
+ }
+
+ .input-view {
+ padding: 0 38rpx;
+ }
+
+ .tabs-view {
+ background: #ffffff;
+ margin-top: 23rpx;
+ border-radius: 23rpx;
+ padding: 6rpx 10rpx 12rpx;
+ margin-bottom: 15rpx;
+ }
+
+ .list-view {
+ flex: 1;
+ overflow: hidden;
+ // margin-bottom: 15rpx;
+ background: #ffffff;
+ // border-radius: 23rpx;
+ display: flex;
+ flex-direction: column;
+ position: relative;
+
+ .filter-list {
+ position: absolute;
+ top: 84rpx;
+ left: 0;
+ width: 100%;
+ height: 588rpx;
+ padding-bottom: 80rpx;
+ overflow-y: hidden;
+ z-index: 15;
+ background-color: #f9f9f9;
+ box-shadow: 0rpx 12rpx 20rpx rgba(160, 160, 160, 0.25);
+ border-radius: 0 0 0rpx 0rpx;
+ box-sizing: border-box;
+ position: relative;
+
+ .scroll-box-tags {
+ height: 508rpx;
+ padding: 0rpx 25rpx;
+ box-sizing: border-box;
+ }
+
+ .filter-type {
+ padding: 10rpx 0;
+ box-sizing: border-box;
+
+ .filter-type-title {
+ font-size: 29rpx;
+ line-height: 40rpx;
+ margin-bottom: 15rpx;
+ color: #000;
+ }
+
+ .filter-type-list {
+ overflow: hidden;
+
+ .filter-type-item {
+ // width: calc(25% - 18rpx);
+ display: inline-block;
+ font-size: 29rpx;
+ box-sizing: border-box;
+ padding: 0 20rpx;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ text-align: center;
+ float: left;
+ margin-right: 24rpx;
+ height: 65rpx;
+ line-height: 65rpx;
+ background-color: #f1f3f8;
+ border-radius: 6rpx;
+ margin-bottom: 20rpx;
+
+ &:nth-child(4n) {
+ margin-right: 24rpx;
+ }
+
+ &.is-active {
+ color: #06f;
+ }
+ }
+ }
+
+ &+.filter-type {
+ margin-top: 20rpx;
+ }
+ }
+
+ .btns-box {
+ height: 80rpx;
+ position: absolute;
+ background-color: #fff;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ text-align: center;
+ padding-top: 10rpx;
+
+ .btn-sub {
+ display: inline-block;
+ text-align: center;
+ background-color: #06f;
+ height: 60rpx;
+ line-height: 58rpx;
+ border: 1rpx solid #06f;
+ padding: 0 40rpx;
+ color: #fff;
+ border-radius: 8rpx;
+
+ &.cencle-btn {
+ background-color: #fff;
+ color: #06f;
+ margin-right: 40rpx;
+ }
+ }
+ }
+ }
+
+ .model-filter-list {
+ position: fixed;
+ width: calc(100vw - 33rpx);
+ height: 80vh;
+ overflow: hidden;
+ top: 500rpx;
+ left: 17rpx;
+ z-index: 1;
+ background-color: rgba(0, 0, 0, 0.2);
+ }
+
+ .filter-list,
+ .model-filter-list {
+ display: none;
+
+ &.show {
+ display: block;
+ }
+ }
+
+ .filter-btn {
+ position: absolute;
+ right: 0;
+ top: 0;
+ height: 83rpx;
+ width: 120rpx;
+ line-height: 83rpx;
+ font-size: 26rpx;
+ background: #fff;
+ z-index: 2;
+ text-align: center;
+ box-shadow: -4rpx 0 6rpx rgba(0, 0, 0, 0.05);
+ white-space: nowrap;
+ padding-right: 30rpx;
+ box-sizing: border-box;
+
+ .filter-icon {
+ // display: inline-block;
+ font-size: 26rpx;
+ position: absolute;
+ right: 15rpx;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+ }
+
+ .tags-view {
+ height: 84rpx;
+ display: block;
+ 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 {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 200rpx;
+ }
+ }
+ }
+ }
+
+ .course-list {
+ display: flex;
+ flex: 1;
+ overflow: hidden;
+ background-color: #f1f5fa;
+ padding-top: 12rpx;
+
+ .course-list-body {
+ height: 100%;
+ display: flex;
+ flex: 1;
+ overflow: hidden;
+
+ .left-type-list {
+ margin-top: -10rpx;
+ width: 152rpx;
+ // border-right: 2rpx solid #eee;
+ overflow-y: auto;
+
+ .type-item {
+ min-height: 90rpx;
+ line-height: 40rpx;
+ font-size: 22rpx;
+ box-sizing: border-box;
+ padding: 25rpx 18rpx;
+ overflow: hidden;
+ // text-overflow: ellipsis;
+ word-break: break-all;
+ text-align: center;
+ white-space: pre-wrap;
+
+ &.is-active {
+ // background-color: rgba(44, 142, 242, 0.1);
+ background: url(@/static/images/course/active-left.png) no-repeat;
+ background-size: 100% 100%;
+ // margin-top: -10rpx;
+ color: #06f;
+ }
+ }
+ }
+
+ .right-course-list {
+ flex: 1;
+ overflow-y: auto;
+ background-color: #fff;
+ border-radius: 23rpx 0 0 0;
+
+ &.no-radius {
+ border-radius: 0rpx 0 0 0;
+ }
+
+ .type-list {
+ .type-title {
+ font-size: 33rpx;
+ line-height: 43rpx;
+ margin: 20rpx 15rpx 5rpx;
+ min-height: 43rpx;
+ // overflow: hidden;
+ // text-overflow: ellipsis;
+ // white-space: nowrap;
+ word-break: break-all;
+ font-weight: 600;
+
+ .left-tips {
+ width: 33rpx;
+ height: 42rpx;
+ margin-right: 16rpx;
+ float: left;
+ background: url(@/static/images/course/tag-item.png) no-repeat;
+ background-size: 33rpx 33rpx;
+ background-position: center;
+ }
+
+ .left-color {
+ width: 8rpx;
+ height: 33rpx;
+ margin-top: 5rpx;
+ float: left;
+ overflow: hidden;
+ background-color: #06f;
+ margin-right: 8rpx;
+ }
+ }
+ }
+ }
+
+ }
+ }
+ }
+
+ .loading-box {
+ width: 100%;
+ height: 100rpx;
+ position: relative;
+
+ .loading-val {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ }
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/src/static/images/course/active-left.png b/src/static/images/course/active-left.png
new file mode 100644
index 00000000..03037855
Binary files /dev/null and b/src/static/images/course/active-left.png differ
diff --git a/src/static/images/course/tag-item.png b/src/static/images/course/tag-item.png
new file mode 100644
index 00000000..1c89c30f
Binary files /dev/null and b/src/static/images/course/tag-item.png differ