优化页面
This commit is contained in:
164
unpackage/dist/dev/mp-weixin/TUIKit/plugins/extension-server/callkit.js
vendored
Normal file
164
unpackage/dist/dev/mp-weixin/TUIKit/plugins/extension-server/callkit.js
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
class CallkitPluginServer {
|
||||
constructor() {
|
||||
common_vendor.R.registerEvent(common_vendor.E.TUILogin.EVENT.LOGIN_STATE_CHANGED, common_vendor.E.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS, this);
|
||||
common_vendor.R.registerService(common_vendor.E.TUICalling.SERVICE.NAME, this);
|
||||
common_vendor.R.registerExtension(common_vendor.E.TUIChat.EXTENSION.INPUT_MORE.EXT_ID, this);
|
||||
}
|
||||
/**
|
||||
* Listen for the successful notification of TUILogin.login and then log in with callkit
|
||||
*/
|
||||
onNotifyEvent(eventName, subKey) {
|
||||
if (eventName === common_vendor.E.TUILogin.EVENT.LOGIN_STATE_CHANGED) {
|
||||
let SDKAppID, userID, userSig, context;
|
||||
switch (subKey) {
|
||||
case common_vendor.E.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS:
|
||||
context = common_vendor.A.getContext();
|
||||
SDKAppID = context.SDKAppID;
|
||||
userID = context.userID;
|
||||
userSig = context.userSig;
|
||||
common_vendor.i.$TUICallKit && common_vendor.i.$TUICallKit.login({
|
||||
SDKAppID,
|
||||
userID,
|
||||
userSig
|
||||
}, (res) => {
|
||||
if (res.code === 0) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:32", "TUICallkit login success!");
|
||||
common_vendor.i.$TUICallKit.enableFloatWindow(true);
|
||||
} else {
|
||||
common_vendor.index.__f__("error", "at TUIKit/plugins/extension-server/callkit.ts:36", `TUICallkit login failed,${res.msg}`);
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Native plugin callkit implements onGetExtension method
|
||||
*/
|
||||
onGetExtension(extensionID, params) {
|
||||
if (!common_vendor.i.$TUICallKit) {
|
||||
common_vendor.index.__f__("warn", "at TUIKit/plugins/extension-server/callkit.ts:49", "请检查原生插件 TencentCloud-TUICallKit 是否已集成");
|
||||
return [];
|
||||
}
|
||||
if (extensionID === common_vendor.E.TUIChat.EXTENSION.INPUT_MORE.EXT_ID) {
|
||||
const list = [];
|
||||
const voiceCallExtension = {
|
||||
weight: 1e3,
|
||||
text: "语音通话",
|
||||
icon: "https://web.sdk.qcloud.com/component/TUIKit/assets/call.png",
|
||||
data: {
|
||||
name: "voiceCall"
|
||||
},
|
||||
listener: {
|
||||
onClicked: (options) => {
|
||||
this.setCallExtension(options);
|
||||
}
|
||||
}
|
||||
};
|
||||
const videoCallExtension = {
|
||||
weight: 900,
|
||||
text: "视频通话",
|
||||
icon: "https://web.sdk.qcloud.com/component/TUIKit/assets/call-video-reverse.svg",
|
||||
data: {
|
||||
name: "videoCall"
|
||||
},
|
||||
listener: {
|
||||
onClicked: (options) => {
|
||||
this.setCallExtension(options);
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!(params == null ? void 0 : params.filterVoice)) {
|
||||
list.push(voiceCallExtension);
|
||||
}
|
||||
if (!(params == null ? void 0 : params.filterVideo)) {
|
||||
list.push(videoCallExtension);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Native plugin callkit implements onCall method
|
||||
*/
|
||||
onCall(method, params) {
|
||||
if (!common_vendor.i.$TUICallKit) {
|
||||
common_vendor.index.__f__("warn", "at TUIKit/plugins/extension-server/callkit.ts:95", "请检查原生插件 TencentCloud-TUICallKit 是否已集成");
|
||||
return;
|
||||
}
|
||||
if (method === common_vendor.E.TUICalling.SERVICE.METHOD.START_CALL) {
|
||||
const { groupID = void 0, userIDList = [], type, callParams } = params;
|
||||
if (groupID) {
|
||||
common_vendor.i.$TUICallKit.groupCall({
|
||||
groupID,
|
||||
userIDList,
|
||||
callMediaType: type,
|
||||
callParams
|
||||
}, (res) => {
|
||||
if (res.code === 0) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:108", "TUICallkit groupCall success");
|
||||
} else {
|
||||
common_vendor.index.__f__("error", "at TUIKit/plugins/extension-server/callkit.ts:110", `TUICallkit groupCall failed,${res.msg}`);
|
||||
}
|
||||
});
|
||||
} else if (userIDList.length === 1) {
|
||||
common_vendor.i.$TUICallKit.call(
|
||||
{
|
||||
userID: userIDList[0],
|
||||
callMediaType: type,
|
||||
callParams
|
||||
},
|
||||
(res) => {
|
||||
if (res.code === 0) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:122", "TUICallkit call success");
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:124", `TUICallkit call failed,${res.msg}`);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
setCallExtension(options) {
|
||||
const { groupID = void 0, userIDList = [], type, callParams } = options;
|
||||
try {
|
||||
if (groupID) {
|
||||
common_vendor.i.$TUICallKit.groupCall({
|
||||
groupID,
|
||||
userIDList,
|
||||
callMediaType: type,
|
||||
callParams
|
||||
}, (res) => {
|
||||
if (res.code === 0) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:143", "TUICallkit groupCall success");
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:145", `TUICallkit groupCall failed,${res.msg}`);
|
||||
}
|
||||
});
|
||||
} else if (userIDList.length === 1) {
|
||||
common_vendor.i.$TUICallKit.call(
|
||||
{
|
||||
userID: userIDList[0],
|
||||
callMediaType: type,
|
||||
callParams
|
||||
},
|
||||
(res) => {
|
||||
if (res.code === 0) {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:158", "TUICallkit call success");
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at TUIKit/plugins/extension-server/callkit.ts:160", `TUICallkit call failed,${res.msg}`);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
common_vendor.i.showToast({
|
||||
title: "拨打失败!",
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.CallkitPluginServer = CallkitPluginServer;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/plugins/extension-server/callkit.js.map
|
||||
32
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/index.js
vendored
Normal file
32
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/index.js
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const TUIKit_plugins_pluginComponents_messageCustomer_index = require("./message-customer/index.js");
|
||||
const TUIKit_utils_typeCheck = require("../../utils/type-check.js");
|
||||
function isCallMessage(message) {
|
||||
var _a;
|
||||
const payloadData = TUIKit_utils_typeCheck.JSONToObject((_a = message == null ? void 0 : message.payload) == null ? void 0 : _a.data);
|
||||
if ((payloadData == null ? void 0 : payloadData.businessID) === 1 && (payloadData == null ? void 0 : payloadData.data)) {
|
||||
const payloadDataData = TUIKit_utils_typeCheck.JSONToObject(payloadData.data);
|
||||
if (payloadDataData.businessID === "av_call") {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function isRoomSignalingMessage(message) {
|
||||
var _a;
|
||||
const payloadData = TUIKit_utils_typeCheck.JSONToObject((_a = message == null ? void 0 : message.payload) == null ? void 0 : _a.data);
|
||||
return (payloadData == null ? void 0 : payloadData.businessID) === "ROOM_INVITE_ACTION" || (payloadData == null ? void 0 : payloadData.businessID) === "tuikit_engine_room";
|
||||
}
|
||||
function isRoomCardMessage(message) {
|
||||
var _a;
|
||||
const payloadData = TUIKit_utils_typeCheck.JSONToObject((_a = message == null ? void 0 : message.payload) == null ? void 0 : _a.data);
|
||||
return (payloadData == null ? void 0 : payloadData.businessID) === "group_room_message";
|
||||
}
|
||||
function isPluginMessage(message) {
|
||||
return message.type === common_vendor.qt.TYPES.MSG_CUSTOM && (isCallMessage(message) || TUIKit_plugins_pluginComponents_messageCustomer_index.isCustomerServicePluginMessage(message) || isRoomCardMessage(message) || isRoomSignalingMessage(message));
|
||||
}
|
||||
exports.isCallMessage = isCallMessage;
|
||||
exports.isPluginMessage = isPluginMessage;
|
||||
exports.isRoomCardMessage = isRoomCardMessage;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/index.js.map
|
||||
95
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-c2c.js
vendored
Normal file
95
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-c2c.js
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
require("../../../adapter-vue.js");
|
||||
const TUIKit_utils_typeCheck = require("../../../utils/type-check.js");
|
||||
const common_assets = require("../../../../common/assets.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_index = require("../../../components/TUIChat/offlinePushInfoManager/index.js");
|
||||
const TUIKit_components_TUIChat_offlinePushInfoManager_const = require("../../../components/TUIChat/offlinePushInfoManager/const.js");
|
||||
if (!Math) {
|
||||
Icon();
|
||||
}
|
||||
const Icon = () => "../../../components/common/Icon.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-call-c2c",
|
||||
props: {
|
||||
message: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
},
|
||||
signalingInfo: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
},
|
||||
customContent: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const TYPES = common_vendor.ref(common_vendor.qt.TYPES);
|
||||
const isCallMessage = common_vendor.computed(() => props.signalingInfo != null);
|
||||
const callInfo = common_vendor.computed(() => {
|
||||
var _a, _b;
|
||||
const callType = (_b = TUIKit_utils_typeCheck.JSONToObject((_a = props.signalingInfo) == null ? void 0 : _a.data)) == null ? void 0 : _b.call_type;
|
||||
switch (callType) {
|
||||
case 1:
|
||||
return {
|
||||
type: 1,
|
||||
icon: common_assets.callVoiceSVG
|
||||
};
|
||||
case 2:
|
||||
return {
|
||||
type: 2,
|
||||
icon: common_assets.callVideoSVG
|
||||
};
|
||||
}
|
||||
return {
|
||||
type: 0,
|
||||
icon: ""
|
||||
};
|
||||
});
|
||||
const conversationType = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return (_a = props.message) == null ? void 0 : _a.conversationType;
|
||||
});
|
||||
const custom = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return (_a = props.customContent) == null ? void 0 : _a.custom;
|
||||
});
|
||||
const callAgain = () => {
|
||||
var _a, _b, _c, _d;
|
||||
if (conversationType.value === common_vendor.qt.TYPES.CONV_C2C) {
|
||||
const userID = ((_a = props.message) == null ? void 0 : _a.flow) === "out" ? (_b = props.message) == null ? void 0 : _b.to : (_c = props.message) == null ? void 0 : _c.from;
|
||||
common_vendor.R.callService({
|
||||
serviceName: common_vendor.E.TUICalling.SERVICE.NAME,
|
||||
method: common_vendor.E.TUICalling.SERVICE.METHOD.START_CALL,
|
||||
params: {
|
||||
userIDList: [userID],
|
||||
type: (_d = callInfo == null ? void 0 : callInfo.value) == null ? void 0 : _d.type,
|
||||
callParams: {
|
||||
offlinePushInfo: TUIKit_components_TUIChat_offlinePushInfoManager_index.OfflinePushInfoManager.getOfflinePushInfo(TUIKit_components_TUIChat_offlinePushInfoManager_const.PUSH_SCENE.CALL)
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.unref(isCallMessage) && common_vendor.unref(conversationType) === common_vendor.unref(TYPES).CONV_C2C
|
||||
}, common_vendor.unref(isCallMessage) && common_vendor.unref(conversationType) === common_vendor.unref(TYPES).CONV_C2C ? {
|
||||
b: common_vendor.p({
|
||||
file: common_vendor.unref(callInfo).icon
|
||||
}),
|
||||
c: common_vendor.n(__props.message.flow === "out" && common_vendor.unref(callInfo).type === 2 && "icon-reverse"),
|
||||
d: common_vendor.t(common_vendor.unref(custom)),
|
||||
e: common_vendor.n("call-" + common_vendor.unref(conversationType)),
|
||||
f: common_vendor.n(__props.message.flow === "out" && "call-reverse"),
|
||||
g: common_vendor.o$1(callAgain)
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-6d96978f"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-c2c.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../../components/common/Icon"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['call', 'data-v-6d96978f', e, f]}}" bindtap="{{g}}"><view class="{{['data-v-6d96978f', 'icon', c]}}"><icon wx:if="{{b}}" class="data-v-6d96978f" u-i="6d96978f-0" bind:__l="__l" u-p="{{b}}"/></view><label class="call-content data-v-6d96978f">{{d}}</label></view>
|
||||
53
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-c2c.wxss
vendored
Normal file
53
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-c2c.wxss
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.call.data-v-6d96978f {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
.call-C2C.data-v-6d96978f {
|
||||
cursor: pointer;
|
||||
}
|
||||
.call-GROUP.data-v-6d96978f {
|
||||
cursor: default;
|
||||
}
|
||||
.call-content.data-v-6d96978f {
|
||||
padding-left: 5px;
|
||||
}
|
||||
.call .icon.data-v-6d96978f {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.call-reverse.data-v-6d96978f {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
.call-reverse .icon-reverse.data-v-6d96978f {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.call-reverse .call-content.data-v-6d96978f {
|
||||
padding-right: 5px;
|
||||
padding-left: 0;
|
||||
}
|
||||
43
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-group.js
vendored
Normal file
43
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-group.js
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
require("../../../adapter-vue.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-call-group",
|
||||
props: {
|
||||
message: { default: () => ({}) },
|
||||
signalingInfo: { default: () => ({}) },
|
||||
customContent: { default: () => ({}) },
|
||||
blinkMessageIDList: { default: () => [] }
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const TYPES = common_vendor.qt.TYPES;
|
||||
const isCallMessage = common_vendor.computed(() => !!props.signalingInfo);
|
||||
const conversationType = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return (_a = props.message) == null ? void 0 : _a.conversationType;
|
||||
});
|
||||
const custom = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return (_a = props.customContent) == null ? void 0 : _a.custom;
|
||||
});
|
||||
const isBlink = common_vendor.computed(() => {
|
||||
var _a, _b;
|
||||
if ((_a = props.message) == null ? void 0 : _a.ID) {
|
||||
return (_b = props.blinkMessageIDList) == null ? void 0 : _b.includes(props.message.ID);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.unref(isCallMessage) && common_vendor.unref(conversationType) === common_vendor.unref(TYPES).CONV_GROUP
|
||||
}, common_vendor.unref(isCallMessage) && common_vendor.unref(conversationType) === common_vendor.unref(TYPES).CONV_GROUP ? {
|
||||
b: common_vendor.t(common_vendor.unref(custom)),
|
||||
c: common_vendor.unref(isBlink) ? 1 : ""
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-80245e9e"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-call/message-call-group.js.map
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="{{['data-v-80245e9e', c && 'blink-text']}}">{{b}}</view>
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
@keyframes blink-text-80245e9e {
|
||||
50% {
|
||||
color: #ff9c19;
|
||||
}
|
||||
}
|
||||
.blink-text.data-v-80245e9e {
|
||||
animation: blinkText 1s linear 3;
|
||||
}
|
||||
8
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-customer/index.js
vendored
Normal file
8
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-customer/index.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
const TUIKit_tuiCustomerServicePlugin_server = require("../../../tui-customer-service-plugin/server.js");
|
||||
const TUICustomerServer = TUIKit_tuiCustomerServicePlugin_server.TUICustomerServer.getInstance();
|
||||
const isCustomerServicePluginMessage = TUICustomerServer.isCustomerServicePluginMessage.bind(TUICustomerServer);
|
||||
TUICustomerServer.setCustomerServiceAccounts.bind(TUICustomerServer);
|
||||
TUICustomerServer.getCustomerServiceAccounts.bind(TUICustomerServer);
|
||||
exports.isCustomerServicePluginMessage = isCustomerServicePluginMessage;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-customer/index.js.map
|
||||
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Math) {
|
||||
TUICustomerServicePlugin();
|
||||
}
|
||||
const TUICustomerServicePlugin = () => "../../../tui-customer-service-plugin/index.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-customer-service",
|
||||
props: {
|
||||
message: { default: () => ({}) }
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
message: props.message
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d1833b46"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-customer/message-customer-service.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"t-u-i-customer-service-plugin": "../../../tui-customer-service-plugin/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<t-u-i-customer-service-plugin wx:if="{{a}}" class="data-v-d1833b46" u-i="d1833b46-0" bind:__l="__l" u-p="{{a}}"/>
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
/* stylelint-disable-next-line no-empty-source */
|
||||
62
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.js
vendored
Normal file
62
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.js
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../adapter-vue.js");
|
||||
const TUIKit_utils_env = require("../../utils/env.js");
|
||||
if (!Math) {
|
||||
MessageBubble();
|
||||
}
|
||||
const MessageBubble = () => "../../components/TUIChat/message-list/message-elements/message-bubble.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-plugin-layout",
|
||||
props: {
|
||||
message: { default: () => ({}) },
|
||||
showStyle: { default: "" },
|
||||
bubbleClassNameList: { default: () => [] },
|
||||
blinkMessageIDList: { default: () => [] }
|
||||
},
|
||||
emits: ["resendMessage", "handleToggleMessageItem", "handleH5LongPress"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const props = __props;
|
||||
const emits = __emit;
|
||||
const messageModel = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return common_vendor.Jt.getMessageModel((_a = props.message) == null ? void 0 : _a.ID);
|
||||
});
|
||||
const resendMessage = (message) => {
|
||||
emits("resendMessage", message);
|
||||
};
|
||||
const handleToggleMessageItem = (e, message, isLongpress = false) => {
|
||||
emits("handleToggleMessageItem", e, message, isLongpress);
|
||||
};
|
||||
const handleH5LongPress = (e, message, type) => {
|
||||
emits("handleH5LongPress", e, message, type);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: props.showStyle === "tip"
|
||||
}, props.showStyle === "tip" ? {} : props.showStyle === "bubble" ? common_vendor.e({
|
||||
c: !common_vendor.unref(TUIKit_utils_env.isUniFrameWork)
|
||||
}, !common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? {} : {}, {
|
||||
d: common_vendor.unref(TUIKit_utils_env.isUniFrameWork)
|
||||
}, common_vendor.unref(TUIKit_utils_env.isUniFrameWork) ? {} : {}, {
|
||||
e: common_vendor.o$1(($event) => resendMessage(common_vendor.unref(messageModel))),
|
||||
f: common_vendor.p({
|
||||
messageItem: common_vendor.unref(messageModel),
|
||||
content: common_vendor.unref(messageModel).getMessageContent(),
|
||||
blinkMessageIDList: props.blinkMessageIDList,
|
||||
classNameList: props.bubbleClassNameList
|
||||
}),
|
||||
g: common_vendor.o$1(($event) => handleToggleMessageItem($event, common_vendor.unref(messageModel), true)),
|
||||
h: common_vendor.o$1(($event) => handleToggleMessageItem($event, common_vendor.unref(messageModel))),
|
||||
i: common_vendor.o$1(($event) => handleH5LongPress($event, common_vendor.unref(messageModel), "touchstart")),
|
||||
j: common_vendor.o$1(($event) => handleH5LongPress($event, common_vendor.unref(messageModel), "touchend")),
|
||||
k: common_vendor.o$1(($event) => handleH5LongPress($event, common_vendor.unref(messageModel), "touchend"))
|
||||
}) : {}, {
|
||||
b: props.showStyle === "bubble"
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-60deb703"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"message-bubble": "../../components/TUIChat/message-list/message-elements/message-bubble"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="message-plugin data-v-60deb703"><view wx:if="{{a}}" class="message-plugin-tip data-v-60deb703"><slot name="messageTip"/></view><view wx:elif="{{b}}" class="message-plugin-bubble-content data-v-60deb703" bindlongpress="{{g}}" catchtap="{{h}}" bindtouchstart="{{i}}" bindtouchend="{{j}}" bindmouseover="{{k}}"><message-bubble wx:if="{{f}}" class="data-v-60deb703" u-s="{{['messageElement','d']}}" bindresendMessage="{{e}}" u-i="60deb703-0" bind:__l="__l" u-p="{{f}}"><view slot="messageElement"><slot wx:if="{{c}}" name="messageBubble"/></view><slot wx:if="{{d}}" name="messageBubble"/></message-bubble></view></view>
|
||||
53
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.wxss
vendored
Normal file
53
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin-layout.wxss
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.message-plugin-tip.data-v-60deb703 {
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
overflow-wrap: anywhere;
|
||||
display: flex;
|
||||
place-content: center center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
margin: 0 10px 10px;
|
||||
}
|
||||
.message-tip-highlight.data-v-60deb703 {
|
||||
animation: highlight-60deb703 1000ms infinite;
|
||||
}
|
||||
@keyframes highlight-60deb703 {
|
||||
50% {
|
||||
color: #ff9c19;
|
||||
}
|
||||
}
|
||||
@keyframes highlight-60deb703 {
|
||||
50% {
|
||||
color: #ff9c19;
|
||||
}
|
||||
}
|
||||
.data-v-60deb703 .message-bubble-room .message-bubble-main-content .message-body .message-body-main .message-body-content.content-in,.data-v-60deb703 .message-bubble-room .message-bubble-main-content .message-body .message-body-main .message-body-content.content-out {
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
106
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.js
vendored
Normal file
106
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.js
vendored
Normal file
@@ -0,0 +1,106 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
require("../../adapter-vue.js");
|
||||
const TUIKit_plugins_pluginComponents_messageCustomer_index = require("./message-customer/index.js");
|
||||
const TUIKit_plugins_pluginComponents_index = require("./index.js");
|
||||
const TUIKit_tuiCustomerServicePlugin_utils_index = require("../../tui-customer-service-plugin/utils/index.js");
|
||||
if (!Math) {
|
||||
(MessageCallGroup + MessageCallC2C + MessageCustomerService + MessageRoom + MessagePluginLayout)();
|
||||
}
|
||||
const MessagePluginLayout = () => "./message-plugin-layout.js";
|
||||
const MessageCallGroup = () => "./message-call/message-call-group.js";
|
||||
const MessageCallC2C = () => "./message-call/message-call-c2c.js";
|
||||
const MessageCustomerService = () => "./message-customer/message-customer-service.js";
|
||||
const MessageRoom = () => "./message-room/message-room-default.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-plugin",
|
||||
props: {
|
||||
message: { default: () => ({}) },
|
||||
blinkMessageIDList: { default: () => [] }
|
||||
},
|
||||
emits: ["resendMessage", "handleToggleMessageItem", "handleH5LongPress"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const props = __props;
|
||||
const emits = __emit;
|
||||
const messageModel = common_vendor.computed(() => common_vendor.Jt.getMessageModel(props.message.ID));
|
||||
const messageSignalingInfo = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return (_a = messageModel == null ? void 0 : messageModel.value) == null ? void 0 : _a.getSignalingInfo();
|
||||
});
|
||||
const messageCustomContent = common_vendor.computed(() => {
|
||||
var _a;
|
||||
return (_a = messageModel == null ? void 0 : messageModel.value) == null ? void 0 : _a.getMessageContent();
|
||||
});
|
||||
const pluginMessageType = common_vendor.computed(() => {
|
||||
var _a;
|
||||
let typeObj = { pluginType: "", showStyle: "" };
|
||||
if (TUIKit_plugins_pluginComponents_index.isCallMessage(messageModel.value)) {
|
||||
typeObj = {
|
||||
pluginType: "call",
|
||||
showStyle: ((_a = messageModel.value) == null ? void 0 : _a.conversationType) === common_vendor.qt.TYPES.CONV_GROUP ? "tip" : "bubble"
|
||||
};
|
||||
} else if (TUIKit_plugins_pluginComponents_index.isRoomCardMessage(messageModel.value)) {
|
||||
typeObj = {
|
||||
pluginType: "room",
|
||||
showStyle: "bubble"
|
||||
};
|
||||
} else if (TUIKit_plugins_pluginComponents_messageCustomer_index.isCustomerServicePluginMessage(messageModel.value)) {
|
||||
typeObj = {
|
||||
pluginType: "customer",
|
||||
showStyle: TUIKit_tuiCustomerServicePlugin_utils_index.isMessageInvisible(messageModel.value) ? "" : "bubble"
|
||||
};
|
||||
}
|
||||
return typeObj;
|
||||
});
|
||||
const resendMessage = (message) => {
|
||||
emits("resendMessage", message);
|
||||
};
|
||||
const handleToggleMessageItem = (e, message, isLongpress = false) => {
|
||||
emits("handleToggleMessageItem", e, message, isLongpress);
|
||||
};
|
||||
const handleH5LongPress = (e, message, type) => {
|
||||
emits("handleH5LongPress", e, message, type);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
message: props.message,
|
||||
signalingInfo: common_vendor.unref(messageSignalingInfo),
|
||||
customContent: common_vendor.unref(messageCustomContent),
|
||||
blinkMessageIDList: props.blinkMessageIDList
|
||||
}),
|
||||
b: common_vendor.unref(pluginMessageType).pluginType === "call"
|
||||
}, common_vendor.unref(pluginMessageType).pluginType === "call" ? {
|
||||
c: common_vendor.p({
|
||||
message: props.message,
|
||||
signalingInfo: common_vendor.unref(messageSignalingInfo),
|
||||
customContent: common_vendor.unref(messageCustomContent)
|
||||
})
|
||||
} : {}, {
|
||||
d: common_vendor.unref(pluginMessageType).pluginType === "customer"
|
||||
}, common_vendor.unref(pluginMessageType).pluginType === "customer" ? {
|
||||
e: common_vendor.p({
|
||||
message: props.message
|
||||
})
|
||||
} : {}, {
|
||||
f: common_vendor.unref(pluginMessageType).pluginType === "room"
|
||||
}, common_vendor.unref(pluginMessageType).pluginType === "room" ? {
|
||||
g: common_vendor.p({
|
||||
message: props.message
|
||||
})
|
||||
} : {}, {
|
||||
h: common_vendor.o$1(resendMessage),
|
||||
i: common_vendor.o$1(handleToggleMessageItem),
|
||||
j: common_vendor.o$1(handleH5LongPress),
|
||||
k: common_vendor.p({
|
||||
message: props.message,
|
||||
showStyle: common_vendor.unref(pluginMessageType).showStyle,
|
||||
bubbleClassNameList: [common_vendor.unref(pluginMessageType).pluginType === "room" ? "message-bubble-room" : ""]
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f303f15f"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.js.map
|
||||
10
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.json
vendored
Normal file
10
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"message-plugin-layout": "./message-plugin-layout",
|
||||
"message-call-group": "./message-call/message-call-group",
|
||||
"message-call-c2-c": "./message-call/message-call-c2c",
|
||||
"message-customer-service": "./message-customer/message-customer-service",
|
||||
"message-room": "./message-room/message-room-default"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<message-plugin-layout wx:if="{{k}}" class="data-v-f303f15f" u-s="{{['messageTip','messageBubble']}}" bindresendMessage="{{h}}" bindhandleToggleMessageItem="{{i}}" bindhandleH5LongPress="{{j}}" u-i="f303f15f-0" bind:__l="__l" u-p="{{k}}"><message-call-group class="data-v-f303f15f" u-i="f303f15f-1,f303f15f-0" bind:__l="__l" u-p="{{a}}" slot="messageTip"/><view slot="messageBubble"><message-call-c2-c wx:if="{{b}}" class="data-v-f303f15f" u-i="f303f15f-2,f303f15f-0" bind:__l="__l" u-p="{{c}}"/><message-customer-service wx:if="{{d}}" class="data-v-f303f15f" u-i="f303f15f-3,f303f15f-0" bind:__l="__l" u-p="{{e}}"/><message-room wx:if="{{f}}" class="data-v-f303f15f" u-i="f303f15f-4,f303f15f-0" bind:__l="__l" u-p="{{g}}"/></view></message-plugin-layout>
|
||||
26
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.wxss
vendored
Normal file
26
unpackage/dist/dev/mp-weixin/TUIKit/plugins/plugin-components/message-plugin.wxss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
/* stylelint-disable-next-line no-empty-source */
|
||||
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "message-room-default",
|
||||
props: {
|
||||
message: { default: () => ({}) }
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("message.custom.自定义消息")),
|
||||
b: common_vendor.n(common_vendor.unref(TUIKit_utils_env.isUniFrameWork) && "room-default-uni"),
|
||||
c: common_vendor.n(props.message.flow === "in" ? "room-default-in" : "room-default-out")
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bc20f5ec"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/plugins/plugin-components/message-room/message-room-default.js.map
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="{{['data-v-bc20f5ec', 'room-default', b, c]}}">{{a}}</view>
|
||||
@@ -0,0 +1,40 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.room-default.data-v-bc20f5ec {
|
||||
padding: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.room-default-uni.data-v-bc20f5ec {
|
||||
padding: 0;
|
||||
}
|
||||
.room-default-in.data-v-bc20f5ec {
|
||||
background: #fbfbfb;
|
||||
border-radius: 0 10px;
|
||||
}
|
||||
.room-default-out.data-v-bc20f5ec {
|
||||
background: #dceafd;
|
||||
border-radius: 10px 0 10px 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user