Compare commits

..

No commits in common. "2f8186f675a886451559c5ef49d7c8efabe406ba" and "022b21facd9f86a304793882c7b01f079a7f28f9" have entirely different histories.

13 changed files with 34 additions and 52 deletions

View File

@ -1,5 +1,5 @@
NODE_ENV = development
VITE_BASE_URL = https://biz.nianxx.cn
VITE_BASE_URL = https://onefeel.brother7.cn/ingress
VITE_WSS_URL = wss://biz.nianxx.cn/agent/ws/chat
VITE_WSS_URL = wss://onefeel.brother7.cn/ingress/agent/ws/chat

View File

@ -1,5 +1,5 @@
NODE_ENV = production
VITE_BASE_URL = https://biz.nianxx.cn
VITE_BASE_URL = https://onefeel.brother7.cn/ingress
VITE_WSS_URL = wss://biz.nianxx.cn/agent/ws/chat
VITE_WSS_URL = wss://onefeel.brother7.cn/ingress/agent/ws/chat

View File

@ -1,5 +1,5 @@
NODE_ENV = staging
VITE_BASE_URL = https://biz.nianxx.cn
VITE_BASE_URL = https://onefeel.brother7.cn/ingress
VITE_WSS_URL = wss://biz.nianxx.cn/agent/ws/chat
VITE_WSS_URL = wss://onefeel.brother7.cn/ingress/agent/ws/chat

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -1,17 +1,8 @@
<template>
<view class="store-address" @click="openMap">
<view class="text-container">
<text class="location-label"
>位于{{ orderData.oneLevelAddress }}
</text>
<text class="location-label">位于 [{{ orderData.commodityAddress }}]</text>
<text class="address-text">{{ orderData.commodityAddress }}</text>
</view>
<image
class="loc-icon"
src="./images/loc_icon_img.png"
mode="aspectFit"
></image>
</view>
</template>
<script setup>

View File

@ -1,13 +1,13 @@
.store-address {
display: flex;
align-items: center;
align-items: start;
flex-direction: column;
padding: 16px 12px;
background-color: #f8f9fa;
background-image: url("./images/loc_bg_img.png"); // 预留背景图片位置用户手动导入
background-color: #f0f0f0;
background-image: url(""); // 预留背景图片位置用户手动导入
background-size: cover;
background-position: center;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
font-size: 14px;
color: #333;
position: relative;
@ -25,19 +25,9 @@
z-index: 1;
}
// 左侧文本容器
.text-container {
display: flex;
flex-direction: column;
flex: 1;
position: relative;
z-index: 2;
}
// 确保内容在遮罩层之上
.location-label,
.address-text,
.loc-icon {
.address-text {
position: relative;
z-index: 2;
}
@ -45,20 +35,15 @@
.location-label {
color: #333;
font-size: 14px;
margin-right: 4px;
font-weight: 500;
}
.address-text {
margin-top: 4px;
flex: 1;
color: #666;
font-size: 12px;
font-weight: 400;
}
// 右侧图标样式
.loc-icon {
width: 24px;
height: 24px;
margin-left: 12px;
}
}

View File

@ -1,8 +1,6 @@
const isProd = true;
console.log(import.meta.env);
export const BASE_URL = import.meta.env.VITE_BASE_URL;
export const BASE_URL = "https://onefeel.brother7.cn/ingress"; //'http://8.138.234.141/ingress'
// socket地址
export const WSS_URL = import.meta.env.VITE_WSS_URL;
export const WSS_URL = "wss://onefeel.brother7.cn/ingress/agent/ws/chat";

View File

@ -297,6 +297,7 @@ const sendMessageAction = (inputText) => {
if (!inputText.trim()) return;
handleNoHideKeyboard();
currentSessionMessageId = IdUtils.generateMessageId();
// AI
resetMessageState();
@ -635,7 +636,6 @@ const sendChat = (message, isInstruct = false) => {
const messageType = isInstruct ? 1 : 0;
const messageContent = isInstruct ? commonType : message;
currentSessionMessageId = IdUtils.generateMessageId();
//
resetMessageState();

View File

@ -60,8 +60,15 @@ const sendReply = (text) => {
padding: 2px 12px;
display: flex;
flex-direction: column;
flex-shrink: 0;
white-space: nowrap;
min-width: 46px;
// &:first-child {
// margin-left: 12px;
// }
// &:last-child {
// margin-right: 12px;
// }
.more-tips-item-title {
font-family: PingFang SC, PingFang SC;
@ -70,7 +77,6 @@ const sendReply = (text) => {
color: #00a6ff;
line-height: 24px;
text-align: center;
white-space: nowrap;
}
}
}

View File

@ -5,9 +5,8 @@
<image
class="top-item-left"
:src="initPageImages.welcomeImageUrl"
mode="aspectFit"
></image>
<image class="top-item-right" :src="initPageImages.logoImageUrl" mode="aspectFit"></image>
<image class="top-item-right" :src="initPageImages.logoImageUrl"></image>
</view>
<ChatCardAI v-if="welcomeContent.length" :text="welcomeContent" />
</view>

View File

@ -96,7 +96,7 @@ const handleAgreeAndGetPhone = () => {
const onLogin = (e) => {
const { code } = e.detail;
console.info("onLogin code: ", code);
console.error("onLogin code", code);
loginAuth()
.then(async () => {

View File

@ -1,4 +1,4 @@
import { BASE_URL } from "../../constant/base";
// import { BASE_URL } from "../../constant/base";
import { goLogin } from "@/hooks/useGoLogin";
const defaultConfig = {
@ -8,6 +8,9 @@ const defaultConfig = {
},
};
const BASE_URL = import.meta.env.VITE_BASE_URL;
console.log(import.meta.env);
function request(url, args = {}, method = "POST", customConfig = {}) {
// 判断 url 是否以 http 开头
if (!/^http/.test(url)) {