优化页面

This commit is contained in:
pengxiaolong
2025-06-11 22:16:44 +08:00
parent 3c2d7e5959
commit 931d867c09
806 changed files with 87462 additions and 331 deletions

View File

@@ -0,0 +1,76 @@
"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

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"dialog": "../Dialog/index",
"transfer": "../Transfer/index"
}
}

View File

@@ -0,0 +1 @@
<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>