JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_修复sitbug

This commit is contained in:
杨航
2026-01-13 14:18:27 +08:00
parent 218dff6707
commit 0b2ee27dfe
+13 -4
View File
@@ -58,10 +58,10 @@
<view class="trans-loading-box" v-show="transLoading">
<CommonLoading color="#fff" class="loading-box" />
</view>
<view class="voice-input-box">
<uv-textarea ref="inputRef" v-model="answerValue" :maxlength="props.textValueLength"
v-show="!transLoading" @click.stop customStyle="background: #ffffff00; padding-bottom: 50rpx;"
height="200rpx" text-style="color: #fff"
<view class="voice-input-box">
<uv-textarea ref="inputRef" v-model="answerValue" :maxlength="props.textValueLength" v-show="!transLoading"
@click.stop customStyle="background: #ffffff00; padding-bottom: 50rpx;" height="200rpx"
text-style="color: #fff"
placeholderStyle="color:#999999;font-size:26rpx;border-color: #ffffff00 !important;"
placeholder=""></uv-textarea>
</view>
@@ -151,6 +151,9 @@
adjustPosition,
formatType
} = toRefs(props);
defineExpose({clearInputText})
const isLoadingState = computed(() => props.isLoading);
const showTalkingModel = ref(false);
@@ -600,6 +603,12 @@
common.msg('暂无问题需要回答!');
}
};
//
const clearInputText = (text = '') => {
let oldText = answerValue.value
answerValue.value = text;
return oldText
}
const changeBtn = () => {
if (props.isDisabled) return;
keyboardIsShow.value = !keyboardIsShow.value;