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