修理六个bug

This commit is contained in:
田岩
2025-09-04 14:44:17 +08:00
5 changed files with 59 additions and 16 deletions
+3 -2
View File
@@ -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'
+6 -1
View File
@@ -9,7 +9,7 @@
<view class="item-title">{{itemInfo.crsName}}</view>
<scroll-view class="item-tags" :scroll-x="true">
<view class="item-tag-view">
<view class="item-tag" v-for="item in tagsShowList">{{item.tagName}}</view>
<view :class="['item-tag', this.activeTag.includes(item.tagId)?'active-tag':'']" v-for="item in tagsShowList">{{item.tagName}}</view>
</view>
</scroll-view>
<view class="item-publish">更新{{itemInfo.mtTime}}</view>
@@ -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;
}
}
}
}
+6 -3
View File
@@ -16,7 +16,7 @@
<image class="talk-btn-icon" v-show="keyboardIsShow && !!answerValue" src="/src/static/images/course/send.png"
mode="" @click.stop="showKeyboard"></image>
</view>
<uv-overlay :show="showTalkingModel" opacity=".9" @click="showTalkingModel = false">
<uni-popup ref="talkModelRef" type="bottom" @click="showTalkingModel = false" mask-background-color="rgba(0,0,0,0.9)">
<view class="overlay-box">
<view class="circle-bg-box">
<view class="icon-box">
@@ -34,7 +34,7 @@
<image src="@/static/images/course/voice-white.gif" mode="" class="gif-box"></image>
</view>
</view>
</uv-overlay>
</uni-popup>
</view>
</template>
@@ -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)
})
// 录音结束
+43 -9
View File
@@ -48,21 +48,23 @@
<view :class="['model-filter-list',showFilterList?'show':'']" @click="showFilterList = false"></view>
<uv-scroll-list class="tags-view" :indicator="false">
<uv-tags text="全部"
shape="circle"
plain
class="tags-item"
size="mini"
bgColor="#f6f8fa"
:borderColor="activeTag.length === 0 ? '#06f' : '#f6f8fa'"
:color="activeTag.length === 0 ? '#06f' : '#333'"
:class="activeTag.length === 0?'tags-item active-tags-item':'tags-item'"
size="medium"
:type="activeTag.length === 0?'primary':'info'"
@click="chooseTag({value:''})"
></uv-tags>
<uv-tags :text="item.label"
v-for="item in tagsList"
:key="item.value"
shape="circle"
plain
:type="activeTag.includes(item.value)?'primary':'info'"
size="medium"
:bgColor="'#f6f8fa'"
:borderColor="activeTag.includes(item.value)?'#06f' : '#f6f8fa'"
:color="activeTag.includes(item.value)?'#06f' : '#333'"
@click="chooseTag(item)"
class="tags-item" size="mini"
:class="activeTag.includes(item.value)?'tags-item active-tags-item':'tags-item'"
></uv-tags>
</uv-scroll-list>
<view class="course-list">
@@ -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{
+1 -1
View File
@@ -655,7 +655,7 @@
...t,
hotContent: t.refineContent
}
})
}).filter(t=> t.refineContent)
})
}
const loadData = async () => {