优化页面
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const TUIKit_utils_env = require("../../../utils/env.js");
|
||||
if (!Math) {
|
||||
(Transfer + Dialog)();
|
||||
}
|
||||
const Dialog = () => "../Dialog/index.js";
|
||||
const Transfer = () => "../Transfer/index.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "index",
|
||||
props: {
|
||||
isRadio: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
isNeedSearch: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
userList: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
total: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
emits: ["complete", "search", "getMore"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const emits = __emit;
|
||||
const props = __props;
|
||||
const reset = () => {
|
||||
emits("complete", []);
|
||||
};
|
||||
const submit = (dataList) => {
|
||||
emits("complete", dataList);
|
||||
};
|
||||
const handleSearchUser = (userID) => {
|
||||
emits("search", userID);
|
||||
};
|
||||
const handleGetMore = () => {
|
||||
emits("getMore");
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o$1(handleGetMore),
|
||||
b: common_vendor.o$1(handleSearchUser),
|
||||
c: common_vendor.o$1(submit),
|
||||
d: common_vendor.o$1(reset),
|
||||
e: common_vendor.p({
|
||||
isSearch: props.isNeedSearch,
|
||||
title: props.title,
|
||||
list: props.userList,
|
||||
isH5: !common_vendor.unref(TUIKit_utils_env.isPC),
|
||||
isRadio: props.isRadio,
|
||||
total: props.total
|
||||
}),
|
||||
f: common_vendor.o$1(reset),
|
||||
g: common_vendor.p({
|
||||
show: true,
|
||||
isH5: !common_vendor.unref(TUIKit_utils_env.isPC),
|
||||
isHeaderShow: false,
|
||||
isFooterShow: false,
|
||||
background: false
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/TUIKit/components/common/SelectUser/index.js.map
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"dialog": "../Dialog/index",
|
||||
"transfer": "../Transfer/index"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user