小助理
This commit is contained in:
@@ -140,7 +140,6 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
this.getAiTypeList()
|
||||
this.getHistoryList()
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
if(this.current > this.pages) {
|
||||
@@ -320,7 +319,7 @@ export default {
|
||||
if (!this.token) {
|
||||
this.autoLogin({loginWay: 'admin', phoneCode}).then(() => {
|
||||
this.getUserInfo()
|
||||
this.getHistoryList()
|
||||
this.getAiTypeList()
|
||||
this.$u.toast('登录成功')
|
||||
})
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</u-search>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-content" >
|
||||
<div class="list-content" :style="{'top': `${statusBarHeight+110}px`}">
|
||||
<div class="item" v-for="(item, index) in messageList" :key="index">
|
||||
<p class="item-text">{{item.content}}</p>
|
||||
<div class="time-flex">
|
||||
@@ -115,7 +115,7 @@ export default {
|
||||
del(e) {
|
||||
this.$dialog.confirm({content: "确定删除该数据?"}).then(() => {
|
||||
uni.showLoading()
|
||||
this.$instance.post(`appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
|
||||
this.$instance.post(`/app/appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('删除成功!')
|
||||
this.getSearchList()
|
||||
@@ -159,7 +159,7 @@ page {
|
||||
.list-content {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 144px 32px 32px;
|
||||
padding: 0 32px 32px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<img src="https://cdn.sinoecare.com/i/2024/07/12/6690a1303d423.png" alt="">
|
||||
</div>
|
||||
<div class="statistics-content" v-if="currentTabBar == 0">
|
||||
<div class="top-tabs">
|
||||
<div class="top-tabs" :style="{'top': `${statusBarHeight+50}px`}">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#fff" inactive-color="#222"
|
||||
active-color="#1D2229" :bar-style="barStyle" font-size="34" @change="change"></u-tabs>
|
||||
</div>
|
||||
@@ -514,15 +514,40 @@ uni-page-body {
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
|
||||
.header-content-bg {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 592px;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
|
||||
.top-tabs {
|
||||
width: calc(100% - 64px);
|
||||
box-sizing: border-box;
|
||||
position: fixed;
|
||||
left: 32px;
|
||||
}
|
||||
|
||||
::v-deep .u-tabs {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-top-left-radius: 16px;
|
||||
border-top-right-radius: 16px;
|
||||
}
|
||||
|
||||
.statistics-content {
|
||||
padding-bottom: 216px;
|
||||
.top-tabs {
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
::v-deep .u-tabs {
|
||||
border-radius: 16px;
|
||||
}
|
||||
}
|
||||
// .top-tabs {
|
||||
// padding: 32px;
|
||||
// box-sizing: border-box;
|
||||
// ::v-deep .u-tabs {
|
||||
// border-radius: 16px;
|
||||
// }
|
||||
// }
|
||||
.statistics-chart {
|
||||
padding: 0 32px;
|
||||
.statistics-num {
|
||||
|
||||
@@ -269,13 +269,6 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.top-fixed {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 32px;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.top-tabs {
|
||||
width: calc(100% - 64px);
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user