优化页面
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
"use strict";
|
||||
const CUSTOM_BIG_EMOJI_URL = "";
|
||||
const CUSTOM_BIG_EMOJI_GROUP_LIST = [];
|
||||
exports.CUSTOM_BIG_EMOJI_GROUP_LIST = CUSTOM_BIG_EMOJI_GROUP_LIST;
|
||||
exports.CUSTOM_BIG_EMOJI_URL = CUSTOM_BIG_EMOJI_URL;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/emoji-config/custom-emoji.js.map
|
||||
|
||||
@@ -2,147 +2,11 @@
|
||||
var _a, _b;
|
||||
const TUIKit_components_TUIChat_emojiConfig_locales_zh_cn = require("./locales/zh_cn.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_locales_en = require("./locales/en.js");
|
||||
const TUIKit_constant = require("../../../constant.js");
|
||||
const DEFAULT_BASIC_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/emoji-plugin/";
|
||||
const DEFAULT_BIG_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/face-elem/";
|
||||
const DEFAULT_BASIC_EMOJI_URL = "";
|
||||
const DEFAULT_BIG_EMOJI_URL = "";
|
||||
const DEFAULT_BASIC_EMOJI_URL_MAPPING = {
|
||||
"[TUIEmoji_Expect]": "emoji_0@2x.png",
|
||||
"[TUIEmoji_Blink]": "emoji_1@2x.png",
|
||||
"[TUIEmoji_Guffaw]": "emoji_2@2x.png",
|
||||
"[TUIEmoji_KindSmile]": "emoji_3@2x.png",
|
||||
"[TUIEmoji_Haha]": "emoji_4@2x.png",
|
||||
"[TUIEmoji_Cheerful]": "emoji_5@2x.png",
|
||||
"[TUIEmoji_Smile]": "emoji_6@2x.png",
|
||||
"[TUIEmoji_Sorrow]": "emoji_7@2x.png",
|
||||
"[TUIEmoji_Speechless]": "emoji_8@2x.png",
|
||||
"[TUIEmoji_Amazed]": "emoji_9@2x.png",
|
||||
"[TUIEmoji_Complacent]": "emoji_10@2x.png",
|
||||
"[TUIEmoji_Lustful]": "emoji_11@2x.png",
|
||||
"[TUIEmoji_Stareyes]": "emoji_12@2x.png",
|
||||
"[TUIEmoji_Giggle]": "emoji_13@2x.png",
|
||||
"[TUIEmoji_Daemon]": "emoji_14@2x.png",
|
||||
"[TUIEmoji_Rage]": "emoji_15@2x.png",
|
||||
"[TUIEmoji_Yawn]": "emoji_16@2x.png",
|
||||
"[TUIEmoji_TearsLaugh]": "emoji_17@2x.png",
|
||||
"[TUIEmoji_Silly]": "emoji_18@2x.png",
|
||||
"[TUIEmoji_Wail]": "emoji_19@2x.png",
|
||||
"[TUIEmoji_Kiss]": "emoji_20@2x.png",
|
||||
"[TUIEmoji_Trapped]": "emoji_21@2x.png",
|
||||
"[TUIEmoji_Fear]": "emoji_22@2x.png",
|
||||
"[TUIEmoji_BareTeeth]": "emoji_23@2x.png",
|
||||
"[TUIEmoji_FlareUp]": "emoji_24@2x.png",
|
||||
"[TUIEmoji_Tact]": "emoji_25@2x.png",
|
||||
"[TUIEmoji_Shit]": "emoji_26@2x.png",
|
||||
"[TUIEmoji_ShutUp]": "emoji_27@2x.png",
|
||||
"[TUIEmoji_Sigh]": "emoji_28@2x.png",
|
||||
"[TUIEmoji_Hehe]": "emoji_29@2x.png",
|
||||
"[TUIEmoji_Silent]": "emoji_30@2x.png",
|
||||
"[TUIEmoji_Skull]": "emoji_31@2x.png",
|
||||
"[TUIEmoji_Mask]": "emoji_32@2x.png",
|
||||
"[TUIEmoji_Beer]": "emoji_33@2x.png",
|
||||
"[TUIEmoji_Cake]": "emoji_34@2x.png",
|
||||
"[TUIEmoji_RedPacket]": "emoji_35@2x.png",
|
||||
"[TUIEmoji_Bombs]": "emoji_36@2x.png",
|
||||
"[TUIEmoji_Ai]": "emoji_37@2x.png",
|
||||
"[TUIEmoji_Celebrate]": "emoji_38@2x.png",
|
||||
"[TUIEmoji_Bless]": "emoji_39@2x.png",
|
||||
"[TUIEmoji_Flower]": "emoji_40@2x.png",
|
||||
"[TUIEmoji_Watermelon]": "emoji_41@2x.png",
|
||||
"[TUIEmoji_Cow]": "emoji_42@2x.png",
|
||||
"[TUIEmoji_Fool]": "emoji_43@2x.png",
|
||||
"[TUIEmoji_Surprised]": "emoji_44@2x.png",
|
||||
"[TUIEmoji_Askance]": "emoji_45@2x.png",
|
||||
"[TUIEmoji_Monster]": "emoji_46@2x.png",
|
||||
"[TUIEmoji_Pig]": "emoji_47@2x.png",
|
||||
"[TUIEmoji_Coffee]": "emoji_48@2x.png",
|
||||
"[TUIEmoji_Ok]": "emoji_49@2x.png",
|
||||
"[TUIEmoji_Heart]": "emoji_50@2x.png",
|
||||
"[TUIEmoji_Sun]": "emoji_51@2x.png",
|
||||
"[TUIEmoji_Moon]": "emoji_52@2x.png",
|
||||
"[TUIEmoji_Star]": "emoji_53@2x.png",
|
||||
"[TUIEmoji_Rich]": "emoji_54@2x.png",
|
||||
"[TUIEmoji_Fortune]": "emoji_55@2x.png",
|
||||
"[TUIEmoji_857]": "emoji_56@2x.png",
|
||||
"[TUIEmoji_666]": "emoji_57@2x.png",
|
||||
"[TUIEmoji_Prohibit]": "emoji_58@2x.png",
|
||||
"[TUIEmoji_Convinced]": "emoji_59@2x.png",
|
||||
"[TUIEmoji_Knife]": "emoji_60@2x.png",
|
||||
"[TUIEmoji_Like]": "emoji_61@2x.png"
|
||||
// '00': '00.png',
|
||||
};
|
||||
const BIG_EMOJI_GROUP_LIST = [
|
||||
{
|
||||
emojiGroupID: 1,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BIG,
|
||||
url: DEFAULT_BIG_EMOJI_URL,
|
||||
list: [
|
||||
"yz00",
|
||||
"yz01",
|
||||
"yz02",
|
||||
"yz03",
|
||||
"yz04",
|
||||
"yz05",
|
||||
"yz06",
|
||||
"yz07",
|
||||
"yz08",
|
||||
"yz09",
|
||||
"yz10",
|
||||
"yz11",
|
||||
"yz12",
|
||||
"yz13",
|
||||
"yz14",
|
||||
"yz15",
|
||||
"yz16",
|
||||
"yz17"
|
||||
]
|
||||
},
|
||||
{
|
||||
emojiGroupID: 2,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BIG,
|
||||
url: DEFAULT_BIG_EMOJI_URL,
|
||||
list: [
|
||||
"ys00",
|
||||
"ys01",
|
||||
"ys02",
|
||||
"ys03",
|
||||
"ys04",
|
||||
"ys05",
|
||||
"ys06",
|
||||
"ys07",
|
||||
"ys08",
|
||||
"ys09",
|
||||
"ys10",
|
||||
"ys11",
|
||||
"ys12",
|
||||
"ys13",
|
||||
"ys14",
|
||||
"ys15"
|
||||
]
|
||||
},
|
||||
{
|
||||
emojiGroupID: 3,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BIG,
|
||||
url: DEFAULT_BIG_EMOJI_URL,
|
||||
list: [
|
||||
"gcs00",
|
||||
"gcs01",
|
||||
"gcs02",
|
||||
"gcs03",
|
||||
"gcs04",
|
||||
"gcs05",
|
||||
"gcs06",
|
||||
"gcs07",
|
||||
"gcs08",
|
||||
"gcs09",
|
||||
"gcs10",
|
||||
"gcs11",
|
||||
"gcs12",
|
||||
"gcs13",
|
||||
"gcs14",
|
||||
"gcs15",
|
||||
"gcs16"
|
||||
]
|
||||
}
|
||||
];
|
||||
const BASIC_EMOJI_NAME_TO_KEY_MAPPING = {
|
||||
...Object.fromEntries(
|
||||
(_a = Object.entries(TUIKit_components_TUIChat_emojiConfig_locales_zh_cn.Emoji)) == null ? void 0 : _a.map(([key, val]) => [val, key])
|
||||
@@ -152,7 +16,6 @@ const BASIC_EMOJI_NAME_TO_KEY_MAPPING = {
|
||||
)
|
||||
};
|
||||
exports.BASIC_EMOJI_NAME_TO_KEY_MAPPING = BASIC_EMOJI_NAME_TO_KEY_MAPPING;
|
||||
exports.BIG_EMOJI_GROUP_LIST = BIG_EMOJI_GROUP_LIST;
|
||||
exports.DEFAULT_BASIC_EMOJI_URL = DEFAULT_BASIC_EMOJI_URL;
|
||||
exports.DEFAULT_BASIC_EMOJI_URL_MAPPING = DEFAULT_BASIC_EMOJI_URL_MAPPING;
|
||||
exports.DEFAULT_BIG_EMOJI_URL = DEFAULT_BIG_EMOJI_URL;
|
||||
|
||||
@@ -1,22 +1,10 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_customEmoji = require("./custom-emoji.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_defaultEmoji = require("./default-emoji.js");
|
||||
const TUIKit_components_TUIChat_emojiConfig_locales_zh_cn = require("./locales/zh_cn.js");
|
||||
const TUIKit_constant = require("../../../constant.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
const BASIC_EMOJI_URL = TUIKit_components_TUIChat_emojiConfig_defaultEmoji.DEFAULT_BASIC_EMOJI_URL;
|
||||
const BASIC_EMOJI_URL_MAPPING = TUIKit_components_TUIChat_emojiConfig_defaultEmoji.DEFAULT_BASIC_EMOJI_URL_MAPPING;
|
||||
const EMOJI_GROUP_LIST = [
|
||||
{
|
||||
emojiGroupID: 0,
|
||||
type: TUIKit_constant.EMOJI_TYPE.BASIC,
|
||||
url: BASIC_EMOJI_URL,
|
||||
list: Object.keys(BASIC_EMOJI_URL_MAPPING)
|
||||
},
|
||||
...TUIKit_components_TUIChat_emojiConfig_defaultEmoji.BIG_EMOJI_GROUP_LIST,
|
||||
...TUIKit_components_TUIChat_emojiConfig_customEmoji.CUSTOM_BIG_EMOJI_GROUP_LIST
|
||||
];
|
||||
const convertKeyToEmojiName = (key) => {
|
||||
return TUIKit_utils_env.isWeChat ? TUIKit_components_TUIChat_emojiConfig_locales_zh_cn.Emoji[key] : common_vendor.Wt.t(`Emoji.${key}`);
|
||||
};
|
||||
@@ -68,9 +56,6 @@ const parseTextToRenderArray = (text) => {
|
||||
}
|
||||
return result;
|
||||
};
|
||||
exports.BASIC_EMOJI_URL_MAPPING = BASIC_EMOJI_URL_MAPPING;
|
||||
exports.EMOJI_GROUP_LIST = EMOJI_GROUP_LIST;
|
||||
exports.convertKeyToEmojiName = convertKeyToEmojiName;
|
||||
exports.parseTextToRenderArray = parseTextToRenderArray;
|
||||
exports.transformTextWithEmojiNamesToKeys = transformTextWithEmojiNamesToKeys;
|
||||
exports.transformTextWithKeysToEmojiNames = transformTextWithKeysToEmojiNames;
|
||||
|
||||
@@ -1 +1 @@
|
||||
<overlay wx:if="{{d}}" u-s="{{['d']}}" u-i="4a31abbd-0" bind:__l="__l" u-p="{{d}}"><transfer wx:if="{{c}}" bindcancel="{{a}}" bindsubmit="{{b}}" u-i="4a31abbd-1,4a31abbd-0" bind:__l="__l" u-p="{{c}}"/></overlay>
|
||||
<overlay wx:if="{{d}}" u-s="{{['d']}}" u-i="3f0343b7-0" bind:__l="__l" u-p="{{d}}"><transfer wx:if="{{c}}" bindcancel="{{a}}" bindsubmit="{{b}}" u-i="3f0343b7-1,3f0343b7-0" bind:__l="__l" u-p="{{c}}"/></overlay>
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"navigationStyle": "default",
|
||||
"navigationBarTitleText": "腾讯云 IM",
|
||||
"navigationBarTitleText": "聊天",
|
||||
"usingComponents": {
|
||||
"chat-header": "./chat-header/index",
|
||||
"message-list": "./message-list/index",
|
||||
|
||||
@@ -1,150 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
require("../../../../adapter-vue.js");
|
||||
const common_assets = require("../../../../../common/assets.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_emojiConfig_index = require("../../emoji-config/index.js");
|
||||
const TUIKit_components_TUIChat_config = require("../../config.js");
|
||||
if (!Math) {
|
||||
Icon();
|
||||
}
|
||||
const Icon = () => "../../../common/Icon.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "emoji-picker-dialog",
|
||||
emits: ["insertEmoji", "onClose", "sendMessage"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
var _a;
|
||||
const faceIcon = TUIKit_components_TUIChat_config.ChatConfig.getTheme() === "dark" ? common_assets.faceIconDark : common_assets.faceIconLight;
|
||||
const emits = __emit;
|
||||
const currentTabIndex = common_vendor.ref(0);
|
||||
const currentConversation = common_vendor.ref();
|
||||
common_vendor.ref();
|
||||
const emojiPickerListRef = common_vendor.ref();
|
||||
const featureConfig = TUIKit_components_TUIChat_config.ChatConfig.getFeatureConfig();
|
||||
const list = common_vendor.ref(initEmojiList());
|
||||
const currentTabItem = common_vendor.ref(list == null ? void 0 : list.value[0]);
|
||||
const currentEmojiList = common_vendor.ref((_a = list == null ? void 0 : list.value[0]) == null ? void 0 : _a.list);
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdate
|
||||
});
|
||||
});
|
||||
common_vendor.onUnmounted(() => {
|
||||
common_vendor.Jt.unwatch(common_vendor.o.CONV, {
|
||||
currentConversation: onCurrentConversationUpdate
|
||||
});
|
||||
});
|
||||
const toggleEmojiTab = (index) => {
|
||||
var _a2;
|
||||
currentTabIndex.value = index;
|
||||
currentTabItem.value = list == null ? void 0 : list.value[index];
|
||||
currentEmojiList.value = (_a2 = list == null ? void 0 : list.value[index]) == null ? void 0 : _a2.list;
|
||||
if (!TUIKit_utils_env.isUniFrameWork) {
|
||||
(emojiPickerListRef == null ? void 0 : emojiPickerListRef.value) && (emojiPickerListRef.value.scrollTop = 0);
|
||||
}
|
||||
};
|
||||
const select = (item, index) => {
|
||||
var _a2, _b, _c;
|
||||
const options = {
|
||||
emoji: { key: item, name: TUIKit_components_TUIChat_emojiConfig_index.convertKeyToEmojiName(item) },
|
||||
type: (_a2 = currentTabItem == null ? void 0 : currentTabItem.value) == null ? void 0 : _a2.type
|
||||
};
|
||||
switch ((_b = currentTabItem == null ? void 0 : currentTabItem.value) == null ? void 0 : _b.type) {
|
||||
case TUIKit_constant.EMOJI_TYPE.BASIC:
|
||||
options.url = ((_c = currentTabItem == null ? void 0 : currentTabItem.value) == null ? void 0 : _c.url) + TUIKit_components_TUIChat_emojiConfig_index.BASIC_EMOJI_URL_MAPPING[item];
|
||||
if (TUIKit_utils_env.isUniFrameWork) {
|
||||
common_vendor.index.$emit("insert-emoji", options);
|
||||
} else {
|
||||
emits("insertEmoji", options);
|
||||
}
|
||||
break;
|
||||
case TUIKit_constant.EMOJI_TYPE.BIG:
|
||||
sendFaceMessage(index, currentTabItem.value);
|
||||
break;
|
||||
case TUIKit_constant.EMOJI_TYPE.CUSTOM:
|
||||
sendFaceMessage(index, currentTabItem.value);
|
||||
break;
|
||||
}
|
||||
TUIKit_utils_env.isPC && emits("onClose");
|
||||
};
|
||||
const sendFaceMessage = (index, listItem) => {
|
||||
var _a2, _b, _c, _d, _e;
|
||||
const options = {
|
||||
to: ((_b = (_a2 = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _a2.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: {
|
||||
index: listItem.emojiGroupID,
|
||||
data: listItem.list[index]
|
||||
},
|
||||
needReadReceipt: TUIKit_components_TUIChat_utils_utils.isEnabledMessageReadReceiptGlobal()
|
||||
};
|
||||
common_vendor.Qt.sendFaceMessage(options);
|
||||
};
|
||||
function sendMessage() {
|
||||
common_vendor.index.$emit("send-message-in-emoji-picker");
|
||||
}
|
||||
function onCurrentConversationUpdate(conversation) {
|
||||
currentConversation.value = conversation;
|
||||
}
|
||||
function initEmojiList() {
|
||||
return TUIKit_components_TUIChat_emojiConfig_index.EMOJI_GROUP_LIST.filter((item) => {
|
||||
if (item.type === TUIKit_constant.EMOJI_TYPE.BASIC) {
|
||||
return featureConfig.InputEmoji;
|
||||
}
|
||||
if (item.type === TUIKit_constant.EMOJI_TYPE.BIG) {
|
||||
return featureConfig.InputStickers;
|
||||
}
|
||||
if (item.type === TUIKit_constant.EMOJI_TYPE.CUSTOM) {
|
||||
return featureConfig.InputStickers;
|
||||
}
|
||||
});
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.f(common_vendor.unref(currentEmojiList), (childrenItem, childrenIndex, i0) => {
|
||||
return common_vendor.e(common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC ? {
|
||||
a: common_vendor.unref(currentTabItem).url + common_vendor.unref(TUIKit_components_TUIChat_emojiConfig_index.BASIC_EMOJI_URL_MAPPING)[childrenItem]
|
||||
} : common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG ? {
|
||||
b: common_vendor.unref(currentTabItem).url + childrenItem + "@2x.png"
|
||||
} : {
|
||||
c: common_vendor.unref(currentTabItem).url + childrenItem
|
||||
}, {
|
||||
d: childrenIndex,
|
||||
e: common_vendor.o$1(($event) => select(childrenItem, childrenIndex), childrenIndex)
|
||||
});
|
||||
}),
|
||||
b: common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC,
|
||||
c: common_vendor.unref(currentTabItem).type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG,
|
||||
d: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "emoji-picker-h5-list"),
|
||||
e: common_vendor.f(common_vendor.unref(list), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC
|
||||
}, item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BASIC ? {
|
||||
b: "194fb307-0-" + i0,
|
||||
c: common_vendor.p({
|
||||
file: common_vendor.unref(faceIcon)
|
||||
})
|
||||
} : item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG ? {
|
||||
e: item.url + item.list[0] + "@2x.png"
|
||||
} : {
|
||||
f: item.url + item.list[0]
|
||||
}, {
|
||||
d: item.type === common_vendor.unref(TUIKit_constant.EMOJI_TYPE).BIG,
|
||||
g: index,
|
||||
h: common_vendor.o$1(($event) => toggleEmojiTab(index), index)
|
||||
});
|
||||
}),
|
||||
f: common_vendor.unref(TUIKit_utils_env.isUniFrameWork)
|
||||
}, common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? {
|
||||
g: common_vendor.o$1(sendMessage)
|
||||
} : {}, {
|
||||
h: !common_vendor.unref(TUIKit_utils_env.isPC) ? 1 : ""
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-194fb307"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.js.map
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../../common/Icon"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view ref="emojiPickerDialog" class="{{['data-v-194fb307', 'emoji-picker', h && 'emoji-picker-h5']}}"><view ref="emojiPickerListRef" class="{{['data-v-194fb307', 'emoji-picker-list', d]}}"><view wx:for="{{a}}" wx:for-item="childrenItem" wx:key="d" class="emoji-picker-list-item data-v-194fb307" bindtap="{{childrenItem.e}}"><image wx:if="{{b}}" class="emoji data-v-194fb307" src="{{childrenItem.a}}"></image><image wx:elif="{{c}}" class="emoji-big data-v-194fb307" src="{{childrenItem.b}}"></image><image wx:else class="emoji-custom emoji-big data-v-194fb307" src="{{childrenItem.c}}"></image></view></view><view class="emoji-picker-tab data-v-194fb307"><view wx:for="{{e}}" wx:for-item="item" wx:key="g" class="emoji-picker-tab-item data-v-194fb307" bindtap="{{item.h}}"><icon wx:if="{{item.a}}" class="icon data-v-194fb307" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><image wx:elif="{{item.d}}" class="icon-big data-v-194fb307" src="{{item.e}}"></image><image wx:else class="icon-custom icon-big data-v-194fb307" src="{{item.f}}"></image></view><view wx:if="{{f}}" class="send-btn data-v-194fb307" bindtap="{{g}}"> 发送 </view></view></view>
|
||||
@@ -1,143 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
body.data-v-194fb307, div.data-v-194fb307, ul.data-v-194fb307, ol.data-v-194fb307, dt.data-v-194fb307, dd.data-v-194fb307, li.data-v-194fb307, dl.data-v-194fb307, h1.data-v-194fb307, h2.data-v-194fb307, h3.data-v-194fb307, h4.data-v-194fb307, p.data-v-194fb307 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-style: normal;
|
||||
/* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */
|
||||
}
|
||||
ol.data-v-194fb307, ul.data-v-194fb307, li.data-v-194fb307 {
|
||||
list-style: none;
|
||||
}
|
||||
img.data-v-194fb307 {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
body.data-v-194fb307 {
|
||||
color: #000;
|
||||
background: #FFF;
|
||||
}
|
||||
.clear.data-v-194fb307 {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
}
|
||||
a.data-v-194fb307 {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.data-v-194fb307:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
input.data-v-194fb307, textarea.data-v-194fb307 {
|
||||
-webkit-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
input.data-v-194fb307:focus, input.data-v-194fb307:active, textarea.data-v-194fb307:focus, textarea.data-v-194fb307:active {
|
||||
outline: none;
|
||||
}
|
||||
.chat-aside.data-v-194fb307 {
|
||||
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);
|
||||
}
|
||||
.emoji-picker.data-v-194fb307 {
|
||||
width: 405px;
|
||||
height: 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.emoji-picker-list.data-v-194fb307 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
overflow-y: auto;
|
||||
margin: 2px;
|
||||
}
|
||||
.emoji-picker-list.data-v-194fb307::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.emoji-picker-list-item.data-v-194fb307 {
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
}
|
||||
.emoji-picker-list-item .emoji.data-v-194fb307 {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.emoji-picker-list-item .emoji-big.data-v-194fb307 {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
.emoji-picker-tab.data-v-194fb307 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.emoji-picker-tab-item.data-v-194fb307 {
|
||||
padding: 0 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.emoji-picker-tab-item .icon.data-v-194fb307 {
|
||||
margin: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.emoji-picker-tab-item .icon-big.data-v-194fb307 {
|
||||
margin: 2px 0;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.emoji-picker-h5.data-v-194fb307 {
|
||||
width: 100%;
|
||||
}
|
||||
.emoji-picker-h5-list.data-v-194fb307 {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.emoji-picker-h5-list.data-v-194fb307::after {
|
||||
content: "";
|
||||
display: block;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.emoji-picker-h5 .send-btn.data-v-194fb307 {
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
background-color: #55C06A;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
}
|
||||
@@ -2,9 +2,12 @@
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const TUIKit_components_TUIChat_config = require("../../config.js");
|
||||
const common_assets = require("../../../../../common/assets.js");
|
||||
require("../../offlinePushInfoManager/index.js");
|
||||
const components_generateMsgId = require("../../../../../components/generateMsgId.js");
|
||||
const TUIKit_components_TUIChat_utils_utils = require("../../utils/utils.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../../offlinePushInfoManager/index.js");
|
||||
const stores_counter = require("../../../../../stores/counter.js");
|
||||
const components_request = require("../../../../../components/request.js");
|
||||
const components_TimeFormatting = require("../../../../../components/TimeFormatting.js");
|
||||
if (!Array) {
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
_easycom_uni_popup2();
|
||||
@@ -42,6 +45,7 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-input-toolbar/evaluate/CustomMessage.vue:226", "mylist", res.data);
|
||||
mylist.value = res.data;
|
||||
}
|
||||
});
|
||||
@@ -54,12 +58,12 @@ const _sfc_main = {
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/components/TUIChat/message-input-toolbar/evaluate/CustomMessage.vue:240", "youlist", res.data);
|
||||
youlist.value = res.data;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
const container = common_vendor.ref();
|
||||
const list = common_vendor.ref([]);
|
||||
const popup = common_vendor.ref();
|
||||
function onyourChoose() {
|
||||
@@ -70,50 +74,217 @@ const _sfc_main = {
|
||||
popup.value.open("center");
|
||||
list.value = mylist.value;
|
||||
}
|
||||
const selectedId = common_vendor.ref(null);
|
||||
const myselectedId = common_vendor.ref(null);
|
||||
const youselectedId = common_vendor.ref(null);
|
||||
const youselectedindex = common_vendor.ref(null);
|
||||
const myselectedindex = common_vendor.ref(null);
|
||||
function Select(item, index) {
|
||||
selectedId.value = item;
|
||||
if (list.value == mylist.value) {
|
||||
myselectedId.value = item;
|
||||
myselectedindex.value = index;
|
||||
} else if (list.value == youlist.value) {
|
||||
youselectedId.value = item;
|
||||
youselectedindex.value = index;
|
||||
}
|
||||
}
|
||||
function close() {
|
||||
popup.value.close();
|
||||
if (list.value == mylist.value) {
|
||||
myselectedId.value = null;
|
||||
myselectedindex.value = null;
|
||||
} else if (list.value == youlist.value) {
|
||||
youselectedId.value = null;
|
||||
youselectedindex.value = null;
|
||||
}
|
||||
}
|
||||
const myinfodata = common_vendor.ref(null);
|
||||
const youselfdata = common_vendor.ref(null);
|
||||
function invite() {
|
||||
if (list.value == mylist.value) {
|
||||
if (myselectedindex.value == null) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请选择您要邀请的对手",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
myinfodata.value = list.value[myselectedindex.value];
|
||||
popup.value.close();
|
||||
}
|
||||
} else if (list.value == youlist.value) {
|
||||
if (youselectedindex.value == null) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请选择您要参与的PK信息",
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
return;
|
||||
} else {
|
||||
youselfdata.value = list.value[youselectedindex.value];
|
||||
popup.value.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
const container = common_vendor.ref();
|
||||
function onClose() {
|
||||
var _a;
|
||||
(_a = container == null ? void 0 : container.value) == null ? void 0 : _a.toggleDialogDisplay(false);
|
||||
}
|
||||
const popups = common_vendor.ref();
|
||||
const submitEvaluate = () => {
|
||||
popups.value.open("center");
|
||||
};
|
||||
function closeHint() {
|
||||
popups.value.close();
|
||||
}
|
||||
const inviteHint = () => {
|
||||
components_request.request({
|
||||
url: "pk/createPkRecord",
|
||||
method: "POST",
|
||||
data: {
|
||||
pkIdA: youselfdata.value.id,
|
||||
pkIdB: myinfodata.value.id,
|
||||
userIdA: youselfdata.value.senderId,
|
||||
userIdB: myinfodata.value.senderId,
|
||||
pkTime: youselfdata.value.pkTime,
|
||||
pkNumber: youselfdata.value.pkNumber,
|
||||
anchorIdA: youselfdata.value.anchorId,
|
||||
anchorIdB: myinfodata.value.anchorId,
|
||||
anchorIconA: youselfdata.value.anchorIcon,
|
||||
anchorIconB: myinfodata.value.anchorIcon,
|
||||
piIdA: youselfdata.value.id,
|
||||
piIdB: myinfodata.value.id
|
||||
},
|
||||
userInfo: true
|
||||
}).then((res) => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
if (res.code === 200) {
|
||||
const keyid = components_generateMsgId.generateMsgId();
|
||||
const payload = {
|
||||
data: JSON.stringify({
|
||||
businessID: "pk",
|
||||
keyid,
|
||||
myitem: myinfodata.value.id,
|
||||
pkIdA: youselfdata.value.id,
|
||||
pkIdB: myinfodata.value.id,
|
||||
userIdA: youselfdata.value.senderId,
|
||||
userIdB: myinfodata.value.senderId,
|
||||
pkTime: youselfdata.value.pkTime,
|
||||
pkNumber: youselfdata.value.pkNumber,
|
||||
id: res.data.id,
|
||||
link: "https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/pk.png",
|
||||
btnDisplay: true
|
||||
}),
|
||||
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).then((res2) => {
|
||||
components_request.request({
|
||||
url: "chat/add",
|
||||
method: "POST",
|
||||
data: {
|
||||
messageInfo: JSON.stringify(res2.data.message),
|
||||
keyId: keyid
|
||||
},
|
||||
userInfo: true
|
||||
});
|
||||
});
|
||||
myinfodata.value = null;
|
||||
youselfdata.value = null;
|
||||
currentConversation.value = null;
|
||||
myselectedId.value = null;
|
||||
myselectedindex.value = null;
|
||||
youselectedId.value = null;
|
||||
youselectedindex.value = null;
|
||||
list.value = [];
|
||||
(_f = container == null ? void 0 : container.value) == null ? void 0 : _f.toggleDialogDisplay(false);
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: res.msg,
|
||||
icon: "none",
|
||||
duration: 3e3
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o$1(onyourChoose),
|
||||
b: common_vendor.o$1(onmyChoose),
|
||||
c: common_vendor.o$1(submitEvaluate),
|
||||
d: common_vendor.sr(container, "241228dc-0", {
|
||||
a: common_vendor.o$1(onClose),
|
||||
b: youselfdata.value == null
|
||||
}, youselfdata.value == null ? {} : {
|
||||
c: youselfdata.value.anchorIcon,
|
||||
d: common_vendor.t(youselfdata.value.anchorId),
|
||||
e: common_vendor.t(common_vendor.unref(components_TimeFormatting.TimeFormatting)(youselfdata.value.pkTime)),
|
||||
f: common_vendor.t(youselfdata.value.coin)
|
||||
}, {
|
||||
g: common_vendor.o$1(onyourChoose),
|
||||
h: myinfodata.value == null
|
||||
}, myinfodata.value == null ? {} : {
|
||||
i: myinfodata.value.anchorIcon,
|
||||
j: common_vendor.t(myinfodata.value.anchorId),
|
||||
k: common_vendor.t(common_vendor.unref(components_TimeFormatting.TimeFormatting)(myinfodata.value.pkTime)),
|
||||
l: common_vendor.t(myinfodata.value.coin)
|
||||
}, {
|
||||
m: common_vendor.o$1(onmyChoose),
|
||||
n: common_vendor.o$1(submitEvaluate),
|
||||
o: common_vendor.sr(container, "241228dc-0", {
|
||||
"k": "container"
|
||||
}),
|
||||
e: common_vendor.o$1(onDialogShow),
|
||||
f: common_vendor.o$1(onDialogClose),
|
||||
g: common_vendor.p({
|
||||
p: common_vendor.o$1(onDialogShow),
|
||||
q: common_vendor.o$1(onDialogClose),
|
||||
r: common_vendor.p({
|
||||
iconFile: common_vendor.unref(evaluateIcon),
|
||||
title: "邀请",
|
||||
needBottomPopup: true,
|
||||
iconWidth: _ctx.isUniFrameWork ? "36px" : "30px",
|
||||
iconHeight: _ctx.isUniFrameWork ? "36px" : "30px"
|
||||
}),
|
||||
h: list.value.length !== 0
|
||||
s: list.value.length !== 0
|
||||
}, list.value.length !== 0 ? {
|
||||
i: common_vendor.f(list.value, (item, index, i0) => {
|
||||
t: common_vendor.f(list.value, (item, index, i0) => {
|
||||
return {
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: common_vendor.t(item.coin),
|
||||
d: common_vendor.o$1(($event) => Select(item.id), index),
|
||||
e: selectedId.value === item.id ? "#b8ff8c74" : "#ffffff",
|
||||
f: index
|
||||
b: common_vendor.t(list.value == mylist.value ? item.anchorId : item.disPlayId),
|
||||
c: common_vendor.t(common_vendor.unref(components_TimeFormatting.TimeFormatting)(item.pkTime)),
|
||||
d: common_vendor.t(item.coin),
|
||||
e: common_vendor.o$1(($event) => Select(item.id, index), index),
|
||||
f: myselectedId.value === item.id || youselectedId.value === item.id ? "#b8ff8c74" : "#ffffff",
|
||||
g: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
j: list.value.length === 0
|
||||
v: list.value.length === 0
|
||||
}, list.value.length === 0 ? {} : {}, {
|
||||
k: common_vendor.o$1(($event) => _ctx.invite()),
|
||||
l: common_vendor.o$1(($event) => _ctx.close()),
|
||||
m: common_vendor.sr(popup, "241228dc-1", {
|
||||
w: common_vendor.o$1(($event) => invite()),
|
||||
x: common_vendor.o$1(($event) => close()),
|
||||
y: common_vendor.sr(popup, "241228dc-1", {
|
||||
"k": "popup"
|
||||
}),
|
||||
n: common_vendor.p({
|
||||
z: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
}),
|
||||
A: common_vendor.o$1(inviteHint),
|
||||
B: common_vendor.o$1(closeHint),
|
||||
C: common_vendor.sr(popups, "241228dc-2", {
|
||||
"k": "popups"
|
||||
}),
|
||||
D: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
|
||||
.popup.data-v-241228dc{
|
||||
.popup.data-v-241228dc {
|
||||
height: 750rpx;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
@@ -10,38 +10,78 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.title.data-v-241228dc{
|
||||
.titlecss.data-v-241228dc{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
.title.data-v-241228dc {
|
||||
font-size: 40rpx;
|
||||
color: #313131;
|
||||
text-align: center;
|
||||
margin-top: 40rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.yourChoose.data-v-241228dc{
|
||||
.close.data-v-241228dc{
|
||||
margin-right: 40rpx;
|
||||
margin-top: -30rpx;
|
||||
}
|
||||
.yourChoose.data-v-241228dc {
|
||||
width: 80%;
|
||||
height: 150rpx;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* justify-content: center; */
|
||||
align-items: center;
|
||||
border-radius: 10rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.myChoose.data-v-241228dc{
|
||||
.myChoose.data-v-241228dc {
|
||||
width: 80%;
|
||||
height: 150rpx;
|
||||
margin-top: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
/* justify-content: center; */
|
||||
align-items: center;
|
||||
border-radius: 10rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.yourChoose-item.data-v-241228dc{
|
||||
.yourChoose-item.data-v-241228dc {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: 150rpx;
|
||||
font-size: 30rpx;
|
||||
color: #313131;
|
||||
font-weight: bold;
|
||||
}
|
||||
.Echo.data-v-241228dc {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.EchoIcon.data-v-241228dc {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 50%;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.EchoNameandTime.data-v-241228dc {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.EchoName.data-v-241228dc {
|
||||
font-size: 30rpx;
|
||||
color: #313131;
|
||||
margin-left: 20rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.EchoTimeandGold.data-v-241228dc {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.vstext.data-v-241228dc {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -62,10 +102,16 @@
|
||||
font-style: italic;
|
||||
}
|
||||
.send-btn.data-v-241228dc {
|
||||
margin-bottom: 100rpx;
|
||||
width: 80%;
|
||||
margin-bottom: 70rpx;
|
||||
border-radius: 50rpx;
|
||||
background-image: linear-gradient(135deg, #4fcacd, #5fdbde);
|
||||
color: #ffffff;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.popup-content.data-v-241228dc {
|
||||
width: 750rpx;
|
||||
width: 600rpx;
|
||||
height: 700rpx;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
@@ -158,7 +204,7 @@
|
||||
display: flex;
|
||||
margin-left: 5rpx;
|
||||
}
|
||||
.noData.data-v-241228dc{
|
||||
.noData.data-v-241228dc {
|
||||
width: 500rpx;
|
||||
height: 400rpx;
|
||||
border-radius: 10px;
|
||||
@@ -224,3 +270,23 @@
|
||||
border-bottom-right-radius: 50rpx;
|
||||
border: 1rpx solid #03aba8;
|
||||
}
|
||||
.popup-Hintcontent.data-v-241228dc{
|
||||
width: 600rpx;
|
||||
height: 500rpx;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: url(https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/chard1.png);
|
||||
background-position: center;
|
||||
}
|
||||
.popup-texts.data-v-241228dc{
|
||||
margin-left: 50rpx;
|
||||
color: #7e7e7e;
|
||||
font-size: 26rpx;
|
||||
margin-right: 50rpx;
|
||||
margin-top: 70rpx;
|
||||
margin-bottom: 70rpx;
|
||||
}
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
//确定邀请
|
||||
invite() {
|
||||
},
|
||||
//关闭弹窗
|
||||
close() {
|
||||
popup.value.close();
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
_easycom_uni_popup2();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
_easycom_uni_popup();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: _ctx.list.length !== 0
|
||||
}, _ctx.list.length !== 0 ? {
|
||||
b: common_vendor.f(_ctx.list, (item, index, i0) => {
|
||||
return {
|
||||
a: item.anchorIcon,
|
||||
b: common_vendor.t(item.anchorId),
|
||||
c: common_vendor.t(item.coin),
|
||||
d: common_vendor.o$1(($event) => _ctx.Select(item.id, index), index),
|
||||
e: _ctx.selectedId === item.id ? "#b8ff8c74" : "#ffffff",
|
||||
f: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
c: _ctx.list.length === 0
|
||||
}, _ctx.list.length === 0 ? {} : {}, {
|
||||
d: common_vendor.o$1(($event) => $options.invite()),
|
||||
e: common_vendor.o$1(($event) => $options.close()),
|
||||
f: common_vendor.sr("popup", "40f5b60d-0"),
|
||||
g: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-40f5b60d"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/message-input-toolbar/evaluate/popupinvite.js.map
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-popup": "../../../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<uni-popup wx:if="{{g}}" u-s="{{['d']}}" class="popupcss r data-v-40f5b60d" u-r="popup" u-i="40f5b60d-0" bind:__l="__l" u-p="{{g}}"><view class="popup-content data-v-40f5b60d"><view class="popup-title data-v-40f5b60d"><view class="popup-text data-v-40f5b60d">点击选择您要参与的主播</view><view wx:if="{{a}}" class="data-v-40f5b60d"><scroll-view show-scrollbar="false" scroll-y="true" class="scroll data-v-40f5b60d"><view wx:for="{{b}}" wx:for-item="item" wx:key="f" class="card data-v-40f5b60d"><view class="card-content data-v-40f5b60d" bindtap="{{item.d}}" style="{{'background:' + item.e}}"><view class="Avatarimg data-v-40f5b60d"><image class="avatar data-v-40f5b60d" src="{{item.a}}" mode="scaleToFill"/></view><view class="NameMoney data-v-40f5b60d"><view class="TimeMoney data-v-40f5b60d"><view class="NameMoney_Name data-v-40f5b60d">{{item.b}}</view></view><view class="TimeMoney_Time data-v-40f5b60d"><view class="pkTimeimg data-v-40f5b60d"><image class="data-v-40f5b60d" style="width:31.49rpx;height:31.49rpx;margin-top:3rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/time.png" mode="scaleToFill"/></view><view class="goldimg data-v-40f5b60d"><image class="data-v-40f5b60d" style="width:31.49rpx;height:31.49rpx;margin-top:4rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/species.png" mode="scaleToFill"/></view><view class="goldnb data-v-40f5b60d">{{item.c}}K</view></view></view></view></view></scroll-view></view><view wx:if="{{c}}" class="noData data-v-40f5b60d">您还没有可参与的主播PK,快去新建一个吧!</view></view><view class="popup-btn data-v-40f5b60d"><button class="invite data-v-40f5b60d" type="primary" bindtap="{{d}}">邀请</button><button class="cancel data-v-40f5b60d" type="default" bindtap="{{e}}">取消</button></view></view></uni-popup>
|
||||
@@ -1,2 +0,0 @@
|
||||
|
||||
/* 样式定义 */
|
||||
@@ -6,15 +6,13 @@ 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 + Words + CustomMessage + UserSelector + popupinvite)();
|
||||
(ImageUpload + VideoUpload + Words + CustomMessage + UserSelector)();
|
||||
}
|
||||
const ImageUpload = () => "./image-upload/index.js";
|
||||
const VideoUpload = () => "./video-upload/index.js";
|
||||
const Words = () => "./words/index.js";
|
||||
const EmojiPickerDialog = () => "./emoji-picker/emoji-picker-dialog.js";
|
||||
const UserSelector = () => "./user-selector/index.js";
|
||||
const CustomMessage = () => "./evaluate/CustomMessage.js";
|
||||
const popupinvite = () => "./evaluate/popupinvite.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
props: {
|
||||
@@ -32,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const featureConfig = TUIKit_components_TUIChat_config.ChatConfig.getFeatureConfig();
|
||||
const neededCountFirstPage = common_vendor.ref(8);
|
||||
const slicePos = common_vendor.ref(0);
|
||||
const popupinviteRef = common_vendor.ref(null);
|
||||
common_vendor.ref(null);
|
||||
const computeToolbarPaging = () => {
|
||||
if (featureConfig.InputImage && featureConfig.InputVideo) {
|
||||
neededCountFirstPage.value -= 4;
|
||||
@@ -161,7 +159,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
}, common_vendor.unref(featureConfig).InputCustomMessage ? {
|
||||
m: common_vendor.o$1(handleSwiperDotShow)
|
||||
} : {}), {
|
||||
n: common_vendor.sr(userSelectorRef, "d01919ac-7", {
|
||||
n: common_vendor.sr(userSelectorRef, "76f68da4-6", {
|
||||
"k": "userSelectorRef"
|
||||
}),
|
||||
o: common_vendor.o$1(onUserSelectorSubmit),
|
||||
@@ -170,9 +168,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
type: common_vendor.unref(selectorShowType),
|
||||
currentConversation: common_vendor.unref(currentConversation),
|
||||
isGroup: common_vendor.unref(isGroup)
|
||||
}),
|
||||
r: common_vendor.sr(popupinviteRef, "d01919ac-8", {
|
||||
"k": "popupinviteRef"
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
"image-upload": "./image-upload/index",
|
||||
"video-upload": "./video-upload/index",
|
||||
"words": "./words/index",
|
||||
"emoji-picker-dialog": "./emoji-picker/emoji-picker-dialog",
|
||||
"user-selector": "./user-selector/index",
|
||||
"custom-message": "./evaluate/CustomMessage",
|
||||
"popupinvite": "./evaluate/popupinvite"
|
||||
"custom-message": "./evaluate/CustomMessage"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"><emoji-picker-dialog u-i="d01919ac-0" bind:__l="__l"/></view><view wx:else class="barTool"><view class="barToolItem"><image-upload wx:if="{{b}}" u-i="d01919ac-1" bind:__l="__l" u-p="{{c}}"/></view><view class="barToolItem"><image-upload wx:if="{{d}}" u-i="d01919ac-2" bind:__l="__l" u-p="{{e}}"/></view><view class="barToolItem"><video-upload wx:if="{{f}}" u-i="d01919ac-3" bind:__l="__l" u-p="{{g}}"/></view><view class="barToolItem"><video-upload wx:if="{{h}}" u-i="d01919ac-4" bind:__l="__l" u-p="{{i}}"/></view><view class="barToolItem"><words wx:if="{{j}}" bindonDialogPopupShowOrHide="{{k}}" u-i="d01919ac-5" bind:__l="__l"/></view><view class="barToolItem"><custom-message wx:if="{{l}}" bindonDialogPopupShowOrHide="{{m}}" u-i="d01919ac-6" bind:__l="__l"/></view></view><user-selector wx:if="{{q}}" class="r" u-r="userSelectorRef" bindsubmit="{{o}}" bindcancel="{{p}}" u-i="d01919ac-7" bind:__l="__l" u-p="{{q}}"/><popupinvite class="r" u-r="popupinviteRef" u-i="d01919ac-8" bind:__l="__l"/></view>
|
||||
<view class="{{['message-input-toolbar', 'message-input-toolbar-h5', 'message-input-toolbar-uni']}}"><view wx:if="{{a}}"></view><view wx:else class="barTool"><view class="barToolItem"><image-upload wx:if="{{b}}" u-i="76f68da4-0" bind:__l="__l" u-p="{{c}}"/></view><view class="barToolItem"><image-upload wx:if="{{d}}" u-i="76f68da4-1" bind:__l="__l" u-p="{{e}}"/></view><view class="barToolItem"><video-upload wx:if="{{f}}" u-i="76f68da4-2" bind:__l="__l" u-p="{{g}}"/></view><view class="barToolItem"><video-upload wx:if="{{h}}" u-i="76f68da4-3" bind:__l="__l" u-p="{{i}}"/></view><view class="barToolItem"><words wx:if="{{j}}" bindonDialogPopupShowOrHide="{{k}}" u-i="76f68da4-4" bind:__l="__l"/></view><view class="barToolItem"><custom-message wx:if="{{l}}" bindonDialogPopupShowOrHide="{{m}}" u-i="76f68da4-5" bind:__l="__l"/></view></view><user-selector wx:if="{{q}}" class="r" u-r="userSelectorRef" bindsubmit="{{o}}" bindcancel="{{p}}" u-i="76f68da4-6" bind:__l="__l" u-p="{{q}}"/></view>
|
||||
@@ -257,6 +257,7 @@ wx-swiper .wx-swiper-slide-frame,
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.barTool .barToolItem {
|
||||
margin-bottom: 10rpx;
|
||||
margin-bottom: 30rpx;
|
||||
margin-top: 30rpx;
|
||||
width: 25%;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<dialog wx:if="{{f}}" u-s="{{['d']}}" bindupdateShow="{{e}}" u-i="d30f9b88-0" bind:__l="__l" u-p="{{f}}"><transfer wx:if="{{d}}" bindsearch="{{a}}" bindsubmit="{{b}}" bindcancel="{{c}}" u-i="d30f9b88-1,d30f9b88-0" bind:__l="__l" u-p="{{d}}"/></dialog>
|
||||
<dialog wx:if="{{f}}" u-s="{{['d']}}" bindupdateShow="{{e}}" u-i="e0d32194-0" bind:__l="__l" u-p="{{f}}"><transfer wx:if="{{d}}" bindsearch="{{a}}" bindsubmit="{{b}}" bindcancel="{{c}}" u-i="e0d32194-1,e0d32194-0" bind:__l="__l" u-p="{{d}}"/></dialog>
|
||||
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
const displayType = common_vendor.ref("editor");
|
||||
const featureConfig = TUIKit_components_TUIChat_config.ChatConfig.getFeatureConfig();
|
||||
const isRenderVoice = common_vendor.ref(featureConfig.InputVoice);
|
||||
const isRenderEmojiPicker = common_vendor.ref(featureConfig.InputEmoji || featureConfig.InputStickers);
|
||||
common_vendor.ref(featureConfig.InputEmoji || featureConfig.InputStickers);
|
||||
const isRenderMore = common_vendor.ref(featureConfig.InputImage || featureConfig.InputVideo || featureConfig.InputEvaluation || featureConfig.InputQuickReplies);
|
||||
common_vendor.onMounted(() => {
|
||||
common_vendor.Jt.watch(common_vendor.o.CONV, {
|
||||
@@ -145,28 +145,19 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
m: common_vendor.o$1(insertAt),
|
||||
n: common_vendor.o$1(onAtListOpen)
|
||||
} : {}, {
|
||||
o: common_vendor.unref(isRenderEmojiPicker)
|
||||
}, common_vendor.unref(isRenderEmojiPicker) ? {
|
||||
p: common_vendor.o$1(($event) => changeToolbarDisplayType("emojiPicker")),
|
||||
q: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.faceIcon),
|
||||
size: "23px",
|
||||
hotAreaSize: "3px"
|
||||
})
|
||||
} : {}, {
|
||||
r: common_vendor.unref(isRenderMore)
|
||||
o: common_vendor.unref(isRenderMore)
|
||||
}, common_vendor.unref(isRenderMore) ? {
|
||||
s: common_vendor.o$1(($event) => changeToolbarDisplayType("tools")),
|
||||
t: common_vendor.p({
|
||||
p: common_vendor.o$1(($event) => changeToolbarDisplayType("tools")),
|
||||
q: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.moreIcon),
|
||||
size: "23px",
|
||||
hotAreaSize: "3px"
|
||||
})
|
||||
} : {}, {
|
||||
v: common_vendor.p({
|
||||
r: common_vendor.p({
|
||||
displayType: common_vendor.unref(displayType)
|
||||
}),
|
||||
w: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "message-input-h5")
|
||||
s: common_vendor.n(!common_vendor.unref(TUIKit_utils_env.isPC) && "message-input-h5")
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="{{['data-v-ceb9e230', 'message-input', w]}}"><view class="audio-main-content-line data-v-ceb9e230"><message-input-audio wx:if="{{a}}" class="{{['data-v-ceb9e230', b && 'message-input-wx-audio-open']}}" bindchangeDisplayType="{{c}}" u-i="ceb9e230-0" bind:__l="__l" u-p="{{d}}"/><message-input-editor wx:if="{{j}}" data-c-h="{{!f}}" u-r="editor" class="message-input-editor r data-v-ceb9e230" bindonTyping="{{g}}" bindonAt="{{h}}" bindonFocus="{{i}}" u-i="ceb9e230-1" bind:__l="__l" u-p="{{j}}"/><message-input-at wx:if="{{k}}" class="r data-v-ceb9e230" u-r="messageInputAtRef" bindinsertAt="{{m}}" bindonAtListOpen="{{n}}" u-i="ceb9e230-2" bind:__l="__l"/><icon wx:if="{{o}}" class="icon icon-face data-v-ceb9e230" bindonClick="{{p}}" u-i="ceb9e230-3" bind:__l="__l" u-p="{{q}}"/><icon wx:if="{{r}}" class="icon icon-more data-v-ceb9e230" bindonClick="{{s}}" u-i="ceb9e230-4" bind:__l="__l" u-p="{{t}}"/></view><view class="data-v-ceb9e230"><message-quote wx:if="{{v}}" class="data-v-ceb9e230" style="{{'min-width:' + 0}}" u-i="ceb9e230-5" bind:__l="__l" u-p="{{v}}"/></view></view>
|
||||
<view class="{{['data-v-ceb9e230', 'message-input', s]}}"><view class="audio-main-content-line data-v-ceb9e230"><message-input-audio wx:if="{{a}}" class="{{['data-v-ceb9e230', b && 'message-input-wx-audio-open']}}" bindchangeDisplayType="{{c}}" u-i="ceb9e230-0" bind:__l="__l" u-p="{{d}}"/><message-input-editor wx:if="{{j}}" data-c-h="{{!f}}" u-r="editor" class="message-input-editor r data-v-ceb9e230" bindonTyping="{{g}}" bindonAt="{{h}}" bindonFocus="{{i}}" u-i="ceb9e230-1" bind:__l="__l" u-p="{{j}}"/><message-input-at wx:if="{{k}}" class="r data-v-ceb9e230" u-r="messageInputAtRef" bindinsertAt="{{m}}" bindonAtListOpen="{{n}}" u-i="ceb9e230-2" bind:__l="__l"/><icon wx:if="{{o}}" class="icon icon-more data-v-ceb9e230" bindonClick="{{p}}" u-i="ceb9e230-3" bind:__l="__l" u-p="{{q}}"/></view><view class="data-v-ceb9e230"><message-quote wx:if="{{r}}" class="data-v-ceb9e230" style="{{'min-width:' + 0}}" u-i="ceb9e230-4" bind:__l="__l" u-p="{{r}}"/></view></view>
|
||||
@@ -1,7 +1,8 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
require("../../../../adapter-vue.js");
|
||||
require("../../emoji-config/index.js");
|
||||
require("../../emoji-config/default-emoji.js");
|
||||
require("../../../../utils/env.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-face",
|
||||
props: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../../common/vendor.js");
|
||||
require("../../../../adapter-vue.js");
|
||||
require("../../emoji-config/index.js");
|
||||
require("../../emoji-config/default-emoji.js");
|
||||
const TUIKit_utils_env = require("../../../../utils/env.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-text",
|
||||
|
||||
@@ -1 +1 @@
|
||||
<select-user wx:if="{{c}}" bindsearch="{{a}}" bindcomplete="{{b}}" u-i="8f22a132-0" bind:__l="__l" u-p="{{c}}"/>
|
||||
<select-user wx:if="{{c}}" bindsearch="{{a}}" bindcomplete="{{b}}" u-i="ffa11ea6-0" bind:__l="__l" u-p="{{c}}"/>
|
||||
@@ -1 +1 @@
|
||||
<select-user wx:if="{{d}}" bindgetMore="{{a}}" bindsearch="{{b}}" bindcomplete="{{c}}" u-i="d60a967c-0" bind:__l="__l" u-p="{{d}}"/>
|
||||
<select-user wx:if="{{d}}" bindgetMore="{{a}}" bindsearch="{{b}}" bindcomplete="{{c}}" u-i="06670f88-0" bind:__l="__l" u-p="{{d}}"/>
|
||||
@@ -1 +1 @@
|
||||
<dialog wx:if="{{g}}" u-s="{{['d']}}" bindupdateShow="{{f}}" u-i="6c03f9dc-0" bind:__l="__l" u-p="{{g}}"><transfer wx:if="{{e}}" bindgetMore="{{a}}" bindsearch="{{b}}" bindsubmit="{{c}}" bindcancel="{{d}}" u-i="6c03f9dc-1,6c03f9dc-0" bind:__l="__l" u-p="{{e}}"/></dialog>
|
||||
<dialog wx:if="{{g}}" u-s="{{['d']}}" bindupdateShow="{{f}}" u-i="5e6cf6e8-0" bind:__l="__l" u-p="{{g}}"><transfer wx:if="{{e}}" bindgetMore="{{a}}" bindsearch="{{b}}" bindsubmit="{{c}}" bindcancel="{{d}}" u-i="5e6cf6e8-1,5e6cf6e8-0" bind:__l="__l" u-p="{{e}}"/></dialog>
|
||||
@@ -19,11 +19,6 @@ const CHAT_MSG_CUSTOM_TYPE = {
|
||||
CALL: 1,
|
||||
ORDER: "order"
|
||||
};
|
||||
const EMOJI_TYPE = {
|
||||
BASIC: "basic",
|
||||
BIG: "big",
|
||||
CUSTOM: "CUSTOM"
|
||||
};
|
||||
const CONTACT_INFO_LABEL_POSITION = {
|
||||
LEFT: "left",
|
||||
TOP: "top"
|
||||
@@ -43,5 +38,4 @@ exports.CONTACT_INFO_LABEL_POSITION = CONTACT_INFO_LABEL_POSITION;
|
||||
exports.CONTACT_INFO_MORE_EDIT_TYPE = CONTACT_INFO_MORE_EDIT_TYPE;
|
||||
exports.CONV_CREATE_TYPE = CONV_CREATE_TYPE;
|
||||
exports.CONV_OPERATION = CONV_OPERATION;
|
||||
exports.EMOJI_TYPE = EMOJI_TYPE;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/TUIKit/constant.js.map
|
||||
|
||||
@@ -46,7 +46,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: common_vendor.f($setup.content.items, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.content),
|
||||
b: "4fecbb0c-0-" + i0,
|
||||
b: "00f6aa80-0-" + i0,
|
||||
c: index,
|
||||
d: common_vendor.o$1(($event) => $setup.handleContentListItemClick(item), index)
|
||||
};
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="custom"><view wx:if="{{a}}"><message-branch wx:if="{{c}}" bindsendMessage="{{b}}" u-i="c96db2c4-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:if="{{d}}"><message-i-m-robot-welcome wx:if="{{f}}" bindsendMessage="{{e}}" u-i="c96db2c4-1" bind:__l="__l" u-p="{{f}}"/></view><view wx:if="{{g}}"><message-form wx:if="{{i}}" bindsendMessage="{{h}}" u-i="c96db2c4-2" bind:__l="__l" u-p="{{i}}"/></view><view wx:if="{{j}}"><message-product-card wx:if="{{k}}" u-i="c96db2c4-3" bind:__l="__l" u-p="{{k}}"/></view><view wx:if="{{l}}"><message-rich-text wx:if="{{m}}" u-i="c96db2c4-4" bind:__l="__l" u-p="{{m}}"/></view><view wx:if="{{n}}"><message-stream wx:if="{{o}}" u-i="c96db2c4-5" bind:__l="__l" u-p="{{o}}"/></view></view>
|
||||
<view class="custom"><view wx:if="{{a}}"><message-branch wx:if="{{c}}" bindsendMessage="{{b}}" u-i="7db9e138-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:if="{{d}}"><message-i-m-robot-welcome wx:if="{{f}}" bindsendMessage="{{e}}" u-i="7db9e138-1" bind:__l="__l" u-p="{{f}}"/></view><view wx:if="{{g}}"><message-form wx:if="{{i}}" bindsendMessage="{{h}}" u-i="7db9e138-2" bind:__l="__l" u-p="{{i}}"/></view><view wx:if="{{j}}"><message-product-card wx:if="{{k}}" u-i="7db9e138-3" bind:__l="__l" u-p="{{k}}"/></view><view wx:if="{{l}}"><message-rich-text wx:if="{{m}}" u-i="7db9e138-4" bind:__l="__l" u-p="{{m}}"/></view><view wx:if="{{n}}"><message-stream wx:if="{{o}}" u-i="7db9e138-5" bind:__l="__l" u-p="{{o}}"/></view></view>
|
||||
@@ -1 +1 @@
|
||||
<view wx:if="{{a}}" class="message-form"><form-branch wx:if="{{c}}" bindinputClick="{{b}}" u-i="623e9a1f-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:else class="message-form"><form-input wx:if="{{e}}" bindinputSubmit="{{d}}" u-i="623e9a1f-1" bind:__l="__l" u-p="{{e}}"/></view>
|
||||
<view wx:if="{{a}}" class="message-form"><form-branch wx:if="{{c}}" bindinputClick="{{b}}" u-i="6e5fe136-0" bind:__l="__l" u-p="{{c}}"/></view><view wx:else class="message-form"><form-input wx:if="{{e}}" bindinputSubmit="{{d}}" u-i="6e5fe136-1" bind:__l="__l" u-p="{{e}}"/></view>
|
||||
@@ -1 +1 @@
|
||||
<rating-star wx:if="{{a}}" bindsendMessage="{{b}}" u-i="37061890-0" bind:__l="__l" u-p="{{c}}"/><rating-number wx:else bindsendMessage="{{d}}" u-i="37061890-1" bind:__l="__l" u-p="{{e||''}}"/>
|
||||
<rating-star wx:if="{{a}}" bindsendMessage="{{b}}" u-i="26f3a104-0" bind:__l="__l" u-p="{{c}}"/><rating-number wx:else bindsendMessage="{{d}}" u-i="26f3a104-1" bind:__l="__l" u-p="{{e||''}}"/>
|
||||
@@ -71,7 +71,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: common_vendor.f(_ctx.showList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.content),
|
||||
b: "539566d7-2-" + i0,
|
||||
b: "4cb3a3d1-2-" + i0,
|
||||
c: index,
|
||||
d: common_vendor.o$1(($event) => $setup.handleContentListItemClick(item), index)
|
||||
};
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="welcome-card"><view class="welcome-title"><view class="welcome-title-left-container"><icon wx:if="{{a}}" u-i="539566d7-0" bind:__l="__l" u-p="{{a}}"/><view wx:if="{{b}}" class="card-title">{{c}}</view></view><view class="change-wrapper" bindtap="{{e}}"><icon wx:if="{{d}}" u-i="539566d7-1" bind:__l="__l" u-p="{{d}}"/></view></view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="welcome-item" bindtap="{{item.d}}"><view>{{item.a}}</view><icon wx:if="{{g}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{g}}"/></view></view>
|
||||
<view class="welcome-card"><view class="welcome-title"><view class="welcome-title-left-container"><icon wx:if="{{a}}" u-i="4cb3a3d1-0" bind:__l="__l" u-p="{{a}}"/><view wx:if="{{b}}" class="card-title">{{c}}</view></view><view class="change-wrapper" bindtap="{{e}}"><icon wx:if="{{d}}" u-i="4cb3a3d1-1" bind:__l="__l" u-p="{{d}}"/></view></view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="welcome-item" bindtap="{{item.d}}"><view>{{item.a}}</view><icon wx:if="{{g}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{g}}"/></view></view>
|
||||
@@ -1 +1 @@
|
||||
<view class="message-custom"><message-rating wx:if="{{a}}" bindsendMessage="{{b}}" u-i="67b73b0b-0" bind:__l="__l" u-p="{{c}}"/><message-customer-service wx:elif="{{d}}" bindsendMessage="{{e}}" u-i="67b73b0b-1" bind:__l="__l" u-p="{{f}}"/></view>
|
||||
<view class="message-custom"><message-rating wx:if="{{a}}" bindsendMessage="{{b}}" u-i="0d18a251-0" bind:__l="__l" u-p="{{c}}"/><message-customer-service wx:elif="{{d}}" bindsendMessage="{{e}}" u-i="0d18a251-1" bind:__l="__l" u-p="{{f}}"/></view>
|
||||
Reference in New Issue
Block a user