完善功能
This commit is contained in:
@@ -182,7 +182,7 @@ export default {
|
|||||||
if (res.pageRes.records&&length>0) {
|
if (res.pageRes.records&&length>0) {
|
||||||
this.show = true;
|
this.show = true;
|
||||||
//如果返回的数据少于每页数量,表示没有更多数据
|
//如果返回的数据少于每页数量,表示没有更多数据
|
||||||
if(this.count==length||length < this.limit){
|
if(this.count==length || length < this.limit ||this.count/this.current==this.limit){
|
||||||
this.noMore = true;
|
this.noMore = true;
|
||||||
}
|
}
|
||||||
this.list = [...this.list, ...res.pageRes.records];
|
this.list = [...this.list, ...res.pageRes.records];
|
||||||
|
|||||||
@@ -123,6 +123,7 @@
|
|||||||
<view id="bottom-anchor"></view>
|
<view id="bottom-anchor"></view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
|
||||||
|
<view class="aiFlag">本回答由AI生成,内容仅供参考。</view>
|
||||||
<view class="submit_form submit_form_2">
|
<view class="submit_form submit_form_2">
|
||||||
<view class="assistants_list">
|
<view class="assistants_list">
|
||||||
<textarea auto-height v-model="question_send" placeholder="给智慧医疗发送消息" placeholder-class="custom-placeholder" />
|
<textarea auto-height v-model="question_send" placeholder="给智慧医疗发送消息" placeholder-class="custom-placeholder" />
|
||||||
@@ -1122,7 +1123,7 @@ export default {
|
|||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
.submit_form_2{
|
.submit_form_2{
|
||||||
height: 145rpx;
|
height: 135rpx;
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
|
|
||||||
.assistants_list{
|
.assistants_list{
|
||||||
@@ -1490,4 +1491,18 @@ h3{
|
|||||||
text-indent: 0;
|
text-indent: 0;
|
||||||
padding-top: 10rpx;
|
padding-top: 10rpx;
|
||||||
}
|
}
|
||||||
|
.aiFlag{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 55px;
|
||||||
|
left: 20px;
|
||||||
|
width: calc(100% - 40px);
|
||||||
|
font-size: 11px;
|
||||||
|
line-height: 16px;
|
||||||
|
color: #f69e12;
|
||||||
|
z-index: 999;
|
||||||
|
background: rgba(254, 243, 225, 0.8);
|
||||||
|
border: 1px solid #f2d7aa;
|
||||||
|
padding: 5px;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user