gree_leran/unpackage/dist/dev/mp-weixin/components/photosInfo.js

51 lines
1.4 KiB
JavaScript
Raw Normal View History

2024-06-16 23:47:03 +00:00
"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {
props: {
cardData: {
type: Object,
default: {
imageUrl: "",
avatarUrl: "",
nikName: "",
tagName: "",
footName: ""
}
}
},
name: "photosInfo",
data() {
return {};
}
};
if (!Array) {
const _easycom_u_avatar2 = common_vendor.resolveComponent("u-avatar");
const _easycom_u_tag2 = common_vendor.resolveComponent("u-tag");
(_easycom_u_avatar2 + _easycom_u_tag2)();
}
const _easycom_u_avatar = () => "../node-modules/uview-plus/components/u-avatar/u-avatar.js";
const _easycom_u_tag = () => "../node-modules/uview-plus/components/u-tag/u-tag.js";
if (!Math) {
(_easycom_u_avatar + _easycom_u_tag)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $props.cardData.imageUrl,
b: common_vendor.p({
src: $props.cardData.avatarUrl
}),
c: common_vendor.t($props.cardData.nikName),
d: common_vendor.p({
text: $props.cardData.tagName,
["bg-color"]: "#6c757d",
type: "info",
mode: "plain",
shape: "circle",
size: "medium"
}),
e: common_vendor.t($props.cardData.footName)
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "C:/Users/33043/Desktop/文件/work/newStud学习/greenStu/components/photosInfo.vue"]]);
wx.createComponent(Component);