fix: bug
This commit is contained in:
+1
-1
@@ -7,6 +7,6 @@ VITE_APP_BASE_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_TRAEXAM = 'http://25.64.32.154:9604'
|
||||
# VITE_APP_BASE_H5_API_Url_TRAPRACTICE = 'http://25.64.32.156:9603'
|
||||
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601'
|
||||
VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601'
|
||||
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.158:9601'
|
||||
|
||||
|
||||
@@ -103,16 +103,16 @@
|
||||
chooseTyp: 0,
|
||||
chooseTypSec: 0,
|
||||
tagsList:[{
|
||||
label: '本周',
|
||||
value: 'WEEK',
|
||||
label: '本年',
|
||||
value: 'YEAR',
|
||||
},{
|
||||
label: '本月',
|
||||
value: 'MONTH',
|
||||
},{
|
||||
label: '本年',
|
||||
value: 'YEAR',
|
||||
label: '本周',
|
||||
value: 'WEEK',
|
||||
}],
|
||||
activeTag: 'WEEK',
|
||||
activeTag: 'YEAR',
|
||||
rankList: []
|
||||
}
|
||||
},
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
onLoad(params => {
|
||||
inputValue.value = params.searchName
|
||||
fromType.value = params.from
|
||||
pageInfo.value.limit = fromType.value === 'course' ? 20 : 3
|
||||
pageInfo.value.limit = ['course','sparring'].includes(fromType.value) ? 20 : 3
|
||||
})
|
||||
onShow(() => {
|
||||
search()
|
||||
@@ -326,6 +326,9 @@
|
||||
case 'course':
|
||||
pageInfo.value.limit = 20
|
||||
break
|
||||
case 'sparring':
|
||||
pageInfo.value.limit = 20
|
||||
break
|
||||
case 'task':
|
||||
pageInfo.value.limit = 20
|
||||
break
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
AI陪练
|
||||
</view>
|
||||
<view class="input-view" @click="toSearchPage">
|
||||
<uv-input shape="circle" placeholderStyle="color:#999999;font-size:28rpx;" placeholder="请输入陪练名称"
|
||||
<uv-input shape="circle" placeholderStyle="color:#999999;font-size:28rpx;" placeholder="请输入"
|
||||
suffixIcon="search" :customStyle="customStyle" :suffixIconStyle="suffixIconStyle" :readonly="true">
|
||||
</uv-input>
|
||||
</view>
|
||||
@@ -70,13 +70,11 @@
|
||||
@scrolltolower="getMoreList()">
|
||||
<!-- <view class="all-item"> -->
|
||||
<view class="left-items">
|
||||
|
||||
<view class="sparring-item-box" v-for="item in leftsparringList">
|
||||
<SparringItem :itemInfo="item" :activeTag="activeTag" @clickItem="toSparringDetail(item)" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="right-items">
|
||||
|
||||
<view class="sparring-item-box" v-for="item in rightsparringList">
|
||||
<SparringItem :itemInfo="item" :activeTag="activeTag" @clickItem="toSparringDetail(item)" />
|
||||
</view>
|
||||
@@ -85,6 +83,7 @@
|
||||
<view class="loading-box" v-show="loading">
|
||||
<CommonLoading color="#06f" class="loading-val" />
|
||||
</view>
|
||||
<list-no-data v-show="sparringList.length == 0 && !loading">暂无数据</list-no-data>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
{{ roleInfo?.chaName }}
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="loading-box" v-if="isLoading"></view>
|
||||
<TalkingPreviewItem class="talk-item" v-for="item in showTalkList" :talkingType="item.type"
|
||||
:talkingInfo="item" :roleInfo="roleInfo" :traId="traId" :execId="execId" :isAnswering="false"
|
||||
:activeVoiceId="activeVoiceTalkingItemId" @handleEvents="talkItemEvents"></TalkingPreviewItem>
|
||||
@@ -180,6 +181,7 @@
|
||||
const isPass = ref(false)
|
||||
const negativeList = ref([]) // 劣质话术
|
||||
const positiveList = ref([]) // 劣质话术
|
||||
const isLoading = ref(false)
|
||||
const getData = () => {
|
||||
partnerChatReport({
|
||||
traId: traId.value,
|
||||
@@ -190,7 +192,9 @@
|
||||
}).then(res => {
|
||||
if (res.body.code === 200) {
|
||||
setTimeout(getData, 2000)
|
||||
isLoading.value = true
|
||||
} else {
|
||||
isLoading.value = false
|
||||
traInfo.value = res.body.traPartnerInfo || {}
|
||||
roleInfo.value = res.body.traPartnerCharacterInfoVo || {}
|
||||
traTm.value = res.body.traTm || '0'
|
||||
@@ -328,7 +332,7 @@
|
||||
.top-desc{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
font-size: 186rpx;
|
||||
font-size: 18rpx;
|
||||
color: #999;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
@@ -473,7 +477,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.loading-box{
|
||||
min-height: 180rpx;
|
||||
width: 100%;
|
||||
background: url(@/static/images/examination/getting_in.gif) no-repeat;
|
||||
background-position: center;
|
||||
background-size: auto 160rpx;
|
||||
margin-top: 100rpx;
|
||||
}
|
||||
|
||||
.collepse-tab {
|
||||
position: absolute;
|
||||
width: 300rpx;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 215 KiB |
Reference in New Issue
Block a user