优化页面

This commit is contained in:
pengxiaolong
2025-06-06 22:36:41 +08:00
parent f4901f1312
commit d30589fd05
99 changed files with 1091 additions and 1310 deletions

View File

@@ -1,80 +0,0 @@
"use strict";
const common_vendor = require("../../../../../common/vendor.js");
const TUIKit_components_TUIChat_config = require("../../config.js");
const common_assets = require("../../../../../common/assets.js");
const TUIKit_components_TUIChat_utils_utils = require("../../utils/utils.js");
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../../offlinePushInfoManager/index.js");
if (!Math) {
ToolbarItemContainer();
}
const ToolbarItemContainer = () => "../toolbar-item-container/index.js";
const _sfc_main = {
__name: "CustomMessage",
emits: ["onDialogPopupShowOrHide"],
setup(__props, { emit: __emit }) {
const evaluateIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.InvitationDark : common_assets.InvitationLight;
const emits = __emit;
const onDialogShow = () => {
emits("onDialogPopupShowOrHide", true);
};
const onDialogClose = () => {
emits("onDialogPopupShowOrHide", false);
};
const currentConversation = common_vendor.ref();
common_vendor.Jt.watch(common_vendor.o.CONV, {
currentConversation: (conversation) => {
currentConversation.value = conversation;
}
});
const container = common_vendor.ref();
const submitEvaluate = () => {
var _a, _b, _c, _d, _e, _f;
const payload = {
data: JSON.stringify({
businessID: "pk",
title: "PK邀请",
buttonText1: "接受邀请",
buttonText2: "拒绝邀请"
}),
description: "邀请参加PK",
extension: "邀请参加PK"
};
const options = {
to: ((_b = (_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
payload,
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
};
const offlinePushInfoCreateParams = {
conversation: currentConversation.value,
payload: options.payload,
messageType: common_vendor.qt.TYPES.MSG_CUSTOM
};
const sendMessageOptions = {
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
};
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions);
(_f = container == null ? void 0 : container.value) == null ? void 0 : _f.toggleDialogDisplay(false);
};
return (_ctx, _cache) => {
return {
a: common_vendor.o$1(submitEvaluate),
b: common_vendor.sr(container, "241228dc-0", {
"k": "container"
}),
c: common_vendor.o$1(onDialogShow),
d: common_vendor.o$1(onDialogClose),
e: common_vendor.p({
iconFile: common_vendor.unref(evaluateIcon),
title: "邀请",
needBottomPopup: true,
iconWidth: _ctx.isUniFrameWork ? "36px" : "30px",
iconHeight: _ctx.isUniFrameWork ? "36px" : "30px"
})
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-241228dc"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/evaluate/CustomMessage.js.map

View File

@@ -1,6 +0,0 @@
{
"component": true,
"usingComponents": {
"toolbar-item-container": "../toolbar-item-container/index"
}
}

View File

@@ -1 +0,0 @@
<toolbar-item-container wx:if="{{e}}" class="r data-v-241228dc" u-s="{{['d']}}" u-r="container" bindonDialogShow="{{c}}" bindonDialogClose="{{d}}" u-i="241228dc-0" bind:__l="__l" u-p="{{e}}"><view class="data-v-241228dc"><view class="container data-v-241228dc"></view><button class="send-btn data-v-241228dc" bindtap="{{a}}">发送邀请</button></view></toolbar-item-container>

View File

@@ -1,7 +0,0 @@
.container.data-v-241228dc {
height: 300rpx;
}
.send-btn.data-v-241228dc {
margin-bottom: 100rpx;
}

View File

@@ -1,168 +0,0 @@
"use strict";
const common_vendor = require("../../../../../common/vendor.js");
require("../../../../adapter-vue.js");
const common_assets = require("../../../../../common/assets.js");
const TUIKit_utils_documentLink = require("../../../../utils/documentLink.js");
const TUIKit_constant = require("../../../../constant.js");
const TUIKit_utils_env = require("../../../../utils/env.js");
const TUIKit_components_TUIChat_utils_utils = require("../../utils/utils.js");
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../../offlinePushInfoManager/index.js");
const TUIKit_components_TUIChat_config = require("../../config.js");
if (!Math) {
(Icon + ToolbarItemContainer)();
}
const ToolbarItemContainer = () => "../toolbar-item-container/index.js";
const Icon = () => "../../../common/Icon.js";
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "index",
props: {
starTotal: {
type: Number,
default: 5
}
},
emits: ["onDialogPopupShowOrHide"],
setup(__props, { emit: __emit }) {
const evaluateIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.evaluateIconDark : common_assets.evaluateIconLight;
const props = __props;
const emits = __emit;
const container = common_vendor.ref();
const starList = common_vendor.ref(props.starTotal);
const currentStarIndex = common_vendor.ref(-1);
const comment = common_vendor.ref("");
const currentConversation = common_vendor.ref();
common_vendor.Jt.watch(common_vendor.o.CONV, {
currentConversation: (conversation) => {
currentConversation.value = conversation;
}
});
const isEvaluateValid = common_vendor.computed(() => comment.value.length || currentStarIndex.value >= 0);
const onDialogShow = () => {
emits("onDialogPopupShowOrHide", true);
};
const onDialogClose = () => {
resetEvaluate();
emits("onDialogPopupShowOrHide", false);
};
const openLink = () => {
var _a, _b;
if (TUIKit_utils_env.isPC || TUIKit_utils_env.isH5) {
window.open((_b = (_a = TUIKit_utils_documentLink.Link) == null ? void 0 : _a.customMessage) == null ? void 0 : _b.url);
}
};
const closeDialog = () => {
var _a;
(_a = container == null ? void 0 : container.value) == null ? void 0 : _a.toggleDialogDisplay(false);
};
const resetEvaluate = () => {
currentStarIndex.value = -1;
comment.value = "";
};
const selectStar = (starIndex) => {
if (currentStarIndex.value === starIndex) {
currentStarIndex.value = currentStarIndex.value - 1;
} else {
currentStarIndex.value = starIndex;
}
};
const submitEvaluate = () => {
var _a, _b, _c, _d, _e, _f;
if (currentStarIndex.value < 0 && !comment.value.length) {
return;
}
const payload = {
data: JSON.stringify({
businessID: TUIKit_constant.CHAT_MSG_CUSTOM_TYPE.EVALUATE,
version: 1,
score: currentStarIndex.value + 1,
comment: comment.value
}),
description: "对本次的服务评价",
extension: "对本次的服务评价"
};
const options = {
to: ((_b = (_a = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a.groupProfile) == null ? void 0 : _b.groupID) || ((_d = (_c = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _c.userProfile) == null ? void 0 : _d.userID),
conversationType: (_e = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _e.type,
payload,
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
};
const offlinePushInfoCreateParams = {
conversation: currentConversation.value,
payload: options.payload,
messageType: common_vendor.qt.TYPES.MSG_CUSTOM
};
const sendMessageOptions = {
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.create(offlinePushInfoCreateParams)
};
common_vendor.Qt.sendCustomMessage(options, sendMessageOptions);
(_f = container == null ? void 0 : container.value) == null ? void 0 : _f.toggleDialogDisplay(false);
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.请对本次服务进行评价")),
b: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-header-content"),
c: !common_vendor.unref(TUIKit_utils_env.isPC)
}, !common_vendor.unref(TUIKit_utils_env.isPC) ? {
d: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("关闭")),
e: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-header-close"),
f: common_vendor.o$1(closeDialog)
} : {}, {
g: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-header"),
h: common_vendor.f(common_vendor.unref(starList), (item, index, i0) => {
return common_vendor.e({
a: index <= common_vendor.unref(currentStarIndex)
}, index <= common_vendor.unref(currentStarIndex) ? {
b: "74e4698c-1-" + i0 + ",74e4698c-0",
c: common_vendor.p({
file: common_vendor.unref(common_assets.star),
width: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px",
height: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px"
})
} : {
d: "74e4698c-2-" + i0 + ",74e4698c-0",
e: common_vendor.p({
file: common_vendor.unref(common_assets.starIcon),
width: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px",
height: common_vendor.unref(TUIKit_utils_env.isPC) ? "20px" : "30px"
})
}, {
f: index,
g: common_vendor.o$1(($event) => selectStar(index), index)
});
}),
i: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-list-item"),
j: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-list"),
k: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-text"),
l: common_vendor.unref(comment),
m: common_vendor.o$1(($event) => common_vendor.isRef(comment) ? comment.value = $event.detail.value : null),
n: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.提交评价")),
o: common_vendor.n(common_vendor.unref(isEvaluateValid) ? "btn-valid" : "btn-invalid"),
p: common_vendor.o$1(submitEvaluate),
q: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content-button"),
r: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-content"),
s: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.服务评价工具")),
t: common_vendor.t("(" + common_vendor.unref(common_vendor.Wt).t("Evaluate.使用")),
v: common_vendor.t(common_vendor.unref(common_vendor.Wt).t(`Evaluate.${common_vendor.unref(TUIKit_utils_documentLink.Link).customMessage.label}`)),
w: common_vendor.o$1(($event) => openLink(common_vendor.unref(TUIKit_utils_documentLink.Link).customMessage)),
x: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("Evaluate.搭建") + ")"),
y: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5-adv"),
z: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "evaluate-h5"),
A: common_vendor.sr(container, "74e4698c-0", {
"k": "container"
}),
B: common_vendor.o$1(onDialogShow),
C: common_vendor.o$1(onDialogClose),
D: common_vendor.p({
iconFile: common_vendor.unref(evaluateIcon),
title: "评价",
needBottomPopup: true,
iconWidth: common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? "26px" : "20px",
iconHeight: common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? "26px" : "20px"
})
});
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-74e4698c"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/evaluate/index.js.map

View File

@@ -1,7 +0,0 @@
{
"component": true,
"usingComponents": {
"toolbar-item-container": "../toolbar-item-container/index",
"icon": "../../../common/Icon"
}
}

View File

@@ -1 +0,0 @@
<toolbar-item-container wx:if="{{D}}" class="r data-v-74e4698c" u-s="{{['d']}}" u-r="container" bindonDialogShow="{{B}}" bindonDialogClose="{{C}}" u-i="74e4698c-0" bind:__l="__l" u-p="{{D}}"><view class="{{['data-v-74e4698c', 'evaluate', z]}}"><view class="{{['data-v-74e4698c', 'evaluate-header', g]}}"><view class="{{['data-v-74e4698c', 'evaluate-header-content', b]}}">{{a}}</view><view wx:if="{{c}}" class="{{['data-v-74e4698c', 'evaluate-header-close', e]}}" catchtap="{{f}}">{{d}}</view></view><view class="{{['data-v-74e4698c', 'evaluate-content', r]}}"><view class="{{['data-v-74e4698c', 'evaluate-content-list', j]}}"><view wx:for="{{h}}" wx:for-item="item" wx:key="f" class="{{['data-v-74e4698c', 'evaluate-content-list-item', i]}}" catchtap="{{item.g}}"><icon wx:if="{{item.a}}" class="data-v-74e4698c" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><icon wx:else class="data-v-74e4698c" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e||''}}"/></view></view><block wx:if="{{r0}}"><textarea class="{{['data-v-74e4698c', 'evaluate-content-text', k]}}" value="{{l}}" bindinput="{{m}}"/></block><view class="{{['data-v-74e4698c', 'evaluate-content-button', q]}}"><button class="{{['data-v-74e4698c', 'btn', o]}}" bindtap="{{p}}">{{n}}</button></view></view><view class="{{['data-v-74e4698c', 'evaluate-adv', y]}}">{{s}} {{t}} <navigator class="data-v-74e4698c" bindtap="{{w}}">{{v}}</navigator> {{x}}</view></view></toolbar-item-container>

View File

@@ -1,245 +0,0 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.evaluate.data-v-74e4698c {
background: #fff;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.evaluate-header-content.data-v-74e4698c {
font-weight: 500;
color: #1c1c1c;
}
.evaluate-adv.data-v-74e4698c {
font-weight: 500;
color: #999;
}
.evaluate-adv a.data-v-74e4698c {
color: #006eff;
}
.evaluate-content-text.data-v-74e4698c {
background: #f8f8f8;
border: 1px solid #ececec;
}
.evaluate-content-list-item.data-v-74e4698c {
font-weight: 400;
color: #50545c;
}
.evaluate-H5-main.data-v-74e4698c {
background: rgba(0, 0, 0, 0.5);
}
.evaluate-H5-main .evaluate-main-content.data-v-74e4698c {
background: #fff;
}
.evaluate-H5-main .evaluate-main-content p a.data-v-74e4698c {
color: #3370ff;
}
.evaluate-H5-main .evaluate-main-content .close.data-v-74e4698c {
font-family: PingFangSC-Regular;
font-weight: 400;
color: #3370ff;
letter-spacing: 0;
}
.evaluate.data-v-74e4698c {
position: absolute;
z-index: 5;
width: 315px;
top: -255px;
padding: 12px;
display: flex;
flex-direction: column;
border-radius: 8px;
background: url("https://web.sdk.qcloud.com/im/assets/images/login-background.png") no-repeat;
background-color: #fff;
background-size: cover;
background-position-x: 128px;
background-position-y: 77px;
-webkit-user-select: none;
user-select: none;
}
.evaluate-header-content.data-v-74e4698c {
font-style: normal;
font-size: 12px;
line-height: 17px;
text-align: center;
}
.evaluate-content.data-v-74e4698c {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px 0;
}
.evaluate-content-list.data-v-74e4698c {
flex: 1;
display: flex;
}
.evaluate-content-list-item.data-v-74e4698c {
width: 24px;
height: 24px;
text-align: center;
cursor: pointer;
padding: 4px 0;
font-size: 12px;
padding-right: 15px;
}
.evaluate-content-list-item.data-v-74e4698c:last-child {
padding-right: 0 !important;
}
.evaluate-content-text.data-v-74e4698c {
box-sizing: border-box;
width: 288px;
height: 90px;
margin: 12px 0;
padding: 12px;
border-radius: 2px;
resize: none;
}
.evaluate-content-button .btn.data-v-74e4698c {
border: none;
border-radius: 5px;
font-size: 12px;
text-align: center;
line-height: 24px;
padding: 2px 46px;
font-weight: 400;
color: #fff;
}
.evaluate-content-button .btn-valid.data-v-74e4698c {
background-color: #3370ff;
cursor: pointer;
}
.evaluate-content-button .btn-invalid.data-v-74e4698c {
background-color: #a0cfff;
cursor: not-allowed;
}
.evaluate-adv.data-v-74e4698c {
font-size: 12px;
text-align: center;
}
.evaluate-adv a.data-v-74e4698c {
display: inline-block;
}
.evaluate-h5.data-v-74e4698c {
position: static;
width: 100%;
height: -webkit-fit-content;
height: fit-content;
border-radius: 0;
background: #fff;
padding: 23px !important;
box-sizing: border-box;
}
.evaluate-h5-header.data-v-74e4698c {
display: flex;
justify-content: space-between;
}
.evaluate-h5-header-content.data-v-74e4698c {
font-size: 18px;
}
.evaluate-h5-header-close.data-v-74e4698c {
font-size: 18px;
line-height: 27px;
font-weight: 400;
color: #3370ff;
}
.evaluate-h5-content.data-v-74e4698c {
order: 1;
}
.evaluate-h5-content-list-item.data-v-74e4698c {
width: 40px;
height: 24px;
text-align: center;
cursor: auto;
font-size: 12px;
}
.evaluate-h5-content-text.data-v-74e4698c {
font-size: 16px;
width: 100%;
}
.evaluate-h5-content-button.data-v-74e4698c {
width: 100%;
display: flex;
}
.evaluate-h5-content-button .btn.data-v-74e4698c {
flex: 1;
padding: 14px 0;
font-size: 18px;
cursor: auto;
}
.evaluate-h5-adv.data-v-74e4698c {
font-size: 14px;
font-weight: normal;
text-align: left;
color: #000;
}
body.data-v-74e4698c, div.data-v-74e4698c, ul.data-v-74e4698c, ol.data-v-74e4698c, dt.data-v-74e4698c, dd.data-v-74e4698c, li.data-v-74e4698c, dl.data-v-74e4698c, h1.data-v-74e4698c, h2.data-v-74e4698c, h3.data-v-74e4698c, h4.data-v-74e4698c, p.data-v-74e4698c {
margin: 0;
padding: 0;
font-style: normal;
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
}
ol.data-v-74e4698c, ul.data-v-74e4698c, li.data-v-74e4698c {
list-style: none;
}
img.data-v-74e4698c {
border: 0;
vertical-align: middle;
pointer-events: none;
}
body.data-v-74e4698c {
color: #000;
background: #FFF;
}
.clear.data-v-74e4698c {
clear: both;
height: 1px;
width: 100%;
overflow: hidden;
margin-top: -1px;
}
a.data-v-74e4698c {
color: #000;
text-decoration: none;
cursor: pointer;
}
a.data-v-74e4698c:hover {
text-decoration: none;
}
input.data-v-74e4698c, textarea.data-v-74e4698c {
-webkit-user-select: auto;
user-select: auto;
}
input.data-v-74e4698c:focus, input.data-v-74e4698c:active, textarea.data-v-74e4698c:focus, textarea.data-v-74e4698c:active {
outline: none;
}
.chat-aside.data-v-74e4698c {
position: absolute;
top: 50px;
right: 0;
box-sizing: border-box;
width: 360px !important;
border-radius: 8px 0 0 8px;
z-index: 9999;
max-height: calc(100% - 50px);
}

View File

@@ -6,16 +6,14 @@ const TUIKit_utils_enableSampleTaskStatus = require("../../../utils/enableSample
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../offlinePushInfoManager/index.js");
const TUIKit_components_TUIChat_offlinePushInfoManager_const = require("../offlinePushInfoManager/const.js");
if (!Math) {
(EmojiPickerDialog + ImageUpload + VideoUpload + ToolbarItemContainer + Evaluate + Words + CustomMessage + UserSelector)();
(EmojiPickerDialog + ImageUpload + VideoUpload + Words + ToolbarItemContainer + UserSelector)();
}
const ImageUpload = () => "./image-upload/index.js";
const VideoUpload = () => "./video-upload/index.js";
const Evaluate = () => "./evaluate/index.js";
const Words = () => "./words/index.js";
const ToolbarItemContainer = () => "./toolbar-item-container/index.js";
const EmojiPickerDialog = () => "./emoji-picker/emoji-picker-dialog.js";
const UserSelector = () => "./user-selector/index.js";
const CustomMessage = () => "./evaluate/CustomMessage.js";
const __default__ = {
options: {
styleIsolation: "shared"
@@ -196,58 +194,31 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
j: common_vendor.unref(currentExtensionList).length > 0
}, common_vendor.unref(currentExtensionList).length > 0 ? {
k: common_vendor.f(common_vendor.unref(currentExtensionList).slice(0, common_vendor.unref(slicePos)), (extension, index, i0) => {
return common_vendor.e({
a: extension
}, extension ? {
b: common_vendor.o$1(($event) => onExtensionClick(extension), index),
c: "76f68da4-5-" + i0,
d: common_vendor.p({
iconFile: genExtensionIcon(extension),
title: genExtensionText(extension),
iconWidth: "25px",
iconHeight: "25px",
needDialog: false
})
} : {}, {
e: index
});
return {
a: index
};
})
} : {}, {
l: common_vendor.unref(neededCountFirstPage) === 1
}, common_vendor.unref(neededCountFirstPage) === 1 ? common_vendor.e({
m: common_vendor.unref(featureConfig).InputEvaluation
}, common_vendor.unref(featureConfig).InputEvaluation ? {
n: common_vendor.o$1(handleSwiperDotShow)
} : common_vendor.unref(featureConfig).InputQuickReplies ? {
p: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
o: common_vendor.unref(featureConfig).InputQuickReplies,
q: common_vendor.unref(featureConfig).InputCustomMessage
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
r: common_vendor.o$1(handleSwiperDotShow)
} : {}) : {}, {
s: common_vendor.unref(neededCountFirstPage) > 1
}, common_vendor.unref(neededCountFirstPage) > 1 ? common_vendor.e({
t: common_vendor.unref(featureConfig).InputEvaluation
}, common_vendor.unref(featureConfig).InputEvaluation ? {
v: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
w: common_vendor.unref(featureConfig).InputQuickReplies
m: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
x: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
y: common_vendor.unref(featureConfig).InputCustomMessage
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
z: common_vendor.o$1(handleSwiperDotShow)
n: common_vendor.o$1(handleSwiperDotShow)
} : {}) : {}, {
A: common_vendor.unref(neededCountFirstPage) <= 1
o: common_vendor.unref(neededCountFirstPage) > 1
}, common_vendor.unref(neededCountFirstPage) > 1 ? common_vendor.e({
p: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
q: common_vendor.o$1(handleSwiperDotShow)
} : {}) : {}, {
r: common_vendor.unref(neededCountFirstPage) <= 1
}, common_vendor.unref(neededCountFirstPage) <= 1 ? common_vendor.e({
B: common_vendor.f(common_vendor.unref(currentExtensionList).slice(common_vendor.unref(slicePos)), (extension, index, i0) => {
s: common_vendor.f(common_vendor.unref(currentExtensionList).slice(common_vendor.unref(slicePos)), (extension, index, i0) => {
return common_vendor.e({
a: extension
}, extension ? {
b: common_vendor.o$1(($event) => onExtensionClick(extension), index),
c: "76f68da4-12-" + i0,
c: "76f68da4-7-" + i0,
d: common_vendor.p({
iconFile: genExtensionIcon(extension),
title: genExtensionText(extension),
@@ -259,32 +230,24 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: index
});
}),
C: common_vendor.unref(neededCountFirstPage) === 1
t: common_vendor.unref(neededCountFirstPage) === 1
}, common_vendor.unref(neededCountFirstPage) === 1 ? common_vendor.e({
D: common_vendor.unref(featureConfig).InputQuickReplies
v: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
E: common_vendor.o$1(handleSwiperDotShow)
w: common_vendor.o$1(handleSwiperDotShow)
} : {}) : common_vendor.e({
F: common_vendor.unref(featureConfig).InputEvaluation
}, common_vendor.unref(featureConfig).InputEvaluation ? {
G: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
H: common_vendor.unref(featureConfig).InputQuickReplies
x: common_vendor.unref(featureConfig).InputQuickReplies
}, common_vendor.unref(featureConfig).InputQuickReplies ? {
I: common_vendor.o$1(handleSwiperDotShow)
} : {}, {
J: common_vendor.unref(featureConfig).InputCustomMessage
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
K: common_vendor.o$1(handleSwiperDotShow)
y: common_vendor.o$1(handleSwiperDotShow)
} : {})) : {}, {
L: common_vendor.unref(isSwiperIndicatorDotsEnable)
z: common_vendor.unref(isSwiperIndicatorDotsEnable)
}), {
M: common_vendor.sr(userSelectorRef, "76f68da4-17", {
A: common_vendor.sr(userSelectorRef, "76f68da4-10", {
"k": "userSelectorRef"
}),
N: common_vendor.o$1(onUserSelectorSubmit),
O: common_vendor.o$1(onUserSelectorCancel),
P: common_vendor.p({
B: common_vendor.o$1(onUserSelectorSubmit),
C: common_vendor.o$1(onUserSelectorCancel),
D: common_vendor.p({
type: common_vendor.unref(selectorShowType),
currentConversation: common_vendor.unref(currentConversation),
isGroup: common_vendor.unref(isGroup)

View File

@@ -3,11 +3,9 @@
"usingComponents": {
"image-upload": "./image-upload/index",
"video-upload": "./video-upload/index",
"evaluate": "./evaluate/index",
"words": "./words/index",
"toolbar-item-container": "./toolbar-item-container/index",
"emoji-picker-dialog": "./emoji-picker/emoji-picker-dialog",
"user-selector": "./user-selector/index",
"custom-message": "./evaluate/CustomMessage"
"user-selector": "./user-selector/index"
}
}

View File

@@ -1 +1 @@
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="76f68da4-0" bind:__l="__l"/></view><view wx:else><swiper class="{{['message-input-toolbar-swiper']}}" indicator-dots="{{L}}" autoplay="{{false}}" circular="{{false}}"><swiper-item class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><image-upload wx:if="{{b}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{c}}"/><image-upload wx:if="{{d}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{e}}"/><video-upload wx:if="{{f}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{g}}"/><video-upload wx:if="{{h}}" u-i="76f68da4-4" bind:__l="__l" u-p="{{i}}"/><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view></block><block wx:if="{{l}}"><evaluate wx:if="{{m}}" bindonDialogPopupShowOrHide="{{n}}" u-i="76f68da4-6" bind:__l="__l"/><words wx:elif="{{o}}" bindonDialogPopupShowOrHide="{{p}}" u-i="76f68da4-7" bind:__l="__l"/><custom-message wx:if="{{q}}" bindonDialogPopupShowOrHide="{{r}}" u-i="76f68da4-8" bind:__l="__l"/></block><block wx:if="{{s}}"><evaluate wx:if="{{t}}" bindonDialogPopupShowOrHide="{{v}}" u-i="76f68da4-9" bind:__l="__l"/><words wx:if="{{w}}" bindonDialogPopupShowOrHide="{{x}}" u-i="76f68da4-10" bind:__l="__l"/><custom-message wx:if="{{y}}" bindonDialogPopupShowOrHide="{{z}}" u-i="76f68da4-11" bind:__l="__l"/></block></swiper-item><swiper-item wx:if="{{A}}" class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><view wx:for="{{B}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view><block wx:if="{{C}}"><words wx:if="{{D}}" bindonDialogPopupShowOrHide="{{E}}" u-i="76f68da4-13" bind:__l="__l"/></block><block wx:else><evaluate wx:if="{{F}}" bindonDialogPopupShowOrHide="{{G}}" u-i="76f68da4-14" bind:__l="__l"/><words wx:if="{{H}}" bindonDialogPopupShowOrHide="{{I}}" u-i="76f68da4-15" bind:__l="__l"/><custom-message wx:if="{{J}}" bindonDialogPopupShowOrHide="{{K}}" u-i="76f68da4-16" bind:__l="__l"/></block></swiper-item></swiper></view><user-selector wx:if="{{P}}" class="r" u-r="userSelectorRef" bindsubmit="{{N}}" bindcancel="{{O}}" u-i="76f68da4-17" bind:__l="__l" u-p="{{P}}"/></view>
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="76f68da4-0" bind:__l="__l"/></view><view wx:else><swiper class="{{['message-input-toolbar-swiper']}}" indicator-dots="{{z}}" autoplay="{{false}}" circular="{{false}}"><swiper-item class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><image-upload wx:if="{{b}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{c}}"/><image-upload wx:if="{{d}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{e}}"/><video-upload wx:if="{{f}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{g}}"/><video-upload wx:if="{{h}}" u-i="76f68da4-4" bind:__l="__l" u-p="{{i}}"/><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="extension" wx:key="a"></view></block><block wx:if="{{l}}"><words wx:if="{{m}}" bindonDialogPopupShowOrHide="{{n}}" u-i="76f68da4-5" bind:__l="__l"/></block><block wx:if="{{o}}"><words wx:if="{{p}}" bindonDialogPopupShowOrHide="{{q}}" u-i="76f68da4-6" bind:__l="__l"/></block></swiper-item><swiper-item wx:if="{{r}}" class="{{['message-input-toolbar-list', 'message-input-toolbar-h5-list', 'message-input-toolbar-uni-list']}}"><view wx:for="{{s}}" wx:for-item="extension" wx:key="e"><toolbar-item-container wx:if="{{extension.a}}" bindonIconClick="{{extension.b}}" u-i="{{extension.c}}" bind:__l="__l" u-p="{{extension.d}}"/></view><block wx:if="{{t}}"><words wx:if="{{v}}" bindonDialogPopupShowOrHide="{{w}}" u-i="76f68da4-8" bind:__l="__l"/></block><block wx:else><words wx:if="{{x}}" bindonDialogPopupShowOrHide="{{y}}" u-i="76f68da4-9" bind:__l="__l"/></block></swiper-item></swiper></view><user-selector wx:if="{{D}}" class="r" u-r="userSelectorRef" bindsubmit="{{B}}" bindcancel="{{C}}" u-i="76f68da4-10" bind:__l="__l" u-p="{{D}}"/></view>