feat: 一些调整
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"zhinian": {
|
"zhinian": {
|
||||||
"clientId": "6",
|
"clientId": "6",
|
||||||
"appId": "wx5e79df5996572539",
|
"appId": "wx5e79df5996572539",
|
||||||
"name": "智念",
|
"name": "念念",
|
||||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png",
|
"logo": "https://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/20260514105508_3233_27.png",
|
||||||
"theme": {
|
"theme": {
|
||||||
"theme-color-800": "#174BB6",
|
"theme-color-800": "#174BB6",
|
||||||
"theme-color-700": "#145EE1",
|
"theme-color-700": "#145EE1",
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
"nianhelper": {
|
"nianhelper": {
|
||||||
"clientId": "11",
|
"clientId": "11",
|
||||||
"appId": "wx6fcf7b3db3deee6c",
|
"appId": "wx6fcf7b3db3deee6c",
|
||||||
"name": "智念助手",
|
"name": "念念助手",
|
||||||
"logo": "https://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/znjqzs.png",
|
"logo": "https://one-feel-config-images-bucket.oss-cn-chengdu.aliyuncs.com/znjqzs.png",
|
||||||
"theme": {
|
"theme": {
|
||||||
"theme-color-800": "#174BB6",
|
"theme-color-800": "#174BB6",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"zhinian": {
|
"zhinian": {
|
||||||
"clientId": "2",
|
"clientId": "2",
|
||||||
"appId": "wx5e79df5996572539",
|
"appId": "wx5e79df5996572539",
|
||||||
"name": "智念",
|
"name": "念念",
|
||||||
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png"
|
"logo": "https://oss.nianxx.cn/mp/static/version_101/login/dh_logo.png"
|
||||||
},
|
},
|
||||||
"duohua": {
|
"duohua": {
|
||||||
|
|||||||
BIN
src/components/ModuleTitle/images/wave_icon_b.png
Normal file
BIN
src/components/ModuleTitle/images/wave_icon_b.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -1,11 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="module-header mb-4">
|
<view class="module-header mb-4">
|
||||||
<text class="module-title">{{ title }}</text>
|
<text class="module-title">{{ title }}</text>
|
||||||
<image class="underline" src="./images/wave_icon.png" mode="aspectFill" />
|
<image class="underline" :src="isZhiNian ? indicatorSrcB : indicatorSrc" mode="aspectFill" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { isZhiNian } from "@/constant/base";
|
||||||
|
import indicatorSrc from "./images/wave_icon.png";
|
||||||
|
import indicatorSrcB from "./images/wave_icon_b.png";
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -31,13 +31,13 @@ export const ClientType = {
|
|||||||
/// 获取当前客户端类型
|
/// 获取当前客户端类型
|
||||||
export const currentClientType = () => {
|
export const currentClientType = () => {
|
||||||
switch (getCurrentConfig().name) {
|
switch (getCurrentConfig().name) {
|
||||||
case "智念":
|
case "念念":
|
||||||
return ClientType.ZHINIAN;
|
return ClientType.ZHINIAN;
|
||||||
case "朵朵":
|
case "朵朵":
|
||||||
return ClientType.DUOHUA;
|
return ClientType.DUOHUA;
|
||||||
case "沐沐":
|
case "沐沐":
|
||||||
return ClientType.TIANMU;
|
return ClientType.TIANMU;
|
||||||
case "念念":
|
case "念念助手":
|
||||||
return ClientType.NIANHELPER;
|
return ClientType.NIANHELPER;
|
||||||
default:
|
default:
|
||||||
return ClientType.ZHINIAN;
|
return ClientType.ZHINIAN;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
.main-image {
|
.main-image {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
height: 180px;
|
height: 160px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -168,8 +168,7 @@
|
|||||||
|
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<ChatCardOther class="flex flex-justify-center" :text="item.msg">
|
<ChatCardOther class="flex flex-justify-center" :text="item.msg">
|
||||||
<ChatGuide v-if="chatMsgList.length < 8" :hasMessage="chatMsgList.length > 1" />
|
<ChatGuide v-if="chatMsgList.length > 1" />
|
||||||
|
|
||||||
<ActivityListComponent
|
<ActivityListComponent
|
||||||
v-if="
|
v-if="
|
||||||
mainPageDataModel.activityList &&
|
mainPageDataModel.activityList &&
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 隐藏 -->
|
<!-- 隐藏 -->
|
||||||
<view class="flex-full h-full flex flex-items-center flex-justify-center">
|
<view v-if="false" class="flex-full h-full flex flex-items-center flex-justify-center">
|
||||||
<!-- ChatTopWelcome不在可视区:显示并添加动画;在可视区:隐藏 -->
|
<!-- ChatTopWelcome不在可视区:显示并添加动画;在可视区:隐藏 -->
|
||||||
<SpriteAnimator v-show="show" class="image-animated" :src="spriteStyle.ipSmallImage"
|
<SpriteAnimator v-show="show" class="image-animated" :src="spriteStyle.ipSmallImage"
|
||||||
:frameWidth="spriteStyle.frameWidth" :frameHeight="spriteStyle.frameHeight"
|
:frameWidth="spriteStyle.frameWidth" :frameHeight="spriteStyle.frameHeight"
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -13,7 +13,7 @@
|
|||||||
<view class="tab-content">
|
<view class="tab-content">
|
||||||
<view class="tab-label">
|
<view class="tab-label">
|
||||||
<text class="tab-text">{{ tab.label }}</text>
|
<text class="tab-text">{{ tab.label }}</text>
|
||||||
<image v-if="modelValue === idx && indicatorSrc" :src="indicatorSrc" class="tab-indicator" mode="widthFix" />
|
<image v-if="modelValue === idx && (isZhiNian ? indicatorSrcB : indicatorSrc)" :src="isZhiNian ? indicatorSrcB : indicatorSrc" class="tab-indicator" mode="widthFix" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -23,7 +23,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { isZhiNian } from "@/constant/base";
|
||||||
import indicatorSrc from "./images/selected_tabs_icon.png";
|
import indicatorSrc from "./images/selected_tabs_icon.png";
|
||||||
|
import indicatorSrcB from "./images/selected_tabs_icon_b.png";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: { type: Number, default: 0 },
|
modelValue: { type: Number, default: 0 },
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ const getEvnUrl = async () => {
|
|||||||
if (developVersion) {
|
if (developVersion) {
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
appStore.setServerConfig({
|
appStore.setServerConfig({
|
||||||
baseUrl: devUrl, // 服务器基础地址
|
baseUrl: "https://abroadbiz.nianxx.com/ingress", // 服务器基础地址
|
||||||
wssUrl: wssDevUrl, // 服务器wss地址
|
wssUrl: "wss://abroadbiz.nianxx.com/ingress/agent/ws/chat", // 服务器wss地址
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 27 KiB |
Reference in New Issue
Block a user