弹窗
This commit is contained in:
103
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
Normal file
103
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
"use strict";
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
const components_NationalDictionary = require("./components/NationalDictionary.js");
|
||||
const common_assets = require("./common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
gender: "",
|
||||
Gender: ["男", "女"],
|
||||
Country: components_NationalDictionary.countryNamesArray,
|
||||
country: "",
|
||||
nameAnchor: "",
|
||||
numberCoins: "",
|
||||
remarks: "",
|
||||
Display: false,
|
||||
options: [
|
||||
{ label: "选项一", value: "1" },
|
||||
{ label: "选项二", value: "2" },
|
||||
{ label: "选项三", value: "3" }
|
||||
]
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
handleOverlayClick(event) {
|
||||
if (event.target === this.$el) {
|
||||
this.Display = false;
|
||||
}
|
||||
},
|
||||
open() {
|
||||
if (this.Display) {
|
||||
this.Display = false;
|
||||
} else {
|
||||
this.Display = true;
|
||||
}
|
||||
},
|
||||
//获取主播名称
|
||||
NameAnchor: function(event) {
|
||||
this.nameAnchor = event.target.value;
|
||||
},
|
||||
Publish() {
|
||||
common_vendor.index.__f__("log", "at pages/NewAddedPk/NewAddedPk.vue:103", this.nameAnchor, this.gender, this.country, this.numberCoins, this.remarks);
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_combox2 = common_vendor.resolveComponent("uni-combox");
|
||||
const _easycom_wht_select2 = common_vendor.resolveComponent("wht-select");
|
||||
const _easycom_uni_number_box2 = common_vendor.resolveComponent("uni-number-box");
|
||||
const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
|
||||
(_easycom_uni_combox2 + _easycom_wht_select2 + _easycom_uni_number_box2 + _easycom_uni_easyinput2)();
|
||||
}
|
||||
const _easycom_uni_combox = () => "./uni_modules/uni-combox/components/uni-combox/uni-combox.js";
|
||||
const _easycom_wht_select = () => "./uni_modules/wht-select/components/wht-select/wht-select.js";
|
||||
const _easycom_uni_number_box = () => "./uni_modules/uni-number-box/components/uni-number-box/uni-number-box.js";
|
||||
const _easycom_uni_easyinput = () => "./uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_combox + _easycom_wht_select + _easycom_uni_number_box + _easycom_uni_easyinput)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.Display
|
||||
}, $data.Display ? {
|
||||
b: common_vendor.o$1(($event) => $options.open()),
|
||||
c: common_assets._imports_0$5,
|
||||
d: common_vendor.o$1((...args) => $options.NameAnchor && $options.NameAnchor(...args)),
|
||||
e: common_vendor.o$1(($event) => $data.gender = $event),
|
||||
f: common_vendor.p({
|
||||
candidates: $data.Gender,
|
||||
placeholder: "请选择性别",
|
||||
modelValue: $data.gender
|
||||
}),
|
||||
g: common_vendor.o$1(($event) => $data.country = $event),
|
||||
h: common_vendor.p({
|
||||
options: $data.options,
|
||||
placeholder: "请选择国家",
|
||||
modelValue: $data.country
|
||||
}),
|
||||
i: common_vendor.o$1(($event) => $data.numberCoins = $event),
|
||||
j: common_vendor.p({
|
||||
modelValue: $data.numberCoins
|
||||
}),
|
||||
k: common_vendor.o$1(($event) => $data.remarks = $event),
|
||||
l: common_vendor.p({
|
||||
type: "textarea",
|
||||
placeholder: "备注",
|
||||
modelValue: $data.remarks
|
||||
}),
|
||||
m: common_vendor.o$1(($event) => $options.Publish()),
|
||||
n: common_vendor.o$1(() => {
|
||||
}),
|
||||
o: common_vendor.o$1(($event) => $options.open())
|
||||
} : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96d38e2b"]]);
|
||||
exports.MiniProgramPage = MiniProgramPage;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/NewAddedPk.js.map
|
||||
Reference in New Issue
Block a user