no message

im/api
jscyl13849007907 6 days ago
parent 02b6780386
commit 2fcabb4358

@ -48,6 +48,7 @@ export default {
},
onShow: function (options) {
let that = this;
uni.setStorageSync('is_use_im',1)
console.log("show 项目init", options, decodeURIComponent(options.query.scene));
let requestComeFrom = this.G.globalConstantData.requestComeFrom;
uni.setStorageSync("requestComeFrom", requestComeFrom && (requestComeFrom == "assistant_miniapp" || requestComeFrom == "supply_chain_miniapp") ? "isToB" : "isToC");

@ -1,5 +1,5 @@
<template>
<view class="g_pb_24">
<view class="g_pb_24 rcosa">
<div style="width: calc(100vw - 20px);margin: 10px auto;border-radius: 8px;">
<div v-for="(item, index) in machineList" :key="index" class="customitem imitems g_bg_f">
<Tooltip ref="tooltipRef" color="white" :isSelf="true" :top="150">
@ -379,4 +379,14 @@ onUnmounted(() => {
}
}
}
.rcosa{
.customitem{
&:first-child{
border-radius: 8px 8px 0 0;
}
&:last-child{
border-radius: 0 0 8px 8px;
}
}
}
</style>

@ -74,8 +74,8 @@ export default {
let config = uni.getStorageSync("chat_config");
botArray = [
{
title: that.appinfo.aiRobotName, //config.name,
sub_title: that.appinfo.appName + "平台智能助理", //config.description,
title: that.appinfo.aiRobotName || '大鹏', //config.name,
sub_title: (that.appinfo.appName || '官方') + "平台智能助理", //config.description,
avatar: that.appinfo && that.appinfo.logo ? that.appinfo.logo : that.cdnBaseImg + "v3/add1.png", //config.icon_url,
path: "/root/chat/index",
tip: "rgpp",

Loading…
Cancel
Save