From 8c57e16513e709ae740d0dc902a183790a67ca82 Mon Sep 17 00:00:00 2001 From: jiangjunjie Date: Wed, 23 Sep 2026 10:36:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/footer-bar-btn.vue | 49 +++++++++++++---------------- src/components/footer-bar-input.vue | 12 +++++-- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/src/components/footer-bar-btn.vue b/src/components/footer-bar-btn.vue index 104fc50..5da0da5 100644 --- a/src/components/footer-bar-btn.vue +++ b/src/components/footer-bar-btn.vue @@ -15,6 +15,7 @@ import { ref, computed, onMounted } from 'vue' import { storeToRefs } from 'pinia' import { useAppStore } from '@/store/app.js' import { Post } from '@/utils/https' +import { jumpOpenWeb } from '@/utils' import footerBarBtnIcon from '@/assets/images/footer-bar-btn-icon.png' import footerBarBtnIcon2 from '@/assets/images/footer-bar-btn-icon2.png' import footerBarBtnIcon3 from '@/assets/images/footer-bar-btn-icon3.png' @@ -23,15 +24,15 @@ import footerBarBtnIcon4 from '@/assets/images/footer-bar-btn-icon4.png' defineEmits(['onFooterBtnChoose']) const store = useAppStore() -const { source, planCode, userInfo, manualService, mescrollContent, elder } = storeToRefs(store) +const { source, planCode, userInfo, manualService, mescrollContent, elder, isChatLoading } = + storeToRefs(store) const keywordslist = ref([ - { name: "查保单", icon: footerBarBtnIcon }, - { name: "查收益", icon: footerBarBtnIcon2 }, - { name: "贷还款", icon: footerBarBtnIcon3 }, - { name: "续期交费", icon: footerBarBtnIcon4 }, + { name: "查保单", icon: footerBarBtnIcon, URL: "https://yzsslfw.cpiccdn.com/accept_pad/index.html#/phone/base/wxxcxHomeSearch?source=wxxcx&bqtype=search&ticket=%s" }, + { name: "查收益", icon: footerBarBtnIcon2, URL: "https://yzsslfw.cpiccdn.com/accept_pad/index.html#/phone/base/wxxcxHomeSearch?source=wxxcx&bqtype=search&ticket=%s" }, + { name: "贷还款", icon: footerBarBtnIcon3, URL: "https://yzsslfw.cpiccdn.com/accept_pad/index.html#/phone/infoChange/eye?source=wxxcx&bqtype=search&ticket=%s" }, + { name: "续期交费", icon: footerBarBtnIcon4, URL: "/packageAgent/pages/renewalPayment/renewalPayment?source_channel=GDFW&ticket=%s" }, ]) -const issubmit = ref(true) // 防止重复发送 const keyWordshow = computed(() => keywordslist.value.length > 0) const isRobotService = computed(() => String(manualService.value) === '1') @@ -49,25 +50,13 @@ function scrollTopBody() { } function keywordsClick(item) { - // const sendParmas = { - // reqAndResType: '1', // 1文本 2图片 3问题评价 - // msgText: item.name, - // msgSource: manualService.value, // 1机器人 2人工 - // questionType: 1, - // } - - // if (!issubmit.value) return - // issubmit.value = false - // scrollTopBody() - - // store - // .sendingRobot(sendParmas) - // .catch((err) => { - // console.log(err) - // }) - // .finally(() => { - // issubmit.value = true - // }) + // 只把问题写入对话气泡,不走对话接口 + store.addSendMessageList({ msgText: item.name, reqAndResType: '1' }) + // 没有机器人回复来复位打字动画,这里手动复位,避免"正在输入"一直转 + isChatLoading.value = false + scrollTopBody() + + jumpOpenWeb('YY_GWXCX', item.URL) } async function initFooterBtn() { @@ -140,12 +129,18 @@ onMounted(() => { letter-spacing: 0; text-align: justify; padding: 6.5rem 10rem; - background: linear-gradient(140deg, #dcfcff 6%, #ffffffbf 18%, #ffffff 56%); position: relative; - border-radius: 82rem; + /* border-radius: 82rem; */ -webkit-animation: slideInRight 0.5s ease-in-out both; animation: slideInRight 0.5s ease-in-out both; display: flex; + background: linear-gradient(140deg, #dcfcff 6%, #ffffffbf 18%, #ffffff 56%); + box-sizing: border-box; + border-image: linear-gradient(115deg, #ffffff 4%, #ffffff 89%) 1.2; + backdrop-filter: blur(14px); + box-shadow: 0px 4px 10px 0px rgba(181, 189, 216, 0.3); + z-index: 3; + border-radius: 101rem; } .footerBtn .footer-items-list:active { diff --git a/src/components/footer-bar-input.vue b/src/components/footer-bar-input.vue index aef1102..e85bbc8 100644 --- a/src/components/footer-bar-input.vue +++ b/src/components/footer-bar-input.vue @@ -95,7 +95,8 @@ - + { height: auto; min-height: 10rem; line-height: 10rem; - background: #fff; border-radius: 30rem; padding: 7.5rem 20rem 7.5rem 15rem; vertical-align: middle; @@ -826,6 +826,14 @@ watch(sendMessage, (newValue, oldValue) => { overflow: hidden; display: flex; align-items: center; + background: linear-gradient(111deg, #dcfcff 0%, #ffffffbf 12%, #ffffff 38%); + box-sizing: border-box; + /* border: 1.2px solid; */ + border-image: linear-gradient(99deg, #ffffff 4%, #ffffff 88%) 1.2; + backdrop-filter: blur(14px); + box-shadow: 0px 4px 10px 0px rgba(181, 189, 216, 0.3); + + z-index: 0; } .input-text-tips { From 1d1fd68a6b72dd2ae6b72533aebe428403ace2c5 Mon Sep 17 00:00:00 2001 From: jiangjunjie Date: Wed, 23 Sep 2026 11:08:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=86=E7=BA=A2?= =?UTF-8?q?=E8=BD=AC=E8=B4=A6=E6=97=B6=E6=95=88=E9=80=89=E6=8B=A9=E5=9C=B0?= =?UTF-8?q?=E5=8C=BA=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat-content.vue | 7 +- src/components/chat-new.vue | 2 +- src/components/transfer-accounts.vue | 367 ++++++++++++++++----------- 3 files changed, 224 insertions(+), 152 deletions(-) diff --git a/src/components/chat-content.vue b/src/components/chat-content.vue index e30f836..1751a08 100644 --- a/src/components/chat-content.vue +++ b/src/components/chat-content.vue @@ -428,7 +428,8 @@ item.cmd == 'wnzhzzsx' || item.cmd == 'tbzzsx' || item.cmd == 'dkzzsx' || - item.cmd == 'lpzzsx') + item.cmd == 'lpzzsx' || + item.cmd == '$zzsx-da') // $zzsx-da这是展示的答案 ">
@@ -439,7 +440,7 @@
- +
@@ -1187,7 +1188,7 @@ import DynamicImage from '@/components/common/DynamicImage.vue'; import imageService from '@/utils/imageService'; import wx from 'weixin-js-sdk'; export default { - props: ["historylist", "tokenExist", "lostChatInfoNum"], + props: ["historylist", "tokenExist", "lostChatInfoNum", "isHistory"], components: { [Loading.name]: Loading, // TextContent, diff --git a/src/components/chat-new.vue b/src/components/chat-new.vue index 19c56a5..ec14ff6 100644 --- a/src/components/chat-new.vue +++ b/src/components/chat-new.vue @@ -333,7 +333,7 @@ watch(
-
diff --git a/src/components/transfer-accounts.vue b/src/components/transfer-accounts.vue index 284f8a0..0053e8b 100644 --- a/src/components/transfer-accounts.vue +++ b/src/components/transfer-accounts.vue @@ -3,63 +3,98 @@
{{ itemList.msgText }}
- + -
+
请选择业务类型
- + -
+
请选择所在分、支公司
- 确 认 + 确 认
- - + + - - + +
\ No newline at end of file +