diff --git a/src/project/baiduAI/AppRecord/AppRecord.vue b/src/project/baiduAI/AppRecord/AppRecord.vue
index c757da8..9ff3515 100644
--- a/src/project/baiduAI/AppRecord/AppRecord.vue
+++ b/src/project/baiduAI/AppRecord/AppRecord.vue
@@ -9,21 +9,16 @@
-
-
{{item.createTime.substring(5, 16)}}
-
-

-
-
-
-
-
8”
-

-

+
+
{{item.content}}
+
+
{{item.createTime}}
+
+
查看对话
+
+
-
{{item.content || ''}}
-
@@ -77,7 +72,7 @@ export default {
return this.$u.toast("请先进行登录")
}
this.$loading()
- this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}`).then(res => {
+ this.$instance.post(`/app/appaicopilotinfo/listHistory?current=${this.current}&size=10&content=${this.searchVal}`).then(res => {
if(res.code == 0 && res.data.records.length) {
res.data.records.map((item) => {
if(item.sdkFileUrl) {
@@ -110,36 +105,22 @@ export default {
this.searchVal = ''
this.getSearchList()
},
- play(src, index) {
- innerAudioContext.stop();
- if(this.messageList[index].isPlay) {
- innerAudioContext.onStop(() => {
- this.messageList[index].isPlay = false
+ toDetail(e) {
+ uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}`})
+ },
+ del(e) {
+ this.$confirm('确定删除该数据?').then(() => {
+ uni.showLoading()
+ this.$instance.post(`appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
+ if (res.code == 0) {
+ this.$u.toast('删除成功!')
+ this.getSearchList()
+ }
+ uni.hideLoading()
})
- return
- }
-
- this.messageList.map((item) => {
- if(item.sdkFileUrl) {
- item.isPlay = false
- }
+ }).catch(() => {
})
- this.messageList[index].isPlay = true
- innerAudioContext.src = src;
-
- this.$nextTick(() => {
- innerAudioContext.play();
- })
- innerAudioContext.onEnded(() => {
- this.messageList[index].isPlay = false
- })
- },
- playStop(index) {
- innerAudioContext.stop();
- innerAudioContext.onStop(() => {
- this.messageList[index].isPlay = false
- })
- },
+ }
},
}
@@ -177,79 +158,42 @@ page {
box-sizing: border-box;
background-color: #fff;
padding: 144px 32px 364px;
- .send-time {
- display: block;
- width: 100%;
- line-height: 28px;
- font-family: PingFangSC-Regular;
- font-weight: 400;
- font-size: 20px;
- color: #999;
- text-align: center;
- margin-bottom: 28px;
- }
- .user-img {
- display: inline-block;
- width: 72px;
- height: 72px;
- vertical-align: top;
- }
.item {
- display: inline-block;
- max-width: 440px;
- border-radius: 8px;
- padding: 18px;
- box-sizing: border-box;
- margin-bottom: 28px;
- position: relative;
- .voice-div {
- img {
- width: 26px;
- height: 28px;
- }
- span {
- display: inline-block;
- color: #333;
- font-size: 28px;
- font-family: PingFangSC;
- line-height: 28px;
- margin-right: 68px;
- }
- }
- p {
- word-break: break-all;
+ .item-text {
line-height: 40px;
- font-family: SourceHanSansCN-Regular;
- font-size: 32px;
+ font-family: PingFangSC-Regular;
+ font-size: 28px;
color: #333;
- }
- }
- .item-right {
- display: flex;
- justify-content: flex-end;
- .item {
+ padding: 18px;
background-color: #CCE2FF;
+ border-radius: 8px;
}
- .user-img {
- margin-left: 24px;
- }
- .u-icon-right {
- position: absolute;
- top: 12px;
- right: -12px;
- }
- }
- .item-left {
- .item {
- background-color: #F3F5F7;
- }
- .user-img {
- margin-right: 24px;
- }
- .u-icon-left {
- position: absolute;
- top: 12px;
- left: -12px;
+ .time-flex {
+ display: flex;
+ justify-content: space-between;
+ line-height: 40px;
+ font-family: PingFangSC-Regular;
+ font-size: 24px;
+ .time-text {
+ color: #999;
+ padding-top: 34px;
+ }
+ .item-view {
+ p {
+ display: inline-block;
+ font-size: 28px;
+ color: #216AFD;
+ }
+ div {
+ display: inline-block;
+ padding: 34px 0 34px 38px;
+ img {
+ width: 40px;
+ height: 40px;
+ vertical-align: bottom;
+ }
+ }
+ }
}
}
}
diff --git a/src/project/baiduAI/AppRecord2/Detail.vue b/src/project/baiduAI/AppRecord/Detail.vue
similarity index 97%
rename from src/project/baiduAI/AppRecord2/Detail.vue
rename to src/project/baiduAI/AppRecord/Detail.vue
index ba9d9ea..5962e78 100644
--- a/src/project/baiduAI/AppRecord2/Detail.vue
+++ b/src/project/baiduAI/AppRecord/Detail.vue
@@ -1,6 +1,6 @@
-
+
{
+ this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}&aiConfigId=${this.aiConfigId}`).then(res => {
if(res.code == 0 && res.data.records.length) {
res.data.records.map((item) => {
if(item.sdkFileUrl) {
diff --git a/src/project/baiduAI/AppRecord2/img/del-img.png b/src/project/baiduAI/AppRecord/img/del-img.png
similarity index 100%
rename from src/project/baiduAI/AppRecord2/img/del-img.png
rename to src/project/baiduAI/AppRecord/img/del-img.png
diff --git a/src/project/baiduAI/AppRecord2/AppRecord.vue b/src/project/baiduAI/AppRecord2/AppRecord.vue
deleted file mode 100644
index 81fe1aa..0000000
--- a/src/project/baiduAI/AppRecord2/AppRecord.vue
+++ /dev/null
@@ -1,201 +0,0 @@
-
-
-
-
-
-
-
{{item.content}}
-
-
{{item.createTime}}
-
-
查看对话
-
-

-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/project/baiduAI/AppRecord2/record.png b/src/project/baiduAI/AppRecord2/record.png
deleted file mode 100644
index fff7528..0000000
Binary files a/src/project/baiduAI/AppRecord2/record.png and /dev/null differ
diff --git a/src/project/baiduAI/AppRecord2/record_selected.png b/src/project/baiduAI/AppRecord2/record_selected.png
deleted file mode 100644
index 7a02768..0000000
Binary files a/src/project/baiduAI/AppRecord2/record_selected.png and /dev/null differ
diff --git a/src/project/weiyang/AppPageInteraction/AppPageInteraction.vue b/src/project/weiyang/AppPageInteraction/AppPageInteraction.vue
index 2e53b51..c3686b9 100644
--- a/src/project/weiyang/AppPageInteraction/AppPageInteraction.vue
+++ b/src/project/weiyang/AppPageInteraction/AppPageInteraction.vue
@@ -1,5 +1,10 @@
@@ -8,6 +13,7 @@
export default {
name: 'AppPageInteraction',
appName: '居民管理',
+ customNavigation: true,
data() {
return {
label: '居民管理',
@@ -29,10 +35,18 @@ export default {
// }
],
headerBg: 'https://cdn.sinoecare.com/i/2024/07/10/668ddacfbac60.png',
+ backgroundNavbar: {
+ background: 'url(https://cdn.sinoecare.com/i/2024/07/12/6690a1309c7d3.png) no-repeat',
+ backgroundSize: 'cover',
+ },
}
},
onShow() {
- }
+ uni.setNavigationBarColor({
+ frontColor: 'black',
+ backgroundColor: '#ffffff'
+ })
+ },
}
@@ -43,5 +57,15 @@ uni-page-body {
.AppPageInteraction {
height: 100%;
+ .header-content-bg {
+ width: 100%;
+ position: relative;
+ img {
+ width: 100%;
+ height: 592px;
+ position: absolute;
+ z-index: -1;
+ }
+ }
}
diff --git a/src/project/weiyang/AppPeopleList/AppPeopleList.vue b/src/project/weiyang/AppPeopleList/AppPeopleList.vue
index 1d6b963..5a04c7d 100644
--- a/src/project/weiyang/AppPeopleList/AppPeopleList.vue
+++ b/src/project/weiyang/AppPeopleList/AppPeopleList.vue
@@ -1,5 +1,10 @@
+
+
{{item.title}}
@@ -11,6 +16,7 @@
export default {
name: 'AppPeopleList',
appName: '居民档案',
+ customNavigation: true,
data() {
return {
bannerList: [
@@ -24,11 +30,18 @@ export default {
title: '居民档案审核',
linkUrl: './ExamineList'
}
- ]
+ ],
+ backgroundNavbar: {
+ background: 'url(https://cdn.sinoecare.com/i/2024/07/12/6690a1309c7d3.png) no-repeat',
+ backgroundSize: 'cover',
+ },
}
},
onShow() {
- document.title = '居民档案'
+ uni.setNavigationBarColor({
+ frontColor: 'black',
+ backgroundColor: '#ffffff'
+ })
},
methods: {
linkTo(url) {
@@ -41,7 +54,17 @@ export default {