消息
This commit is contained in:
55
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.js
vendored
Normal file
55
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.js
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
require("../../../adapter-vue.js");
|
||||
const common_assets = require("../../../../common/assets.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
if (!Math) {
|
||||
Icon();
|
||||
}
|
||||
const Icon = () => "../../common/Icon.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
emits: ["oneByOneForwardMessage", "mergeForwardMessage", "toggleMultipleSelectMode"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const emits = __emit;
|
||||
const iconSize = common_vendor.ref(TUIKit_utils_env.isMobile ? "25px" : "30px");
|
||||
function oneByOneForwardMessage() {
|
||||
emits("oneByOneForwardMessage");
|
||||
}
|
||||
function mergeForwardMessage() {
|
||||
emits("mergeForwardMessage");
|
||||
}
|
||||
function cancelMultipleSelect() {
|
||||
emits("toggleMultipleSelectMode");
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.ForwardEachIcon),
|
||||
size: common_vendor.unref(iconSize)
|
||||
}),
|
||||
b: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIChat.逐条转发")),
|
||||
c: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : "",
|
||||
d: common_vendor.o$1(oneByOneForwardMessage),
|
||||
e: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.ForwardMergeIcon),
|
||||
size: common_vendor.unref(iconSize)
|
||||
}),
|
||||
f: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIChat.合并转发")),
|
||||
g: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : "",
|
||||
h: common_vendor.o$1(mergeForwardMessage),
|
||||
i: common_vendor.p({
|
||||
file: common_vendor.unref(common_assets.AddIcon),
|
||||
size: common_vendor.unref(iconSize)
|
||||
}),
|
||||
j: common_vendor.t(common_vendor.unref(common_vendor.Wt).t("TUIChat.取消")),
|
||||
k: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : "",
|
||||
l: common_vendor.o$1(cancelMultipleSelect),
|
||||
m: common_vendor.unref(TUIKit_utils_env.isMobile) ? 1 : ""
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-65102b30"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../common/Icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['data-v-65102b30', 'mulitple-select-panel', m && 'mulitple-select-panel-mobile']}}"><view class="forward-button data-v-65102b30" bindtap="{{d}}"><icon wx:if="{{a}}" class="data-v-65102b30" u-i="65102b30-0" bind:__l="__l" u-p="{{a}}"/><label class="{{['data-v-65102b30', 'forward-button-text', c && 'forward-button-text-mobile']}}">{{b}}</label></view><view class="forward-button data-v-65102b30" bindtap="{{h}}"><icon wx:if="{{e}}" class="data-v-65102b30" u-i="65102b30-1" bind:__l="__l" u-p="{{e}}"/><label class="{{['data-v-65102b30', 'forward-button-text', g && 'forward-button-text-mobile']}}">{{f}}</label></view><view class="forward-button data-v-65102b30" bindtap="{{l}}"><icon wx:if="{{i}}" class="cancel-button-icon data-v-65102b30" u-i="65102b30-2" bind:__l="__l" u-p="{{i}}"/><label class="{{['data-v-65102b30', 'forward-button-text', k && 'forward-button-text-mobile']}}">{{j}}</label></view></view>
|
||||
59
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.wxss
vendored
Normal file
59
unpackage/dist/dev/mp-weixin/TUIKit/components/TUIChat/mulitple-select-panel/index.wxss
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.data-v-65102b30:not(not) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
}
|
||||
.mulitple-select-panel.data-v-65102b30 {
|
||||
height: 196px;
|
||||
border-top: 1px solid #ebebeb;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
background-color: #EBF0F6;
|
||||
}
|
||||
.mulitple-select-panel-mobile.data-v-65102b30 {
|
||||
height: 64px;
|
||||
padding-bottom: 15px;
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.forward-button.data-v-65102b30 {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.forward-button-text.data-v-65102b30 {
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.forward-button-text-mobile.data-v-65102b30 {
|
||||
margin-top: 2px;
|
||||
}
|
||||
.forward-button .cancel-button-icon.data-v-65102b30 {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
Reference in New Issue
Block a user